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 |
#232
|
|||
|
|||
any news on the popup only poping up once per visit ?
i know you are busy but like i said before my members are getting annoyed buy it but i would really like to use it but if it could popup once per vist that would be great |
#233
|
||||
|
||||
Quote:
[[($f==1)]] XYZ Messge [[/($f==1)]] [[($f==2)]] ABC Messge [[/($f==2)]] This should work in forumdisplay pages but not in showthread pages. |
#234
|
|||
|
|||
Hi
Am trying to show a message to users who have not posted in the last 2 weeks, but nothing seems to work!! The code below shows the message to everyone... $bbuserinfo[lastpost]<strtotime("-2 weeks") also does not work!! TIA!! nd. -- [[($bbuserinfo[usergroupid]>1 AND $bbuserinfo[lastpost]+1209600<$now)]]<b>Hello $bbuserinfo[field1]</b>, we noticed that you have not posted a message in the last 2 weeks... Better get to work!! [[/($bbuserinfo[usergroupid]>1 AND $bbuserinfo[lastpost]+1209600<$now)]] |
#235
|
|||
|
|||
this hack should get hack of the year.
this is one of the best hacks I've ever implemented. Thanks Logician. |
#236
|
||||
|
||||
Quote:
[[($bbuserinfo[usergroupid]>1 AND $bbuserinfo[lastpost]<strtotime("-14 days"))]] we noticed that you have not posted a message in the last 2 weeks... Better get to work!! [[/($bbuserinfo[usergroupid]>1 AND $bbuserinfo[lastpost]<strtotime("-14 days"))]] |
#237
|
|||
|
|||
Thanks Logician
It looks like its working now... Just another small issue... If I log out, the [[($bbuserinfo[usergroupid]==1)]] tag does not appear to work properly... Is it a cookie issue ? The work around I have used is (This works fine!): [[($bbuserinfo[usergroupid]>1)]] [[/($bbuserinfo[usergroupid]>1)]] <<<text for all (non-logged in) users...>>> - Thanks for a great hack!! nd. --- Quote:
|
#238
|
||||
|
||||
Quote:
|
#239
|
||||
|
||||
is there a way of chosing where the pop up box shows up?
|
#240
|
|||
|
|||
I've installed this hack.. works GREAT! however one question.
I have added the announcments tempelates in HEADER so that it shows up on all pages. But I want some announcements to show up ONLY in Forums homepage. how can i do this? does the forums homepage have a forum ID?? |
#241
|
|||
|
|||
Quote:
just change the values after top, bottom, left, right. but be careful. it is an absolut positioning, doesn?t change on useres monitor settings. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|