The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm looking for a mod that will take the Location user profile field when filled out and make it the users title/rank. Is there a way to do this?
Thanks. --------------- Added [DATE]1253182246[/DATE] at [TIME]1253182246[/TIME] --------------- Okay, I found a way to replace the user rank with a profile field... Code:
<if condition="$post['rank']"><div class="smallfont">$post[feildX] |
#2
|
|||
|
|||
![]()
Your code above should actually be:
<if condition="$post['rank']"><div class="smallfont">$post[fieldX]</div></if> In regards to your problem with usertitles, you could attempt to use conditionals in the usertitle. <if condition="$post['usertitle']">$post[location]</if> (not sure if it would work! Untested) |
#3
|
|||
|
|||
![]()
Thanks for pointing out the code errors James. I'll have to go look and see if I have them in my file that I actually edited... as it is working correctly on my site.
For the user titles, I was actually able to use the same code, just swapped out the 'rank' for 'title'. I ended up not using the title version though. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|