![]() |
|
Mod Options |
![]() |
|||||||||||
Holiday/Event/Birthday Style Manager
![]() Developer Last Online: Dec 2013 ![]() ![]() ![]() This modification is in the archives.
############################################ ##############--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 Show Your Support
No members have liked this post.
|
![]() |
||||
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
|
||||||||||||
|
||||||||||||
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:
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!
Step 3: Modify your plugin: Open Plugin: [Holiday/Event/Birthday Style Manager] Above first Line of Code Add:
After LAST line Add:
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! No members have liked this post.
|
#32
|
||||
|
||||
![]()
Originally Posted by Quarterbore
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:
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. No members have liked this post.
|
#33
|
|||
|
|||
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.
No members have liked this post.
|
#34
|
||||
|
||||
![]()
Originally Posted by cloyal
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.
![]()
No members have liked this post.
|
#35
|
|||
|
|||
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 members have liked this post.
|
#36
|
||||
|
||||
![]()
Originally Posted by cloyal
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. No members have liked this post.
|
#37
|
||||
|
||||
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 ![]() No members have liked this post.
Last edited by Merjawy; 11 Jan 2012 at 17:43. |
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 02:28.