Gamingforce Interactive Forums
85239 35211

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


VB forum PHP help
Reply
 
Thread Tools
LivingDreams
Chocobo


Member 520

Level 14.17

Mar 2006


Reply With Quote
Old Jul 14, 2006, 05:29 PM #1 of 4
VB forum PHP help

Ok so I made this layout for my forum, the other admin coded it, but were stuck. I designed the layout for the login/logout button and text field will be on the banner.



So were trying to make it where the login field will be up there, and when you login that the message thats circled will show up there.

We don't know how to do that. Any one know how to do it?

I checked the header template but I can't seem to figure out how to do it unless it's another template. Heres the code in the header template:
Code:
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->

<table style="border: 1px solid #262626;" width="740px" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td align="top" background="http://www.gamingforce.com/forums/images/newskin/bg.jpg">

<!-- logo -->
<a name="top"></a>
<table border="0" width="739px" cellpadding="0" cellspacing="0" align="center">
<tr>
	<td align="center"> <img src="$stylevar[titleimage]" alt="$vboptions[bbtitle]" width="741" height="247" border="0" usemap="#Map" /></td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
<map name="Map">
  <area shape="rect" coords="162,217,195,232" href="/index.php">
  <area shape="rect" coords="197,217,242,232" href="register.php">
  <area shape="rect" coords="245,217,306,232" href="/usercp.php">
  <area shape="rect" coords="309,217,368,232" href="/memberlist.php">
  <area shape="rect" coords="371,217,408,232" href="/arcade.php">
  <area shape="rect" coords="410,217,464,232" href="/search.php?do=getnew">
  <area shape="rect" coords="465,217,505,232" href="/search.php">
  <area shape="rect" coords="509,217,536,232" href="/index.php#shop">
  <area shape="rect" coords="539,217,571,232" href="/dchub.php">
</map>
I think this is the login script:
Code:
<!-- login form -->
		<form action="login.php" 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"></script>
		<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
		<tr>
			<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
			<td><input type="text" class="bginput" 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 class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
		</tr>
		<tr>
			<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
			<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" accesskey="p" tabindex="102" /></td>
			<td><input type="submit" class="button" value="$vbphrase[log_in]" 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="do" value="login" />		
		<input type="hidden" name="vb_login_md5password" />
		<input type="hidden" name="vb_login_md5password_utf" />
		</form>
		<!-- / login form -->
			
		</td>
		
	</if>


Jam it back in, in the dark.
Eat glass.
LivingDreams
Chocobo


Member 520

Level 14.17

Mar 2006


Reply With Quote
Old Jul 17, 2006, 04:03 AM #2 of 4
Uhh any help here?

There's nowhere I can't reach.
Eat glass.
Bigblah
Tails is incompetent!


Member 5

Level 45.31

Feb 2006


Reply With Quote
Old Jul 17, 2006, 04:20 AM Local time: Jul 17, 2006, 05:20 PM #3 of 4
Isn't it better for you to ask in the vBulletin.org forums about this?

By the way, it's not in the header template. The code you're looking for is inside the navbar template (under Navigation/Breadcrumb Templates).

This thing is sticky, and I don't like it. I don't appreciate it.
Lukage
High Chocobo


Member 570

Level 40.69

Mar 2006


Reply With Quote
Old Jul 17, 2006, 10:09 AM Local time: Jul 17, 2006, 10:09 AM #4 of 4
That login form is when someone clicks the "Login" button and you have just those two fields for name and pass. Also, why are you hotlinking to gamingforce? Rehost that on imageshack.

I am a dolphin, do you want me on your body?
Reply


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > VB forum PHP help

Forum Jump


All times are GMT -5. The time now is 06:03 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.