vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Information Bar for Guests (https://vborg.vbsupport.ru/showthread.php?t=123117)

Slapyo 10-08-2006 01:28 PM

Updated to 3.6.2 and it works just fine.

Mecho 10-08-2006 07:04 PM

tnx .. installed .

great and work fine :)

AdmiralSpock 10-12-2006 09:09 PM

Quote:

Originally Posted by Kuimera
Seems to have a prob with Opera, it gives a uge spaca beetween the bar and the logo... Any ideas? Im using a costum theme.

A search in the 3.5.x version thread said that removing the embed code from the hack will take out that space. I am also an Opera user, and I know that would have bothered me. :)

So this is what I put in my header template:

Code:

<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<div id="infobar"><a href="<my site url>/register.php?referrerid=1"><p>It appears you have not yet registered with our community. To register please click here...</p></a></div>
</if>

And it works fantastically.

*installed*

Red Matrix 10-16-2006 07:43 AM

Aak, this looks like a virus message. Uninstalls.

Avensen 10-16-2006 03:23 PM

Cool hack. Thank you!

imported_infitech 11-16-2006 08:30 PM

i get some weird clear box on the top left, a large gap and something asking me about a plugin in forefox and internet explorer.... i will attach the screenshots.

i will also post the code to my header and navbar

header
Code:

<script type="text/javascript">
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('$vbphrase[sure_you_want_to_log_out]'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->
</script>
<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<div id="infobar"><a href="$vboptions[bburl]/register.php?referrerid=1"><p>It appears you have not yet registered with our community. To register please click here...</p></a><embed src="infobar.wav" autostart="true" loop="0" hidden="true"></embed></div>
</if>
<!-- right_column_hack -->
<a name="top"></a>
<table valign="top" border="0" width="950px" cellpadding="0" cellspacing="0" align="center">
  <tr>
    <td valign="top">
<!-- /right_column_hack -->
<!-- logo -->
<a name="top"></a>
<table valign="top" border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td width="160" valign="top" class="page" align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$vboptions[bburl]/images/misc/inf_sin_logo.jpg" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td height="39px" class="page" align="$stylevar[left]">
                <br /><ul id="maintab" class="shadetabs">
<li <if condition="THIS_SCRIPT == 'index'">class="selected"<else /></if>><a href="index.php" rel="ajaxcontentarea">Home</a></li>
<li <if condition="THIS_SCRIPT == 'faq'">class="selected"<else /></if>><a href="$vboptions[bburl]/faq.php" rel="ajaxcontentarea">FAQ</a></li>
<li <if condition="THIS_SCRIPT == 'memberlist'">class="selected"<else /></if>><a href="$vboptions[bburl]/memberlist.php" rel="ajaxcontentarea">Member List</a></li>
<li <if condition="THIS_SCRIPT == 'ppindex'">class="selected"<else /></if>><a href="$vboptions[bburl]/gallery/" rel="ajaxcontentarea">Gallery</a></li>
<li <if condition="ALTSEARCH == 'true'">class="selected"<else /></if>><a href="$vboptions[bburl]/search.php?do=getnew" rel="ajaxcontentarea" rel="ajaxcontentarea">New Posts</a></li>
<li <if condition="ALTSEARCH == 'true'">class="selected"<else /></if>><a href="$vboptions[bburl]/search.php" rel="ajaxcontentarea">Search</a></li>
<if condition="$show['member']">
<li><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onClick="return log_out()"  rel="ajaxcontentarea">Logout</a></li><else />
<li <if condition="THIS_SCRIPT == 'register'">class="selected"<else /></if>><a href="register.php$session[sessionurl_q]" rel="ajaxcontentarea">Register</a></li></if>
<li <if condition="THIS_SCRIPT == 'calendar'">class="selected"<else /></if>><a href="$vboptions[bburl]/calendar.php"  rel="ajaxcontentarea" rev="content.css, content.js">Calendar</a></li>
</ul>
<br />

       
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

navbar
Code:

<if condition="is_array($navbits)">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>$phpAds_raw3[html]</td>
  </tr>
</table><br />
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]&nbsp;><a href="$scriptpath"></a>
                        <strong><span class="smallfont>">$navbits[lastelement]</span></strong></td>
  </tr>
</table>

                                                                <br />                       
                <else />
                       
                </if>


imported_infitech 11-17-2006 06:06 PM

anyone?

Smoothie 11-18-2006 02:45 AM

Just checked your site and it displays fine for me.

firefox100 11-22-2006 11:01 AM

Installed, very nice.

Hanks. ;)

Terminatoronly 11-25-2006 10:10 AM

nice hack installed ;)


All times are GMT. The time now is 03:35 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.01610 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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