Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals Details »»
Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals
Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

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:
  1. user is X
  2. user's usergroup is Y
  3. his profile field Z is X
  4. user has X posts or has more than Y posts but less than Z posts
  5. his last visit time was X days ago
  6. 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
  7. User is invisible/visible
  8. his timeset is set to A
  9. 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.

Here is a Screenshot from a general table announcement.
Here is a Screenshot from a popup announcement.

Some Features:
  • It's Admin CP integrated (Screenshot)
  • 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

If you install the hack, click INSTALL, thank you..

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.

Comments
  #402  
Old 09-02-2005, 10:06 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this hack! I now have the message showing in my OT area only:
http://www.strategyzoneonline.com/fo...play.php?f=161

But, check this out:
http://www.strategyzoneonline.com/fo...ad.php?t=30396
In this one thread, the default Dynamic Announcement seems to have been inserted as the message for a number of the posts. I'm baffled!
Reply With Quote
  #403  
Old 09-02-2005, 10:12 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by westpointer
Love this hack! I now have the message showing in my OT area only:
http://www.strategyzoneonline.com/fo...play.php?f=161

But, check this out:
http://www.strategyzoneonline.com/fo...ad.php?t=30396
In this one thread, the default Dynamic Announcement seems to have been inserted as the message for a number of the posts. I'm baffled!
I'm reported this bug a few times before but it just happens (infrequently, not always) if you hack the hack to apply it to global.php. I don't use the hack this way and I suggest using it as its original release (as a forum home announcement only) so I didn't trace the roots of this problem.

Edit : Turning off post caching (vb admin cp/options) may help. Give it a shot!
Reply With Quote
  #404  
Old 09-02-2005, 10:54 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Logician
I'm reported this bug a few times before but it just happens (infrequently, not always) if you hack the hack to apply it to global.php....
Edit : Turning off post caching (vb admin cp/options) may help. Give it a shot!
Okay, I'm not that familiar with the impact of turning off post caching. Would that have other adverse effects?

BTW - the problem is very interesting. If I look in the post table, the correct text IS present for the post in question. So ... where in the world is it pulling that text from??? I don't have that in my announcements anymore. Time to poke around some more. I like having this in global.php so I'd rather find the cause.

Thanks for the very quick reply!

Edit - hmm, the problem is in post_parsed. 26 records have "Hello Unregistered! Welcome to our board!" in the pagetext_html field. A rebuild of the post cache (via the AdminCP) fixed the problem.
Reply With Quote
  #405  
Old 09-04-2005, 07:00 AM
BRC2 BRC2 is offline
 
Join Date: Mar 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack! Is there a way to specifically exclude spiders from seeing the "guests" annoucement messages?

Thanks,
Brian
Reply With Quote
  #406  
Old 09-04-2005, 06:10 PM
David_R David_R is offline
 
Join Date: Mar 2005
Location: Los Angeles
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by westpointer
Okay, I'm not that familiar with the impact of turning off post caching. Would that have other adverse effects?

BTW - the problem is very interesting. If I look in the post table, the correct text IS present for the post in question. So ... where in the world is it pulling that text from??? I don't have that in my announcements anymore. Time to poke around some more. I like having this in global.php so I'd rather find the cause.

Thanks for the very quick reply!

Edit - hmm, the problem is in post_parsed. 26 records have "Hello Unregistered! Welcome to our board!" in the pagetext_html field. A rebuild of the post cache (via the AdminCP) fixed the problem.
did you got a working solution to fix the problem, when dynamic annoucements are added to global.php ?
Rebuilding post_cache fixed the problem temprarily only.
Reply With Quote
  #407  
Old 09-19-2005, 10:35 PM
ragintajin ragintajin is offline
 
Join Date: Sep 2003
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any plans for a VB3.5 update?
Reply With Quote
  #408  
Old 09-22-2005, 12:48 AM
SirJonathan SirJonathan is offline
 
Join Date: Oct 2004
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd LOVE to have this again for vB 3.5 !
Reply With Quote
  #409  
Old 09-25-2005, 08:47 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need a few beta testers for 3.5 version. Anybody interested please email me.

I need someone who is:
* Already using this hack in vb 3.0 version and familiar with the hack
* Already upgraded his board to 3.5 (latest version ie RC3) or at least has a test 3.5 enviroment to test the hack.
* Ready to install the hack to his board (or test board)
* Let me know the results adn give me feedback

Please contact me via PM or email and let me know your email adress if you meet ALL the conditions above and I'll send you the hack.

3.5 version is coded as a pluggin so it does not require you to hack your vb codes. You can easily install it through vb3.5 pluggin system and can also uninstall/disable it with 1 click.

I've tested it in my localhost and it works fine but my own board is not upgraded to 3.5 yet, so I want to get a few confirmations from others before releasing the hack officially.

Thanks!
Reply With Quote
  #410  
Old 09-25-2005, 01:16 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am already running RC3 here with this hack working just fine WINK! lol



Quote:
Originally Posted by Logician
I need a few beta testers for 3.5 version. Anybody interested please email me.

I need someone who is:
* Already using this hack in vb 3.0 version and familiar with the hack
* Already upgraded his board to 3.5 (latest version ie RC3) or at least has a test 3.5 enviroment to test the hack.
* Ready to install the hack to his board (or test board)
* Let me know the results adn give me feedback

Please contact me via PM or email and let me know your email adress if you meet ALL the conditions above and I'll send you the hack.

3.5 version is coded as a pluggin so it does not require you to hack your vb codes. You can easily install it through vb3.5 pluggin system and can also uninstall/disable it with 1 click.

I've tested it in my localhost and it works fine but my own board is not upgraded to 3.5 yet, so I want to get a few confirmations from others before releasing the hack officially.

Thanks!
Reply With Quote
  #411  
Old 09-25-2005, 01:38 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TonysDesigns
I am already running RC3 here with this hack working just fine WINK! lol
Great! Yet you are running it as a "code modification" (ie hack), however 3.5 version I ported runs as a pluggin so it is manageable through your admin cp/products section and can be installed without modifying vb code.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 01:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07430 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete