The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I make something visible to only one user or usergroup?
Let's say I have user (user id # 8901) and I want a message to be displayed on the forumhome template for that user and that user only.
How do i do it? I assume it's something like <if userid=8901> message </if> but I'm not sure of the exact syntax. Please help. |
#2
|
|||
|
|||
I've done that with forum permissions. Create the forum, create a usergroup just for that forum. Turn off permissions for everyone for the new forum, then allow that one new group to see it. Add this new group to whatever users you want to see it.
I run private forums for multiple users like this all the time. It works. |
#3
|
|||
|
|||
That's not quite what I'm looking for. I want to change the header for a forum that EVERYONE sees so that only ONE person sees the special message.
I.e. the forumhome template. I want one particular user to see some text .. and only that user. |
#4
|
||||
|
||||
I think this would work....
HTML Code:
<if condition="$bbuserinfo['userid'] == 'x'"> stuff to show to userid x </if> |
#5
|
|||
|
|||
I think that worked!
|
#6
|
|||
|
|||
vBulletin 3.7.x built-in "Notices" feature can show specific message to specific user or usergroup.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|