The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals Details »» | |||||||||||||||||||||||||||
Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals
Developer Last Online: Nov 2023
This hack allows you to post powerful dynamic announcements (changing according to different conditions) on forum home page. It differs from vbulletin's default announcements in 2 ways:
This hack is the VB3 version of my Dynamic Forum Home Announcement Hack and it is a bit more improved in that it is now able to display your announcement as it was before AND also in DHTML popup box as well which ever you prefer better or even both. (DHTML poupup announcement is not technically a popup so popup killers can not kill it either.) Basic Usage : You can set a text in your Admin CP and it's displayed in forum home to all users. Advanced Usage : With conditionals you can set different texts/notifications/messages/announcements and they will be displayed if your pre-configured condition applies. This allows you to create powerful announcements/private messages/texts which address their receipt only if a certain condition is met. Some examples: You can set to show an announcement in forum home IF:
It's tested in vb versions from v.3.0.0 to 3.0.9 and works fine with all of them. It will work for all future 3.0.x versions too. For vb2 version click here. Here is a Screenshot from a general table announcement. Here is a Screenshot from a popup announcement. Some Features:
If you install the hack, click INSTALL, thank you.. Hacks of the hack: * Hack 1: Puts the announcement into header instead of forum home page so that announcement appears in all forum pages. * Hack 2: Integrates announcement with vBA_CMPS portal hack. * Hack 3: Popup announcement will popup once in every XX hours. Logician \\=^)) Show Your Support
|
Comments |
#332
|
||||
|
||||
Quote:
|
#333
|
|||
|
|||
Done.
www.tdr-px.com/forums |
#334
|
||||
|
||||
Quote:
or forgot to add $dfh_announcement_headercode before </head> section in forumhome template (Step 6) Hence the close announcement javascript function does not reside in your page source and the announcement is not closed. |
#335
|
|||
|
|||
This is whats in the forumhome template pertaining to the announcement hack.
PHP Code:
|
#336
|
|||
|
|||
How can I change this so that the option shows up on the left if the admin panel so that I can control permissions to it without giving admin access to ALL the options...
I know how to edit the permissions in the admincp/index.php file, but just need an actual PHP file to point it to... |
#337
|
||||
|
||||
Quote:
|
#338
|
|||
|
|||
Quote:
|
#339
|
||||
|
||||
How do I change the background colour from this green
Found it https://vborg.vbsupport.ru/showpost....&postcount=289 |
#340
|
||||
|
||||
been messing with this for a while, but my vba_portal seems different than what kall said it should look like, this is what it looks like, how I interpreted his directions:
Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[hometitle]</title> $headinclude $dfh_announcement_headercode </head> <body> $dfh_announcement_popup <!-- logo --> <a name="top"></a> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td background="images/tvr/tvr_01.jpg" width="25" height="342" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="25" height="342" valign="top" background="images/tvr/tvr_01.jpg"><img src="images/tvr/tvr_01.jpg" width="25" height="105" alt="" /></td> </tr> </table></td> <td width="100%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="105" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="105" valign="top" background="images/tvr/tvr_03.jpg"><img src="images/tvr/tvr_02.jpg" width="472" height="105" alt="" /></td> </tr> </table></td> </tr> <tr> <td height="31" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="100%" height="31" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="100%" height="25" valign="top" background="images/tvr/tvr_05.jpg"> <span class="style1"><a href="cmps_index.php">H<span class="style2">OME</span></a><img src="images/tvr/tvr_07.jpg" alt="" width="22" height="25" align="absmiddle" /><a href="index.php">F<span class="style2">ORUMS</span></a><img src="images/tvr/tvr_07.jpg" alt="" width="22" height="25" align="absmiddle" /><span class="style1"><a href="view.php?&pg=roster">R<span class="style2">OSTER</span></a><img src="images/tvr/tvr_07.jpg" alt="" width="22" height="25" align="absmiddle" /><a href="view.php?&pg=stats">S<span class="style2">TATS</span></a><img src="images/tvr/tvr_07.jpg" alt="" width="22" height="25" align="absmiddle" /><a href="http://s116946478.onlinehome.us/vb/forumdisplay.php?f=15">A<span class="style2">RTICLES</span></a><img src="images/tvr/tvr_07.jpg" alt="" width="22" height="25" align="absmiddle" /><a href="view.php?&pg=draftcentral">D<span class="style2">RAFT CENTRAL </span></a><img src="images/tvr/tvr_07.jpg" alt="" width="22" height="25" align="absmiddle" /><a href="http://s116946478.onlinehome.us/vb/view.php?&pg=TVRStandards">TVR<span class="style2">STANDARDS</span></a></span><img src="images/tvr/tvr_07.jpg" alt="" width="22" height="25" align="absmiddle" /><a href="sendmessage.php">C<span class="style2">ONTACT US</span></a></span></td> </tr> <tr> <td height="6" background="images/tvr/tvr_09.jpg" valign="top"><img src="images/tvr/tvr_09.jpg" width="74" height="6" alt="" /></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="206" valign="top"> $_phpinclude_output <table align="center" class="page" cellspacing="0" cellpadding="0"width="95%"> <tr> <td>$navbar</td> </tr> </table> <table align="center" class="page" cellspacing="0" cellpadding="0" width="100%"> <!--DWLayoutTable--> <tr valign="top"> <if condition="$show['left_column']"> <td background="images/tvr/tvr_2_19.jpg" width="$vba_options[portal_leftcolwidth]" height="32"> $home[leftblocks] </td> </if> <if condition="$show['center_column']"> <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td valign="top"> $home[centerblocks]</td> </tr> </table></td> </if> <if condition="$show['right_column']"> <td valign="top" width="$vba_options[portal_rightcolwidth]"> $home[rightblocks] </td> </if> </tr> </table> $footer </body> </html> |
#341
|
|||
|
|||
Let me apologize in advance if this is a duplicate question. I would like to know whether it is possible to setup this dynamic announcement hack so that moderators (without making them admins) too can have access to the modification section of the announcement?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|