vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Title image rotator| 3 Times per day (Based forum time) (https://vborg.vbsupport.ru/showthread.php?t=219820)

elenh 07-29-2009 10:00 PM

Title image rotator| 3 Times per day (Based forum time)
 
1 Attachment(s)
Hey dudes!

This is a old paied request for my site and i would like to share with others vbulletin.org members.

Description:
  • This is a title image (the logo) rotator and they will change the images 3 times per day.
  • The times to change the images are based on the forum memebrs time.
  • They will change on:8pm to 7am - 2pm to 8pm and 7am to 2pm

INTALLATION:
  • Go to: AdminCP > Plugins & Products > Manage Products > Add/Import Product

How to use:
  1. After you install the mod then go to AdminCP > vBulletin Options > IWT - Rotating Header Images.

    There is 3 options:
  2. Image to show from 8pm to 7am
  3. Image to show from 2pm to 8pm
  4. Image to show from 7am to 2pm
  5. In this options you have to set the full URL's of the the images you like to display for logo.
  6. Click save and you are done.

Template edits:
  1. Go to Style manager > Choose your style > Header template:
  2. Find:
  3. Code:

    $stylevar[titleimage]
  4. replace with:
  5. Code:

    $stylevar[titleimage_rot]

If you like this hack please click INSTALLED

esperone 07-30-2009 12:03 PM

hmm. will try this. Thanks.

Abdullah SZ 07-31-2009 04:16 AM

sweet addition to my forums

now I just need to design three logos :D

Tagged!

lazydesis 07-31-2009 01:28 PM

sweet mod :) thanks .. makes it interesting for the members

Mograd Ensan 08-01-2009 04:10 PM

thx ..

FazerPaint 08-01-2009 11:32 PM

I like the look of this, good mod mate !

elenh 08-20-2009 02:06 PM

33 downloads and only 10 installs?

Haltech 08-22-2009 03:21 AM

Excellent mod, thank you.. i do have a request however. On my forum, i have seasonal logos for:

New Years
Valentines Day
St Pattys
Easter Sun
Memorial
July 4th
Sept 11
Labor Day
Gobble Day
Christmas

Sometimes, it would be nice to see these change on their own. Is there anyway you could add that into your mod? Thanks!

corsacrazy 08-22-2009 06:37 AM

can we use this $var in our stylesheet to change image background?

elenh 08-22-2009 09:51 AM

i think yes you can.

elenh 08-22-2009 09:52 AM

Quote:

Originally Posted by Haltech (Post 1871950)
Excellent mod, thank you.. i do have a request however. On my forum, i have seasonal logos for:

New Years
Valentines Day
St Pattys
Easter Sun
Memorial
July 4th
Sept 11
Labor Day
Gobble Day
Christmas

Sometimes, it would be nice to see these change on their own. Is there anyway you could add that into your mod? Thanks!

I think this will need to change the total script of the addon.. if you find one to do that that will be nice.

Lustikus 09-27-2009 05:51 AM

good idea and installed!

But it does not show any header between 0:00 am and 7:00 am?

cindy helmond 09-27-2009 07:47 AM

nice installed but can you get the time after 10 minutes ? thx

f4vn 10-04-2009 05:53 PM

Quote:

Originally Posted by Lustikus (Post 1891195)
good idea and installed!

But it does not show any header between 0:00 am and 7:00 am?

Plugin Manager > Product : IWT - Rotating Header Images. Click edit "Setup the rotating header images".

Find:
Code:

//between 12am and 7am
    $stylevar['titleimage'] = $vbulletin->options['iwt_rotheaderimg_imgthree'];

replace with:
Code:

    //between 12am and 7am
    $stylevar['titleimage_rot'] = $vbulletin->options['iwt_rotheaderimg_imgthree'];

Click Save

DONE :)

Now it has been fixed !

Llandy 10-04-2009 06:01 PM

Quote:

Originally Posted by elenh (Post 1871058)
33 downloads and only 10 installs?

Seems too be how it works around here. Little appreciation for the work put into it :(

goxy63 10-09-2009 11:35 PM

You will get one more install for shure if this will work with flash animations (SWF)?
:D

Tagged, rated, and nominated

Cheers

DiGiSYS 12-01-2009 04:31 PM

1 Attachment(s)
I need 6 images :D so i modify this hack, here its
Thankyou very much!

elenh 12-02-2009 09:13 PM

Quote:

Originally Posted by goxy63 (Post 1897349)
You will get one more install for shure if this will work with flash animations (SWF)?
:D

Tagged, rated, and nominated

Cheers

I never try it with flash but i think the code must change about the flash object.
Tell us your results.

Quote:

Originally Posted by DiGiSYS (Post 1923594)
I need 6 images :D so i modify this hack, here its
Thankyou very much!

Great thank you man.

DynaMow 01-31-2010 11:09 AM

awesome mod, thank you.

Just what I was looking for.

Wish I knew how to change it so I could get it to change every hour.

Nominated fot the MOTM


All times are GMT. The time now is 06:27 PM.

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.01390 seconds
  • Memory Usage 1,752KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete