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 |
#42
|
|||
|
|||
i can keep image in news table?
|
#43
|
||||
|
||||
Quote:
If so, yes, it allows HTML. Just enter HTML Code:
<img src="imgurl/image.jpg" alt="you alt tag">
|
#44
|
|||
|
|||
tanx men
This is working in VB 3.6.1? |
#45
|
||||
|
||||
Quote:
|
#46
|
||||
|
||||
Adrian, any clues on my previously posted questions? Any help at all is sincerely appreciated!
|
#47
|
|||
|
|||
i installed and allready is fine
But i have 2 table See the image in attach |
#48
|
||||
|
||||
Alien, i will look into it.
GraphicPlanet, please read the descriptions in the options panel, and also other posts in this thread. Adrian |
#49
|
|||
|
|||
tanx
i installed and Now working so nice tanx for This Plugin realy nice plugin |
#50
|
|||
|
|||
Just Single Quastion
How can i change the name "Quick Nes" in Up of Table? tanx |
#51
|
||||
|
||||
Quote:
open them up, search for "Quick News", and replace it with what you want. Adrian |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|