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
Newest Members displayed to registered forum users only?
Avatar
SunRider
Member
Free Members
sp_UserOfflineSmall Offline
Jul 5, 2014 - 4:37 pm

I read the topic "Hide Newest Members" but, although related, it does not address my question.  

Is there any way by which "Newest Members" can be displayed only to select groups.  I do not want unregistered guests  to be able to see the list of newest members, but I want the list visible to registered forum users.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 5, 2014 - 4:54 pm

just add a check before the newest members template tags in you spFoot.php template file..  change

        sp_NewMembers('tagClass=spLeft spNewMembers', __sp('Newest Members: '));

to

        if ($spThisUser->member) sp_NewMembers('tagClass=spLeft spNewMembers', __sp('Newest Members: '));

as always, we recommend a child theme or your own theme copy  rather than editing our themes to keep from losing changes on updates...

Avatar
SunRider
Member
Free Members
sp_UserOfflineSmall Offline
Jul 6, 2014 - 2:05 am

Thanks!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 6, 2014 - 5:10 am

Hope that worked Ok for you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
SunRider
Member
Free Members
sp_UserOfflineSmall Offline
Jul 6, 2014 - 1:24 pm

Worked like a charm!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 6, 2014 - 2:42 pm

glad we could help...

Avatar
graphicken
Member
Free Members
sp_UserOfflineSmall Offline
May 19, 2015 - 4:13 pm

thanks! worked great

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
May 19, 2015 - 4:27 pm

Good stuff.. An older thread but a good one!

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