Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Jun 2006, 00:25
juicemanfta juicemanfta is offline
 
Join Date: Jun 2006
Plugin Hook

Hi I need to have a plugin trigger only when a valid user has logged on. I want to display an SMS page on the left cloumn when a valid user has logged on. If it is a guess user that is viewing the page i don't want them to be able to see this SMS page.

thanks
Reply With Quote
  #2  
Old 14 Jun 2006, 00:41
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
if ($vbulletin->userinfo['userid']) { code you want to execute here }
__________________
Looking for ImpEx?
Reply With Quote
  #3  
Old 14 Jun 2006, 01:08
juicemanfta juicemanfta is offline
 
Join Date: Jun 2006
Thanks

Originally Posted by Zachery
if ($vbulletin->userinfo['userid']) { code you want to execute here }
Thanks working fine...

when user logs out the SMS page is still there until you click refresh...but this is ok...

thanks again...
Reply With Quote
Reply



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 09:48.

Layout Options | Width: Wide Color: