Thread: Miscellaneous Hacks - The Ultimate Random Header Mod
View Single Post
  #39  
Old 03-25-2010, 04:31 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If i just want a rotating header (completely random) do i need to use these at all.?
I'm guessing i do or it wouldn't know how to connect to the images. lol (header.php)
  • <img src="DIRECTORY/header.php?fid=$forumid&pid=$bbuserinfo[field9]" />
  • <table background="DIRECTORY/header.php?fid=$forumid&pid=$bbuserinfo[field9]"></table>
But i did add both to my header teamplate, but nothing works.?
My header template is weird, so im not sure if it is my template, or the 3.8.5 version.?
Code:
<!-- bullseye background -->
<div class="vbseo_bullseye" style="width: $stylevar[outertablewidth]">

<!-- header -->
<div class="vbseo_header_container">
<div class="vbseo_header">

<!-- logo -->
<a name="top"></a>
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img id="vbseo_logo_image" src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
<h1 id="vbseo_logo_h1"><a href="$vboptions[forumhome].php$session[sessionurl_q]"></a></h1>
<p id="vbseo_logo_tagline"><a href="$vboptions[forumhome].php$session[sessionurl_q]"></a></p>
<!-- /logo -->

<!-- navigation -->
<ul class="vbseo_main_menu">
	<li><a href="cmps_index.php">Home</a></li>
	<li><a href="all_albums.php$session[sessionurl_q]">Pics</a></li>
	<li><a href="video.php">Videos</a></li>
	<li><a href="arcade.php">Arcade</a></li>
	<li><a href="gameroom.php?">Casino</a></li>
	<li><a href="vbgooglemapme.php">Map</a></li>
         <li><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></li>
	<li><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></li>



</ul>
<!-- /navigation -->

<!--VBSEO_RR_1-->

$_phpinclude_output

$ad_location[ad_header_end]
Is there a more simplified code i could use to just randomize the header..?
Also does this work with 3.8.5.?

Thanks
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01034 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete