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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2002, 10:12 PM
imported_sNiPeR imported_sNiPeR is offline
 
Join Date: Sep 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Register Template Help

Hello php gurus

A litle while ago, I changed my register template, so it only contains:
user name
password
confirm password
email.

I have since found that all the other settings like:
recieve pm etc...are automitacally set to NO by default, when a a user do register.
how can I change this, while the still only see the above fields?
so it look like this:
Enable Private Messaging? YES
Allow Bulletin Board Administrators and Moderators To Send You Email Notices? YES
Show user's signatures in their posts? YES
Show user's avatar in their posts? YES
Show image attachments and [img] code in Posts? YES
Use vBCode quick links on your message input screens? YES

here is how my current template look like:

PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
html>
<
head>
<
title>$bbtitle Registration</title>
$headinclude
</head>
<
body>

$header

<br>

<
table cellpadding="2" cellspacing="0" border="0" width="100%"  align="center">
<
tr>
    <
td><normalfont>In order to be able to post messages on the $bbtitle forumsyou must first register.</normalfont></td>
</
tr>
</
table>

<
br>

<
form action="register.php" method="post">
<
input type="hidden" name="s" value="$session[sessionhash]">

<
table cellpadding="0" cellspacing="0" border="0" bgcolor="#6597D9"  width="100%" align="center"><tr><td>
<
table cellpadding="4" cellspacing="1" border="0"  width="100%">
<!-- *** -->
<
tr>
    <
td bgcolor=""#C1D7F4" background="images/head_bg.gif"" colspan="2"><normalfont color="#000000" class="thtcolor"><b>Registration: Required Information</b></normalfont>
    
<smallfont color="#000000" class="thtcolor">All fields are required.  Please note that passwords are case sensitive.</smallfont></td>
</
tr>
<!-- *** -->
<
tr>
    <
td bgcolor="#F9F9F9"><normalfont><b>User Name:</b></normalfont></td>
    <
td bgcolor="#F9F9F9"><normalfont><input type="text" class="bginput" name="username" size="25" maxlength="$maxuserlength"></normalfont></td>
</
tr>
<
tr>
    <
td bgcolor="#FFFFFF"><normalfont><b>Password:</b></normalfont></td>
    <
td bgcolor="#FFFFFF"><normalfont><input type="password" class="bginput" name="password" size="25" maxlength="15"></normalfont></td>
</
tr>
<
tr>
    <
td bgcolor="#FFFFFF"><normalfont><b>Enter Password Again:</b></normalfont></td>
    <
td bgcolor="#FFFFFF"><input type="password" class="bginput" name="passwordconfirm" size="25" maxlength="15"></td>
</
tr>
<
tr>
    <
td bgcolor="#F9F9F9"><normalfont><b>Email:</b></normalfont><br>
    <
smallfont>Please enter a valid email addressYou can choose to hide it below in the preferences section.</smallfont></td>
    <
td bgcolor="#F9F9F9"><normalfont><input type="text" class="bginput" name="email" size="25" maxlength="50"></normalfont></td>
</
tr>
<
tr>
    <
td bgcolor="#F9F9F9"><normalfont><b>Enter Email Again:</b></normalfont></td>
    <
td bgcolor="#F9F9F9"><normalfont><input type="text" class="bginput" name="emailconfirm" size="25" maxlength="50"></normalfont></td>
</
tr>

<
input type="hidden" name="showsignatures" value="yes">
<
input type="hidden" name="showavatars" value="yes">
<
input type="hidden" name="showimages" value="yes">
</
table>
</
td></tr></table>

<
br>

<
table cellpadding="2" cellspacing="0" border="0" width="100%"  align="center">
<
tr>
    <
td align="center"><normalfont>
    <
input type="hidden" name="url" value="$url">
    <
input type="hidden" name="action" value="addmember">
    <
input type="submit" class="bginput" name="Submit" value="Submit">
    <
input type="reset" class="bginput" name="Reset" value="Reset">
    </
normalfont></td>
</
tr>
</
table>

</
form>

$footer

<script language="Javascript">
<!--
  if (
document.images.avatarpic != null) {
    
document.images.avatarpic.src document.forms[0].avatarsel[document.forms[0].avatarsel.selectedIndex].value;
  }
// -->
</script>

</
body>
</
html
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:37 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.03375 seconds
  • Memory Usage 2,215KB
  • Queries Executed 13 (?)
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)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)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
  • (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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete