vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - Randomize your background every refresh! (https://vborg.vbsupport.ru/showthread.php?t=242177)

LGKeiz 05-22-2010 09:09 PM

Quote:

Originally Posted by SamDelgado (Post 2038428)
I am getting this error with the script when I go directly to the script url

Warning: Cannot modify header information - headers already sent by (output started at /home/content/05/5148505/html/toplolclips/images/warrior/backgrounds/rotate.php:1) in /home/content/05/5148505/html/toplolclips/images/warrior/backgrounds/rotate.php on line 21

What am I doing wrong?


Make sure rotate.php is in your ROOT directory, not your images directory.

LGKeiz 05-22-2010 09:09 PM

Quote:

Originally Posted by SamDelgado (Post 2038428)
I am getting this error with the script when I go directly to the script url

Warning: Cannot modify header information - headers already sent by (output started at /home/content/05/5148505/html/toplolclips/images/warrior/backgrounds/rotate.php:1) in /home/content/05/5148505/html/toplolclips/images/warrior/backgrounds/rotate.php on line 21

What am I doing wrong?

Try placing rotate.php in your root vBulletin folder if it isn't already there.

LGKeiz 05-22-2010 09:11 PM

Quote:

Originally Posted by NNJJ (Post 2038712)
didnt work for me i dont know why :(


What errors are you getting?

NNJJ 05-24-2010 05:04 PM

no error just nothing appear as background
i check paths and all redo but still nothing appear
i have 4.3

LGKeiz 05-24-2010 06:35 PM

Quote:

Originally Posted by NNJJ (Post 2042762)
no error just nothing appear as background
i check paths and all redo but still nothing appear
i have 4.3

Please provide the following information:
  • Location of rotate.php (full URL if possible)
  • Location of background images you wish to use (full URL if possible)
  • The second line of rotate.php. ($dir = ...)
  • The Background Image field of doc_background in Style Vars.

Also, the script has been slightly modified. I uploaded and pasted the wrong code but it shouldn't have caused any errors either way.

jimfries 05-31-2010 11:11 PM

I attempted to use this, thought it would be a fun update for the website, however I only get a black background when I try.

Location of rotate.php: Root directory
- www.distortedguild.com/rotate.php

Location of background images: /images/backgrounds/
- http://www.distortedguild.com/images.../Cataclysm.jpg

Second line of rotate.php: $dir = 'images/backgrounds/';
(attempted using $dir = '/images/backgrounds/'; also, but still was not successful.

The background image field of doc_background in Style Vars: url(rotate.php)


Hope that info helps.

LGKeiz 06-01-2010 11:17 AM

rotate.php is detecting that the directory isn't found.

try another directory..

"directory not found"

I will get my developer to help you out as soon as I can.

davidmoon 06-24-2010 02:15 AM

This is working awesome for me ... though I'm only rotating 5 backgrounds. :)

Bouncer222 06-25-2010 01:24 AM

I installed this, but it's not working for me. Can anyone help me? You can only see it while the page is changing. But once its finished loading, its the same background on it, the one that's set by the style.

My guess is the style is custom coded differently or something? IDK.
Would appreciate any help. I set the stylevar image url to: url(images/backgrounds)

JasonReynolds 06-25-2010 02:23 PM

Great mod thanks :D


All times are GMT. The time now is 04:34 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.01156 seconds
  • Memory Usage 1,739KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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