The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
here header
Code:
<!-- logo -->
<a name="top"></a>
<div class="header">
<div class="headerimg">
</div>
<div class="navigation">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center" class="navigationbar">
<tr align="center">
<if condition="$show['member']">
<td class="navfirst"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
<else />
<td class="navfirst"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<td class="navitem"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<if condition="$show['communitylink'] AND $show['popups']">
<td class="navitem"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
<else />
<if condition="$vboptions['enablememberlist']">
<td class="navitem"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
</if>
<if condition="$show['quick_links_groups']">
<td class="navitem"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
</if>
</if>
<td class="navitem"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<td class="navitem"><a href="music.php?$session[sessionurl]do=vbmusic" rel="nofollow">$vbphrase[vBmusic]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<td class="navitem"><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td class="navitem"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="navitem"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="navitem"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="navitem"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="navitem"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="navitem"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td class="navitem"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
<td class="navlast"> </td>
</tr>
</table>
</div>
</div>
<div class="qsl">
<div class="headerbar">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
</div>
<div class="qsandlogin">
<h4>Quick Search</h4>
<form id="searchbox_008514742519005312674:stktp-0amaq" action="search.php" method="get">
<input type="hidden" name="cx" value="008514742519005312674:stktp-0amaq" />
<input type="hidden" name="cof" value="FORID:9" />
<div class="searchfield"><input name="q" type="text" class="search-quick" value="" /><input name="do" value="process" type="hidden" /></div>
<div class="searchfield"><input name="showposts" value="0" type="hidden" />
<input name="s" value="" type="hidden" /><input src="images/royalflush/misc/gosearch.gif" type="image" /></div>
</form>
<a href="search.php">Go Advanced</a>
</div>
<div class="qsandlogin">
<if condition="$show['guest']">
<h4>Member Login</h4>
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="0" border="0" class="logintab">
<tr>
<td style="padding-right:5px;"><input type="text" class="bginput2" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td style="padding-right:5px;"><input type="password" class="bginput2" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="lbutton" value="" tabindex="104" 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="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
<a href="register.php">Not registered?</a> | <a href="login.php?do=lostpw">Forgot Password</a>
<else />
<h4>Member Panel</h4>
<div class="smallfont_panel">
<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['notifications']">
<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
<if condition="$show['popups']">
<script type="text/javascript"> vBmenu.register("notifications"); </script>
<else />
<script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications"); </script>
</if>
<else /><if condition="$show['pmstats']">
<div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase>
<if condition="$show['pmwarning']"><else /></div></if>
</if></if>
<if condition="$show['pmwarning']"> - <strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
</div>
</if>
</div>
</div>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
$ad_location[ad_header_end]
<div class="orangebar"> </div>
<if condition="$show['guest']">
<div class="regbar">
<div class="regbarright">
<a href="register.php"><img src="images/royalflush/misc/register.gif" class="register" alt="Register" /></a>
<div class="regbarleft">
<img src="images/royalflush/misc/welcome.gif" class="welcome" alt="Welcome" />
</div>
</div>
</div>
<else />
<br />
</if>
<table cellpadding="0" cellspacing="0" width="100%" align="center">
<tr valign="top">
<td class="forum_left"><div class="forum_leftimg<if condition="$show['guest']">2<else /></if>"> </div></td>
<td class="forum_bg">
hi i want to move search and login look linke this can anywone help me pls!!!
|
|
#2
|
|||
|
|||
|
any idea!!!
|
|
#3
|
||||
|
||||
|
You need to move some sections of your navbar to header template.
|
|
#4
|
|||
|
|||
|
pls anywone help me!!!
|
|
#5
|
||||
|
||||
|
I would find "qsandlogin" in your CSS and see if it is set to float left, and if it is, change to float right.
|
|
#6
|
|||
|
|||
|
here css
Code:
/* General Forum CSS */
.forum_bg {
background: #fff url(images/royalflush/misc/forumpagebg.gif) repeat-x top left;
padding-top: 9px;
}
.forum_left {
width: 11px;
background: url(images/royalflush/misc/forum_left.gif) repeat-y top left;
}
.forum_leftimg {
width: 11px;
background: url(images/royalflush/misc/forum_leftimg.gif) no-repeat top left;
}
.forum_rightimg {
width: 11px;
background: url(images/royalflush/misc/forum_rightimg.gif) no-repeat top left;
}
.forum_leftimg2 {
width: 11px;
background: url(images/royalflush/misc/forum_leftimg2.gif) no-repeat top left;
}
.forum_rightimg2 {
width: 11px;
background: url(images/royalflush/misc/forum_rightimg2.gif) no-repeat top left;
}
.forum_right {
background: url(images/royalflush/misc/forum_right.gif) repeat-y top right;
width: 11px;
}
img {
border: 0;
}
/* Header CSS */
.header {
height: 43px;
background: url(images/royalflush/misc/headerbg.gif) repeat-x;
}
.headerimg {
background: url(images/royalflush/misc/headerimgbg.gif) no-repeat;
width: 256px;
margin-left: 21px;
height: 43px;
float:left;
}
.qsl {
height: 97px;
background: url(images/royalflush/misc/qslogin.gif) repeat-x;
clear:both;
}
.headerbar {
height: 60px;
width: 258px;
background: url(images/royalflush/misc/headerunderbar.gif) no-repeat;
font-size: 1px;
margin-left: 20px;
float:left;
text-align: center;
padding-top: 15px;
}
.navigation {
float:left;
margin-top: 10px;
}
.navigationbar {
background: url(images/royalflush/misc/navigationbar.gif) repeat-x;
height: 32px;
}
.navitem {
background: url(images/royalflush/misc/navitem.gif) no-repeat top left;
height: 32px;
line-height: 32px;
padding-right: 8px;
padding-left: 25px;
}
.navitem a:link, .navitem a:hover, .navitem a:active, .navitem a:visited {
color: #37679e;
font-size: 13px;
font-family: arial;
text-decoration: none;
}
.navfirst {
background: url(images/royalflush/misc/navfirst.gif) no-repeat top left;
height: 32px;
line-height: 32px;
padding-left: 12px;
padding-right: 8px;
}
.navfirst a:link, .navfirst a:hover, .navfirst a:active, .navfirst a:visited {
color: #37679e;
font-size: 13px;
font-family: arial;
text-decoration: none;
}
.navlast {
font-size: 1px;
width: 8px;
background: url(images/royalflush/misc/navlast.gif) no-repeat;
}
.qsandlogin {
float:left;
margin-left: 12px;
margin-top: 9px;
width: 281px;
height: 70px;
background: url(images/royalflush/misc/qsandlogin.gif) no-repeat;
padding-left: 14px;
padding-top: 8px;
font-family: arial;
font-size: 11px;
color: #547fb2;
}
.qsandlogin a:link, .qsandlogin a:hover, .qsandlogin a:active, .qsandlogin a:visited {
font-family: arial;
font-size: 11px;
color: #a7bfdb;
text-decoration: none;
margin-left: 3px;
}
.qsandlogin h4 {
padding: 0px;
margin: 0px;
font-family: arial;
font-size: 14px;
font-weight: bold;
color: #fff;
margin-left: 3px;
}
.smallfont_panel {
margin-left: 3px;
color: #fff;
font-size: 11px;
font-family: arial;
}
.smallfont_panel a:link, .smallfont_panel a:hover, .smallfont_panel a:visited, .smallfont_panel a:active {
margin-left: 0;
}
.searchfield {
float:left;
margin-bottom: 3px;
margin-top: 4px;
}
.logintab {
margin-bottom: 3px;
margin-top: 4px;
}
.search-quick {
font-size: 11px;
font-family: arial;
color: #666666;
width: 230px;
height: 20px;
padding: 0px;
border: 0;
padding-top: 3px;
padding-left: 6px;
background: url(images/royalflush/misc/searchbg.gif) no-repeat;
}
.sbsearch-quick {
font-size: 11px;
font-family: arial;
color: #666666;
width: 113px;
height: 18px;
padding: 0px;
border: 0;
padding-top: 3px;
padding-left: 9px;
background: url(images/royalflush/misc/sbsearchbg.gif) no-repeat;
}
.sbsearchfield {
float:left;
}
.bginput2 {
background: url(images/royalflush/misc/loginbg.gif) no-repeat;
font-family: arial;
font-size: 11px;
color: #a8b5c5;
padding-left: 7px;
padding-top: 4px;
border: 0;
width: 109px;
height: 19px;
}
.lbutton {
background: url(images/royalflush/misc/lbutton.gif) no-repeat;
height: 21px;
width: 21px;
border: 0;
}
.bc {
background: #fff url(images/royalflush/misc/bcbg.gif) no-repeat top left;
padding-left: 31px;
height: 19px;
line-height: 19px;
font-family: arial;
font-size: 11px;
color: #8095ae;
margin-bottom: 12px;
margin-top: 6px;
}
.bc a:link, .bc a:hover, .bc a:visited, .bc a:active {
font-family: arial;
font-size: 11px;
color: #8095ae;
text-decoration: none;
}
/* Navbar CSS */
.orangebar {
font-size: 1px;
background: #ff7e00;
height: 3px;
}
.regbar {
background: url(images/royalflush/misc/regbar.gif) repeat-x;
margin-top: 8px;
margin-bottom: 8px;
}
.regbarleft {
background: url(images/royalflush/misc/regbarleft.gif) no-repeat;
height: 66px;
}
.regbarright {
background: url(images/royalflush/misc/regbarright.gif) no-repeat top right;
}
.welcome {
padding-left: 27px;
padding-top: 27px;
float:left;
}
.register {
float:right;
padding-top: 23px;
padding-right: 19px;
}
/* Footer CSS */
.footer {
background: url(images/royalflush/misc/footerbg.gif) repeat-x bottom left;
height: 168px;
}
.footer_left {
background: url(images/royalflush/misc/footer_left.gif) no-repeat bottom left;
height: 59px;
padding: 0 10px;
}
.footer_right {
background: url(images/royalflush/misc/footer_right.gif) no-repeat bottom right;
}
.footer_bg {
background: url(images/royalflush/misc/footer_bg.gif) repeat-x bottom left;
}
.vbsby {
color: #2f588a;
text-align: center;
margin-top: 17px;
}
.vbsby a:link, .vbsby a:hover, .vbsby a:active, .vbsby a:visited {
color: #ff7f00;
text-decoration: none;
}
.tcat_left {
background: url(images/royalflush/misc/tcat_left.gif) no-repeat top left;
height: 42px;
padding-left: 16px;
line-height: 42px;
font-family: arial;
font-size: 13px;
color: #fff;
font-weight: bold;
}
.vbmenu_control2 {
height: 42px;
padding-right: 6px;
line-height: 42px;
font-family: arial;
font-size: 13px;
color: #fff;
font-weight: bold;
}
.vbmenu_control2 a:link, .vbmenu_control2 a:hover, .vbmenu_control2 a:active, .vbmenu_control2 a:visited {
height: 42px;
padding-left: 16px;
line-height: 42px;
font-family: arial;
font-size: 13px;
color: #fff;
font-weight: bold;
text-decoration: none;
}
.tcat_left a:link, .tcat_left a:hover, .tcat_left a:active, .tcat_left a:visited {
font-family: arial;
font-size: 13px;
color: #fff;
text-decoration: none;
font-weight: bold;
}
.tcat_bg {
background: url(images/royalflush/misc/tcat_bg.gif) repeat-x;
}
.tcat_right {
background: url(images/royalflush/misc/tcat_right.gif) no-repeat top right;
}
/* Sidebar CSS */
.sidebar {
width: 161px;
padding-right: 12px;
}
.sidebar h3 {
font-family: arial;
font-size: 12px;
color: #2f588a;
font-weight: bold;
padding-left: 14px;
background: url(images/royalflush/misc/sidebar_h3bg.gif) no-repeat;
width: 147px;
height: 30px;
line-height: 30px;
padding-right: 0px;
padding-bottom: 0px;
padding-top: 0px;
margin: 0px;
}
.sidebar_box {
padding-top: 16px;
border-bottom: #dedede 1px solid;
padding-bottom: 18px;
width: 151px;
margin: 0 auto;
text-align: left;
margin-bottom: 12px;
padding-left: 3px;
}
.latestposts_box {
padding-top: 11px;
width: 151px;
margin: 0 auto;
text-align: left;
margin-bottom: 12px;
padding-left: 3px;
}
.advsearch {
color: #8b8b8b;
text-decoration: none;
margin-left: 6px;
}
.clear_search {
margin-top: 12px;
font-size: 1px;
clear:both;
}
/* Postbit CSS */
.alt1pbt {
background: #fff;
font-family: tahoma;
font-size: 12px;
color: #545e69;
border-top: #f2f2f2 1px solid;
border-right: #f0f3f6 1px solid;
}
.alt1pbb {
background: #fff;
border-right: #f0f3f6 1px solid;
}
.alt2pbb {
background: #fbfcfd;
border-left: #f0f3f6 1px solid;
}
.alt2pbt {
background: #fbfcfd;
border-top: #eaebed 1px solid;
border-left: #f0f3f6 1px solid;
}
.avatarpb {
text-align:center;
height: 98px;
width: 98px;
vertical-align: middle;
background: url(images/royalflush/misc/avatarbg.gif) top center no-repeat;
line-height: 98px;
}
.pbbar {
margin-bottom: 2px;
font-family: arial;
font-size: 12px;
color: #434d58;
background: url(images/royalflush/misc/pbbar.gif) no-repeat;
text-align: center;
width: 146px;
height: 18px;
padding-top: 6px;
}
.alltimescopyright {
color: #8696aa;
font-family: arial;
font-size: 11px;
line-height: 1.7;
}
.copyright {
color: #8696aa;
}
.statsbox {
padding-left: 10px;
font-size: 11px;
font-family: arial;
color: #8b8b8b;
}
.statsbox strong {
color: #ff8a00;
}
.latestthreadbit {
font-family: arial;
font-size: 11px;
color: #8b8b8b;
border-bottom: #dedede 1px solid;
padding-left: 9px;
margin-bottom: 10px;
padding-bottom: 8px;
}
.latestthreadbit a:link, .latestthreadbit a:hover, .latestthreadbit a:active, .latestthreadbit a:visited {
font-family: arial;
font-size: 11px;
color: #8b8b8b;
text-decoration: none;
}
.threadtitle a:link, .threadtitle a:hover, .threadtitle a:visited, .threadtitle a:visited {
font-family: tahoma;
font-size: 12px;
color: #173d6b;
}
|
|
#7
|
||||
|
||||
|
Try this... Even though it was already explained...
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|