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 hacks works with both 3.5.x and 3.6.x)
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 version of the hack is for vbulletin 3.5.x and 3.6.x (vb 3.0.x version is here and vb 2.x version is here. 3.5 version is coded as a plugin so you can install it WITHOUT modifying vb PHP files. It is easily installed in 2 steps through your admin cp. Basic Usage of This Hack: You can set a text in your Admin CP and it's displayed in forum home to all users. Alternatively if you want, you can set another text as a popup announcement and it is displayed to all as a pop up announcement (it can't be killed with popup killers software!) 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:
Here is a Screenshot from a popup announcement. Some Features:
* For CMPS Integration see here * French Translation by Allan : https://vborg.vbsupport.ru/showpost....&postcount=143 * Nested Conditionals by dc3dreamer : https://vborg.vbsupport.ru/showpost....&postcount=175 * Hack Annoucement appears in all vb pages: https://vborg.vbsupport.ru/showthrea...498#post911498 IMPORTANT FOR 3.x USERS: If you were already using this hack in 3.0.x, remember to do 2 things: BEFORE YOU INSTALL THIS HACK : Follow this instructions to remove the remnants of 3.0.x hack. AFTER YOU INSTALL THIS HACK : Go to your admin cp / styles, find these 3 styles: dfh_announcement dfh_announcement_headercode dfh_announcement_popup and REVERT THEM so that your new templates that comes with 3.5 version will apply. About vb4.x version: I didn't consider porting this hack to vb4 because vbulletin has now a VERY SIMILAR feature in vb4 called "NOTICES". You can find it under your admin cp/Notices submenu/Notice Manager. It is not as powerful as this hack as this hack allows you to use any kind of conditional to produce your announcement but it is more user friendly because you don't need to deal with conditional syntax, you simply build your announcement (notice) with menus If you install the hack, click INSTALL, thank you.. Logician \\=^)) Show Your Support
|
Comments |
#292
|
|||
|
|||
Vbseo but I can?t figure out, what the problem could be
|
#293
|
||||
|
||||
Quote:
|
#294
|
|||
|
|||
Quote:
sorry I found my answer: https://vborg.vbsupport.ru/showpost....&postcount=164 |
#295
|
|||
|
|||
1 Question...how can I do it, that all Guests get the popup on all forums except 1...So 1 Forum Section should be without the popup! the rest should have it
|
#296
|
|||
|
|||
I've got this excellent product/hack installed and it all works perfectly.
I'm trying to use $vbphrases so that I can get the messages translated and house them all in one place easily (I read it was BBcode parsed but I thought I'd give it a shot!). I used this: Code:
[[($bbuserinfo[usergroupid]==1)]]<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>[[/($bbuserinfo[usergroupid]==1)]] Has anyone else tried this and is it working for them. I guess more importantly should it work at all (i'm guessing not)? Thanks for your help. Regards Steph |
#297
|
||||
|
||||
Quote:
|
#298
|
|||
|
|||
I figured. I kinda half got it to work but looking at the code it's a whole bunch of hassle to pre-parse it.
It doesn't matter really because I can use the standard welcome message banner thing anyway and the rest is taken care of by your excellent product/hack! Regards Steph |
#299
|
|||
|
|||
Is there anyway i can get this to work in the UserCP and how could i add this to other pages aswell?
|
#300
|
|||
|
|||
OK I'm sure you get lots of suggestions.
I understand it displays the first matching string in the list. That makes sense. Is there anyway to expand the messages so that we can add a random switch...maybe in combination dc3dreamers excellent recursion hack.... Something like $dfharandom==3 so that any messages with the same random id number will be selected from randomly (assuming the rest of the conditionals are true for those messages)? I'm guessing this is a lot of work though since you exit the parsing at the first logical true, right? Would enable us to do tips and such like from a library of little messages... Also how could we do a date test such as Christmas and Easter? Regards Steph |
#301
|
|||
|
|||
I uploaded "functions_dfha.php" into vb's /includes/ folder.
I Edited forumhome/forumhome template and replace the code Uploaded xml file as product No what i didnt understand is,, Login to your vb admin cp, go to settings page and configure your announcements in "Dynamic Forum Announcements" settings. I logged in to admin control pannel, where is the settings page??? emforum |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|