Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals Details »
Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals
Mod Version: 1.01, by Logician (Coder) Logician is offline
Developer Last Online: Oct 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.5 Rating: (30 votes - 4.63 average) Installs: 721
Released: 28 Sep 2005 Last Update: 11 Jan 2007 Downloads: 1424
Not Supported Uses Plugins Template Edits  

(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:
  • 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 different texts according to different conditions.
For instance you can tell "why they should register" if visitor is a guest, but if he is a member with 0 posts, you can tell him why he should start posting etc.! All in one announcement! Everybody will see the relevant text according to his status. (This is the hack everybody keeps asking in the TheAdminZone.com whose using the hack for members with 0 and 1 posts.)


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:
  1. user is X
  2. user's usergroup is Y
  3. user has X posts or has more than Y posts but less than Z posts
  4. his last visit time was X days ago
  5. 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
  6. etc.
Here is a Screenshot from a general table announcement.
Here is a Screenshot from a popup announcement.

Some Features:
  • Coded as a vbulletin pluggin. Can be installed easily without hacking PHP files.
  • It's Admin CP integrated
  • Smiley, BBCode, HTML, IMG tags are supported in announcements.
  • You can address your users with their usernames inside announcements (Use $bbuserinfo[username] variable)
  • Announcements are displayed directly in Forum Home so users are forced to read them.
  • The Conditionals help you to design powerful and ever changing announcements/private messages/forum home notifications.
  • Poupup announcement can not be killed by popup killer software
Hacks of Hack:
* For CMPS Integration see here
* French Translation by Allan : http://www.vbulletin.org/forum/showp...&postcount=143
* Nested Conditionals by dc3dreamer : http://www.vbulletin.org/forum/showp...&postcount=175
* Hack Annoucement appears in all vb pages:
http://www.vbulletin.org/forum/showt...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 \\=^))

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	dhfa_1.jpg
Views:	6340
Size:	110.0 KB
ID:	34888   Click image for larger version

Name:	dhfa_2.jpg
Views:	6811
Size:	153.1 KB
ID:	34889   Click image for larger version

Name:	dhfa_3.jpg
Views:	4232
Size:	195.9 KB
ID:	34890  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals Logician vBulletin 3.0 Full Releases 437 20 Nov 2005 17:10
Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals Logician vBulletin 2.x Full Releases 210 16 Sep 2004 19:27
Dynamic Forum Home Announcement - vBaCMPS Integration kall vBulletin 3.0 Full Releases 2 06 Sep 2004 23:46

  #211  
Old 22 Jan 2006, 18:42
noreturn noreturn is offline
 
Join Date: Feb 2004
Originally Posted by noreturn
What happens if 4 different guests visit within the 1 hour setting I have set? Does only the first guest see the guest message if others visit within that 1 hour? If so, how can I make it always pop up for a guest, but only at 1 hour intervals for all others? And....
Thank you.
I have tested what you said by logging out and then visiting board without loggin in. I then click on "Forums" menu option and the guest pop-up does not appear...unless I keep it set to 0 (zero) in the admin PC option. It seems that once a guest (non-registered visitor) comes to board and clicks on Fourm link on navbar, the pop up with text only for GUEST does not show up unless no guests have visted in that hour. Or, better yet, what the heck am I doing wrong? (stargazerschat.com)

Thanks for you time.
Reply With Quote
  #212  
Old 22 Jan 2006, 21:11
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by noreturn
I have tested what you said by logging out and then visiting board without loggin in. I then click on "Forums" menu option and the guest pop-up does not appear...unless I keep it set to 0 (zero) in the admin PC option. It seems that once a guest (non-registered visitor) comes to board and clicks on Fourm link on navbar, the pop up with text only for GUEST does not show up unless no guests have visted in that hour. Or, better yet, what the heck am I doing wrong? (stargazerschat.com)

Thanks for you time.
I think vb is reading your last visit time from your cookie even if we log out. So try with a different browser (without logging in) or after your popup expiration time you set is up.
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #213  
Old 22 Jan 2006, 21:32
noreturn noreturn is offline
 
Join Date: Feb 2004
Hi - I cleared all cookies, cleared cache, went to web site and was not logged in. I click on forums but the guest pop up does not come up. I am using firefox if that means any thing.
I did the same thing and used IE and it works properly. Just not firefox for some reason.
Reply With Quote
  #214  
Old 22 Jan 2006, 21:55
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Real name: Henry
Question Strange Problem ????

Just installed and I have a strange problem. Pop up and announcement box both work, however, any text in these are coved by a smilie !

I checked everthing I could think of but still no luck. Any ideas as to what would cause this and how to fix it?

I used your hack on 3.0.x and it worked fine. I followed the instructions to remove the old version and install this one so I am at a lost to figure out the problem.
Reply With Quote
  #215  
Old 23 Jan 2006, 06:29
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by htscpl
Just installed and I have a strange problem. Pop up and announcement box both work, however, any text in these are coved by a smilie !

I checked everthing I could think of but still no luck. Any ideas as to what would cause this and how to fix it?

I used your hack on 3.0.x and it worked fine. I followed the instructions to remove the old version and install this one so I am at a lost to figure out the problem.
Maybe that smilie's code exist in the hack templates or the announcement somehow if it is a too general code?
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #216  
Old 23 Jan 2006, 11:32
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Real name: Henry
Originally Posted by Logician
Maybe that smilie's code exist in the hack templates or the announcement somehow if it is a too general code?
Figured it out. Several of my smilies didn't have a replacement code. Each of them showed up on top of the announcement or popup... kinda strange but when I added a code to the smilies they went away.

Thanks for pointing me in the right direction!

H
Reply With Quote
  #217  
Old 02 Feb 2006, 05:43
topanet topanet is offline
 
Join Date: Nov 2005
Thanks for great hack anyway...
but, i just want to know.. can i use your annoucement into specified thread/posting??
i mean, if user enter some thread, your annoucement will show up...

thanks... topz.
Reply With Quote
  #218  
Old 03 Feb 2006, 01:19
nailerpa nailerpa is offline
 
Join Date: Aug 2005
Is there a way to make the text in the annoucement block blink? I tried the <blink> and </blink> tags but they didn't work. Thanks!
__________________
Steve A.
Site Admin, Computer Smarts
Reply With Quote
  #219  
Old 03 Feb 2006, 08:16
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by nailerpa
Is there a way to make the text in the annoucement block blink? I tried the <blink> and </blink> tags but they didn't work. Thanks!
<blink> tag does not work with IE.

Not tested but this should work:

Put this javascript into your headinclude template:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then use this in your announcement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can google for "blink + IE" for more info about blinking effect in IE.
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #220  
Old 04 Feb 2006, 09:28
Kinneas's Avatar
Kinneas Kinneas is offline
 
Join Date: Dec 2005
Real name: Steve
Coooool!

*installs*
Reply With Quote
  #221  
Old 04 Feb 2006, 19:43
nailerpa nailerpa is offline
 
Join Date: Aug 2005
Thanks! That worked.

Originally Posted by Logician
<blink> tag does not work with IE.

Not tested but this should work:

Put this javascript into your headinclude template:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then use this in your announcement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can google for "blink + IE" for more info about blinking effect in IE.
__________________
Steve A.
Site Admin, Computer Smarts
Reply With Quote
  #222  
Old 05 Feb 2006, 00:31
icare icare is offline
 
Join Date: Jan 2006

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

i AM GETTING this error. please advise
Reply With Quote
  #223  
Old 05 Feb 2006, 09:19
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by icare
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

i AM GETTING this error. please advise
upload functions_dfha.php to includes folder
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #224  
Old 07 Feb 2006, 02:25
Fusion.nl's Avatar
Fusion.nl Fusion.nl is offline
 
Join Date: Apr 2005
Amazing, out of this world hack. I can think of a zillion way this could be useful. If everything works the way you say it does, this will be on top of my most favorite hack list.

Awesome! :bunny:
__________________
"Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep."
-Scott Adams
Reply With Quote
  #225  
Old 08 Feb 2006, 23:13
Fusion.nl's Avatar
Fusion.nl Fusion.nl is offline
 
Join Date: Apr 2005
Is this correct?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Registred user who joined at least 24 hours ago, with zero posts.
__________________
"Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep."
-Scott Adams

Last edited by Fusion.nl; 08 Feb 2006 at 23:25.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:01.

Layout Options | Width: Wide Color: