PDA

View Full Version : Administrative and Maintenance Tools - Daily Doodle by BOP5 (VB3 & VB4)


BirdOPrey5
07-29-2012, 10:00 PM
Brought to you by BirdOPrey5
www.Qapla.com (http://www.qapla.com/mods/)

Current Version: 1.1

Most people know that Google changes its logo on specific days to honor holidays, birthdays, or other notable events. They call these temporary logos "Google Doodles." Many vBulletin Admins (including myself) like to mark special days by temporarily changing our forum logos as well. Usually this means manually changing the logo style variable on one or more styles and/or overwriting the file on our server with a new logo and having to remember to undo it the next day. Also if you're not up at midnight it is unlikely you actually cover the entire day.

This mod makes scheduling future and reocurring doodles much easier. You simply enter the date you want the doodle to appear, the URL or path to the special logo image, and an optional string of text if you want to override the mouseover text of the logo image as well. (This way say if a user brings the mouse pointer over a special logo the text can reflect the image, such as "Happy Valentine?s Day" for a Valentine?s Day logo.

If you specify the year, month, and day then Doodle will only appear that one time. If you omit the year and specify just a month and day the same doodle will show every year on that date- good for birthdays and holidays that always occur on the same date.

As of Version 1.1 now an option to specify a custom URL for the logo to link to as well. (Completely optional.)

Compatible with VB 3.6.x (I think), 3.7.x, 3.8.x, 4.1.10+, 4.2.x
VB 4.0.0 - VB 4.1.9 will require a manual file edit (https://vborg.vbsupport.ru/showpost.php?p=2353025&postcount=12) to work.

In both versions the mod will attempt to override the default logo image stylevariable so if you have a custom style make sure it is using the default code to display the title image- most are.

There is no real demo because it would be unlikely you would see my site on a day I had a specific logo up, however in the screenshots you can see so custom logos I've used.

Obviously you will need to create your own custom doodles and upload them to somewhere before you can use them on your site.

Please Mark as Installed if you use this. :)
Donations Always Appreciated. :up:

BirdOPrey5
07-30-2012, 11:41 AM
Reserved.

vijayninel
07-30-2012, 01:39 PM
Aha ... brilliant Idea ... I will surely use this sometime though it will take work in making the logos. :D Tagged for now.

I think BirdOPrey5 intends to give Facebook a run for their money. :P

3raq4all
07-30-2012, 05:09 PM
Thank you very much

Fluke667
07-31-2012, 12:20 AM
Shows not up :(

BirdOPrey5
07-31-2012, 12:34 AM
Shows not up :(

What version of vBulletin do you have? Do you have a custom style? Link to your site?

Fluke667
07-31-2012, 01:09 AM
http://pastebin.com/qHtAcr8F


something wrong with my logo...

see



<center>
<if condition="$bbuserinfo[field10]">
<img src="images/header/$bbuserinfo[field10].png" border="0" width="1024" height="128" alt="$vboptions[bbtitle]" />
</if>

<if condition="empty($bbuserinfo['field10'])">
<img src="images/header/header17.png" border="0" width="1024" height="128" alt="$vboptions[bbtitle]" />
</if>
</center>

BirdOPrey5
07-31-2012, 11:32 AM
It looks like you are using custom code in the header to have users choose their own logo.

This mod will never work for your setup. I suggest uninstalling the mod.

BirdOPrey5
07-31-2012, 02:32 PM
Released Version 1.1

Added option for 4th parameter - Specify URL of the link for the logo. Clicking on the logo will bring the user to this URL. OPTIONAL. If omitted the standard forumhome URL is used.

I am keeping Version 1.0 available for download as well as it is a little less complicated if you don't need the custom URL option.

Thank you to nhawk for some ideas on the code.