
02-04-2007, 07:55 PM
|
|
|
Join Date: Nov 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Ted S
Open the template "welcome_headers" and scroll down until you find:
Code:
<!-- / hasnt posted lately message -->
<else />
Add the following after this:
Code:
<if condition="!is_member_of($bbuserinfo, XYZ)">
<!-- supporting members -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1">
<phrase 1="$vboptions[bbtitle]" 2="payments.php" 3="$bbuserinfo[username]">
Hello $bbuserinfo[username]!<br \><br \>
While $vboptions[bbtitle] is offered as a free service, we rely on the donations of our supporting members.
There are a lot of advantages to being a supporting member that you may not know about.... All this for just $___ plus you'll
be helping to kee our site running!<br \><br \>
Ready to join? <a href="/payments.php">Sign up</a> as supporting member today!
</td>
</tr>
</table>
<!-- / supporting members -->
<else />
Then find the first </if> and add another </if> before it.
Change XYZ to your supporting member group, if there are multiple groups separate with a comma. You will also want to configure the text to make it relevant to your supporting member benefits.
I have also posted this as a plugin file, just install and override your existing file but note, this will remove any template changes you have made.
|
I get the following error when adding your above code as indicated:
Quote:
The following error occurred when attempting to evaluate this template:
The conditional on line 5 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
|
|