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

Reply
 
Thread Tools
Birthday Cake in postbits for all b-days for the week Details »»
Birthday Cake in postbits for all b-days for the week
Version: 1.00, by eoc_Jason eoc_Jason is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 05-12-2003 Last Update: Never Installs: 51
 
No support by the author.

I searched high and low for something that would display a little birthday cake (or even text) in the postbits when it was someones birthday and came up empty, so I wrote my own with a twist. I decided to have it display a cake for anyones birthday for the entire week (week being Sun-Sat). That way they get a little more recognition that just on their actual b-day.

This should work with all versions of vB...

All you have to do is add a couple lines of code to your admin/functions.php and add the variable to your postbits. Simple!

I just used the bday cake from MSN Messenger Page I'm not posting it here for legal reasons. If you want it to display just text you can change the line accordingly...

Like I said, I don't know if this has been done before, but my searches came up with nothing when searching for "birthday".

Enjoy.

Show Your Support

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

Comments
  #22  
Old 05-25-2003, 05:14 AM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aye, your prolly right about the confusion.

And that would be kewl, to have a different IMG for the day of

Do you know what mods I would need to make to the hack to do that?
Reply With Quote
  #23  
Old 05-26-2003, 03:35 AM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll work on it tomorrow Cyricx, it should take about 5-10min for me to write & test and I'll update the .txt file with that option.

I've been really sick these past couple days so I've just been in bed most of the time (it seems like I have been getting sick a lot lately). But hopefully tomorrow I'll be up for doing a little work.
Reply With Quote
  #24  
Old 05-26-2003, 06:49 AM
subu1 subu1 is offline
 
Join Date: Sep 2002
Location: Germany
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have install, but i need al little cake.gif

....have everbody a little gif for me.
Reply With Quote
  #25  
Old 05-27-2003, 02:18 AM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I stated in my first post that I just nabbed the one from the MSN messenger page (link was provided). You can just google for some birthday cake image, or use text, it's up to you.
Reply With Quote
  #26  
Old 05-27-2003, 02:25 AM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cyrx, okay I updated the code, it was actually easier than I thought, I just combined to two code bits using and if/else statement... lol... So now you can have one display during the week, and one on their actual birthday.
Reply With Quote
  #27  
Old 05-30-2003, 09:46 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome!!!

Thank you so much. Great hack!

/me clicks install
Reply With Quote
  #28  
Old 06-01-2003, 11:30 PM
jagperk jagperk is offline
 
Join Date: May 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This will be a great hack to my board thanks! will be trying it out soon!
Reply With Quote
  #29  
Old 06-23-2003, 12:10 AM
LadyBeth LadyBeth is offline
 
Join Date: Jun 2003
Location: East Coast
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOVE it!
Reply With Quote
  #30  
Old 07-16-2003, 11:40 PM
calldaffer's Avatar
calldaffer calldaffer is offline
 
Join Date: Mar 2002
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love the concept of this and have installed it on my boards but my problem is that only admins and mods can see it. Regular members don't even know its there. What do I need to do so that everyone can see it. I used the option where it only displays on the day of their birthday.
Reply With Quote
  #31  
Old 07-16-2003, 11:54 PM
Xelation's Avatar
Xelation Xelation is offline
 
Join Date: Jan 2002
Location: Buffalo, New York
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:40 PM calldaffer said this in Post #29
I love the concept of this and have installed it on my boards but my problem is that only admins and mods can see it. Regular members don't even know its there. What do I need to do so that everyone can see it. I used the option where it only displays on the day of their birthday.

same here, I would like the registered users to see it to before I install this hack
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:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02806 seconds
  • Memory Usage 2,296KB
  • Queries Executed 27 (?)
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
  • (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_postinfo_query
  • fetch_postinfo
  • 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