Version: 1.00, by Logician
Developer Last Online: Nov 2023
Version: 3.0.9
Rating:
Released: 04-20-2004
Last Update: 05-18-2004
Installs: 318
Template Edits
Code Changes
No support by the author.
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:
The announcement is displayed in forum home page, not inside thread view. So visitors will read them on home page without clicking any links.
The Hack's announcements are not static: ie. they can be powerfully programmed to display themselves according to many conditions.
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:
user is X
user's usergroup is Y
his profile field Z is X
user has X posts or has more than Y posts but less than Z posts
his last visit time was X days ago
today is X, hour is between Y and Z, day is wednesday, month is Y, week is month's 2nd week, today is user's birthday
User is invisible/visible
his timeset is set to A
etc.
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.
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
This modification may not be copied, reproduced or published elsewhere without author's permission.
Is there a way to only show conditional message to members are not in X usergroup?
For example, it would be a nice way to encourage users to become premium members by showing them a message inviting them to become a premium member, but I don't want existing premium members to see this message.
Sorry if this was covered already, I read through most of the post and couldn't find my answer.
Thanks
[[($bbuserinfo[usergroupid]!=5)]] Show this announcement if page visitor's usergroupid is NOT 5 [[/($bbuserinfo[usergroupid]!=5)]]
HELP ! I used to have this GREAT hack in my two sites Automania.com.mx and clioclub.com.mx so I upgraded both sites to vb 303 and when I tried to rehack to use th DFA in thi spart
Description : Announcement here appears at the top of forum home page.<br><br> Use conditionals in this context:<br> <b>[[(your conditional)]]<i>The Announcement</i>[[/(your conditional)]]</b>. <br>For more info check <a href="https://vborg.vbsupport.ru/showthread.php?t=64189" target="_blank">hack's thread</a>. <br>Hack by (<a href="https://vborg.vbsupport.ru/member.php?s=&action=getinfo&userid=2355" target="_blank">Logician</a>)
Option Code : textarea
Default : Hello $bbuserinfo[username]! Welcome to our board!
Display Order : 10
vBulletin Default : NO
I said that I already have this part INSTALLED !!
I guess is th eold field in the database , the prolem is that I continued with the instalation till the end and IT DOESNT SHOW UP???
How do I get rid of the old filed in the database and reinstall this part?
HELP ! I used to have this GREAT hack in my two sites Automania.com.mx and clioclub.com.mx so I upgraded both sites to vb 303 and when I tried to rehack to use th DFA in thi spart
Can you see the hack options in the vb settings page? If yes, you don't need to apply that step (1 & 2) of installation.
Apply other steps (3,4,5,6) and you should be fine.
Quote:
Originally Posted by klaattu
How do I get rid of the old filed in the database and reinstall this part?
Please check thread, I've already given instructions to uninstall that section in this thread.
I am using the code below for registered users with 0 post. However, the message does not appear on the homepage when visited from a user with zero post. Do you see anything wrong with the code?
Code:
[[($bbuserinfo[posts]<0)]] Hello $bbuserinfo[username]! Don't you think its about time you made your first post? Please visit
the
<a style="text-decoration: underline; color: #0000FF; font-weight: bold" href="http://www.okctalk.com/forumdisplay.php?f=46">
Introductions & Welcome Forum</a> and tell us a little bit about yourself and
become an active member of Oklahoma's largest online community.[[/($bbuserinfo[posts]<0)]]