The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I'm trying to display two userfields in the postbits of a single forum only (234). I'm using:
<if condition="$forum['forumid'] == 234"> <div class="smallfont">$post[field6]<br>$post[field7]<br></div> </if> Inserted immediately after: <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> But it only displays for administrators. Any ideas please? Thanks |
|
#2
|
||||
|
||||
|
Is the field an Admin-only field?
|
|
#3
|
|||
|
|||
|
Yeah, make sure you do not have the field set to private in the Custom Field manager.
(You can check this in the AdminCP's Profile field manager.) |
|
#4
|
|||
|
|||
|
Yes, that's the problem.
I don't want to make these public fields as they are personal details on a Club membership system. But I do want to display them either on a specific forum which is only open to my members or to the usergroup member. Any ideas please? Thanks Roger |
|
#5
|
|||
|
|||
|
Anybody?
|
|
#6
|
|||
|
|||
|
Shouldn't it be $foruminfo[forumid]
|
|
#7
|
||||
|
||||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|