quick news

soltanabi

New Member
hi all friands

1-go to admincp==>>go to hack & plugins===>>add product-quick news.xml

2-go to your stayls in the header add under code
||
||
||
||
VVV
V
<if condition="$vboptions['qnews_enabled'] == 1">
<if condition="$vboptions['qnews_forumhome'] == 1">
<if condition="$vboptions['qnews_guests'] == 1">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"

align="center">
<tr>
<td align="center" class="tcat">Quick News</td>
</tr>
<tr>
<td class="alt1">$vboptions[qnews_news]</td>
</tr>
</table>
<br>
<else />
<if condition="$show['guest']">
<!-- No message for guests -->
</if>
</if>

<if condition="$vboptions['qnews_admin'] == 1">
<if condition="$bbuserinfo[usergroupid] == 6">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"

align="center">
<tr>
<td align="center" class="tcat">Quick News</td>
</tr>
<tr>
<td class="alt1">$vboptions[qnews_news]</td>
</tr>
</table>
<br>
</if>
<else />
<if condition="$vboptions['qnews_guests'] == 1">
<if condition="$bbuserinfo[usergroupid] == 1">
<!-- No message for guests, if admin view only is set to no, and guest view is also set to no -->
</if>

<else />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"

align="center">
<tr>
<td align="center" class="tcat">Quick News</td>
</tr>
<tr>
<td class="alt1">$vboptions[qnews_news]</td>
</tr>
</table>
<br>
</if>
</if>
</if>
</if>

</if>
</if>

Enjoy !
:):)
 
Back
Top