Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Holiday/Event/Birthday Style Manager Details »
Holiday/Event/Birthday Style Manager
Mod Version: 1.00, by -=Sniper=- (Coder) -=Sniper=- is offline
Developer Last Online: Dec 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.2 Rating: (0 vote - 0 average) Installs: 23
Released: 01 Jun 2006 Last Update: Never Downloads: 80
Not Supported Uses Plugins Is in Beta Stage  


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

Talk Coding - Programming Forums

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


If you have my Happy Birthday Style Hack installed, you must uninstall it first before you install this one.

http://www.vbulletin.org/forum/showthread.php?t=109233

I think I should request hooks in the holiday manager, so it would make this hack easier, or they can even make it default, until then this should do.

I've not tested it fully, so consider it a beta.

Login -> admincp -> vBulletin Options -> Holiday/Event/Birthday Style Manager By Sniper

to make the required changes.

loads of styles here which you can use http://www.vbulletin.org/forum/forumdisplay.php?f=161

Sniper

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	holidaystyle.JPG
Views:	574
Size:	77.7 KB
ID:	48653  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Winter Snowfall (Holiday Christmas) Style ChU v2 vBulletin 3.6 Styles 53 21 Dec 2008 12:22
Add-On Releases Winter Snowfall (Winte Holiday) Style ChU v2 Modification Graveyard 15 01 Feb 2008 09:34
Administrative and Maintenance Tools ZH - Event Manager Ziki vBulletin 3.6 Add-ons 24 29 Jan 2008 22:51

  #31  
Old 30 Oct 2008, 20:32
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Add-On for this mod!

I am preparing for a Halloween surprise for my members and I know that my "666" theme for June 6th, 2006 really upset a lot of members and there was no way for the members to OPT-OUT of my special styles so I have worked out a simple mechanism to allow my members to OPT-OUT of special styles as shown by this script.

Step 1: Create a New User Profile Field

Title: Use Special Event Styles
Description: Do you wish to see special Holiday Website Styles.
Options:
yes
no
Set Default = yes
Field Required = yes, always
Field Editable by User = yes
Private Field = no
Field Searchable on Members List = no
Show on Members List
Allow user to input their own value for this option = no

Display Page: Options: other

IMPORTANT - After you save this you need to look in the User Profile Field Managed and find the "name" of this new profile. On my site it is "field6"! the firections that follow you need to change the "YOUR-CUSOM-FIELD-ID" with YOUR field name! Make sure you don't mess this up in teh next step or you can overwrite something you don't want overwritten!

Step 2: Run a Mysql Query to update ALL values in your database!

IMPORTANT - Remember to check your PREFIX and use YOUR userprofile field!
If you mess this up, there is NO WAY TO UNDO IT so I suggest a database backup!


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 3: Modify your plugin:

Open Plugin: [Holiday/Event/Birthday Style Manager]

Above first Line of Code Add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After LAST line Add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now What?

That is it, now users can go into their Options and change the value from yes to no and disable the style as shown on their birthday, holiday, or any other special day that this hack is used to redefine the style!
Reply With Quote
  #32  
Old 03 Dec 2008, 19:39
lilbill0005's Avatar
lilbill0005 lilbill0005 is offline
 
Join Date: Jan 2007
Real name: Mopsy Moppington
Talking

Originally Posted by Quarterbore View Post
That is it, now users can go into their Options and change the value from yes to no and disable the style as shown on their birthday, holiday, or any other special day that this hack is used to redefine the style!
Hey, thanks for what you posted, but, I have a question. Wouldn't your modification of this also disable the holiday system for guests?

Wouldn't it be wise to add something like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And then paste all of the original code again, and then add another } at the end?

There might be an easier way to do this, or I might just be mistaken, but, I'm pretty sure this would turn it off for guests, and I don't want that.
__________________
Emulysian Fields - Where Kefka Would Go if He Had Internet
Reply With Quote
  #33  
Old 07 Dec 2008, 02:30
cloyal cloyal is offline
 
Join Date: Sep 2005
Is there any way to make this (more specific just the birthday style) show up for just the user who is having the birthday? Or does this do that? Reason being is if you have a large group the style will always be up more then the default. Not only that people may tire of the birthday theme really quick if it applies to all users.
Reply With Quote
  #34  
Old 07 Dec 2008, 21:43
lilbill0005's Avatar
lilbill0005 lilbill0005 is offline
 
Join Date: Jan 2007
Real name: Mopsy Moppington
Talking

Originally Posted by cloyal View Post
Is there any way to make this (more specific just the birthday style) show up for just the user who is having the birthday? Or does this do that? Reason being is if you have a large group the style will always be up more then the default. Not only that people may tire of the birthday theme really quick if it applies to all users.
The birthday style only shows up for the person whose birthday it is. Unless you have it set to a particular date or event or something.
__________________
Emulysian Fields - Where Kefka Would Go if He Had Internet
Reply With Quote
  #35  
Old 08 Dec 2008, 01:58
cloyal cloyal is offline
 
Join Date: Sep 2005
I installed this and it's great. The plus side is if a poster wants to resume from a normal style, he can change it, but the point of wishing him a happy birthday has been made. Love this hack, and thanks for the info lilbill.
Reply With Quote
  #36  
Old 08 Dec 2008, 07:55
lilbill0005's Avatar
lilbill0005 lilbill0005 is offline
 
Join Date: Jan 2007
Real name: Mopsy Moppington
Talking

Originally Posted by cloyal View Post
I installed this and it's great. The plus side is if a poster wants to resume from a normal style, he can change it, but the point of wishing him a happy birthday has been made. Love this hack, and thanks for the info lilbill.
No problem.

And as for my post above, I was thinking only the holiday portion of the code should be re-added outside of the conditional tags, because guests wouldn't have birthdays in the database.
__________________
Emulysian Fields - Where Kefka Would Go if He Had Internet
Reply With Quote
  #37  
Old 11 Jan 2012, 15:30
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
This is very old and I loved it back then and I love it now still

Color me crazy, but I just installed it on 4.1.10 and the darn thing still works

Thanks

EDIT: only the birthday portion works not the holiday

Last edited by Merjawy; 11 Jan 2012 at 17:43.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 02:28.

Layout Options | Width: Wide Color: