View Single Post
  #54  
Old 05-12-2002, 06:03 PM
thehobbyforum's Avatar
thehobbyforum thehobbyforum is offline
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by akaler
Maybe there should be a place to login on your form.
Ok I added a login box at the bottom - I had alot of members complaining about it so now you can either login or register. Here is the updated vbpopup template:

PHP Code:
<script language="JavaScript" src="vbpopup.js"></script>
<
div id="vbplocation">
<
table border="5" bordercolor="#0198C2" width="450" height="300" bgcolor="#0198C2" 5class="vbpmainframe">
<
tr>
<
td>
<
table width="100%" height="100%" bgcolor="#21C4EA" align="center" class="vbpcontentframe">
<
tr>
<
td align="center">
<
font size="4">Welcome To The Hobby Forum!</font>
</
td>
</
tr>

<
tr>
<
td align="center"><font size="2">
If 
this is your first time here then please take the time to register.  Registration is <b>FREE</b> and afterwards you can take advantage of all the great features this site has to offer!  If you have any questions please refer to the <a href="http://www.thehobbyforum.com/modules.php?op=modload&name=FAQ&file=index&s=">FAQ</asection.</font>
</
td>
</
tr>
<
tr><td><HR WIDTH="90%" ALIGN="center" color="#0198C2"></td></tr>
<
tr>
<
td align="center"><font size="1.5" color="purple">
REGISTER NOW FOR YOUR CHANCE TO WIN A MIG-15 DUCTED FAN JET KIT!
</
font>
</
td>
</
tr>
<
tr><td><HR WIDTH="90%" ALIGN="center" color="#0198C2"></td></tr>
<
tr><td>
<
form action="http://www.thehobbyforum.com/forum/register.php" method="post">
<
input type="hidden" name="s" value="">

<
table border="0" cellspacing="1" cellpadding="4" width="100%" bgcolor="#21C4EA">
<!-- *** -->
<
div align="center">
<
tr>
    <
td bgcolor="#21C4EA" colspan="2"><font face="verdana" size="2" color="000000"><b><center>Registration is FREE!</center></b></font>
    </
td>
</
tr>
</
div>
<!-- *** -->
<
tr>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><b>User Name:</b></font></td>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><input type="text" name="username" size="25" maxlength="15"></font></td>
</
tr>
<
tr>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><b>Password:</b></font></td>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><input type="password" name="password" size="25" maxlength="15"></font></td>
</
tr>
<
tr>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><b>Enter Password Again:</b></font></td>
    <
td bgcolor="#21C4EA" align="center"><input type="password" name="passwordconfirm" size="25" maxlength="15"></td>
</
tr>
<
tr>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><b>Email:</b></font>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><input type="text" name="email" size="25" maxlength="50"></font></td>
</
tr>
<
tr>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><b>Enter Email Again:</b></font></td>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><input type="text" name="emailconfirm" size="25" maxlength="50"></font></td>
</
tr>



<
tr><td bgcolor="#21C4EA" align="center">
 
</
td><td bgcolor="#21C4EA" align="center"><input type="hidden" name="allowmail" value="yes">
<
input type="hidden" name="invisible" value="no">
<
input type="hidden" name="showemail" value="yes">
<
input type="hidden" name="cookieuser" value="yes">
<
input type="hidden" name="nosessionhash" value="yes">
<
input type="hidden" name="emailonpm" value="yes">
<
input type="hidden" name="prunedays" value="-1">
<
input type="hidden" name="umaxposts" value="-1">
<
input type="hidden" name="startofweek" value="1">
<
input type="hidden" name="timezoneoffset" value="-5">
<
input type="hidden" name="emailnotification" value="yes">
<
input type="hidden" name="showsignatures" value="yes">
<
input type="hidden" name="showavatars" value="yes">
<
input type="hidden" name="showimages" value="yes">
<
input type="hidden" name="vbcode" value="yes">
<
input type="hidden" name="pmpopup" value="yes">
<
input type="hidden" name="receivepm" value="yes">
<
input type="hidden" name="url" value="http://www.thehobbyforum.com/">
<
input type="hidden" name="action" value="addmember">
<
input type="submit" name="Submit" value="Submit">
<
input type="reset" name="Reset" value="Reset"></td>
</
tr></font>
</
td></tr></table>
</
form>
<
form action="member.php" method="post">
<
div align="center"><b><smallfont>Members Login Here:</smallfont></b></div></td></tr><tr align="center">
<
td nowrap><input type="hidden" name="s" value="$session[sessionhash]">
    <
input type="hidden" name="action" value="login">
    <
b><smallfont>User: </b></smallfont><input type="text" class="bginput" name="username" size="7">
    <
b><smallfont>Pass: </b></smallfont><input type="password" class="bginput" name="password" size="7">
    <
input type="submit" class="bginput" value="Go"></td>
</
tr>
</
form>
<!-- 
End content area table -->
</
td></tr>
</
table>
</
td>
</
tr>
</
table>
</
div
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01291 seconds
  • Memory Usage 1,896KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete