AdminAddict

Join Us Members List Today's Posts
Go Back   AdminAddict > Forum and Community Development > Community/Forum Software > vBulletin

Discuss Adding custom profile fields to post bit... in vBulletin at AdminAddict
So I am trying to add some custom profile fields to post bit...but the field is a selection box... Kinda ...

Welcome to the AdminAddict.

Hello and welcome to AdminAddict! The one-stop resource for forum and community administrators.

We offer a variety of content and resources, but in order to have access to all of our free tips and tools, you need to register a FREE account.

Registration is free, quick and easy.



(Register to remove this advertisement)
Reply
 
Share Thread Tools Search this Thread
Old February 6th, 2010, 09:01 PM   #1
Champion
MordyT's Avatar
Posts: 423
Join Date: Dec 2009
Location: Milwaukee

Experience: Intermediate
Forums Admin/Mod: 3
Software: vB, SMF 2.0, phpBB
Forum: RvO Clan

MordyT is a jewel in the roughMordyT is a jewel in the roughMordyT is a jewel in the roughMordyT is a jewel in the rough
Default Adding custom profile fields to post bit...

So I am trying to add some custom profile fields to post bit...but the field is a selection box...

Kinda like AA's "level of admin experience"

Running vb4.0.1 btw...

I found this thread, but they don't know either...
MordyT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTwitterShare on Facebook
Reply With Quote

Old February 11th, 2010, 10:21 PM   #2
Champion
Ryan Ashbrook's Avatar
Posts: 298
Join Date: Jun 2009
Location: Cincinnati, Ohio

Experience: Master
Forums Admin/Mod: 4
Software: vBulletin 3.8.x, vBulletin 4.0.x, ImperialBB 1.0.x

Ryan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of light
Default Re: Adding custom profile fields to post bit...

If it's single selection, all you need to do is:

Code:
<vb:if condition="$post['fieldX']"><dt>Fieldname:</dt> <dd>{vb:raw post.fieldX}</dd></vb:if>
And the users selection with show up.

I just tested this.

Take note, though, that vBulletin 4 uses the "postbit_legacy" template by default, not "postbit".

I suspect that is your problem.
Regards,
Ryan Ashbrook
Support Team Coordinator; Developer (ImperialBB 1.0.0 Alpha 1 is live!)
www.ryanashbrook.com
Ryan Ashbrook is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTwitterShare on Facebook
Reply With Quote

1 out of 1 members found this post helpful.
Old February 14th, 2010, 04:15 PM   #3
Champion
MordyT's Avatar
Posts: 423
Join Date: Dec 2009
Location: Milwaukee

Experience: Intermediate
Forums Admin/Mod: 3
Software: vB, SMF 2.0, phpBB
Forum: RvO Clan

MordyT is a jewel in the roughMordyT is a jewel in the roughMordyT is a jewel in the roughMordyT is a jewel in the rough
Default Re: Adding custom profile fields to post bit...

That is the code that they gave on vb.org. It works perfect for fields that you "fill in the line" but not for fields that a selection is provided and you select one or more from a dropdown list...

That is the code I am looking for. I gave you thanks for trying though...
MordyT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTwitterShare on Facebook
Reply With Quote

Old February 15th, 2010, 09:39 AM   #4
Champion
Ryan Ashbrook's Avatar
Posts: 298
Join Date: Jun 2009
Location: Cincinnati, Ohio

Experience: Master
Forums Admin/Mod: 4
Software: vBulletin 3.8.x, vBulletin 4.0.x, ImperialBB 1.0.x

Ryan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of light
Default Re: Adding custom profile fields to post bit...

Quote:
Originally Posted by MordyT View Post
That is the code that they gave on vb.org. It works perfect for fields that you "fill in the line" but not for fields that a selection is provided and you select one or more from a dropdown list...

That is the code I am looking for. I gave you thanks for trying though...
Should've specified Multiple Selection.

I'll see what I can whip up.
Regards,
Ryan Ashbrook
Support Team Coordinator; Developer (ImperialBB 1.0.0 Alpha 1 is live!)
www.ryanashbrook.com
Ryan Ashbrook is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTwitterShare on Facebook
Reply With Quote

Old February 15th, 2010, 09:53 AM   #5
Champion
Ryan Ashbrook's Avatar
Posts: 298
Join Date: Jun 2009
Location: Cincinnati, Ohio

Experience: Master
Forums Admin/Mod: 4
Software: vBulletin 3.8.x, vBulletin 4.0.x, ImperialBB 1.0.x

Ryan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of lightRyan Ashbrook is a glorious beacon of light
Default Re: Adding custom profile fields to post bit...

Yeah, I see the problem. I wouldn't know where to begin to fix it, though. I haven't dived into Profile Fields that much (especially not Multi-Selections).

I'll keep digging around in between coding my projects, but if you find another solution feel free to share.
Regards,
Ryan Ashbrook
Support Team Coordinator; Developer (ImperialBB 1.0.0 Alpha 1 is live!)
www.ryanashbrook.com
Ryan Ashbrook is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTwitterShare on Facebook
Reply With Quote

1 out of 1 members found this post helpful.
Old February 15th, 2010, 10:44 AM   #6
Champion
MordyT's Avatar
Posts: 423
Join Date: Dec 2009
Location: Milwaukee

Experience: Intermediate
Forums Admin/Mod: 3
Software: vB, SMF 2.0, phpBB
Forum: RvO Clan

MordyT is a jewel in the roughMordyT is a jewel in the roughMordyT is a jewel in the roughMordyT is a jewel in the rough
Default Re: Adding custom profile fields to post bit...

I appreciate it.
Thanks for helping!
MordyT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTwitterShare on Facebook
Reply With Quote

Reply

Tags
adding, bit, custom, fields, post, profile

AdminAddict > Forum and Community Development > Community/Forum Software > vBulletin > Adding custom profile fields to post bit...


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



All times are GMT -5. The time now is 07:59 PM.
Powered by vBulletin®, ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright ©2008-2010 AdminAddict, All Rights Reserved


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53