![]() |
Holiday/Event/Birthday Style Manager
############################################ ##############--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. https://vborg.vbsupport.ru/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 https://vborg.vbsupport.ru/forumdisplay.php?f=161 Sniper |
sweet idea.
|
Thank You! I am installing this now....
The birthday mod has been greatly appreciated on my site! Edit - Installed and working fine on my site... THANK YOU!!! |
good job ....but mod is work vbb 3.5.4 ??? *installed*
|
yes, I don't see why not.
|
Thanks Was Waiting For This ...Awesome Job
|
This is exactly what I requested. Awesome! Thank you.
Can you add 1 feature please? An option in the ACP to disallow users from changing the style when a holiday style is in effect? |
in the style settings, you can set "allow user selection" to no, this should do the trick.
|
Quote:
|
hmm, have you tested this as admin or normal user?
so, you want to disable the dropdown menu in the footer which allows users to select the style? |
Both. I understand that as an admin, I can select any style I like, but when I logged out and looked at it as an unregistered user, I had the holiday style I wanted by default but was also able to change that style to the forum default.
|
ok, i will add it into next version.
|
I have 2 languages on my forum, italian and english. Italian=default language.
This hack work when english language is selected but not when italian language is selected... what do I have to do to make it work under the italian language? |
no one knows? :-(
|
I realy don't understand why people can't just click off the "allow user select" button... That is what I did on my site and guests can't switch...
http://www.timeshareforums.com/? Oh yea, this is my "666" theme modified from the "fire" theme on the style forums here... this was served up using this MOD just for today. |
cool, glad its working well :)
fulviods: not sure why it could only work with english, PM access to your forums so I can have a look? |
Just wondering. Where does it take the date from? The users computer or the server?
Just wondering how I can test this? |
Quote:
Last night was a late night for me but LOTS of fun with this mod!!! http://www.timeshareforums.com/? Note, my 666 theme is only for today so if you don't see flames, blood, etc you know why... |
Thats not good then. If i change my date on my comuter to my birthday nothing happenes. . . hmm will have to check it out.
|
It looks like I may he wrong...
I have my system set so that if it is the birthday the birthday should be primary... also, if I change the date my special 6/06/20006 theme does not show... The difference must be the timezone offset AND NOT the PC's setting... Sorry for the confusion (I didn't know) |
OK, today was my first day of using this and I learned that some members really don't like when we play with things they are used to...
Is there a way that we could modify this script to allow a member to turn off this MOD in their usercp somehow? I know for ths to work it takes primary style authority so members can't just switch out so perhaps you can help me understand where I can code in an extra conditional like... For example, perhaps I can create a new User Profile Filed (Single-Slection Radio Button) for: Display Special Themes (YES/NO) with editable by user (YES), private (yes), seachable (no), and on member list (no) and a default to yes... Then all we need to do is add a conditional for that user that says: IF THIS PROFILE FILED == YES { DO THE CUSTOM THEME ;} I just need a way to allow members to bail out if they wish... |
Sorry, but I don't understand where I have to upload this file
(product holidaystylemanager. xml) who can help me |
I am stupid, I already found it. Forget my first message. It works great now. THANKS!
|
OK, anybody using this in vB 3.6? I also plan to recode this and create a way for users to Opt Out of the special themes....
|
Just installed and it is working for me on 3.6.4.
|
Quote:
The birthday hack works great! I think this one will be even better....just in time for St. Patty's Day! Thanks Sniper! |
Hi,
Would it be possible to have a certain style show depending on a custom field date? What I'm trying to do is have a romantic/love theme show on members anniversaries, which they input the date in a custom profile field. thanks |
I had this set to start last night, and now I can't get into my forums at all. Its throwing a database error, and I can't even log into my admincp. How can I get in to disable it or unistall it?
|
Is there a 3.72 update to this?
I used to have this on my 3.5 forum and liked it, but it's not working now. |
I reinstalled it on my 3.7.3 board and it works for me still.
I still wish there was a setting to allow a user to disable this via a profile field. |
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: Quote:
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! PHP Code:
Open Plugin: [Holiday/Event/Birthday Style Manager] Above first Line of Code Add: PHP Code:
PHP Code:
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! |
Quote:
Wouldn't it be wise to add something like: Code:
else if ($vbulletin->userinfo['userid'] == '0'){ 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. |
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.
|
Quote:
|
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.
|
Quote:
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. |
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 :) |
All times are GMT. The time now is 09:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|