Announcement

Collapse
No announcement yet.

How do I Protect Information

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I Protect Information

    How do I Protect the Required Information after a new user has registered so that they will not maliciously change their personnal information?

  • #2
    so... once a user registers, you don't want them to change the information that the entered during the registration process AFTER they registered?

    If that's the case, you would need a hack for this... check out http://vbulletin.org to see if one exists or place a request

    Comment


    • #3
      you can edit your modifyoptions and modifyprofile templates so they can't change the information in their usercp.

      Comment


      • #4
        I looked at that but got confused and did not want to mess anything up.

        I added some required fields (Personnal Info) that each user has to enter to gain access to the forums BUT after e-mail verification I do not want them to be able to change what they entered on the required fields.

        We want to be able to have accurate information in our database when we give the individuals authorization to BETA test the games being developed.

        Comment


        • #5
          you can edit the profile field so it is required on sign up - Admin CP -> User Profile Fields -> Modify -> [edit] - then edit your modifyprofile template. remove the $customfields_required variable from that template.

          that should produce the desired result. let me know.

          note: as a side effect, this will make it so users can't edit any required custom fields in their user cp.

          Comment


          • #6
            ok...thx...just a thought before I do this...

            What about those users that have already registered before I added the other required fields...will they be able to update/add the new required information?

            Comment


            • #7
              no

              you might request a hack on www.vbulletin.org that makes it so the field is editable if there is nothing in it, but once they enter a value and hit submit they will not be able to edit it again.

              Comment


              • #8
                Ok..thank you so much for your help...good to know.

                Comment


                • #9
                  Ok...it worked....BUT.....

                  Now people can't even edit their signature....

                  Here is the original code....
                  {htmldoctype}
                  <html>
                  <head>
                  <title>$bbtitle - Update profile</title>
                  $headinclude
                  </head>
                  <body>
                  $header

                  <!-- breadcrumb -->
                  <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
                  <tr>
                  <td width="100%"><img src="{imagesfolder}/vb_bullet.gif" align="middle" alt="vBulletin">
                  <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> &gt;
                  <a href="usercp.php?s=$session[sessionhash]">User Control Panel For $bbuserinfo[username]</a> &gt;
                  Edit Profile</b></normalfont></td>
                  </tr>
                  </table>
                  <!-- /breadcrumb -->

                  <br>
                  $cpnav
                  <br>

                  <center>$coppatext</center>

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

                  <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
                  <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
                  <tr>
                  <td bgcolor="{categorybackcolor}" colspan="2"><normalfont color="{categoryfontcolor}"><b>Edit Profile - $bbuserinfo[username]</b></normalfont></td>
                  </tr>
                  <tr>
                  <td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Registration: Required Information</b></normalfont>
                  <smallfont color="{tableheadtextcolor}" class="thtcolor">All fields are required.</smallfont></td>
                  </tr>
                  $parentemail
                  <tr>
                  <td bgcolor="{secondaltcolor}"><normalfont><b>Email Address:</b></normalfont></td>
                  <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="email" value="$bbuserinfo[email]" size="30" maxlength="150"></normalfont></td>
                  </tr>
                  <tr>
                  <td bgcolor="{secondaltcolor}"><normalfont><b>Confirm Email Address:</b></normalfont></td>
                  <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="emailconfirm" value="$bbuserinfo[email]" size="30" maxlength="150"></normalfont></td>
                  </tr>
                  <tr>
                  <td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Optional Information</b></normalfont> <smallfont color="{tableheadtextcolor}" class=thtcolor>All information will be viewable by other $bbtitle members.</smallfont></td>
                  </tr>
                  <tr>
                  <td bgcolor="{secondaltcolor}"><b><normalfont>Homepage:</normalfont></b></td>
                  <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="homepage" value="$bbuserinfo[homepage]" size="30" maxlength="200"></normalfont></td>
                  </tr>
                  <tr>
                  <td bgcolor="{firstaltcolor}"><b><normalfont>ICQ Number:</normalfont></b></td>
                  <td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="icq" value="$bbuserinfo[icq]" size="30" maxlength="30"></normalfont></td>
                  </tr>
                  <tr bgcolor="{secondaltcolor}">
                  <td><b><normalfont>AOL Instant Messenger Handle:</normalfont></b></td>
                  <td><normalfont><input type="text" class="bginput" name="aim" value="$bbuserinfo[aim]" size="30" maxlength="30"></normalfont></td>
                  </tr>
                  <tr>
                  <td bgcolor="{firstaltcolor}"><b><normalfont>Yahoo Messenger Handle:</normalfont></b></td>
                  <td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="30" maxlength="30"></normalfont></td>
                  </tr>
                  <tr>
                  <td bgcolor="{secondaltcolor}" valign="top"><b><normalfont>Signature:</normalfont></b><br>
                  <smallfont>Optional signature you may use to appear at bottom of your posts.</smallfont>
                  <p><smallfont>HTML code is $htmlonoff<br>
                  <a href="misc.php?s=$session[sessionhash]&action=bbcode">vB Code</A> is $bbcodeonoff<br>
                  [img] code is $imgcodeonoff<br>
                  <a href="misc.php?s=$session[sessionhash]&action=showsmilies">Smilies</a> are $smiliesonoff
                  </smallfont></p></td>
                  <td bgcolor="{secondaltcolor}"><textarea name="signature" rows="6" cols="40">$bbuserinfo[signature]</textarea></td>
                  </tr>
                  $birthday
                  $customtext
                  <tr>
                  <td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Additional Information</b></normalfont></td>
                  </tr>
                  $customfields
                  </table>
                  </td></tr></table>

                  <br>

                  <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
                  <tr>
                  <td align="center"><normalfont>
                  <input type="hidden" name="action" value="updateprofile">
                  <input type="submit" class="bginput" name="Submit" value="Submit Modifications" accesskey="s">
                  <input type="reset" class="bginput" name="Reset" value="Reset Fields">
                  </normalfont></td>
                  </tr>
                  </table>

                  </form>

                  $footer

                  </body>
                  </html>
                  Now here is what I edited to:
                  {htmldoctype}
                  <html>
                  <head>
                  <title>$bbtitle - Update profile</title>
                  $headinclude
                  </head>
                  <body>
                  $header

                  <!-- breadcrumb -->
                  <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
                  <tr>
                  <td width="100%"><img src="{imagesfolder}/vb_bullet.gif" align="middle" alt="vBulletin">
                  <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> &gt;
                  <a href="usercp.php?s=$session[sessionhash]">User Control Panel For $bbuserinfo[username]</a> &gt;
                  Edit Profile</b></normalfont></td>
                  </tr>
                  </table>
                  <!-- /breadcrumb -->

                  <br>
                  $cpnav
                  <br>

                  <center>$coppatext</center>

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

                  <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
                  <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
                  <tr>
                  <td bgcolor="{categorybackcolor}" colspan="2"><normalfont color="{categoryfontcolor}"><b>Edit Profile - $bbuserinfo[username]</b></normalfont></td>
                  </tr>

                  <tr>
                  <td bgcolor="{secondaltcolor}"><b><normalfont>Homepage:</normalfont></b></td>
                  <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="homepage" value="$bbuserinfo[homepage]" size="30" maxlength="200"></normalfont></td>
                  </tr>
                  <tr>
                  <td bgcolor="{firstaltcolor}"><b><normalfont>ICQ Number:</normalfont></b></td>
                  <td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="icq" value="$bbuserinfo[icq]" size="30" maxlength="30"></normalfont></td>
                  </tr>
                  <tr bgcolor="{secondaltcolor}">
                  <td><b><normalfont>AOL Instant Messenger Handle:</normalfont></b></td>
                  <td><normalfont><input type="text" class="bginput" name="aim" value="$bbuserinfo[aim]" size="30" maxlength="30"></normalfont></td>
                  </tr>
                  <tr>
                  <td bgcolor="{firstaltcolor}"><b><normalfont>Yahoo Messenger Handle:</normalfont></b></td>
                  <td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="30" maxlength="30"></normalfont></td>
                  </tr>
                  <tr>
                  <td bgcolor="{secondaltcolor}" valign="top"><b><normalfont>Signature:</normalfont></b><br>
                  <smallfont>Optional signature you may use to appear at bottom of your posts.</smallfont>
                  <p><smallfont>HTML code is $htmlonoff<br>
                  <a href="misc.php?s=$session[sessionhash]&action=bbcode">vB Code</A> is $bbcodeonoff<br>
                  [img] code is $imgcodeonoff<br>
                  <a href="misc.php?s=$session[sessionhash]&action=showsmilies">Smilies</a> are $smiliesonoff
                  </smallfont></p></td>
                  <td bgcolor="{secondaltcolor}"><textarea name="signature" rows="6" cols="40">$bbuserinfo[signature]</textarea></td>
                  </tr>
                  $birthday
                  </table>
                  </td></tr></table>

                  <br>

                  <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
                  <tr>
                  <td align="center"><normalfont>
                  <input type="hidden" name="action" value="updateprofile">
                  <input type="submit" class="bginput" name="Submit" value="Submit Modifications" accesskey="s">
                  <input type="reset" class="bginput" name="Reset" value="Reset Fields">
                  </normalfont></td>
                  </tr>
                  </table>

                  </form>

                  $footer

                  </body>
                  </html>
                  What am I doing wrong or is that the result of taking out that part of the code?

                  Comment


                  • #10
                    try reverting the template to default and removing each option one by one. when i used your code in my modifyprofile template i get an error saying my e-mail address is required. you have removed the e-mail address fields.

                    Comment


                    • #11
                      yes, I took out the ability of the user to change their e-mail field after registration so that they do not place a bogus e-mail addy after registration.

                      Comment


                      • #12
                        Originally posted by Rhod
                        yes, I took out the ability of the user to change their e-mail field after registration so that they do not place a bogus e-mail addy after registration.
                        If you have email verification turned on, they will just go back into the 'User's awaiting' group if they change their email address.
                        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                        Change CKEditor Colors to Match Style (for 4.1.4 and above)

                        Steve Machol Photography


                        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                        Comment


                        • #13
                          ok...I reverted back to the original code but took out:

                          $customtext

                          and

                          $customfields

                          So that my users can not change their registered custom fields...

                          Now the problem is that people can NOT even change their signatures but they CAN update their avatars.

                          I am puzzled...please help....

                          Comment

                          Loading...
                          Working...
                          X