Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 14 Aug 2016, 20:11
Talk Hard Talk Hard is offline
Join Date: Jul 2010
show image with link to visitors only

I have so many unregistered visitor so I made a nice "sign up/registration" button. How do I show that to visitors only, or members don't see it.

Reply With Quote
Old 14 Aug 2016, 20:26
MarkFL's Avatar
MarkFL MarkFL is offline
Join Date: Feb 2014
Real name: Mark
The value "$show['guest']" will be true for visitors and false for registered users, so if you have put your new button in a template, you could wrap it with the template conditional:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Former Staff Member

Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Old 14 Aug 2016, 20:28
Talk Hard Talk Hard is offline
Join Date: Jul 2010
Thanks, cheers!
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
vBulletin CMS Widgets Flag Counter - Recent Visitors - Top Countries Visitors twizzler vBulletin 4.x Add-ons 5 13 Apr 2011 22:18
Mini Mods Recent Visitors Block: Hide Recent Visitors calorie vBulletin 3.7 Add-ons 6 13 Jun 2008 19:33

show to visiters, visitors, visitors only

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 04:03.

Layout Options | Width: Wide Color: