vBulletin Modifications

Custom fields - how can I show the data?

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 12-03-2006, 09:49 AM   #1
vB Newbie
Join Date: Nov 2006
chris79 is on a distinguished road

Post Custom fields - how can I show the data?

I have some custom fields set up for my site. For example, field6 is the member's real name.

If I type $post[field6] in the membersinfo template, their name appears.

With other templates I've tried this with, the name doesn't appear. It just leaves a blank space.

Is there some coding in membersinfo that I can copy into other templates? It's vital for my site that I can use the member's real name in different places.

What code do I need to add to the other files and/or templates?

Thanks,

Chris




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 12-06-2006, 12:47 PM   #2
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

What templates are you trying to use it on. Variables are define in the code. Like in the postbit it's $post, on a member's page it's $userinfo... If you want to get the variable for the people viewing the page then it's $vbulletin->userinfo or $bbuserinfo.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-11-2006, 06:20 AM   #3
vB Newbie
Join Date: Nov 2006
chris79 is on a distinguished road

Default

I want it to show up on the who's online page (that's my main priority).

Some other pages would be good too.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-11-2006, 09:57 AM   #4
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

You would probably need to alter the query to do that.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2006, 11:43 AM   #5
vB Newbie
Join Date: Nov 2006
chris79 is on a distinguished road

Default

Yup. How though?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2006, 12:42 PM   #6
Getting To Understand vB
Funnyguy's Avatar
Join Date: Dec 2006
Location: Chester, Virginia
Funnyguy is on a distinguished road

Default

I'm having the same issue as well..

Notice this members bar:


Where it says Tribes name theres supposed to be something underneath it.

This one is mine:



He has filled it out..I don't know why its still like that?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2006, 02:45 PM   #7
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

You seem to have a bad conditional in the postbit template...




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2006, 02:51 PM   #8
Getting To Understand vB
Funnyguy's Avatar
Join Date: Dec 2006
Location: Chester, Virginia
Funnyguy is on a distinguished road

Default

So the same edits I do in Legacys HAS to be done in postbit?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2006, 03:06 PM   #9
Michael Biddle
Administrator
Michael Biddle's Avatar
Join Date: Feb 2005
Real Name: Michael Biddle
Location: Anaheim
Michael Biddle is on a distinguished road

Default

not if u dont use it
__________________
Support will ONLY be offered through forums


Michael Biddle / vBHackers.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

Crawlability Network: vBulletin SEO | vBulletin Hackers
Affiliates: vBulletinSetup
Are you interested in a Recipe mod for vBulletin
Free Modifications: Latest X Posts on Forumhome | Default Signature | Default Signature Per Usergroup




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2006, 03:22 PM   #10
Getting To Understand vB
Funnyguy's Avatar
Join Date: Dec 2006
Location: Chester, Virginia
Funnyguy is on a distinguished road

Default

I don't use it..so what should I do? Just revert to the old one?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra Threadfields Lite(Add Text, Radio, Drop Down, & Checkbox Fields To Threads!) gio~logist vBulletin 3.5 / 3.6 Hack Releases 6 05-29-2007 09:35 PM
Question regarding custom data managers Maxx General vBulletin Support 2 09-25-2006 05:40 AM
Do Not Show Editor Toolbar Problem tillysur General vBulletin Support 6 09-15-2006 03:28 PM
Integrating AJAX Technology Into Your Modifications Zero Tolerance vBulletin Modification Tutorials 3 08-28-2006 10:30 AM
Air & Sea Show Ken Iovino Off Topic 2 05-03-2004 09:06 PM


All times are GMT -3. The time now is 12:51 AM.


SEO by vBSEO 3.2.0 RC8 ©2008, Crawlability, Inc. (Patent Pending)