Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Happy Birthday Style Details »»
Happy Birthday Style
Version: 1.2, by -=Sniper=- -=Sniper=- is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 02-28-2006 Last Update: 03-05-2006 Installs: 71
Uses Plugins
Is in Beta Stage  
No support by the author.


############################################
##############--Bought to you by--###############

Talk Coding - Programming Forums

##########--Free / Premium vBulletin Solutions--#########
############################################


WORKS ON 3.6

I got this idea, as soon as I saw this style https://vborg.vbsupport.ru/showthread.php?t=109205, but so did other people!

Well anyway, in the admincp -> VBulletin Options -> Happy Birthday Style you can select the style you want to force on their birthday.

Again, If the code can be improved, please let me know

Let me know if it works for you guys or not!

Note: No need for screenshot since it changes the users style, if its their birthday and back the next day

How to install; login to admincp -> then import the product -> set the birthday style in the admincp -> happy birthday style

Show Your Support

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

Comments
  #52  
Old 04-19-2006, 03:02 PM
Feckie (Roger)'s Avatar
Feckie (Roger) Feckie (Roger) is offline
 
Join Date: May 2005
Location: Dublin Eire
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ryancooper
Thanks for putting time into these hacks! You all rock! As for holidays I think major ones would be great as well. Easter, christmas, st pattys day. Ect. . . Thanks for all your hard work!!

So Have You Had Any Luck With This
Reply With Quote
  #53  
Old 04-20-2006, 01:22 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry not yet, exams are close first one is on may 3rd - till the middle of May. From then I will start to work on it.
Reply With Quote
  #54  
Old 04-21-2006, 09:52 AM
csidlernet csidlernet is offline
 
Join Date: Apr 2003
Location: sydney
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks man
Reply With Quote
  #55  
Old 04-22-2006, 01:05 PM
lordi lordi is offline
 
Join Date: Dec 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry, but do u mean that this can let me select the H-B style to a specific user only?? for example it's ur bd and u r an effective user in my vb...can i easily go to the admincp and set the HB style just for u to see ???????
Reply With Quote
  #56  
Old 05-05-2006, 12:21 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bitg
I agree, can you add additional calendar events with forced styles too? I would love to force christmas, easter, valentines day, fourth of july, etc.
Quote:
Originally Posted by -=Sniper=-
If someone can send me a list of the most wanted holiday/s. I can easily do it. However a more complicated one which lets you add it to your own events won't be possible yet.

also what if the users birthday is on the same day as the holiday, which do you want first, or shall i let the admins decide?
:banana: I would love to see something like that!!!

Edit: Oh yea: Installed!!! I am using it on a 3.5.2 vB

Here is a list of holidays you might consider in the new version (Some I know may be hard to work out (Labor Day & Thanksgiving):


New Year's Day, January 1st.
Groundhog Day, February 2.
Valentine's Day, February 14.
St. Patrick's Day, March 17.
April Fools's Day, April 1.
Easter (here is a complicated way at doing easter calcs http://www.assa.org.au/edm.html#Method)
Memorial Day, last Monday in May
Flag Day, June 14th.
United States of America's Independence Day, July 4.
Labor Day, first Monday in September.
Columbus Day (traditional), October 12.
United Nations Day, October 24.
Halloween, October 31.
Election Day, Tuesday on or after November 2.
Veterans Day, November 11th
Thanksgiving Day, fourth Thursday in November.
Christmas Day, December 25th.

Now, I found this page that might help calculate some of the funky days...

http://www.smart.net/~mmontes/ushols.html

Pehaps a table with dates w/ year would work (IE Easter http://aa.usno.navy.mil/data/docs/easter.html )
Reply With Quote
  #57  
Old 05-09-2006, 01:36 AM
Dr.Viggy Dr.Viggy is offline
 
Join Date: Apr 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice. works like a charm. *installed.

i do have one question though. i have a 2nd navbar plugin that doesn't show up in the birthday style. i didn't have to edit code to make it work on the default style though. i believe it was a product that was imported. will i have to manually update the navbar code for this style? (it's the first style i've added so far)
Reply With Quote
  #58  
Old 05-09-2006, 10:04 AM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the style isn't mine (you can use any style you want) but yes you will have to edit it.
Reply With Quote
  #59  
Old 05-09-2006, 10:12 AM
Dr.Viggy Dr.Viggy is offline
 
Join Date: Apr 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah i actually decided to give it about 10 seconds of work and time after i posted that and all is well now. i guess that's what i get for asking first and looking later. great style, looks cool
Reply With Quote
  #60  
Old 06-01-2006, 08:21 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just released a holiday/style/birthday style manager here https://vborg.vbsupport.ru/showthread.php?t=117353
Reply With Quote
  #61  
Old 06-09-2006, 03:16 AM
Lqd's Avatar
Lqd Lqd is offline
 
Join Date: Apr 2006
Location: In a house.
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering something,

But since I am a total nubber on vb... is it possible to duplicate the current style you have, and add something like the snow for xmas on that style only, of course replace the flakes with pies or presents or whatever you like...

Can this be done?
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 02:35 AM.


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.04850 seconds
  • Memory Usage 2,302KB
  • 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
  • (3)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