Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #31  
Old 03-07-2002, 05:03 AM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I have the popup working perfectly. It is adding the user to the database and everything. However, when you fill out the fields and click submit nothing happens. How do I make the page forward you to a thank you screen or back to the forums so they know they have registered successfully? Here is my file.php file

<html>
<title>Welcome to sportcompactracing.com - register today</title>
<head>
<STYLE type=text/css>
.nf { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt }
.sf { font-family: verdana,arial,helvetica,sans-serif; font-size: 8pt; color: #ffffff; }
</style>
</head>
<body bgcolor="#000000">

<!-- content table -->
<font class="sf">Registration is required if you want to post messages on sportcompactracing.com</font>
<table bgcolor="#000000" width="100%" cellpadding="10" cellspacing="0" border="0"><tr><td>
<form action="http://www.sportcompactracing.com/vbulletin/register.php" method="post">
<input type="hidden" name="s" value="">

<table border="0" cellspacing="1" cellpadding="4" width="100%" bgcolor="#555576">
<!-- *** -->
<tr>
<td bgcolor="#0000ee" colspan="2"><font face="verdana" size="2" color="#ffffff" class="thtcolor"><b>Registration</b></font>
<font face="verdana" size="1" color="#ffffff" class="thtcolor">(*) fields are required. Please note that passwords are case sensitive.</font></td>
</tr>
<!-- *** -->
<tr>
<td bgcolor="#AAAAE6"><font class="nf"><b>*User Name:</b></font></td>
<td bgcolor="#AAAAE6"><font class="nf"><input type="text" name="username" size="25" maxlength="15"></font></td>
</tr>
<tr>
<td bgcolor="#C3C3EB"><font class="nf"><b>*Password:</b></font></td>
<td bgcolor="#C3C3EB"><font class="nf"><input type="password" name="password" size="25" maxlength="15"></font></td>
</tr>
<tr>
<td bgcolor="#C3C3EB"><font class="nf"><b>*Enter Password Again:</b></font></td>
<td bgcolor="#C3C3EB"><input type="password" name="passwordconfirm" size="25" maxlength="15"></td>
</tr>
<tr>
<td bgcolor="#AAAAE6"><font class="nf"><b>*Email:</b></font><br>
<font color="#000000" face="verdana" size="1">Please enter a <b>valid</b> email address.</font></td>
<td bgcolor="#AAAAE6"><font class="nf"><input type="text" name="email" size="25" maxlength="50"></font></td>
</tr>
<tr>
<td bgcolor="#AAAAE6"><font class="nf"><b>*Enter Email Again:</b></font></td>
<td bgcolor="#AAAAE6"><font class="nf"><input type="text" name="emailconfirm" size="25" maxlength="50"></font></td>
</tr>

<tr><td bgcolor="#113274">

</td><td bgcolor="#113274"><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.sportcompactracing.com/vbulletin/thankyou.html">
<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>
<font class="sf">By pressing the registration button above you declare that you have read and agree with the <a href="/" target="blank">Community Guidelines</a></font>
<!-- End content area table -->
</td></tr></table>
</body>
</html>
Reply With Quote
  #32  
Old 03-07-2002, 05:25 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you could also try my vbPopup hack and insert in the template there only the username password and email. keep the rest of inputs hidden. alot faster and i would say more elegant? is up to you to judge.

regards,
nakkid.
Reply With Quote
  #33  
Old 05-07-2002, 03:08 AM
thehobbyforum's Avatar
thehobbyforum thehobbyforum is offline
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok as an extension of this I want to make the location a required feild - if I do this then the quick regstration from above will no longer work - what do I need to add to it to make it also submit the location??
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:25 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.07373 seconds
  • Memory Usage 2,204KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete