vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   how do you remove UGLY borders around text from redirecting page (STANDARD_REDIRECT)? (https://vborg.vbsupport.ru/showthread.php?t=265450)

benative 06-19-2011 04:20 AM

how do you remove UGLY borders around text from redirecting page (STANDARD_REDIRECT)?
 
basically, I want only text to remain. can I remove the blue, white, and gray box I pointed with the red arrows?

https://vborg.vbsupport.ru/external/2011/06/41.jpg

BirdOPrey5 06-19-2011 11:26 AM

Is that VB3? It looks like 4.x?

I suppose in either case you'd edit the STANDARD_REDIRECT template. But the exact edits will be different depending on the version.

Lynne 06-19-2011 03:57 PM

Moved to vB4 forum.

LifesGreatestGift 06-19-2011 04:02 PM

1 Attachment(s)
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 :)


All times are GMT. The time now is 09:15 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.00980 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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