Commit graph

1316 commits

Author SHA1 Message Date
Heiko August
5b9763f164 Change: add field user_type to the thread tree informations and add classes to the user name elements 2020-10-12 12:33:06 +02:00
Michael Loesler
ffbea1564e
CSS for RSS of the Thread (Thread View) (#534)
- added padding to to the link to the rss-feed of the thread (in thread view)
- padding was removed during re-organisation of the footer, cf. #531, #533, but the link is not part of the footer
- see https://mylittleforum.net/forum/index.php?id=12336
2020-10-05 09:28:49 +02:00
Michael Loesler
8378ba034d
CSS for RSS of the Thread (#533)
- added padding to to the link to the rss-feed of the thread (in entry view)
- padding was removed during re-organisation of the footer, cf. https://github.com/ilosuna/mylittleforum/pull/531, but the link is not part of the footer
2020-09-30 12:48:04 +02:00
Michael Loesler
79c49eacf9
Corrected comment (#532)
- corrected comment in i18n files, i.e. replaced `</--` by `<!--`
- see https://github.com/ilosuna/mylittleforum/pull/530
2020-09-30 12:39:15 +02:00
Heiko August
dd80b35c6d
Merge pull request #531 from auge8472/smallfix
Fix for invalid HTML structure introduced in #530
2020-09-29 21:54:07 +02:00
Heiko August
2aced19d4f Change: removed unnecessary semicolons in the last rules in a set 2020-09-29 21:45:57 +02:00
Heiko August
43f3a67e6d Fix: correct invalid HTML structure for the footer menu no. 2
Every link in the menu is now encapsulated in its own list item.
The padding of the links with an icon got realigned.
2020-09-29 21:40:55 +02:00
Heiko August
0f1c21e5eb Change: add link to top of page to every entry and the footer of every page 2020-09-13 21:09:14 +02:00
Michael Loesler
c7eeb1fb9e
Auto delete spam (#528)
* Delete SPAM

- corrected (automated) deleting of SPAM entries via `daily_actions` by calling existing function `delete_posting_recursive`
- see https://mylittleforum.net/forum/index.php?id=12272

* Update TID

- changed order to avoid that `TID != ID`, i.e., if some SQL statements raises an error
- see https://mylittleforum.net/forum/index.php?id=12275
2020-07-04 16:22:17 +02:00
Michael Loesler
39e529952c
remove account (#527)
- the complete code for deleting the account was moved to a function, see function.inc.php::deleteUser, thus, this _new_ function is called here, too
2020-04-29 11:02:53 +02:00
Michael Loesler
cc13b0b054 comment
- removed comment in subject text
- added new comment `# <!-- TODO --> #` above
2020-04-29 10:51:18 +02:00
Michael Loesler
6450b68d42 change phrases
- used the recommended phrase "nicht aktiven" instead of "inaktiven"
2020-04-29 10:51:18 +02:00
Michael Loesler
5571c26fcd corrected phrase
- replaced DSGVO by GDPR (as suggested by Auge)
2020-04-29 10:51:18 +02:00
Michael Loesler
7bf395ab47 format
- added dashes
2020-04-29 10:51:18 +02:00
Michael Loesler
eb21f4647e email text
- added english version of notification message
2020-04-29 10:51:18 +02:00
Michael Loesler
f04a6773bf load emails config
- loaded emails config from  language file as defined in e.g. posting.inc.php
2020-04-29 10:51:18 +02:00
Michael Loesler
7870f026d7 sql changes
- added two options to setting table
  + delete_inactive_users (default 30, unit days)
  + notify_inactive_users (default 3, unit years)
- added new column in user table `inactivity_notification` of type boolean
2020-04-29 10:51:18 +02:00
Michael Loesler
54730b5a42 handle inactive users
- added global var $lang to get access to the lang-file for creating the notification email
- improve SQL stmt
2020-04-29 10:51:18 +02:00
Michael Loesler
5927fd1129 daily actions
- added function call of daily actions to the end of the index.php
2020-04-29 10:51:18 +02:00
Michael Loesler
5c6d7aedd7 email
- corrected some phrases
2020-04-29 10:51:18 +02:00
Michael Loesler
9ddb6d828a daily actions
- remove the call of the daily actions because the lang-file is not loaded yet
- daily action is called at the end of the index.php
2020-04-29 10:51:18 +02:00
Michael Loesler
24d45be4c0 inactive state
- update `inactivity_notification` flag while using auto login
2020-04-29 10:51:18 +02:00
Michael Loesler
912c547f9e handle inactive users
- added function to handle inactive users
2020-04-29 10:51:18 +02:00
Michael Loesler
b12cb3c6c2 flag
- set `inactivity_notification` flag during log-in
2020-04-29 10:51:18 +02:00
Michael Loesler
d66d52eeb6 notification text
- added notification text to german and english i18n file
2020-04-29 10:51:18 +02:00
Michael Loesler
4135a82fbf
access to user area (#525)
- it was impossible for an user to change its own(!) settings or to show its own(!) posting list, if `$settings['user_area_access']` was restricted to mods and admins
- corrected/moved condition to the _right_ place to enable access to user area (if enabled) and to allow for editing user settings
2020-04-28 19:38:17 +02:00
Heiko August
c64697b3e4 Change: revert to regex for e-mail checking with the PHP-7.3-compatible syntax
The function filter_vars is not able to validate e-mail-addresses from Punycode-domains.
2020-04-25 20:03:21 +02:00
Michael Loesler
1253f998ef
Key for error message (#523)
- Key 'error_email_wrong' was not unique and provides error message "Array"
- changed one key in lang-files 'error_email_wrong' --> 'admin_reg_error_email_wrong'
- see https://mylittleforum.net/forum/index.php?id=12205
2020-04-23 11:19:52 +02:00
Michael Loesler
7f54da56de
Store SPAM entry (#522)
- check, if an entry that is classified as SPAM by B8 should stored to the DB (or not)
2020-04-11 19:31:41 +02:00
Michael Loesler
7092ebf0b4
Display spam threads option (#521)
* show SPAM

- removed option to show SPAM, if no SPAM is available

* unset vs. false

- Since we check via isset (and not the value itself), unset is used to remove the option
2020-04-06 13:48:53 +02:00
Michael Loesler
caddfb6b9f
auto delete spam (#520)
- corrected SQL for auto delete spam
- spam is deleted if at least one service classified an entry as spam
2020-04-06 11:08:45 +02:00
Michael Loesler
09bdfc8926
RTL / LTR - tags (#519)
- added bb-code tags [RTL] and [LTR]
- reformatted functions
- see https://mylittleforum.net/forum/index.php?id=12148
2020-03-15 18:00:54 +01:00
Michael Loesler
38db0ff3e0
bad-behavior (#518)
- bad-behavior v.2.2.24
2020-02-22 14:28:54 +01:00
Daniel
5971f28ec9 Update swedish.lang (#514)
Update the swedish language file
2019-10-27 08:59:54 +01:00
Heiko August
2358760939
Change: natural, case insensitive sorting for the tag list on the main page (#512)
Thanks for the proposal goes to Candleman. :-)
2019-10-21 11:02:13 +02:00
Michael Loesler
a806a260b6
update module (#511)
* update module

- update bad-behavior to version 2.2.23

* add changes

- updated files are added to update script
2019-09-28 13:58:48 +02:00
Michael Loesler
69a0ddce0e
display spam (#510)
- if one (an admin/mod) deletes the listed spam entries, one is NOT redirected to the normal view
- the spam counter (`$total_spam`) is used as a further condition
2019-09-26 09:58:58 +02:00
Heiko August
612bec8777 Change: add the new version number to the files config/VERSION and index.php 2019-09-24 22:11:00 +02:00
Heiko August
9433827788 Change: add the changes of version 2.4.99.3 to the changelog 2019-09-24 22:10:16 +02:00
Heiko August
07c0410e0d Change: add the list of files to update for version 2.4.99.3 2019-09-24 21:56:36 +02:00
Heiko August
879d519d37 Change: add version 2.4.99.2 to the list of updatable versions 2019-09-24 21:56:27 +02:00
Heiko August
30ac2a60bc Change: add new tables to uninstall block 2019-09-24 21:51:59 +02:00
Heiko August
1bc84988ee originMerge branch 'master' of origin 2019-09-24 21:38:14 +02:00
Michael Loesler
117261663f
SPAM in tree (#509)
- excluded stored and classified SPAM entries in thread tree (below the entry)
- see https://mylittleforum.net/forum/index.php?id=11936
2019-09-07 15:59:28 +02:00
Heiko August
36ea99ac36 Change: remove update script for version 2.3.5 to version 2.4.x 2019-08-26 22:04:28 +02:00
Heiko August
a1bed6a265 Fix: restrict mlf2_userdata.user_name and mlf2_b8_wordlist.token to 128 characters 2019-08-26 22:01:18 +02:00
Heiko August
888032fe4a Merge branch 'master' of https://github.com/ilosuna/mylittleforum 2019-08-26 21:24:53 +02:00
Heiko August
6f826dd919 Fix: provide table change statement for mlf2_tags also for version change to 2.4.99.2 2019-08-26 21:23:42 +02:00
Michael Loesler
570abbe880
new users (created by admin) (#508)
- corrected error message if the length of the user name is invalid
- corrected setting variable used in if-condition that checks the length (`$settings['username_maxlength']` instead of `$settings['name_maxlength']`, which is used for the real name of the user)
2019-08-18 18:14:36 +02:00
Michael Loesler
414168b8f2
Replace definition of constant array by normal array (#507)
- since PHP 5 doesn't support arrays in define(), the config files are invalid, see https://mylittleforum.net/forum/index.php?id=11912
- removed define() function call and used _normal_ arrays syntax
- created a single instance of B8 instead of using multiple instances (added new include file)
2019-08-17 19:35:42 +02:00