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
admin language selection in member language selection
Avatar
Sjoerd
Amsterdam, The Netherlands
Member
Free Members
sp_UserOfflineSmall Offline
Jun 1, 2015 - 4:24 am

Thanks for all the updates. I noticed bug 4880 is not solved? On my forum visitors can choose Site Default, Nederlands (Dutch), English or spa-nl_NL in the theme/language settings. Should this have been fixed?

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

4880 was indeed fixed but 4880 was about the admin language being included in the list?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Sjoerd
Amsterdam, The Netherlands
Member
Free Members
sp_UserOfflineSmall Offline
Jun 1, 2015 - 5:17 am

Yes indeed,  which is spa-nl_NL. So it is still visible and included in the list?. 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 1, 2015 - 9:03 am

And you have updated the theme selection plugin to the released version?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Sjoerd
Amsterdam, The Netherlands
Member
Free Members
sp_UserOfflineSmall Offline
Jun 1, 2015 - 12:41 pm

Yes, its 1.32.

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

Gosh, It looks like something has slipped through the testing net here. My apologies.
I will see what needs to be done and if something small and simple, post a solution here for you.
I am a little hampered at the moment as I have a broken development system (my SVN client has trashed some files and locked me out) but I will get onto it as soon as things are back to normal.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Sjoerd
Amsterdam, The Netherlands
Member
Free Members
sp_UserOfflineSmall Offline
Jun 2, 2015 - 2:03 am

OK thanks and good luck with the broken system!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 2, 2015 - 5:22 am

Back up and running at last...

Again - many apologies for missing this. If you want to make a small edit to correct it prior to the official update then... the file you need to edit is:

forum-plugins/user-selection/template-tags/sp-user-selection-tags.php

down at line 106 in this file you will find these two lines of code:

foreach ($langs as $lang) {
    $thislang = sp_filter_filename_save($lang);

We need to add a new line in between those two so it becomes:

foreach ($langs as $lang) {
    if(substr($lang, 0, 4) == 'spa-') continue;
    $thislang = sp_filter_filename_save($lang);

which will resolve your issue.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Sjoerd
Amsterdam, The Netherlands
Member
Free Members
sp_UserOfflineSmall Offline
Jun 2, 2015 - 5:32 am

Thanks for the quick solution and it works fine now!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 2, 2015 - 6:22 am

Excellent, Glad we got there in the end!

andy-signature.png
YELLOW
SWORDFISH
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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620