Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Aug 2005, 14:35
vauge vauge is offline
 
Join Date: Oct 2004
Profile fields

Are profile field vars available everywhere or just postbit?
__________________
Forum
Political Forums
Reply With Quote
  #2  
Old 13 Aug 2005, 15:33
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
I don't believe they're available everywhere... but I'm pretty sure that they're available in other areas besides the postbit.
__________________
Former vBulletin.org Staff Member

Please feel free to re-use any of the code in any of my projects submitted to vB.org, so long as original attribution is retained.
Reply With Quote
  #3  
Old 13 Aug 2005, 17:23
vauge vauge is offline
 
Join Date: Oct 2004
I would like to do something like (dunno what var it needs):

<if condition= ($post[field8] == yes)>

Display or not display something on the main forum page.

</if>

Is this possible or do I need to create a query for it?
__________________
Forum
Political Forums
Reply With Quote
  #4  
Old 13 Aug 2005, 18:32
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Yeah, you can do that with a template edit. Just create a new profile field. (AdminCP -> User Profile Fields -> Add New User Profile Field) Make whatever kind of field you want. If you're going to have like a Yes, display the image or No, don't display the image kind of deal. Then I'd make Single-Selection Radio Buttons. Then after you fill out all the details and submit the field you need to find the Field Number. It's in the name column of the Profile Field Manager. Then just place this code wherever... in your case you said you wanted to display something on your index, so you need to put it in your FORUMHOME template. Just replace the xx with your field number.


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

__________________
Former vBulletin.org Staff Member

Please feel free to re-use any of the code in any of my projects submitted to vB.org, so long as original attribution is retained.
Reply With Quote
  #5  
Old 13 Aug 2005, 19:12
vauge vauge is offline
 
Join Date: Oct 2004
You rock! Thanks!
__________________
Forum
Political Forums
Reply With Quote
  #6  
Old 13 Aug 2005, 22:00
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
You're welcome, happy to help.
__________________
Former vBulletin.org Staff Member

Please feel free to re-use any of the code in any of my projects submitted to vB.org, so long as original attribution is retained.
Reply With Quote
  #7  
Old 28 Sep 2005, 18:16
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Real name: Daniel
$bbuserinfo is only going to take into account the person viewing the thread, not the poster though.
Reply With Quote
  #8  
Old 28 Sep 2005, 19:35
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Yeah... I assume he's using it to display something on the forumhome that's selectable in the UserCP. So, it'd be a user's option, not the poster...
__________________
Former vBulletin.org Staff Member

Please feel free to re-use any of the code in any of my projects submitted to vB.org, so long as original attribution is retained.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
[mini-hack] Hidden profile fields viewable by admins & mods IN profile. EvilLS1 vBulletin 2.x Full Releases 24 27 Jan 2004 19:46



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:16.

Layout Options | Width: Wide Color: