Author Topic: Edit Image Fields  (Read 7840 times)

0 Members and 1 Guest are viewing this topic.

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Edit Image Fields
« on: February 05, 2003, 11:43:30 AM »
Hi All

Is there a way when a member request to edit the image the fields in member_editimage.html get automatically filled in of what they currently are for the image because the fields are blank ?

Thanks

Steve

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Edit Image Fields
« Reply #1 on: February 05, 2003, 12:07:34 PM »
The fields should not be blank. Did you edited the template? Maybe you removed some tags. Compare it to the original template file.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Edit Image Fields
« Reply #2 on: February 05, 2003, 01:06:17 PM »
I did edit the template in fact I totally ripped it apart ( literally ) . What tag should be there for this ?

Thanks

Steve

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Edit Image Fields
« Reply #3 on: February 06, 2003, 09:54:57 AM »
Please compare ot to the original template file. Maybe you should download a fresh zip-file...

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Edit Image Fields
« Reply #4 on: February 06, 2003, 11:51:10 AM »
I compared the 2 and cannot find anything. Also the profile page of the user dosnt update: Here is the edit profile code:

----------------------------------------------------------------------------------------

<table width="75" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><img src="../../editprof2.gif" width="545" height="21"></font></b></font></td>
  </tr>
  <tr>
    <td background="../../catmid.gif">
      <form method="post" action="{url_member}">
        <table width="96%" border="0" cellspacing="0" cellpadding="1" align="center">
          <tr>
            <td valign="top" class="head1">
              <table width="100%" border="0" cellpadding="4" cellspacing="0">
                <tr>
                  <td class="row1"><b><font color="#009999" size="2" face="Verdana, Arial, Helvetica, sans-serif">{lang_email}</font></b></td>
                  <td class="row1"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
                    <input type="text" name="user_email"  size="30" value="{user_email}" class="input" />
                    </font></td>
                </tr>
                <tr>
                  <td class="row2"><b><font color="#009999" size="2" face="Verdana, Arial, Helvetica, sans-serif">{lang_email_confirm}</font></b></td>
                  <td class="row2"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
                    <input type="text" name="user_email2"  size="30" value="{user_email2}" class="input" />
                    </font></td>
                </tr>
                <tr>
                  <td class="row1"><b><font color="#009999" size="2" face="Verdana, Arial, Helvetica, sans-serif">{lang_show_email}</font></b></td>
                  <td class="row1"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
                    <input type="radio" name="user_showemail" value="1"{user_showemail_yes} />
                    {lang_yes}&nbsp;&nbsp;&nbsp;
                    <input type="radio" name="user_showemail" value="0"{user_showemail_no} />
                    {lang_no}</font></td>
                </tr>
                <tr>
                  <td class="row2"><b><font color="#009999" size="2" face="Verdana, Arial, Helvetica, sans-serif">{lang_allow_emails}</font></b></td>
                  <td class="row2"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
                    <input type="radio" name="user_allowemails" value="1"{user_allowemails_yes} />
                    {lang_yes}&nbsp;&nbsp;&nbsp;
                    <input type="radio" name="user_allowemails" value="0"{user_allowemails_no} />
                    {lang_no} </font></td>
                </tr>
                <tr>
                  <td class="row1"><b><font color="#009999" size="2" face="Verdana, Arial, Helvetica, sans-serif">{lang_invisible}</font></b></td>
                  <td class="row1"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
                    <input type="radio" name="user_invisible" value="1"{user_invisible_yes} />
                    {lang_yes}&nbsp;&nbsp;&nbsp;
                    <input type="radio" name="user_invisible" value="0"{user_invisible_no} />
                    {lang_no} </font></td>
                </tr>
                <tr>
                  <td colspan="2" class="head1"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><b>{lang_optional_infos}</b></font></td>
                </tr>
                <tr>
                  <td class="row1"><b><font color="#009999" size="2" face="Verdana, Arial, Helvetica, sans-serif">{lang_homepage}</font></b></td>
                  <td class="row1"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
                    <input type="text" name="user_homepage"  size="30" value="{user_homepage}" class="input" />
                    </font></td>
                </tr>
                <tr>
                  <td class="row2"><b><font color="#009999" size="2" face="Verdana, Arial, Helvetica, sans-serif">{lang_icq}</font></b></td>
                  <td class="row2"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
                    <input type="text" name="user_icq"  size="30" value="{user_icq}" class="input" />
                    </font></td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
        <div align="center">
          <input type="hidden" name="action" value="updateprofile" />
        <input type="image" src="../../submit3.gif" value="{lang_save}" name="image" width="80" height="17">
          <br>
          <br>
        </div>
      </form>
     
    </td>
  </tr>
  <tr>
    <td><img src="../../catbot.gif" width="545" height="3"></td>
  </tr>
</table>
     
<table width="545" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td><img src="../../blank.gif" width="545" height="7"></td>
  </tr>
</table>
<table width="545" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="265" height="206" valign="top">
      <table width="308" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="308" valign="top"><font color="#FFFFFF"><b><img src="../../passwordlist.gif" width="312" height="21"></b></font></td>
        </tr>
        <tr>
          <td height="57" background="../../imageslistmid.gif">
            <table width="296" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr>
                <td>
                  <form method="post" action="{url_member}">
                    <table width="100%" border="0" cellpadding="4" cellspacing="0">
                      <tr>
                        <td class="row1" width="53%"><b><font color="#009999">{lang_old_password}</font></b></td>
                        <td class="row1" width="47%">
                          <input type="password" name="current_user_password322" size="20" class="input" />
                        </td>
                      </tr>
                      <tr>
                        <td class="row2" width="53%"><b><font color="#009999">{lang_new_password}</font></b></td>
                        <td class="row2" width="47%">
                          <input type="password" name="user_password422" size="20" class="input" />
                        </td>
                      </tr>
                      <tr>
                        <td class="row1" width="53%"><b><font color="#009999">Password
                          Confirm</font></b></td>
                        <td class="row1" width="47%">
                          <input type="password" name="user_password2322" size="20" class="input" />
                        </td>
                      </tr>
                    </table>
                    <div align="center">
                      <input type="hidden" name="action" value="updatepassword" />
                      <br>
                      <input type="image" src="../../submit3.gif" value="lang_save}" name="image2" width="80" height="17">
                      <br>
                      <br>
                    </div>
                  </form>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <table width="66" height="3" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="3"><img src="../../imageslistbot.gif" width="312" height="3"></td>
        </tr>
      </table>
     
    </td>
    <td width="280" valign="top" height="206">
      <table width="221" height="173" border="0" cellpadding="0" cellspacing="0" align="right">
        <tr valign="bottom">
          <td width="110" height="2" valign="top"><img src="../../profinfo.gif" width="89" height="13"></td>
        </tr>
        <tr>
          <td height="2">
            <p><font color="#FFFFFF"><img src="../../line.gif" width="220" height="1"></font></p>
          </td>
        </tr>
        <tr>
          <td height="78" valign="top">
            <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Here
              you can your profile, you can add your homepage and icq information.
              Or if you want to hide your identity you can hide your email address
              or be invisible on the website. </font></p>
            <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">If
              you would like more fields in the profile section please contact
              me <a href="mailto:info@highrez.com">here</a></font></p>
            <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Thanks
              </font></p>
          </td>
        </tr>
        <tr>
          <td height="2"><font color="#FFFFFF"><img src="../../line.gif" width="220" height="1"></font></td>
        </tr>
      </table>
</table>

----------------------------------------------------------------------------------------


Thanks

Steve

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Edit Image Fields
« Reply #5 on: February 06, 2003, 12:03:45 PM »
your code works just fine for me.
infact the code u showed us is "member_editprofile.html" not image edit.  :wink:

P.S. please use
Quote
[ code ] your code [ /code ]
for the code.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Edit Image Fields
« Reply #6 on: February 06, 2003, 04:30:23 PM »
OOOPS my mistake

Its the profile edit section.

Can you goto http://www.highrez.com.

Login as: User: demo
Pass: demo

Go into settings and try and change something

It says it did but it dosnt.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Edit Image Fields
« Reply #7 on: February 06, 2003, 05:21:47 PM »
are you sure it doesnt? I just tryed and it works just fine.
maybe u tryed add some random web page address, with wrong patern (afsdfasf, not www.ssdfsdf.com) then it wont be updated.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Edit Image Fields
« Reply #8 on: February 06, 2003, 05:24:25 PM »
Ok pass me the pie cuz its going in my face lol !  :oops:

Another question though how do I add fields for the edit profile ? I can do it for image uploads.

Thanks

Steve