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 |
#52
|
|||
|
|||
Installed Thanks!
It would ne nice if you add the option: Show in forum XXX Now we only have the option or the mainpage or all the (sub)forums. Would be nice if we could chooce in which forum you can show the news! Just my 2 cents |
#53
|
|||
|
|||
tanx its working for me fine
Just Some Stuiped Quastion Now i have in top Quick News i need to add in other forum ( seprate ) its Possible? |
#54
|
|||
|
|||
Plz Adrian i need help
i need Use this plugin for seprate forum its possible? |
#55
|
|||
|
|||
Hello. Where do i upload product-quicknews.xml ?? Thanks
|
#56
|
||||
|
||||
You don't have to upload it.
Import the xml as a product in your product/plug-ins section after you've uploaded all the other files. |
#57
|
|||
|
|||
hi
i dont know what happen with my Quick News Just the Guest can see the quick news admin and user can not see what happen? |
#58
|
||||
|
||||
I was looking for something like this and it works great with 3.6.2.
|
#59
|
|||
|
|||
Can You Explain More In This Installation I Found Bottom But I Didn't Understand What Is Very Bottom and Where Put the Code ...
Now open Navigation / Breadcrumb Templates > navbar navbar ==><tr valign="bottom"> after thes i put the code Tnx In Advance |
#60
|
||||
|
||||
Hey. It's been 2 months so wanted to see if you've made any progress on my inquiry?
|
#61
|
|||
|
|||
Any way of making this viewable to MODERATORS and ADMIN - not just ADMIN? As I'd like to make messages to all Site Staff? How would I go about doing this!?
thanks great mod! - Joe |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|