Author Topic: New User Unable To Register  (Read 4154 times)

0 Members and 1 Guest are viewing this topic.

Offline meaganonline

  • Pre-Newbie
  • Posts: 3
    • View Profile
New User Unable To Register
« on: May 11, 2007, 04:20:01 PM »
Ok, I've used the search engine to try to find a solution to my problem but I am completely clueless.  If someone can give me a link to where I can find the solution, I would greatly appreciate it.  My problem is that every time a new user tries to register to the gallery, it'll go to the "terms of registration" page, and from there it'll go to the search engine.  Why is that?  Sorry if someone has already posted this question.  Once again, I got clueless when I used the search for the topic in this forum.  The version of my image gallery is 1.7.4 and the link is http://meaganonline.net/photocenter/index.php.

Offline meaganonline

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: New User Unable To Register
« Reply #1 on: May 14, 2007, 10:42:28 AM »
Well I don't know if these will be of big help since I haven't gotten an answer yet, but hopefully they are:

This is my register.html
Code: [Select]
{header}
<table width="640" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
      <table width="640" border="0" cellspacing="0" cellpadding="0" class="tablehead">
        <tr>
          <td colspan="4"><img src="{template_url}/images/header_top.gif" width="640" height="6" alt="" /></td>
        </tr>
        <tr>
          <td width="6"><img src="{template_url}/images/header_left.gif" width="6" height="60" alt="" /></td>
          <td width="405"><img src="{template_url}/images/header_logo.gif" width="405" height="60" alt="" /></td>
          <td width="225" align="right">
            <form method="post" action="{url_search}">
              <table border="0" cellspacing="0" cellpadding="1">
                <tr>
                  <td>
                    <input type="text" name="search_keywords" size="15" class="searchinput" />
                  </td>
                  <td>
                    <input type="submit" value="{lang_search}" class="button" name="submit" />
                  </td>
                </tr>
                <tr valign="top">
                  <td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
                </tr>
              </table>
            </form>
          </td>
          <td align="right" width="6"><img src="{template_url}/images/header_right.gif" width="6" height="60" alt="" /></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td class="bordercolor">
      <table width="640" border="0" cellspacing="1" cellpadding="0">
        <tr>
          <td class="tablebgcolor">
            <table width="638" border="0" cellspacing="1" cellpadding="0">
              <tr>
                <td class="navbar" height="23">
                  <table width="636" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>
    <img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}</td>
                      <td align="right">
    <a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;
<a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;
  </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="638" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="150" class="row2" valign="top">
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">{user_box}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
  {if random_image}
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">
    <br />
                        {random_image}
<br />
                        <br />
                      </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
  {endif random_image}
                </td>
                <td width="1" class="bordercolor" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                <td width="18" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="18" height="18" /></td>
                <td width="450" valign="top"><br />
                  <b class="title">{lang_register}</b>
                  <hr size="1" />
                  {if msg}<b>{msg}</b><br /><br />{endif msg}
  {content}
                  <p>&nbsp;</p>
</td>
                <td width="19" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="19" height="19" /></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width="640" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
        <tr>
          <td width="6"><img src="{template_url}/images/footer_left.gif" width="6" height="19" alt="" /></td>
          <td width="405">&nbsp;</td>
          <td width="225">&nbsp;</td>
          <td width="6"><img src="{template_url}/images/footer_right.gif" width="6" height="19" alt="" /></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
{footer}


Here's my register_form.html
Code: [Select]
{lang_register_msg}
<form method="POST" action="{url_register}">
  <table width="100%" border="0" cellspacing="0" cellpadding="1">
    <tr>
      <td valign="top" class="head1">
        <table width="100%" border="0" cellpadding="4" cellspacing="0">
          <tr>
            <td colspan="2" valign="top" class="head1">{lang_register}</td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_user_name}</b></td>
            <td class="row1">
              <input type="text" name="user_name" size="30" value="{user_name}" class="input" />
            </td>
          </tr>
          <tr>
            <td class="row2"><b>{lang_password}</b></td>
            <td class="row2">
              <input type="password" name="user_password" size="30" class="input" />
            </td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_email}</b></td>
            <td class="row1">
              <input type="text" name="user_email" size="30" class="input" value="{user_email}" />
            </td>
          </tr>
          {if captcha_registration}
          <tr>
            <td class="row1" valign="top"><b>{lang_captcha}</b></td>
            <td class="row1">
  <a href="javascript:new_captcha_image();"><img src="{url_captcha_image}" border="0" id="captcha_image" /></a> <br />
              <input type="text" name="captcha" size="30" value="" class="commentinput" id="captcha_input" />
              <br />
              {lang_captcha_desc}
</td>
          </tr>
          {endif captcha_registration}
        </table>
      </td>
    </tr>
  </table>
  <input type="hidden" name="action" value="register" />
  <p align="center">
    <input type="submit" value="{lang_submit}" class="button" />
    <input type="reset" value="{lang_reset}" class="button" />
  </p>
</form>


And here's my register_signup.html
Code: [Select]
<table width="100%" border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td valign="top" class="head1">
      <table width="100%" border="0" cellpadding="4" cellspacing="0">
        <tr>
          <td valign="top" class="head1">{lang_agreement}</td>
        </tr>
        <tr>
          <td class="row2">{lang_agreement_terms}</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<br />
<table border="0" cellspacing="1" cellpadding="1" align="center">
  <tr>
    <td>
      <form method="post" action="{url_register}">
    <input type="hidden" name="action" value="register" />
        <input type="submit" value="{lang_agree}" class="button" />
      </form>
</td>
    <td>
      <form method="post" action="{url_home}">
        <input type="submit" value="{lang_agree_not}" class="button" />
      </form>
    </td>
  </tr>
</table>


Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: New User Unable To Register
« Reply #2 on: May 14, 2007, 04:14:12 PM »
Hi,

search form is not closed  :wink:

in register.html:
search:
Code: [Select]
<td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>replace with:
Code: [Select]
<td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td></form>
Look also in all other main templates (home.html, ....) for this mistake.


cu
Kurt

Offline meaganonline

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: New User Unable To Register
« Reply #3 on: May 14, 2007, 07:10:42 PM »
THANKS SOOOOOOOOOOO MUCH  KURT!
That really worked.  I really appreciate it a lot because I was very clueless.  Thanks again!
How do I mark this problem as solved because in the rules it says I'm suppose to do that.