Back to vBulletin 3.5 Template Modifications

Announcments on Forum Home
Mod Version: 1.00, by Xplorer4x4

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 6
Released: 26 Mar 2006 Last Update: Never Downloads: 1
Not Supported Template Edits  


I am releasing 4 versions. The first TWO which is a strictly a template edit while the other 2 version requires a plug in from another hack.

If you use please click .

Template Version
(Display to registered users only!) :

PHP Code:
<table class="tborder" cellpadding="6" cellspacing="0"  border="0" width="100%" align="center">
<
tr  align="center">
<
td class="tcat" colspan="4"><a  style="float:$stylevar[right]href="#top" onclick="return  toggle_collapse('announ')"><img id="collapseimg_announ"  src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_announ].gif"  alt="" border="0" /></a>Announcements Notice from the  ADMINS!</td>
</
tr>
<
tbody id="collapseobj_announ"  style="">
<
td class="alt1" width="100%" colspan="2">
<if  
condition="!is_member_of($bbuserinfo, 3)">YOUR TEXT  HERE</if></td>
</
tbody>
</
table
Template Version 2(This will display your custom message to registered users, and if you use the e-mail validation system it will show a reminder to those users needing to click the validation link in there email).

PHP Code:
 <table  class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%"  align="center">
<
tr align="center">
<
td class="tcat"  colspan="4"><a style="float:$stylevar[right]href="#top" onclick="return  toggle_collapse('announ')"><img id="collapseimg_announ"  src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_announ].gif"  alt="" border="0" /></a>Announcements Notice from the  ADMINS!</td>
</
tr>
<
tbody id="collapseobj_announ"  style="">
<
td class="alt1" width="100%" colspan="2">
<if  
condition="!is_member_of($bbuserinfo, 3)">YOUR MESSAGE TO REGISTERED  USERS</if><if condition="is_member_of($bbuserinfo, 3)"><font  size="6">
<
MARQUEE>PLEASE CHECK YOUR EMAIL FOR THE LINK TO ACTIVATE  YOUR  ACCOUNT.</MARQUEE></font></if></td>
</
tbody>
</
table
Plug In/Template Version:

This hack requires the Add Extra Header / Footer to FORUMHOME released here. Both of the versions below will only show up if you have entered text in the extra header field in the admin cp.

There is a smiliar version, yes, but it only supports bold and italics where as the extra header and footer plug in supports all HTML and even Javascript, just not PHP.

This version will show to registered users only. Install the plug in above enter your message in the extra header box. It will display in the announcement table.

PHP Code:
<if  condition="($vboptions[fhx2h])">
<
table class="tborder" cellpadding="6"  cellspacing="0" border="0" width="100%" align="center">
<
tr  align="center">
<
td class="tcat" colspan="4"><a  style="float:$stylevar[right]href="#top" onclick="return  toggle_collapse('announ')"><img id="collapseimg_announ"  src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_announ].gif"  alt="" border="0" /></a>Announcements Notice from the  ADMINS!</td>
</
tr>
<
tbody id="collapseobj_announ"  style="">
<
td class="alt1" width="100%" colspan="2">
<if  
condition="!is_member_of($bbuserinfo,  3)">$vboptions[fhx2h]</if></td>
</
tbody>
</
table>
</if> 
This version also requires the Add Extra Header / Footer to FORUMHOME plug in. However it will show the notice to users that need to validate there accounts also.

PHP Code:
<if condition="($vboptions[fhx2h])">
<
table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<
tr align="center">
<
td class="tcat" colspan="4"><a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('announ')"><img id="collapseimg_announ" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_announ].gif" alt="" border="0" /></a>Announcements Notice from the ADMINS!</td>
</
tr>
<
tbody id="collapseobj_announ" style="">
<
td class="alt1" width="100%" colspan="2">
<if 
condition="!is_member_of($bbuserinfo, 3)">$vboptions[fhx2h]</if><if condition="is_member_of($bbuserinfo, 3)"><font size="6">
<
MARQUEE>PLEASE CHECK YOUR EMAIL FOR THE LINK TO ACTIVATE YOUR ACCOUNTIT MUST THEN BE APROVED BY AN ADMIN BEFORE YOU CAN POST!!!</MARQUEE></font></if></td>
</
tbody>
</
table>
</if> 
If you use please click

Download

No files for download.

Screenshots

 


vblts.ru supports vBulletin®, 2022-2024