Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #16  
Old 28 Jun 2011, 00:24
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You got it in one, it just took us a bit to catch up with you.
Reply With Quote
  #17  
Old 28 Jun 2011, 01:13
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
I was way off.
Reply With Quote
  #18  
Old 28 Jun 2011, 06:33
codeit codeit is offline
 
Join Date: Jun 2011
Although replies don't answer the question directly sometimes, they contribute to the brainstorming
So.. they're all appreciated.
Reply With Quote
  #19  
Old 28 Jun 2011, 09:59
LT Mote's Avatar
LT Mote LT Mote is offline
 
Join Date: Jul 2006
Originally Posted by Boofo View Post
Did you try $bbuserinfo['userid']?
" $bbuserinfo['userid'] " doesn't work on 4.x
Reply With Quote
  #20  
Old 28 Jun 2011, 14:36
socialteenz's Avatar
socialteenz socialteenz is offline
 
Join Date: May 2011
Real name: Arun
Did you try?

{vb:raw userinfo.fieldx}
__________________
Reply With Quote
  #21  
Old 28 Jun 2011, 14:43
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by socialteenz View Post
Did you try?

{vb:raw userinfo.fieldx}
What does that have to do with anything?
__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #22  
Old 28 Jun 2011, 14:44
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by socialteenz View Post
Did you try?

{vb:raw userinfo.fieldx}
That code only works in a template. This is raw php code.

$vbulletin->userinfo['userid'] is the correct variable to use... why it's not working is the issue... probably a cookie thing, the user is being logged out/has no session on the custom page.

Did you declare $vulletin to be global?
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #23  
Old 28 Jun 2011, 14:48
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by BirdOPrey5 View Post
That code only works in a template. This is raw php code.

$vbulletin->userinfo['userid'] is the correct variable to use... why it's not working is the issue... probably a cookie thing, the user is being logged out/has no session on the custom page.

Did you declare $vulletin to be global?
And the code posted by socialteenz

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

pulls the info from a user profile field for a template lol
__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #24  
Old 28 Jun 2011, 14:57
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
In case anyone cares, the OP solved the problem 10 posts ago, it was the cookie path (and there was nothing wrong with the original code)
Reply With Quote
  #25  
Old 28 Jun 2011, 14:59
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by kh99 View Post
In case anyone cares, the OP solved the problem 10 posts ago, it was the cookie path (and there was nothing wrong with the original code)
__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #26  
Old 28 Jun 2011, 15:01
socialteenz's Avatar
socialteenz socialteenz is offline
 
Join Date: May 2011
Real name: Arun
Originally Posted by HMBeaty View Post
And the code posted by socialteenz

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

pulls the info from a user profile field for a template lol
My bad, it was supposed to be


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

__________________
Reply With Quote
  #27  
Old 28 Jun 2011, 15:02
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by socialteenz View Post
My bad, it was supposed to be
Ah, that makes a little more sense, but still for a template
__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #28  
Old 28 Jun 2011, 15:10
socialteenz's Avatar
socialteenz socialteenz is offline
 
Join Date: May 2011
Real name: Arun
Originally Posted by HMBeaty View Post
Ah, that makes a little more sense, but still for a template
yeah, i didn't read the thread properly though.
__________________
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 02:31.

Layout Options | Width: Wide Color: