« Project home page
my little forum
Log in
Register
Search:
Back to the entry by Auge
Post reply
Reply to the message by
Auge
Name:
E-mail:
(optional, won't be displayed directly)
Leave this field empty:
Homepage:
(optional)
Leave this field empty:
Location:
(optional)
Remember me (cookie)
Category:
General
Project organisation
Technics
Design/Themes
Features
Development
Todo
Bugs
German / Deutsch
Spanish / Español
French / Français
Accessibility/UX
Subject:
Formatting help
skip to input
format text bold
[b]bold text[/b]
format text italic
[i]italic text[/i]
insert hyperlink
[link=http://example.com/]link text[/link] / [link]http://example.com/[/link]
set text color
[color=#rgb]colored text[/color]
font size
[size=small]small text[/size]
[size=large]large text[/size]
insert list
[list][*]list item[/list]
insert image
[img]http://example.com/image.jpg[/img]
left: [img=left]http://example.com/image.jpg[/img]
right: [img=right]http://example.com/image.jpg[/img]
thumbnail: [img=thumbnail]http://example.com/image.jpg[/img]
thumbnail left: [img=thumbnail-left]http://example.com/image.jpg[/img]
thumbnail right: [img=thumbnail-right]http://example.com/image.jpg[/img]
upload image
upload image ...
insert TeX code
[tex]TeX code[/tex]
insert code
[inlinecode]code[/inlinecode]
[code]code[/code]
[code=css]code[/code]
[code=html]code[/code]
[code=javascript]code[/code]
[code=perl]code[/code]
[code=php]code[/code]
[code=sql]code[/code]
[code=xml]code[/code]
:-)
;-)
:-P
:-D
:-|
:-(
:yes:
:no:
:ok:
:lol:
:lol2:
:lol3:
:cool:
:surprised:
:angry:
:crying:
:waving:
:confused:
:lookaround:
:clap:
:love:
:tick:
Message:
> Hello > > > Doing what you said makes the Forum settings link work [b]but[/b] the language is on Chinese and every text field is [b]empty[/b] then clicking on advanced settings goes to an empty page with just an ok or submit button. > > I updated the project forum before I wrote [link=https://mylittleforum.net/forum/index.php?id=11537]the former posting[/link]. I tested the result and I saw the settings page and it looked as intended and it do it also now (screenshot taken at 2019-02-07 13:46 UTC). > > [img]images/uploaded/201902071347015c5c36d501b33.png[/img] > > The settings array was renamed in version 2.4.19 from [inlinecode]$settings[/inlinecode] to [inlinecode]$edSet[/inlinecode] in the script ([inlinecode]admin.inc.php[/inlinecode]) and in the HTML-template [inlinecode]admin.inc.tpl[/inlinecode] for the settings section. There is the user edit section where [inlinecode]$settings[/inlinecode] is still in use! > > Are you sure to update also the template? Please check, if the template contains the following code [link=https://github.com/ilosuna/mylittleforum/blob/2.4.19/themes/default/subtemplates/admin.inc.tpl#L11]in line 11[/link]: > > [code=html]<td class="d"><input type="text" name="forum_name" value="{$edSet.forum_name|escape}" size="40" /></td>[/code] > > If you see the follwing code instead … > > <td class="d"><input type="text" name="forum_name" value="{$settings.forum_name|escape}" size="40" /></td> > > … the template is outdated. > > But as you said, you experimented with restoring the version 2.4.18(.1?) you possibly mixed up files from the both versions? I ask, because the advanced settings page got no change but in the admin.inc.php the name of the variable, passed to the template changed. See therefore [link=https://github.com/ilosuna/mylittleforum/blob/2.4.19/themes/default/subtemplates/admin.inc.tpl#L232]the template section for the advanced settings, beginning with line 232[/link] and for comparing the old with the new code, the admin.inc.php of [link=https://github.com/ilosuna/mylittleforum/blob/2.4.18.1/includes/admin.inc.php#L1222]version 2.4.18.1[/link] and [link=https://github.com/ilosuna/mylittleforum/blob/2.4.19/includes/admin.inc.php#L1227]version 2.4.19[/link] > > Tschö, Auge
E-mail notification on reply of this posting
OK - Submit
Preview