* Fix: readded lost marking of the opening posting as new in case of a new answer
* Change: simplify the if- and else-if-statements
No need for nested if-statements.
A further simplfication is possible.
But IMHO it would make the statement more or less unreadable.
* Fix: ensure $fold_threads to be boolean and hand it over to getMessageStatus
* Change: use new settings for handling of read state
* Change: add new setings to the SQL-files for update and installation
* Change: queries for new settings and removal of outdated settings to the update script
* Change: remove outdated setting from the SQL file for installation
* Change: new form elements and language strings for read status handling
* Fix: add a check for non exisiting setting reset_read_state
* Fix: wrong name of setting in the form elements
* Change: ensure a valid value for the read state reset method
* Fix: correct wrong name for form field and hardcoded value
* 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.
- Download/info uri is extracted from ATOM using LINK-element
- RexEx to get the version is updated to match both: '1.2.3' and
'v1.2.3'
- URI is stored in 'temp_infos_table' as 'last_version_uri'
* Fix: a new entry can't be read and a read one can't be new
* Fix: set read or new status in one code block
An entry is either new or read but it can't be both. Decide
the status in one block and use the new read status for registered
users and the old cookie based behaviour for not registered visitors.
fixes#128
Before issue #11 the value of config_overwrite was false.
To allow overwriting of config items it was changed to true.
That led to bugs with items, that should act as arrays.
* 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
- limit the number of entries in read_entires-table by 'max_read_items',
if and only if 'max_read_items' > 0
- max_read_items <= 0 means unlimited storage
Setting temp_block_ip_after_repeated_failed_logins define the time limit,
if the value is greater than 0. That has to be respected, when triggering the check.
fixes#102
- add new parameter to setting_table called 'read_state_expiration_date'
(default 150 days)
- remove read state if 'auto_lock_old_threads' > 0
- remove read state if 'read_state_expiration_date' > 0
Store the value only in the database table and not in a cookie or the session.
Make use of a more descriptive name for the function.
resolves#72
* Change: store read-status in the new table
* Change: new parameter user_id, adapted condition and comment
* Change: save the read-status to the new table
* Fix: use correct variable names and types continuous
* Change: unify the variable names and the behaviour of the two bookmark-blocks
* Change: add read-status-marking to nested view
* Remove read status of entries on delete
- remove "read status" on user delete
- remove "read status" on posting delete
* Primary key
- Remove unique definition and add primary key "read_status_table"
* show number of unlocked users
- SQL-SELECT is added to count the number of unlocked users
- Number of unlocked users is shown in sidebar
- Issue: https://github.com/ilosuna/mylittleforum/issues/62
* Ckeck register_mode
- register_mode value is checked in SQL
* Overwork CSS, SQL, Templates and Image
- SQL checks for empty activate_code
- rename class to non-activated-users
- rename key in lang-fiels to non_activated_users_link
- add new files to update script
* 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
* Update checker, fixes#44
- read ATOM feed to get information about a new release
- show info in admin-area
* Multipe ways to get external content
- try to use curl, file_get_contents and fsockopen to get content of
external resource
* correct comment
- correct comment
* add return statment
- add return statment to each branch
* Revert "add return statment"
This reverts commit 0240295501.