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: Nov 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

  #286  
Old 10 Jun 2006, 15:10
ShadowWeaver ShadowWeaver is offline
 
Join Date: May 2002
hi,

actually i'm not getting this to work if i just want to show the message to users who are not primary but just secondary users in that group.

is there a way to do that?
Reply With Quote
  #287  
Old 14 Jun 2006, 04:55
ubblite ubblite is offline
 
Join Date: Jan 2006
Originally Posted by redlabour
Will it work in the Future with vBulletin 3.6 ?
It's working for me with vb3.6 beta 2.

Last edited by ubblite; 14 Jun 2006 at 04:58.
Reply With Quote
  #288  
Old 19 Jun 2006, 18:45
ROTPAR ROTPAR is offline
 
Join Date: May 2004
Originally Posted by RasMasta
With default settings...I enable this and it makes my forumhome go blank.
Same here
Reply With Quote
  #289  
Old 20 Jun 2006, 11:50
ROTPAR ROTPAR is offline
 
Join Date: May 2004
is there anyone who can helpme out with this problem ?
Reply With Quote
  #290  
Old 20 Jun 2006, 12:41
Canis Firebrand Canis Firebrand is offline
 
Join Date: Jun 2006
What other hacks do you have installed?

I have 3.5.4 installed with about 10 hacks in place already. Added in this one, enabled it and it works quite nicely.

Maybe another hack you have installed is conflicting?
Reply With Quote
  #291  
Old 20 Jun 2006, 13:07
ROTPAR ROTPAR is offline
 
Join Date: May 2004
Vbseo but I canīt figure out, what the problem could be
Reply With Quote
  #292  
Old 20 Jun 2006, 16:18
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by ROTPAR
Vbseo but I canīt figure out, what the problem could be
Do you use any conditionals? Set announcement as "Hello" and see if it will help?
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #293  
Old 20 Jun 2006, 19:10
tanyeri24 tanyeri24 is offline
 
Join Date: Feb 2005
After how many hours the pop-up announcement should show up for the same user? (Enter 0 to show it everytime the user visits homepage)
If we enter 0,25 (or 0.25) means after all 15 minutes?

sorry I found my answer:
http://www.vbulletin.org/forum/showp...&postcount=164
Reply With Quote
  #294  
Old 22 Jun 2006, 18:03
ROTPAR ROTPAR is offline
 
Join Date: May 2004
1 Question...how can I do it, that all Guests get the popup on all forums except 1...So 1 Forum Section should be without the popup! the rest should have it
Reply With Quote
  #295  
Old 23 Jun 2006, 06:30
skoenig skoenig is offline
 
Join Date: Jun 2006
Can you use $vbphrases?

I've got this excellent product/hack installed and it all works perfectly.

I'm trying to use $vbphrases so that I can get the messages translated and house them all in one place easily (I read it was BBcode parsed but I thought I'd give it a shot!).

I used this:

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

To replicate the initial welcome for guests and for the most part it works perfectly except for the variables and line breaks which don't get replaced properly.

Has anyone else tried this and is it working for them. I guess more importantly should it work at all (i'm guessing not)?

Thanks for your help.

Regards

Steph

Last edited by skoenig; 23 Jun 2006 at 08:09.
Reply With Quote
  #296  
Old 23 Jun 2006, 08:18
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by skoenig
I've got this excellent product/hack installed and it all works perfectly.

I'm trying to use $vbphrases so that I can get the messages translated and house them all in one place easily (I read it was BBcode parsed but I thought I'd give it a shot!).

I used this:

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

To replicate the initial welcome for guests and for the most part it works perfectly except for the variables and line breaks which don't get replaced properly.

Has anyone else tried this and is it working for them. I guess more importantly should it work at all (i'm guessing not)?

Thanks for your help.

Regards

Steph
Sorry, this wont work.
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #297  
Old 23 Jun 2006, 09:31
skoenig skoenig is offline
 
Join Date: Jun 2006
I figured. I kinda half got it to work but looking at the code it's a whole bunch of hassle to pre-parse it.

It doesn't matter really because I can use the standard welcome message banner thing anyway and the rest is taken care of by your excellent product/hack!

Regards

Steph

Last edited by skoenig; 23 Jun 2006 at 09:39.
Reply With Quote
  #298  
Old 23 Jun 2006, 14:02
RoryF RoryF is offline
 
Join Date: Apr 2005
Is there anyway i can get this to work in the UserCP and how could i add this to other pages aswell?
Reply With Quote
  #299  
Old 23 Jun 2006, 22:59
skoenig skoenig is offline
 
Join Date: Jun 2006
Randomised Messages and Date Test

OK I'm sure you get lots of suggestions.

I understand it displays the first matching string in the list. That makes sense.

Is there anyway to expand the messages so that we can add a random switch...maybe in combination dc3dreamers excellent recursion hack....

Something like $dfharandom==3 so that any messages with the same random id number will be selected from randomly (assuming the rest of the conditionals are true for those messages)?

I'm guessing this is a lot of work though since you exit the parsing at the first logical true, right? Would enable us to do tips and such like from a library of little messages...

Also how could we do a date test such as Christmas and Easter?

Regards

Steph
Reply With Quote
  #300  
Old 24 Jun 2006, 11:40
emforum emforum is offline
 
Join Date: Feb 2006
I uploaded "functions_dfha.php" into vb's /includes/ folder.

I Edited forumhome/forumhome template and replace the code

Uploaded xml file as product

No what i didnt understand is,,

Login to your vb admin cp, go to settings page and configure your announcements in "Dynamic Forum Announcements" settings.

I logged in to admin control pannel, where is the settings page???

emforum
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 07:15.

Layout Options | Width: Wide Color: