vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Daily Doodle by BOP5 (VB4 & VB3) (https://vborg.vbsupport.ru/showthread.php?t=286101)

BirdOPrey5 07-29-2012 10:00 PM

Daily Doodle by BOP5 (VB4 & VB3)
 
1 Attachment(s)
Brought to you by BirdOPrey5
www.Qapla.com


Latest 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 you can now specify a custom URL for the logo as well. Users clicking on your logo will be taken to this URL. (Optional)

Compatible with VB 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 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:
Nominate MOTM if you LOVE it! ;)

BirdOPrey5 07-30-2012 11:16 AM

Reserved.

Lustikus 07-30-2012 04:16 PM

does not work for me, also not in standard themes without any modification.

Quote:

07-30 | images/buttons/newbtn_middle.png

Nirjonadda 07-30-2012 04:48 PM

Excellent work on 4.1.10 !

BirdOPrey5 07-30-2012 04:57 PM

Quote:

Originally Posted by Lustikus (Post 2352800)
does not work for me, also not in standard themes without any modification.

If you're trying it on the Homepage in your profile, this URL loads a blank image or doesn't exist:

Code:

http://www.xo-forum.de/images/buttons/newbtn_middle.png
Link: http://www.xo-forum.de/images/buttons/newbtn_middle.png

If that's not the site you are trying it on, please give me the link and also paste into a [CODE] box everything in the Doodle Array box in settings.

RobbieZ 07-30-2012 07:28 PM

Excellent idea, rated and nominated!

nhawk 07-30-2012 07:37 PM

Excellent!

Could I suggest that you add an optional link to a calendar event to the logo replacement? If there's no optional link, the regular link stays on the logo. If there is, the calendar event would open.

That way people can click the logo to see what the deal is with that particular logo change.

BirdOPrey5 07-30-2012 07:40 PM

Cool idea... I will try to work this into a future version.

imported_dfmafia 07-30-2012 10:03 PM

I'm digging this mod. thanks!

BirdOPrey5 07-30-2012 10:52 PM

Sorry- my mistake on compatibility.

Compatible with VB 3.7.x, 3.8.x, 4.1.10+, 4.2.x
NOT COMPATIBLE WITH VB 4.0.0 - 4.1.9

Basically it works on VB 3.x, but if you have VB 4.x you need at least VB 4.1.10. The hook didn't exist before that.


All times are GMT. The time now is 03:19 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
  • Page Generation 0.01181 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete