Commit graph

37 commits

Author SHA1 Message Date
Heiko August
45cffb033e Fix: add forgotten section names when using language strings 2024-07-28 20:18:30 +00:00
Heiko August
8e30344e5e Change: mark the radio button of the (pre)-selected language entry as checked 2024-07-28 20:18:30 +00:00
Heiko August
f20ac777dd Change: remove the commented and unused code for inserting the password on page reload 2024-07-28 20:18:30 +00:00
Heiko August
c1177a2254 Change: use the already existing info about the writing direction in the HTML-template 2024-07-28 20:18:30 +00:00
Heiko August
3aa741204a Fix: correct a small formatting issue 2024-07-28 20:18:30 +00:00
Heiko August
97854ff6bb Change: add the section names when using language strings 2024-07-28 20:18:30 +00:00
Heiko August
c1137cd61b Change: read the language file with the function my_parse_ini_file 2024-07-28 20:18:30 +00:00
Heiko August
2d3f50019a Change: add the function my_parse_ini_file to improve language string reading
Function is based on a user note in the PHP manual page for parse_ini_string.
https://www.php.net/manual/de/function.parse-ini-string.php#111845
2024-07-28 20:18:30 +00:00
Prashant Tondale
75e1d87cad Update index.php
Add closing round brace
2022-05-09 14:47:26 +02:00
Heiko August
adedc72d7c Change: check variables for content because null value for function (l|r)trim is deprecated with PHP 8.1 2022-05-01 17:46:00 +02:00
Michael Lösler
fa5fa08746
Installation routine (#591)
- set `error_reporting = 0` for smarty because this function depends on the php function `error_reporting()`
- check `$db_settings['database']` as suggested by @auge8472 cf. https://mylittleforum.net/forum/index.php?id=12699
- call `mysqli_select_db` function removed
2022-04-29 16:49:55 +02:00
Michael Lösler
13924604fd
get_magic_quotes_gpc removed (#590)
- get_magic_quotes_gpc removed because this function returns alwas false
- get_magic_quotes_gpc is deprecated cf. https://www.php.net/manual/en/function.get-magic-quotes-gpc.php
- see also #552, #553
2022-04-29 16:10:47 +02:00
Heiko August
a402ef3ebc Fix: wrong button name in the install script, prevents the installation from running 2019-02-11 12:11:20 +01:00
Heiko August
9a06fb2836 Fix: provide a column list to prevent the query to break
Number of values to store differs from number of columns in the table.
2019-02-03 22:58:40 +01:00
Heiko August
e63149cf1e Change: reformat the code of the installation script 2019-02-01 12:27:16 +01:00
Heiko August
540d2f44a0 Change: new HTML5-based user interface for the installation script 2019-02-01 12:27:16 +01:00
Heiko August
6983018fb3 Change: new HTML head section for the installation script 2019-02-01 12:27:16 +01:00
Heiko August
c420390255 Change: add new table mlf2_uploads to the installation script and the database settings script 2019-01-30 21:46:55 +01:00
Heiko August
36b3f5e9b9 Change: move setting version to table mlf2_temp_infos 2019-01-28 13:15:49 +01:00
Michael Loesler
c28c12a88c
Bayes-based spam filter (#427)
- add B8 libary for SPAM protection
- add CSRF Token to form element
- created new table `akismet_rating`
- transfered `spam` and `spam_check_status` from entry table
- removed columns `spam` and `spam_check_status` as they are akismet specific columns from entry - - created b8 tables `b8_rating` and `b8_wordlist_table`
- changed SQL statements, which used the (old) `spam` column
- updated install-script
- changed phrases and flag someone for delete
- add B8 configuration to admin area
- clean code
- removed spam columns from backup procedure
- new tables are *NOT* included to the backup procedure because I prefer to remove this function
- added error message for wrong SQLs
- https://github.com/ilosuna/mylittleforum/issues/426
2018-12-19 20:54:01 +01:00
Heiko August
29cd188b8b
add unsubscribing function for messages about replies (#399)
* Change: add a link to unsubscribe from the e-mails informing about replies to a specific own entry
* Change: processing subscription quitting, code, text and subtemplate
* Change: add a new table for the handling of subscriptions
* Change: remove subscription flag from antres table, set it in subscriptions table instead
* Change: rename the entry-id and the UUID-column, add a timestamp
* Change: remove the GET-parameter checker, is unnecessary
* Change: add query to delete the row of the subscription from the database table
* Change: rebuild the function emailNotification2ParentAuthor
2018-11-17 12:48:48 +01:00
Micha
cd401caf42
Change TAG handling (#297)
* Remove phrase in lang files

- Remove TAG-phrase 'error_bookmark_tags_too_long'
- was added by https://github.com/ilosuna/mylittleforum/pull/287

* Add tables

- tags_table for tag values
- bookmark_tags_table for connection between tags and bookmarks

* Change install/update script

- Add new tables
- Suggestion for transfering old tags from postings to new tag table

* Add tags to bookmark

- adapt SQLs for new TAG-table

* SQL korrigiert

- Klammerausdruck korrigiert

* LEFT-Join

- Correcting SQL JOIN vs. LEFT JOIN
- Replace function call

* Replace Functions

- add/replace functions for TAG handling

* TAGS for postings

- Add Tags for postings

* Add new table

- add binding table for tags and postings

* - Change TAG handling

- search function
- posting
- thread view
- update script
- install script

* Limiting number of Tags

- set tag limit to 10 for bookmarks
- add error message

* Remove BTREE

- reomve USING BTREE clausel as suggested by @auge8472

* Remove BTREE

- remove USING BTREE as suggested by @auge8472
- add new table entry_tags_table

* Remove variable

- remove variable $tagStr

* Remove first tab

- clean up file

* Add InnoDB

- Add ENGINE=InnoDB to new tables

* Add table names

- add table names to install script

* add updated files

- add updated files of issue #297

* add AUTO_INCREMENT

- add AUTO_INCREMENT to 'tags_table' definition

* Correcting table name / check for prior errors

- correct tabel name of entry_tags_table
- check empty property of error-array
- add error message, if b_settings.php is unwriteable

* Store posting tags

- add new sql to store the posting tags in entry_tags table
2017-12-12 22:53:37 +01:00
Heiko August
5322d1bc06 pre-populate the field for forum-URL with the correct protocol string (#208)
* Change: new function get isProtocolHTTPS
* Change: use the function to distinguish between a request over HTTP or HTTPS

If a forum will be installed over HTTPS, the pre-populated form field for the forum URL should reflect this.
2017-04-24 16:12:26 +02:00
Heiko August
fef88d86da Fix: use dirty die instead wrong break (#162)
fixes #158
2017-02-05 12:29:48 +01:00
Heiko August
62f02ca31d Add the table and a further box in the admin area (#124)
* Change: new table mlf2_temp_infos
* Change: add a box to show the version number of the installed version
* Change: load version info only during daily actions
* Change: simplified release info
* Fix: text change in every language except the base language?!
* Fix: remove superfluous and in some cases script breaking query

close #123
2016-12-04 15:32:34 +01:00
Heiko August
afccebc1cc Fix: again, don't use testing code (#94)
fixes #92
2016-11-21 18:16:28 +01:00
Heiko August
b98140a882 Fix: syntax error (comma and semicolon) (#89)
add a comma, remove a semicolon
2016-11-20 23:09:11 +01:00
Heiko August
d680aa4757 Create read-status-table (#74)
* Change: new table mlf2_read_entries
* Fix: forgot to add the assembling of the table name in update script
* Change: add column time to store the last request for an entry
* Fix: rename column 'e_id' to 'posting_id' for consistency

fixes #71
2016-11-14 10:56:04 +01:00
Heiko August
6627539a28 version check from file (#66)
* Change: read new version number from file in case of an update

* Fix: put the version checks into a block, that will only be executed in absence of an error

* Fix: stop update even with equal version numbers of current installation and update version

* Fix: compare the current version with the array of allowed version numbers, not with version number of the update

* Change: replace $update['version'] with $newVersion

It's not part of the given data and will be read from the file VERSION.
Thatswhy it is now a separated variable.

* Change: use the file VERSION to get the version number

* Fix: relative path must be given from the requested script, not the included one
2016-11-06 13:36:04 +01:00
Micha
ca4a8b5867 Overwrite db_settings array (#61)
- override db_settings_array to fix issue
https://github.com/ilosuna/mylittleforum/issues/60
2016-10-26 22:26:55 +02:00
Micha
af1694743b Fix command execution issue (#52), fixes #51
* Fix command execution issue

- Check for HTML tags
- add slashes

* Add warning message

- a warning message is displayed in admin area, if install/index.php
still exists (https://github.com/ilosuna/mylittleforum/issues/51)

* Use new admin-info-box

- use new admin info boy to display warning message
2016-10-25 14:52:40 +02:00
Micha
a21b131642 prevent 404 error (#49)
- Add path to favicon of the default template to prevent a 404 error
2016-10-16 13:49:04 +02:00
Micha
41bc27e273 Add Bookmark table (#46)
Add bookmark table to install-script
2016-10-14 19:40:56 +02:00
Heiko August
aa246404de Fix: error in cornercase of failure while connectiong to database server
The script can't use the connection identifier to report it's absence. Use the correct function for this case.
2016-06-23 10:49:40 +02:00
Alex
23e0c4d353 PHP 7 modifications (e.g. replace mysql_* by mysqli_* functions) 2016-05-31 14:08:09 +02:00
Alex
57cf8fe3a4 E-mail encoding, user data check, CAPTCHA, colorpicker, marking new threads/replies, language files
- Improved quoted-printable encoding for e-mails
- Skiped user data check of registered users when posting (is already done when
  registering or editing user data)
- Bugfix: graphical CAPTCHA was not displayed if cookies were disabled
- Colorpicker: fixed wrong path to plain.png
- Improved marking of new threads and replies
- Names of language files can contain language tags now (e.g.
  english.en-GB.lang)
- Language files updated
2010-02-06 21:18:29 +01:00
Alex
f527c6e938 initial commit 2010-01-31 13:39:34 +01:00