The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I want to show some phrase in member profiles but visible only to userid's which is listed in ACP, separated with commas.
How to make this? Which conditionals etc... Thanks! |
|
#2
|
||||
|
||||
|
1. Set up the admincp field for this by adding a setting in the vbulletin options. you need to be in debug mode for this.
2. Create a plugin in the profile to explode the comma separated list into an array. 3. Use a conditional that looks somewhat like this: Code:
<if condition="in_array($vbulletin->userinfo[userid],$arrayname)"> |
|
#3
|
|||
|
|||
|
Understood
![]() Thank you, Sir! |
|
#4
|
||||
|
||||
|
Ouch, sir? Screenname is Amykhar. Real name is Amy. Avatar is of a girl. Sir? hmmmmmm
|
|
#5
|
||||
|
||||
|
I am NOT going to complain. It's nice working with somebody who understands what I'm trying to tell them.
|
|
#6
|
||||
|
||||
|
I wouldn't have expected you to complain. In fact, I doubt Cybernetec even realized that "sir" was written. I was just bustin his/her chops a bit. lol
|
|
#7
|
|||
|
|||
|
Edit: Solved
|
|
#8
|
|||
|
|||
|
Edit: Solved
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|