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

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

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 08-25-2007 Last Update: 08-30-2007 Installs: 258
DB Changes Uses Plugins Template Edits
 
No support by the author.

vB 3.7 VERSION HERE;
https://vborg.vbsupport.ru/showthread.php?t=177931


======

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


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
  #52  
Old 09-09-2007, 05:37 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Feature request: I'd love to have the thread include the user's avatar in the thread. Please? I'm happily using Andreas' hack, and that's the only thing I'm missing, and would really love. If this hack could include the user's avatar in the bday thread I'd switch to this one for sure...

Thanks for sharing!
Reply With Quote
  #53  
Old 09-09-2007, 10:55 AM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala View Post
Feature request: I'd love to have the thread include the user's avatar in the thread. Please? I'm happily using Andreas' hack, and that's the only thing I'm missing, and would really love. If this hack could include the user's avatar in the bday thread I'd switch to this one for sure...

Thanks for sharing!
This is a great idea...
Reply With Quote
  #54  
Old 09-10-2007, 09:21 AM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works well, except the message that it creates does not convert the color code to color...

Quote:
1 member is celebrating birthday on 09-10-2007: Everyone take an opportunity to say Happy Birthday!!


-[color= yellow]Tumble Weed[/color] (born in 1975, Age: 32)


Happy Birthday!
HTML and BB Code is turned on in the post.

Can you help?
Reply With Quote
  #55  
Old 09-10-2007, 02:20 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Doctor Death View Post
This works well, except the message that it creates does not convert the color code to color...
Check usergroup settings and remove unneeded spaces in opening tag.

If it's:
color: yellow
change it to:
color:yellow

or if it's:
color=" yellow"
change it to
color="yellow"

Unneeded spaces will be removed automatically in next version.
Reply With Quote
  #56  
Old 09-10-2007, 09:54 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow nicely called... sure enough I had a space between ":" and color attribute.

Thanks much, you clearly are on the ball.
Reply With Quote
  #57  
Old 09-11-2007, 11:21 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one Cyb!
Reply With Quote
  #58  
Old 09-12-2007, 03:35 AM
GateKeper GateKeper is offline
 
Join Date: Apr 2007
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed on our forum, running 3.6.5

however I do believe it's not working correctly

in here - Greeter(s) (comma separated UserID list)

I added these - 1,2,3,4,6,11,35,59,97

but only one post was created by only one of the member id's

and that was by the last one on the list # 97



Quote:
Happy Birthday ASoto
1 member is celebrating birthday on September 12th, 2007:

-ASoto (born in 1959, Age: 48)


Happy Birthday!
any ideas why this happened, for now I will just use the number 1 id, and not add any more id's

I was under the assumption, that the id's added to the greeters line, would show up on the post as the ones wishing the happy birthday to the individual, I only see it coming from one of my staff to the birthday member
Reply With Quote
  #59  
Old 09-12-2007, 03:52 AM
GateKeper GateKeper is offline
 
Join Date: Apr 2007
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GateKeper View Post
installed on our forum, running 3.6.5

however I do believe it's not working correctly

in here - Greeter(s) (comma separated UserID list)

I added these - 1,2,3,4,6,11,35,59,97

but only one post was created by only one of the member id's

and that was by the last one on the list # 97





any ideas why this happened, for now I will just use the number 1 id, and not add any more id's

I was under the assumption, that the id's added to the greeters line, would show up on the post as the ones wishing the happy birthday to the individual, I only see it coming from one of my staff to the birthday member



Never mind, found the answer......ohhh well....

Quote:
Several users can be set as greeters (used randomly when posting). Thread will be created first time when someone loads forumhome after midnight.
Reply With Quote
  #60  
Old 09-16-2007, 08:03 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello i received thos error message when i was testing it out


Quote:
Fatal error: Call to a member function query_first() on a non-object in xxxxxx\htdocs\xxxxxx\forums\includes\class_mail.ph p(266) : eval()'d code on line 4
this worked on my version .6.7 i upgraded it to .8 when this caused an error
Reply With Quote
  #61  
Old 09-24-2007, 12:31 PM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
$vbphrase[cybabgreeter_age_info] 
Age: {1}
I think it is better to write this word from the small letter:
Code:
age: {1}
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 09:19 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.08794 seconds
  • Memory Usage 2,315KB
  • 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
  • (2)bbcode_code
  • (7)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