Commit graph

17 commits

Author SHA1 Message Date
Heiko August
10384a34d4 Fix: readded lost marking of the opening posting as new … (#256)
* 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
2017-10-03 17:21:36 +02:00
Heiko August
49421f2a85 Change: outsourcing of read- and new-status handling into a function (#255)
fixes #245
2017-09-17 21:23:18 +02:00
Heiko August
45d2bf30a2 distinguish between new and not marked as read also for registered users (#219)
* Fix: an entry is only new, if it is, not, if it's unread
* Change: intendation by tab on a few places

fixes #209
2017-05-01 19:58:52 +02:00
Heiko August
95b1591628 Fix: don't set class .read for not logged in visitors (#183) 2017-03-12 11:15:10 +01:00
Heiko August
2a0d0a8086 Fix: the block for stating an entry new or read was outside the loop (#150)
fixes #148
2017-01-22 18:05:09 +01:00
Heiko August
798d173ccd Fix: a new entry can't be read and a read one can't be new (#144)
* 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
2017-01-05 23:10:14 +01:00
Micha
9133153112 - check existence of $total_views (#133)
- check existence of $total_views to avoid php warning
2016-12-05 17:19:56 +01:00
Heiko August
463508935a Fix: use table name from settings, not the static names from testing (#93)
fixes #91
2016-11-21 12:56:24 +01:00
Heiko August
b8b047faf1 Change: set class read with info from read-status-table (#85)
fixes #80
2016-11-20 20:48:40 +01:00
Micha
e4c278ff94 show number of unlocked users (#64)
* 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
2016-11-03 23:24:57 +01:00
Micha
1f47b8e382 Count number of views of thread in table view (#50)
- Shows the number of *views of the thread* instead of the number of
*views of the posting* in table view.
2016-10-16 14:20:06 +02:00
Alex
23e0c4d353 PHP 7 modifications (e.g. replace mysql_* by mysqli_* functions) 2016-05-31 14:08:09 +02:00
Alex
fb99e74ae5 implemented list spam function 2012-11-25 16:07:25 +01:00
Alex
ff590a40c9 Timestamp exclusively fetched from database now, minor template modifications 2011-02-13 10:52:06 -03:00
Alex
3148716db1 initial commit 2010-03-14 11:37:06 +01: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