View Single Post
  #4  
Old 06-19-2011, 04:02 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Replace everything in STANDARD_REDIRECT with

Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
	{vb:raw headinclude}
	<title>{vb:raw pagetitle}</title>
	{vb:raw headinsert}
	{vb:raw headinclude_bottom}
</head>
<body>

<div>
	<form method="post" action="{vb:raw formfile}" name="postvarform">
		<h2 class="blockhead">{vb:rawphrase redirecting}</h2>
		<div>
			<p class="blockrow restore">{vb:raw errormessage}</p>
			<vb:if condition="$postvars">
				{vb:raw postvars}
				<p id="click_here_p">{vb:rawphrase click_the_following_button}</p>
			</vb:if>
		</div>
		<div>
			<div>
				<vb:if condition="$postvars">
					<input type="submit" id="proceed_button" value="{vb:rawphrase proceed}" onclick="proceed_click()" accesskey="s" tabindex="1" />
				<vb:else />
					<a href="{vb:raw url}">{vb:rawphrase click_if_browser_does_not_redirect}</a>
				</vb:if>
			</div>
		</div>
	</form>
</div>

<vb:if condition="$postvars">

<!-- redirect with POST -->

<script type="text/javascript">
<!--
fetch_object('click_here_p').style.display = 'none';

myvar = "";
timeout = 18;
timerID = 0;

function proceed_click()
{
	clearTimeout(timerID);
	return true;
}

function submit_form()
{
	window.status = "Redirecting" + myvar;
	myvar = myvar + " .";
	timerID = setTimeout("submit_form();", 100);
	if (timeout > 0)
	{
		timeout -= 1;
	}
	else
	{
		clearTimeout(timerID);
		window.status = "";
		document.forms.postvarform.submit();
		fetch_object('proceed_button').disabled = true;
	}
}

submit_form();
//-->
</script>

<!-- / redirect with POST -->

<vb:else />

<noscript>
<meta http-equiv="Refresh" content="2; URL={vb:raw url}" />
</noscript>

<script type="text/javascript">
<!--
function exec_refresh()
{
	window.status = "{vb:rawphrase redirecting}" + myvar;
	myvar = myvar + " .";
	var timerID = setTimeout("exec_refresh();", 100);
	if (timeout > 0)
	{
		timeout -= 1;
	}
	else
	{
		clearTimeout(timerID);
		window.status = "";
		window.location = "{vb:raw js_url}";
	}
}

var myvar = "";
var timeout = 20;
exec_refresh();
//-->
</script>

</vb:if>

{vb:raw footer}

</body>
</html>
Just removed most of the class/styling from dom elements. If you do not like the look, revert the template, go through the code, and edit/remove the class' that you do not want to show. Create your own, etc
Attached Images
File Type: png redirect.png (36.7 KB, 0 views)
Reply With Quote
Благодарность от:
TheLastSuperman
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01223 seconds
  • Memory Usage 1,803KB
  • Queries Executed 12 (?)
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_box_bit
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete