vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   how about a new bread crumb (https://vborg.vbsupport.ru/showthread.php?t=74287)

Murphinator 01-12-2005 11:29 PM

how about a new bread crumb
 
at the bottom, ive tried copy pasting verious text but im not sure where to look for it :-/ so normally id share but i dont have it :P

Murphinator 01-13-2005 10:28 PM

can you at least tell me what template to take the code from and where to put it?

darnoldy 01-14-2005 12:35 AM

Quote:

Originally Posted by Murphinator
at the bottom, ive tried copy pasting verious text but im not sure where to look for it :-/ so normally id share but i dont have it :P

Okay. You want to call the navbar template. you do that by putting $navbar at the bottom of the page.

*But* you get the navbar, the breadcrumb and the welcome box. I cut the welcome box out of the navbar template and put it elsewhere, so I get the breadcrumb and the navbar both top and bottom.

The drop-down menus don't work in the bottom navbar--I still have to fix that.

--don

Murphinator 01-14-2005 02:36 AM

ok thank you :D, actually having the navbar at the bottom isnt a horrible thing :-/

darnoldy 01-14-2005 04:21 AM

Quote:

Originally Posted by Murphinator
ok thank you :D, actually having the navbar at the bottom isnt a horrible thing :-/

Nope, having the navbar at the bottom *isn't* a bad thing--I miss it here. Having the welcome box repeated at the bottom looked silly-- that's one of the reasons I moved it.

--don

Murphinator 01-15-2005 02:55 AM

ok, sorry, but run me through how to remove the welcome box? im a little thick like that :P

darnoldy 01-15-2005 04:05 AM

Quote:

Originally Posted by Murphinator
ok, sorry, but run me through how to remove the welcome box? im a little thick like that :P

Okay. Inside the navbar template, look for the following:
HTML Code:

        <if condition="$bbuserinfo['userid']">
       
                <td class="alt2" valign="top" nowrap="nowrap">
                <div class="smallfont">
                        <!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
                </div>
                </td>
               
        <else />
               
                <td class="alt2" nowrap="nowrap" style="padding:0px">
                       
                <!-- login form -->
                <form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr>
                        <td class="smallfont">$vbphrase[username]</td>
                        <td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                        <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
                </tr>
                <tr>
                        <td class="smallfont">$vbphrase[password]</td>
                        <td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
                        <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                </tr>
                </table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />
                <input type="hidden" name="forceredirect" value="1" />                       
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
                       
                </td>
               
        </if>       

This is the code that creates the box that holds the welcome message an private message display, or a log-in form.

You can cut it out of the navbar template, but you must figure out another place to put it--You could paste it into the header--but you don't want to eliminate it.

--don

Murphinator 01-16-2005 03:56 AM

i dont really know where to put the login box, why dont you make it a hack :)

darnoldy 01-16-2005 05:00 AM

Quote:

Originally Posted by Murphinator
why dont you make it a hack :)

I don't think modifying a template or two qualifies for "hack" status.

Okay..

I don't know what you want your forum to look like. As you visualize your site, where do you think the welcome/login box should go? Do you want it in the header? would you like it at the bottom of the page?

If you can figure out where on the page you think it should be, I can probably tell you how to get it there.

--don

joeychgo 01-16-2005 05:09 AM

why not just add the links you want to the footer bar?


All times are GMT. The time now is 12:14 AM.

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.01535 seconds
  • Memory Usage 1,752KB
  • 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_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete