The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quick News V2 Details »» | |||||||||||||||||||||||||
Quick News v2
By Adrian at Development Chat Tested on v3.6.1, should work on 3.6.0 and 3.5.x Hey, This is a very simple mod', it allows you to add news/important notes or announcements, on the homepage of your forum. You can enable/disable or add news via the admin panel. The "Quick News" box, matches your forum theme. Just so it doesn't look out of place. New in Version two.
Installation Import the product-quicknews.xml Go to vBulletion Options > Quick News (Read option descriptions before configuring) Template Edit: Open Forum Home Templates > FORUMHOME Find: HTML Code:
<!-- main -->
HTML Code:
<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> Add at the very bottom: HTML Code:
<if condition="$vboptions['qnews_enabled'] == 1"> <if condition="$vboptions['qnews_everypage'] == 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> Upgrading: If you are upfrading from Quick News v1 to v2. Do the following. Import the new product-quicknews.xml (Overwriting old version) Then, open up: Forum Home Template > FORUMHOME (if you installed it in FORUMHOME) Find: HTML Code:
<if condition="$vboptions['qnews_enabled'] == 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> </if> HTML Code:
<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> Find: HTML Code:
<if condition="$vboptions['qnews_enabled'] == 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> </if> HTML Code:
<if condition="$vboptions['qnews_enabled'] == 1"> <if condition="$vboptions['qnews_everypage'] == 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> Very easy to install mod', and quite useful. Click install if you use it please. Thanks. Adrian Show Your Support
|
Comments |
#72
|
|||
|
|||
Please Update.
|
#73
|
|||
|
|||
Please update to 3.8
|
#74
|
|||
|
|||
i have problem whith want select moderat post on all select and romve cod on navabar sloved this problem
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|