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.
Doesnt work the second part. I can show the stuff that I knew...
I have a few... can you show me one that can work for one of these?
Multiple-Selection Checkbox
Single-Selection Menu
or Single-Line Text Box
this doenst work for any of them.
My code will work for "Single-Line Text Box". As I have mentioned before what you want can not be done for other type of profile fields due to the structure of the hack.
I hate like hell to do this, but I am stumped. I have gone over the install process 6 times now, and I just can't see what I've done wrong.
Installed the original hack. Changed it according to Hack 1 of the Hack to be able to show where desired.
I can get the static announcement to show up with no problems, anywhere I want.
I CANNOT get the popup to display anywhere!?!?! The text entry box appears in UserCP. I can take a static conditional that shows up fine and put it into the popup textarea and nothing.....
What could I have loused up to not make the popup work?
I am using the latest version of IE and a fairly hacked up vB 3.0.5
**EDIT** Just as an FYI, I can preview the popup template in the template editor and it looks as you would expect.....
Ok, I solved this and have egg on my face
Rather than delete my post, I am going to leave it there in case there is someone else out there who might run into this and pull their damn hair out.
The popup box was hidden by my .swf header For whatever reason, the popup appears behind the .swf header, so since I only had a small amount of text in the box, I couldn't see it.
I suggest that if you think you can't find your popup box and you have a .swf header, change the positioning of your popup box so that it shows lower down on the page....
*Goes to wipe egg off of face before birds start to flock around*
My code will work for "Single-Line Text Box". As I have mentioned before what you want can not be done for other type of profile fields due to the structure of the hack.
Yes that is why I re structured the question. Sorry for the bad englisih.
This answer will help me I belive. (single line) I will try this now. Thank you.
umm... today i made some changes to the text and i noticed im not able to add a HREF tag on the forumshome header text BUT the same href code works perfectly with the pop-up...
i am certain, it has to do with some setting...any idea where i can go and fix it.
umm... today i made some changes to the text and i noticed im not able to add a HREF tag on the forumshome header text BUT the same href code works perfectly with the pop-up...
i am certain, it has to do with some setting...any idea where i can go and fix it.