Quote:
Originally Posted by gizmosheretwo
Can anyone advise, I would like to add a message for all registered users, with my own custom text etc, to promote upgrading but also to point out site wide rules & links to rules.
How would this be set.
Thanks
|
That should be easy, do the following:
Create 1 new phrase
Code:
Phrase Type: GLOBAL
Product: Welcome Headers
Varname: welcome_members
Text: <PUT THE TEXT YOU WANT HERE - YOU CAN FORMAT IT WITH XHTML AS WELL TO GET THE LAYOUT YOU WANT>
Edit the
welcome_headers template:
Find:
Code:
<!-- / hasnt posted lately message -->
<else />
Paste underneath it:
Code:
<if condition="is_member_of($bbuserinfo, 2)">
<!-- / registered member's message -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1">
<phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_members]</phrase>
</td>
</tr>
</table>
<!-- / registered member's message -->
</if>
Save your template, and that is you all done, you now have a message for your members.
The formating of the XHTML I will leave up to you, but the frame work is there for you to add the message.
Hope this helps.