Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Question on the announcements plugin
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 10:30 am

I see there is a option to display to only logged in users, is there a way to show only to guests? Thank-you.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 11:15 am

only to guests? no, not currently...  sorry...  but something we can probably add in the future...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 11:45 am

okay thanks, I had a announcement geared towards guest and it caused some confusion with my members

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 1:27 pm

actually it is possible.. just not as option.. add this to your spFunctions.php file of you sp theme...

if (!is_user_logged_in()) add_filter('sph_AnnounceMessage', '__return_empty_string'); 
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: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625