Version: 1.00, by Logician
Developer Last Online: Nov 2023
Version: 2.2.x
Rating:
Released: 09-04-2002
Last Update: Never
Installs: 146
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 (or other board pages), not inside thread view. So visitors will read them without clicking on them.
The Hack's announcements are not static: ie. they can be powerfully programmed to change themselves according to many conditions.
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
user is using style A
his cookies are on
his timeset is set to A
etc..
The conditionals even allows you to design "Board Tips" ever changing according to user's seniority or post number. See how-to document for conditional usage and more info..
It's tested in both v.2.2.6 and v.2.2.7 but it should work with any versions > 2.0.3. (v.2.2.8 or later Users READ HERE!) I'm using it in my own board and a friend's board for more than a month and found it quite stable and released it. Although not likely, if you found any bugs, holler and I'll fix it..
To all thread repliers:
Thank you all for your kind comments. I hope you find its usage after installation as much easy as you liked the hack. The "conditionals" might be a little bit confusing especially for newbies, I'm aware of that. But it's really them that makes the hack powerful and highly customizable so all I could do was to supply a good how-to document about them.
If you liked this hack you might want a check these hacks which uses the same conditional power: Advanced Templates: To design dynamic vb templates with conditionals WebTemplates: To design non-vb pages which compile data from your vb inside Vb Admin CP(and it has conditional support too)
I really love the power of conditionals so wait for some more hacks from me which is centered around this concept..
Originally posted by Bad Bunny Question: How many queries does this add?
Let me give you a "good answer" for your "good question": Surprisingly none.
It does not increase your query load because it does not make any SQL connection to your server (as you might have noticed from the hack code). I can hear the question: "Then how does it grab the announcements?" The answer is they are loaded together with your vb settings (that is why I integrated the Admin CP mod. to vb settings screen). And since the settings are already pulled from the db, we dont need to make an extra query for announcements..