![]() |
Show phrase in profiles but visible to choosen id's only
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! |
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)"> |
Understood ;)
Thank you, Sir! |
Ouch, sir? Screenname is Amykhar. Real name is Amy. Avatar is of a girl. Sir? hmmmmmm ;)
|
I am NOT going to complain. It's nice working with somebody who understands what I'm trying to tell them.
|
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 ;)
|
Edit: Solved
|
Edit: Solved
|
All times are GMT. The time now is 09:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|