Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Few questions
Avatar
PeterPan
Member
Free Members
sp_UserOfflineSmall Offline
Jun 19, 2015 - 3:08 pm

Hi all,

I just installed the forum, but I have the following questions:

* I installed the language plugins, however I see some words which I want to change and some pages which are not translated yet. Where / how can I do this?
* How can I stat footer zone to visible for moderators only?
* What is the best way to change the forum images?
* Is installing a lot plugins for the forum also bad for loading quality of Wordpress?

 

Thanks in advance!

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jun 19, 2015 - 5:18 pm

Hey PeterPan,

*1 Can you be more specific on the language question? What theme are you using, what translations have you downloaded i.e core, theme, plugin translations, and of course what language?

Also, what pages are you finding untranslated?

If you're interested you can become a translator to create translations and also a validator to approve them.

*2 Sorry not sure I understand. Are you asking how to hide the footer and stats to members but display to moderators and admins? Or how to hide moderators and admins from the stats section?

*3 Depending on what you mean by forum images, if you mean icons you can do this through the Custom Icons and Manage Groups and Forums options in the admin menu, start by uploading your icons in Forum > Forums > Custom Icons, then select them in Forum > Forums > Manage Groups and Forums > Edit Forum or Edit Group.

However, if you're referring to button and other images, they can be found within the theme. If this is what you want to change you will want to make a child theme, then use your own images with the same file name in your child theme folder, and they'll be loaded instead.

*4 It's really the same for Simple:Press as it is for WordPress, in general the more plugins you have activated the slower things will run, although chances are you probably wont notice a huge difference. That one you will have to try and see!

Avatar
PeterPan
Member
Free Members
sp_UserOfflineSmall Offline
Jun 19, 2015 - 5:42 pm

Hi,

Thanks for your support.

I'm new using Simple:Press. About the language: It already found out I use dutch language nl_NL - Dutch. I just installed the automatic version on the language translation page.

When I go to my profile on the forum, there are still words in English like 'Edit profile' or 'Options'.

2. I want to hide the stats but display for moderators and admins.

Point 3 and 4 are clear, however, I do have a new question:

When I go to the forum, it shows me who posted the last message in a topic and when. But 'when' is saying for example: '-3615 seconden geleden' which means -3615 seconds ago (its counting down strange enough). How can I change that to things like '5 minutes ago' and '1 hour ago'?
Note: First message is correct and saying '3 hours ago'.

Thanks!

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jun 19, 2015 - 6:18 pm

Excellent glad you got the translations fully up and running. The profile was designed to be translated manually in Forum > Profiles >

The sub menu Profile Options allows you to translate the welcome message in the bottom right pane, and the sub menu Profile Tabs and Menu's allows you to translate each option by expanding them individually.

I'm not sure on the best way to hide the stats for users and only display for admins / mods without having a play. Either I will come back to you on that one, or Andy (Yellow Swordfish) might beat me to it..

As for the timestamp issue, to save my typing out or copying, see https://simple-press.com/docum.....conds-ago/

Hope that helps for now!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 20, 2015 - 3:24 am

On the subject of hiding the stats then it depends a little what theme you are using as to where to look bit basically you need to make an edit to the footer template of the So theme from the /templates folder. This is generally named spFoot.php (except in Reboot where there will be an spFootDesktop.php and an spFootMobile.php).

You will see the comment "# Start the 'stats' section" followed by a block of code starting with an sp_SectionStart() function and ending in an sp_SectionEnd() call. This block contains the various display template function calls that make up the stats box.

You need put a wrapper around this block to check for the user 'type'. This should do it...

if($spThisUser->moderator) {
    sp_SectionStart('tagId=spStatsSectionId&tagClass=spStatsSection', 'stats');
        ....
        ....
    sp_SectionEnd('tagClass=spClear', 'stats');
}

This will then only be displayed for anyone with moderator permissions.

As always we recommend the use of a child theme to ensure changes are not lost when upgrading. There are now Child Theme Frameworks available to download for all of our themes to make this simple and full and extensive details can be found on our Codex - Creating a Child Theme page: https://simple-press.com/docum.....ild-theme/

andy-signature.png
YELLOW
SWORDFISH
Avatar
PeterPan
Member
Free Members
sp_UserOfflineSmall Offline
Jun 20, 2015 - 4:07 am

Thanks guys,

Is there a possibilty to set the standard timezone for new users to the wordpress timezone?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 20, 2015 - 4:11 am

New users are assigned the server timezone by default when they register.

Note we also recently released a 'Timezone on Registration' plugin that simply adds the timezone drop down list to the registration form allowing a user to select their own location at that point. Available to members on our download pages.

andy-signature.png
YELLOW
SWORDFISH
Avatar
PeterPan
Member
Free Members
sp_UserOfflineSmall Offline
Jun 20, 2015 - 1:14 pm

I have a strange thing. I changed my timezone to the timezone which I want, and did a test. This works well, however, the same thing I did to a other account without admin rights on the forum. I changed the timezone and it also tells the correct timezone, however, if I do a post, the time posted is using a other timezone than the user profile.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 20, 2015 - 3:41 pm

I would need more to go on than this. Timezones - and the way they are shown are quite complex. The idea is that everyone will see all dates and times in their own, selected zone and it is all relative to the server. So you need to talk me through step by step exactly what you are doing and what you are seeing when logged in as ... whatever user in what zone.

We do have no other reports of a probplem by the way and it all works as expected on this site and has done for quite a while now.

andy-signature.png
YELLOW
SWORDFISH
Avatar
PeterPan
Member
Free Members
sp_UserOfflineSmall Offline
Jun 20, 2015 - 5:07 pm

Apparently, posting on my own account has te same problem again.

It's with the minus seconds problem where Ike referred to.

I checked the wordpress settings: This is set on UTC + 2 and show me the correct local time.

However, if I go in WP admin to Forum -> Options -> Content settings; it shows me:  Server timezone set to: Unknown. 

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626