The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I am showing a group of profile fields in each member's postbit. I want to make it so that the group of fields only show up once per page.
I have this code to make signatures achieve this: PHP Code:
Many thanks ![]() checknme |
|
#2
|
|||
|
|||
|
Can anyone help?
|
|
#3
|
||||
|
||||
|
You just change the variable to showfields, instead of showsigs. Your code also checked if the signature wasn't empty. I took that out, because i don't know what fields you want to show/what conditions for showing those fields you want to apply.
<if condition="!$vboptions['showfields'][$post[userid]] AND $vboptions['showfields'][$post[userid]] = true"> fields here </if> |
|
#4
|
|||
|
|||
|
Thanks very much! Things are starting to make more sense now
|
|
#5
|
|||
|
|||
|
stupid question but. how do you add profile fields to the post info?
|
|
#6
|
||||
|
||||
|
$post[fieldX] where x is the field #. Usually 5 if its the first one you created.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|