Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cyb - Auto Birthday Greeter Details »»
Cyb - Auto Birthday Greeter
Version: 1.4, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 05-02-2008 Last Update: 05-02-2008 Installs: 441
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

Info:
This hack automatically creates a birthday thread in the forum you select. Only members that allow their date of birth to be displayed will be listed, and age will be shown only for those who has choosen that. Members are shown in colors defined in usergroup settings. You can choose to exclude inactive members. Several users can be set as greeters (used randomly when posting). Thread will be created first time when someone loads forumhome after midnight.

Note:
-This executes 1 very simple query on forumhome.

Installation:
-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]

To set options:
Go to: vBulletin Options > Cyb - Auto Birthday Greeter

Versions:
v1.0 - Aug 26. 2007.
-Initial release
v1.1 - Aug 27. 2007.
-New: Option to exclude members with post count lower than X
-Fixed bug where several threads are posted for the same birthday
-Shortcut to "Age" phrase added to the list on settings page
v1.2 - Aug 28. 2007.
-Date format follows your forum acp settings
-New: Option to exclude members joined in last X days
-Another fix for duplicate birthday threads on some forums
v1.3 - Aug 31. 2007.
-Option to synchronize hack with forum time to avoid situations where birthday thread is created too early or too late
v1.4 - May 03. 2008.
-Compatible with vBulletin 3.7
-Minor bugs fixed

Mark as INSTALLED to get support and updates.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 06-14-2008, 06:35 PM
toddos toddos is offline
 
Join Date: Nov 2006
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pls help
Reply With Quote
  #43  
Old 06-20-2008, 06:54 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just throwing my 2 cents in, this is nice and all but i think a better way is when or if the user comes on the forum on their birthday they get a oiouo, much like the PM popip, that says Happy Birthday <username>!

and they only get it once each year
Reply With Quote
  #44  
Old 06-23-2008, 04:51 AM
Mum Mum is offline
 
Join Date: Jun 2006
Location: New Zealand
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Keyser just do that with notices.

Cyb - the message that is posted on my site is this (i havent' changed it, it's the default) i'm not sure how to fix the colour thing

Code:
1 member is celebrating their birthday on 22nd June 2008:
		
					-[color= black]Steve[/color] (born in 1970, Age: 38)
		
		
		Happy Birthday!
Reply With Quote
  #45  
Old 07-01-2008, 05:26 AM
cserna cserna is offline
 
Join Date: Dec 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Downloaded...

Was wondering if there is something like this that exist but for new members? For example start a new thread that mentions all the new members that joined the day before and welcoming them to the forum.

I will look at this code and see if I can put together myself but would like to save some time if it already exist somewhere.

Thanks again!
Reply With Quote
  #46  
Old 07-14-2008, 09:49 AM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.
This phrase was change in 1.4.
Code:
		<phrase name="cybabgreeter_message_user"><![CDATA[{1} member is celebrating their birthday on {2}:
		{3}
		
		
		Happy Birthday!]]></phrase>
But I think that it must sounds like:
{1} member is celebrating his birthday on {2}:
and not
{1} member is celebrating their birthday on {2}:

2.

ALso it will be nice if you comment this change:

From:
Code:
$cabg_message = construct_phrase($cabg_message_sp,$cybabgreeter_totalusers,date($vbulletin->options['dateformat']),$cabg_birthdays);
To:
Code:
$cabg_message = construct_phrase($cabg_message_sp,$cybabgreeter_totalusers,vbdate($vbulletin->options['dateformat']),$cabg_birthdays);
As there are some other places in product's code where date() is used.

Thanks
Reply With Quote
  #47  
Old 07-18-2008, 05:47 PM
cmiller1014 cmiller1014 is offline
 
Join Date: May 2004
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mum View Post
Keyser just do that with notices.

Cyb - the message that is posted on my site is this (i havent' changed it, it's the default) i'm not sure how to fix the colour thing

Code:
1 member is celebrating their birthday on 22nd June 2008:
		
					-[color= black]Steve[/color] (born in 1970, Age: 38)
		
		
		Happy Birthday!
Same issue... any idea how to fix it?
Reply With Quote
  #48  
Old 07-18-2008, 08:26 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remove white-spaces from CSS parameters in usergroup options.
Reply With Quote
  #49  
Old 07-21-2008, 11:55 AM
BucWiLd's Avatar
BucWiLd BucWiLd is offline
 
Join Date: Jun 2008
Location: pa, usa
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, thank you
Reply With Quote
  #50  
Old 07-24-2008, 10:16 AM
AuroraStorm's Avatar
AuroraStorm AuroraStorm is offline
 
Join Date: Nov 2006
Location: ATHell
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I set this up for individual threads for people who celebrate their birthdays on the same day?

Oh and by the way, those who don't see threads, go into your Admincp - VBOptions - Cyb Auto Birthday greeter. right here "Greeter(s) (comma separated UserID list)", type in the userids listed in your Usergroup Manager list... (i.e., regular members, Admins, Moderators, etc to look like 6,7,10). It took me a moment to figure that one out...
Reply With Quote
  #51  
Old 07-24-2008, 10:39 AM
PHILLYFAN PHILLYFAN is offline
 
Join Date: Jul 2008
Location: Hell
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks!
Reply With Quote
Reply


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 07:45 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.04766 seconds
  • Memory Usage 2,309KB
  • 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_code
  • (1)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
  • (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