Skip to main content
Recent Posts
2
Addons / Re: [ADDON] SimplePortal
Last post by Ruth -
Yes...I changed the language now on forum.

articles.jpg

I was confused, because the button in the middle does not say "show comments" in german, it says "reply"....and there is a field for typing, if I click on the button in the middle. Thats still the old german language file there, i made years ago. Articles were not really working those days, so translating was a lot of guessing. :wink:

I will change the text of this button in the middle in the german language file.
4
Addons / Re: [ADDON] SimplePortal
Last post by Spuds -
I think may be happening is that you are viewing an article that has comments?.   In that case you would see (3) buttons

"Read More" <- takes you to the full article $txt['sp_read_more']
"Comments" <- takes you to the top of the comment listing $txt['sp-articlesComments']
"Write Comment" <- positions the new comment textbox in  view $txt['sp_write_comment']

The write comment button does not focus/select the textarea, so if you only have one or two comments the buttons look to do the same thing.  I'll make an update that will position the cursor inside the textbox when you select "write comment", it should have done this anyway.
5
Support / Re: Timeformat/strftime with php 8
Last post by Ruth -
I changed it in Load.php, Spuds.

This custom block is working now perfect again!  :smiley:  Thank you very much!

It is the most important block to us...I am very happy now.
6
Addons / Re: [ADDON] SimplePortal
Last post by Ruth -
Thats elk11, so the newest version of portal: 1.0.2

I only have 3 buttons, if i look at a category of articles in ACP.
In the "normal view" of articles there are just 2 buttons.
7
Addons / Re: [ADDON] SimplePortal
Last post by Spuds -
Glad we have a couple of the issues fixed.

I'm still not seeing the 3 buttons in any article views (there should only be 2, view more and comment).  What version of SP are you running?
8
Support / Re: Timeformat/strftime with php 8
Last post by Spuds -
I'm still chasing this one:person_running:

I did find one error which may help, or not, but it is a bug.

in Load.php find the following:
Code: [Select]
	// Allow overriding the board wide time/number formats.
if (empty($user_settings['time_format']) && !empty($txt['time_format']))
$user_info['time_format'] = $txt['time_format'];
replace it with
Code: [Select]
	// Allow overriding the board wide time/number formats.
if (empty($user_settings['time_format']) && !empty($modSettings['time_format']))
$user_info['time_format'] = $modSettings['time_format'];

The system is supposed to use the time format set in the admin panel, unless the user has set their own.  The error above would use the actual text string of Time Format instead of the system default formatting, in rare instances.

The other thing to check is if in your profile you set a custom time format
9
Addons / Re: [ADDON] SimplePortal
Last post by Ruth -
Thank you very much, Spuds.  :smiley:  I will try them...

To articles:

This 3 buttons are to see, if I look at a categorie for articles. The buttons say "read more", "reply" and "write a comment".

3 buttons.jpg

"Reply" and "write a comment" can both be used, and both do the same: There will be another comment then in this article. So I don't understand, why there are two buttons for the same result. Should the reply-button do something different?



Edit:

The smileys in shoutbox are displayed now and theme selection is also working perfect.  :smiley:  Thank you very much, Spuds!