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

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
  #12  
Old 03-02-2006, 02:33 PM
Phooey Phooey is offline
 
Join Date: May 2004
Location: Wisconsin, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome idea! As soon as I finish creating a new style for user's birthdays I'll be installing this.

:banana:
Reply With Quote
  #13  
Old 03-02-2006, 09:29 PM
Lady Divus Lady Divus is offline
 
Join Date: Feb 2006
Location: U.S.A.
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
First: Allow me to say awesome idea!
Second: I have a question!

I am currently using one style on my forum. If i install this along with another style for birthdays, can i leave my current style forced on the rest of my users?

Example: Today is John Doe's Birthday, so the birthday style is forced on him. But no one else can use the birthday style, meaning they cant even choose it in the style chooser if they wanted to...

I want to force a birthday style on the person celebrating a birthday, while enforcing my current style on everyone else! Is this possible?

I hope i am making sense with my question...Thank you in advance!

Lady Divus
Reply With Quote
  #14  
Old 03-02-2006, 10:00 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its a default vb feature I think, somewhere in the admincp theres a option to set, so users can't select styles. (I think anyway)

It works as you described.

Other suggestions have been great, I think its possible but I don't have the time to work on it (as I would have to learn more php/mysql) because of uni work/exams.

I think maybe adding a field to the events section would be better, so if you want you can assign styleid/s to any event you want?
Reply With Quote
  #15  
Old 03-02-2006, 10:07 PM
Lady Divus Lady Divus is offline
 
Join Date: Feb 2006
Location: U.S.A.
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by -=Sniper=-
Its a default vb feature I think, somewhere in the admincp theres a option to set, so users can't select styles. (I think anyway)

It works as you described.
-=Sniper=-, thank you for your reply. Yes, there is a vB option to not allow members to choose other styles. I currently am using that option. I was just worried that by not allowing members to choose a different style, that it may interfere with the forced birthday style. I am happy to know it will not interfere...

Thank you for answering my question. Be well -

Lady Divus Clicks Install!
Reply With Quote
  #16  
Old 03-02-2006, 10:14 PM
childfun childfun is offline
 
Join Date: Feb 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can you tell if this is working? I hate to sound dumb, but I installed it and then tried setting my birthday to today, and it didn't work.... What do I have to change to make the correct style come up (you are talking to a total novice here.....sorry!)
Reply With Quote
  #17  
Old 03-02-2006, 10:21 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, thats how you would test it.

I just tested mine and it works (changing my DOB to today), anyway make sure that you have a valid Style ID set in the admincp.

(edit: its possible, there might be a problem with date formats, but I think its unlikely)

anyway, if it doesnt work, PM with admincp details and I'll check it out.
Reply With Quote
  #18  
Old 03-03-2006, 02:52 AM
cloyal cloyal is offline
 
Join Date: Sep 2005
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, but how do I determine the style ID. I've installed this and have no idea how to determine this or what it is.
Reply With Quote
  #19  
Old 03-03-2006, 07:53 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow i love it and using it *installed*
Reply With Quote
  #20  
Old 03-03-2006, 08:54 AM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will update it so, you can select the style from a dropdown menu, so no need to worry about the style id.

Edit: updated, now you can select the style from the dropdown in admincp -> happy birthday style
Reply With Quote
  #21  
Old 03-03-2006, 11:23 PM
Virtuosofriend Virtuosofriend is offline
 
Join Date: Nov 2004
Location: Greece
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cloyal
Sorry, but how do I determine the style ID. I've installed this and have no idea how to determine this or what it is.
admincp>style manager > (drop down list) All Style Options
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 04:45 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.04909 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
  • (2)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
  • (3)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