Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Aug 2016, 19: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.

Thanks
Reply With Quote
  #2  
Old 14 Aug 2016, 19: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 vBulletin.org 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
  #3  
Old 14 Aug 2016, 19:28
Talk Hard Talk Hard is offline
 
Join Date: Jul 2010
Thanks, cheers!
Reply With Quote
Reply

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 21:18
Mini Mods Recent Visitors Block: Hide Recent Visitors calorie vBulletin 3.7 Add-ons 6 13 Jun 2008 18:33


Tags
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 12:48.

Layout Options | Width: Wide Color: