The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I´m almost sure I saw this once before, but I can´t seem to find it.
Is there a mod that ("which?) allows you to change the header messages, depending on what user group is visiting the forum? E.g. something lik "Hey, visitor, why don´t you register? Once registered, you can bla this and bla that." for guests, or "Hey there, it seems you haven´t checkes your mails yet, since you have registered but not yet activated your account" and so on and so forth. Does anybody know which one I´m talking about? |
|
#2
|
|||
|
|||
|
Hi,
I'm looking for the same thing. Any advice would be much appreciated ![]() Cheers Andy |
|
#3
|
||||
|
||||
|
There is an awesome hack for same.
Search for Dynamic Forum Annoucment Hack from Logician in Major Additions Forum for Vb 3.0 Code Modifications Category |
|
#4
|
|||
|
|||
|
Thanks for the reply ... I can't find it though :|
Cheers Andy |
|
#5
|
|||
|
|||
|
Quote:
Code:
<if condition="$bbuserinfo['usergroupid'] == '1'">
<!-- stuff for guests goes here -->
</if>
<if condition="$bbuserinfo['usergroupid'] == '3'">
<!-- stuff for unconfirmed folks goes here -->
</if>
<if condition="$bbuserinfo['usergroupid'] == '7'||$bbuserinfo['usergroupid'] == '5'||$bbuserinfo['usergroupid'] == '6'">
<!-- stuff for staff goes here -->
</if>
Code:
<if condition="$bbuserinfo['usergroupid'] != '1'">
<!-- stuff NOT for guests goes here -->
</if>
Hope this helps. --don |
|
#6
|
|||
|
|||
|
Thanks ... I literally figured this out about 30 mins ago (found out the variable name, and then just worked out the syntax from existing templates).
Thanks for the reply though... I can guarantee it will come in useful to someone in the future too ![]() Cheers Andy |
|
#7
|
|||
|
|||
|
Quote:
--don |
|
#8
|
|||
|
|||
|
Had a little trouble with some prat DDOS'ing our server :|
Cheers |
|
#9
|
|||
|
|||
|
Thanks for the tips. The announcement hack isn?t quite was I was looking for, although it?s close. I?m looking for something to edit the basic header text (that normally shows up only for guests I think).
I?ll try darnoldy?s suggestion, thanks
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|