Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - widgit1981

Pages: 1 2 [3] 4 5 6 7
31
Mods & Plugins (Requests & Discussions) / Adding profile fields
« on: February 06, 2003, 07:29:58 PM »
Ok I have now got everything back to normal with my backups thew !

What went wrong do you know ?

32
Mods & Plugins (Requests & Discussions) / Adding profile fields
« on: February 06, 2003, 07:28:26 PM »
This has now brought my whole site down I cant get it working

33
Mods & Plugins (Requests & Discussions) / Adding profile fields
« on: February 06, 2003, 07:25:17 PM »
Here is the code

Code: [Select]
['image_entrance'], "text", 1); $additional_image_fields['image_address'] = array($lang['image_address'], "textarea", 1); $additional_image_fields['image_tel'] = array($lang['image_tel'], "text", 1); $additional_image_fields['image_map'] = array($lang['image_map'], "text", 1); ?> ?>>
Warning: Cannot add header information - headers already sent by (output started at /web/highrez/public_html/includes/db_field_definitions.php:34) in /web/highrez/public_html/includes/sessions.php on line 85

Warning: Cannot add header information - headers already sent by (output started at /web/highrez/public_html/includes/db_field_definitions.php:34) in /web/highrez/public_html/includes/sessions.php on line 85

Warning: Cannot add header information - headers already sent by (output started at /web/highrez/public_html/includes/db_field_definitions.php:34) in /web/highrez/public_html/includes/sessions.php on line 85

Warning: Cannot add header information - headers already sent by (output started at /web/highrez/public_html/includes/db_field_definitions.php:34) in /web/highrez/public_html/includes/sessions.php on line 85


Steve

34
Mods & Plugins (Requests & Discussions) / Adding profile fields
« on: February 06, 2003, 06:26:42 PM »
Ok

I tried that and got this error:

['image_entrance'], "text", 1); $additional_image_fields['image_address'] = array($lang['image_address'], "textarea", 1); $additional_image_fields['image_tel'] = array($lang['image_tel'], "text", 1); $additional_image_fields['image_map'] = array($lang['image_map'], "text", 1); ?>

Thanks

Steve

35
Mods & Plugins (Requests & Discussions) / Adding profile fields
« on: February 06, 2003, 05:49:57 PM »
Ok I created a new field in users.

The thread u linked to says this:

first see the code in global.php after this line:
Code:
if (defined("GET_CACHES")) {

Add the new field to the sql query. All category data will be saved to the $cat_cache array. From this you can register the value to the template engine.

For example in categories.php

Add after
Code:
"cat_hits" => $cat_cache[$cat_id]['cat_hits'],

this
Code:
"cat_age" => $cat_cache[$cat_id]['cat_age'],

Now you can use {cat_age} in the categories.html template.




What does this all mean especilly :

Add the new field to the sql query. All category data will be saved to the $cat_cache array. From this you can register the value to the template engine.

Thanks

Steve

36
Mods & Plugins (Requests & Discussions) / Adding profile fields
« on: February 06, 2003, 05:42:38 PM »
Do I put it in the images or member category

I tried both and they give the same error

Thanks

Steve

37
Mods & Plugins (Requests & Discussions) / Edit Image Fields
« 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

38
Mods & Plugins (Requests & Discussions) / Edit Image Fields
« 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.

39
Mods & Plugins (Requests & Discussions) / Edit Image Fields
« 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

40
Mods & Plugins (Requests & Discussions) / Adding profile fields
« on: February 06, 2003, 11:15:40 AM »
Hi all

I know how to add fields when a user uploads but when I try to add fields for edit profile I get this error:

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, i.image_photographer, i.image_grey, i.user_camera, c.cat_name, u.user_name FROM galleryimages i, gallerycategories c LEFT JOIN galleryusers u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0, 50, 58, 77, 40, 25, 17, 74, 66, 2, 55, 18, 75, 26, 41, 78, 11, 69, 51, 19, 31, 81, 79, 76, 52, 20, 59, 27, 42, 80, 60, 43, 29, 53, 70, 44, 32, 22, 54, 12, 63, 30, 47, 23, 13, 56, 72, 24, 33, 46, 14, 57, 71, 35, 15, 48, 61, 36, 3, 45, 73, 37, 9, 49, 38, 16, 65, 28, 64, 39) ORDER BY i.image_date DESC LIMIT 6
Unknown column 'i.user_camera' in 'field list'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /***/includes/db_mysql.php on line 116


What is going on ?

Thanks

Steve

41
Feedback & Suggestions / FAO: JAN - CopyRight Help
« on: February 05, 2003, 10:39:29 PM »
Hi All

This is really for Jan's attention.

I have just about finished developing a site: http://www.highrez.com and I have a few questions about the copyright stuff.

Am I able to move the copyright information to another area of the site as at the end of the page really unbalances the layout ?

Am I able to create a animated 4images logo instead of the text alsi wth a direct link to your site ?

I am thinking of selling HighRez.com as I have had quite a lot of interest will I be able to purchase a liscence then sell the site so they dont have to show the copyright notice ?

Thanks

Steve

42
Mods & Plugins (Requests & Discussions) / Change Image Via Edit
« on: February 05, 2003, 01:17:39 PM »
I know this may sound wierd but is it possible a normal member can change the image via the edit link on the details page ?

Thanks

Steve

43
Mods & Plugins (Requests & Discussions) / Edit Image Fields
« 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

44
Mods & Plugins (Requests & Discussions) / 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

45
Feedback & Suggestions / Attention of all members
« on: February 04, 2003, 04:07:41 PM »
Thanks Camo93  :P

I spent enough time on it. Ive nearly finished it now ( thank god ) and then I can relax mmm relax havnt done that in a long time.....

Steve
HighRez.com

Pages: 1 2 [3] 4 5 6 7