Commit graph

1206 commits

Author SHA1 Message Date
Michael Lösler
17c7ec58bb
Array name (#573)
- changed array name back to avoid confusion
2021-09-21 21:50:32 +02:00
Michael Lösler
880e69f752
Link target (#546)
* Link target

- add or remove link target depending on user preferences given by `user_settings["open_links_in_new_window"]`, cf. https://mylittleforum.net/forum/index.php?id=12381

* IE support

- add includes prototype to support IE

* Typo

- corrected case name, NON --> NONE

* Rename array

- rename array user_settings to settings
- added target argument in function setLinkTarget, cf. https://mylittleforum.net/forum/index.php?id=12611
2021-09-21 21:46:54 +02:00
Heiko August
5c735e1282 Fix: add all relevant keys and strings for browser-window-target user setting to the new language traditional chinese 2021-09-20 20:38:35 +00:00
Heiko August
8e4fae2ef2 Fix: add the case DEFAULT and correct NON to NONE 2021-09-20 19:50:35 +00:00
Heiko August
d222fe24f8 Change: provide corrections, strings, template and processing code for the third setting 2021-09-20 19:50:35 +00:00
Heiko August
658ee54b0e Change: create the JS-array user_settings and store the matching values for the users window target setting 2021-09-20 19:50:35 +00:00
Heiko August
13de96e16e Change: read the new user setting from the user data entry and put it into the array $usersettings 2021-09-20 19:50:35 +00:00
Heiko August
53fe923152 Change: store the new user setting in the table for user data 2021-09-20 19:50:35 +00:00
Heiko August
e8e0abbeb0 Change: read the new setting from the database and populate the matching form elements 2021-09-20 19:50:35 +00:00
Heiko August
405d607a99 Change: create the table column mlf2_userdata.browser_window_target
Default is 0 for opening links in the same window/tab.
2021-09-20 19:50:35 +00:00
Heiko August
6ca899b2fb Change: create form elements for selecting the value for the setting to open links in the same or a new browser window/tab 2021-09-20 19:50:35 +00:00
Heiko August
dd9a9304ed Change: provide strings for the new user setting to open links in a new window or tab 2021-09-20 19:50:35 +00:00
Michael Lösler
fb8206e065
user lock state (#571)
- delete inactive users that are *not* locked by the form admin
2021-09-19 16:58:44 +02:00
Michael Lösler
c08ba33ca2
CSRF (#570)
- remove call of die-function, if csrf token is expired, cf. https://mylittleforum.net/forum/index.php?id=12531
2021-09-03 15:49:49 +02:00
Michael Lösler
55fb445c35
Chinese lang (#569)
Chinese language pack added, cf. https://mylittleforum.net/forum/index.php?id=12595
2021-09-02 22:43:21 +02:00
Michael Loesler
5aad6442e1
Unique values (#567)
- Columns `user_name` and `user_email` are set to `UNIQUE`
2021-03-05 17:25:08 +01:00
Michael Loesler
7dce5cc62b
Email collision (#566)
* Check for collision

- SQL statement modified to check against email collision
- re-format source code

* error massage

- error message is added for key `error_email_collision`
2021-03-03 20:54:17 +01:00
Michael Loesler
2cec4bdfc4
Activation mail (#565)
- Language part for `emails` was not loaded to the user
- ConfigLoad is added, cf. https://github.com/ilosuna/mylittleforum/issues/564
2021-03-03 20:24:21 +01:00
Michael Loesler
454e392dee
B8 spl autoload register (#562)
* B8

- prepare fies for new b8 version

* Update B8

- add new b8 classes

* Update b8.php

- modify spl_autoload_register function to prevent errors
- cf. https://gitlab.com/l3u/b8/-/merge_requests/1
2021-02-28 21:29:12 +01:00
Michael Loesler
5317c6024d
B8 former version (#561)
- switching back to former b8 version
- there are some unsolved conflicts up to now (I don't know the reason yet)
- comment symbol # of former version is replaced by //
- tested on PHP7/8
2021-02-28 13:37:42 +01:00
Michael Loesler
0a95ebc4d9
create_function PHP 7.4 (#560)
- Function create_function() is deprecated in PHP 7.4
- Closure is used to handle anonymous functions in preg_replace_callback
2021-02-27 16:11:01 +01:00
Michael Loesler
0c7055232c
Comments (#559)
- comment symbol '#' is replaced by '//' because a new version is NOT available
- there are a lot of "FIXME"; is it realy a trustworthy module?!
2021-02-27 15:50:05 +01:00
Michael Loesler
d1225f55b8
curly braces (#558)
- Array and string offset access syntax with curly braces is deprecated in PHP 7.4
- Array and string offset access syntax with curly braces is removed in PHP 8
- replaced {} - braces by [] - braces
2021-02-27 15:33:37 +01:00
Michael Loesler
643e9ae96b
Update module (#557)
- update B8 version 0.7
- namespace is added (e.g. b8::HAM --> b8\b8::HAM)
2021-02-27 15:09:52 +01:00
Michael Loesler
91f0b42a5c
Module update (#556)
- smarty version 3.1.39
2021-02-27 14:14:48 +01:00
Michael Loesler
4abb9edbef
Module update (#555)
- VERSION 6.3.0
2021-02-27 14:12:01 +01:00
Michael Loesler
d2a112f35c
Comment symbol (#554)
- # is no longer interpreted as the start of a comment, as this syntax is now used for attributes, cf. https://www.php.net/manual/en/migration80.incompatible.php
- comments are removed, if they are identified as /obsolete fragments/, i.e., former code/debugging code
- comment symbol '#' is replaced by '//'
2021-02-27 13:08:34 +01:00
Michael Loesler
82de4dea4b get_magic_quotes_gpc
- get_magic_quotes_gpc is 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 https://github.com/ilosuna/mylittleforum/issues/552
2021-02-21 17:34:21 +00:00
Michael Loesler
d7b0e9d47b
SPAM postings of a user (#551)
- Postings classified as SPAM are accessible via user-area
- A modified SQL stmt restricts the postings list and filters SPAM postings for normal users
- cf. https://mylittleforum.net/forum/index.php?id=12422
2020-12-10 23:18:54 +01:00
Urfin®
635c4c164b
Update russian.lang (#549)
A literal error fixed
2020-11-06 17:44:06 +01:00
Urfin-Juce
7cc79a1765
Update russian.lang (#548)
Translated all <!-- TODO -->, and some minor fixies for previously translated terms.

WBR, Victor aka Urfin®
2020-11-06 14:21:24 +01:00
Heiko August
bc7c325d4f Change: alter the doctype, change from XHTML 1.0 strict to XHTML 1.0 transitional 2020-10-26 22:29:28 +01:00
Michael Loesler
cba8e70485
DOMContentLoaded (#545)
- use DOMContentLoaded to init scrips on (DOM) load
2020-10-26 21:46:17 +01:00
Michael Loesler
095a098182
main.js (#544)
- clean main.js
2020-10-26 21:33:30 +01:00
Heiko August
48870602f6 Change: let the HTML-structure in the single entry view match the structure in the threaded views
Only exception is the id on div.wrapper that seems to make no sense to me in the context of the single entry view.
2020-10-26 19:16:39 +01:00
Michael Loesler
39753c8604
Clean script files (#543)
- remove out-dated sources
- translate comments of functions
- https://mylittleforum.net/forum/index.php?id=12389
2020-10-26 18:06:14 +01:00
Heiko August
5d8e05ced6 Fix: correct silly typo 2020-10-15 22:07:09 +02:00
Heiko August
32605843ca Change: add necessity of uploading the file config/VERSION to the update notices
Additionally split the notice about uploading the update script from the notice about unpacking the zipped package.
The only exception from the latter action is the tamil language file.
I wasn't able to find the place to cut the notices because of the total absense of tamil language skills.
2020-10-15 22:07:09 +02:00
Heiko August
09920bd1c1 Fix: delete hyperfluous comma 2020-10-12 17:14:00 +02:00
Heiko August
9456cd2330
Unify HTML-structure for RSS links in the entry views (#537)
* Change: add a HTML structure similar to the one in entry.inc.tpl

With the same structure we can use the same CSS-rules instead adding further selectors for different structures.

* Fix: add title attribute to the RSS-link as in the other views

* Fix: don't fix language dependent issues in CSS that takes effect in any language

* Change: remove the additional selectors for the different HTML-structures from CSS
2020-10-12 15:58:56 +02:00
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