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 - MrAndrew

Pages: 1 2 3 [4] 5 6 7 8 ... 21
46
Now it work! Thanks!

Is it possible to do Lightbox Name field as required?

47
I`ve tried to install this again. This is log message:

Code: [Select]
DB Error: Bad SQL Query: ALTER TABLE 5images_users ADD user_lightbox MEDIUMINT( 8 ) UNSIGNED NOT NULL
Duplicate column name 'user_lightbox'

DB Error: Bad SQL Query: ALTER TABLE 5images_users ADD user_lightbox_count SMALLINT( 3 ) DEFAULT '0' NOT NULL
Duplicate column name 'user_lightbox_count'

DB Error: Bad SQL Query: ALTER TABLE 5images_users ADD user_lightbox_private TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL
Duplicate column name 'user_lightbox_private'

DB Error: Bad SQL Query: ALTER TABLE 5images_lightboxes ADD id MEDIUMINT( 12 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST
Duplicate column name 'id'

DB Error: Bad SQL Query: ALTER TABLE 5images_lightboxes ADD lightbox_name VARCHAR( 32 ) NOT NULL
Duplicate column name 'lightbox_name'

DB Error: Bad SQL Query: ALTER TABLE 5images_lightboxes ADD lightbox_private TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL
Duplicate column name 'lightbox_private'

DB Error: Bad SQL Query: INSERT INTO 5images_settings ( setting_name , setting_value ) VALUES ( 'lightbox_count', '5' ), ( 'lightbox_share', '1' )
Duplicate entry 'lightbox_count' for key 'PRIMARY'

    Error
      ALTER TABLE 5images_users ADD user_lightbox MEDIUMINT( 8 ) UNSIGNED NOT NULL

    Error
      ALTER TABLE 5images_users ADD user_lightbox_count SMALLINT( 3 ) DEFAULT '0' NOT NULL

    Error
      ALTER TABLE 5images_users ADD user_lightbox_private TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL

    Error
      ALTER TABLE 5images_lightboxes ADD id MEDIUMINT( 12 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST

    Error
      ALTER TABLE 5images_lightboxes ADD lightbox_name VARCHAR( 32 ) NOT NULL

    Error
      ALTER TABLE 5images_lightboxes ADD lightbox_private TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL

    Done
      ALTER TABLE 5images_lightboxes ADD INDEX ( lightbox_private )

    Error
      INSERT INTO 5images_settings ( setting_name , setting_value ) VALUES ( 'lightbox_count', '5' ), ( 'lightbox_share', '1' )

    Done only:

      ALTER TABLE 5images_lightboxes ADD INDEX ( lightbox_private )

But notice active!

48
Help me please, with this problem...

Code: [Select]
Notice: Undefined variable: config in C:\Users\***\Desktop\Server\root\includes\sessions.php on line 367
This is line from sessions:

$limit = ($user_info['user_lightbox_count'] == -|| !$config['lightbox_count'] || $user_info['user_level'] == ADMIN) ? -: (($user_info['user_lightbox_count']) ? $user_info['user_lightbox_count'] : $config['lightbox_count']);

I`ve reviewed installation of the mod, but nothing help!

49
Discussion & Troubleshooting / More notices at my gallery...
« on: September 20, 2011, 10:08:59 PM »
Hello... I will in turn spread messages, sorting them by a single php file. My db_definitions.php

I`ve open my error log, and saw this messages:

NoticeUndefined indeximage_airline_code in C:\Users\***\Desktop\root\includes\db_field_definitions.php on line 110

Notice
Undefined indeximage_camera in C:\Users\***\Desktop\Server\root\includes\db_field_definitions.php on line 125

Notice
Undefined indeximage_lens in C:\Users\***\Desktop\Server\root\includes\db_field_definitions.php on line 126

Notice
Undefined indexexif_GPSTrack in C:\Users\***\Desktop\Server\root\includes\db_field_definitions.php on line 149

Notice
Undefined indexuser_skype in C:\Users\***\Desktop\Server\root\includes\db_field_definitions.php on line 161

Notice
Undefined indexprofile_hits in C:\Users\***\Desktop\Server\root\includes\db_field_definitions.php on line 162


Line 110: for observing

$additional_image_fields['image_airline_code'] = array($lang['image_airline_code'], "text"0);


What`s wrong?

50
Mods & Plugins (Releases & Support) / Re: [MOD] Multi-Lightboxes v1.03.1
« on: September 20, 2011, 01:57:27 PM »
Will it right if i will change in step 6.3 ?????

/*
  MOD MULTI-LIGHTBOXES
  START INSERT
*/
function lightbox_trim($name)
{
  
$max 10;
  if (
strlen($name) > $max)
  {
    
$name substr($name0$max)."...";
  }
  return 
$name;
}
function 
fixhtml($text$quotes 1$amp 0)
{
  if (
$amp$text str_replace("&""&"$text);
  if (
$quote$text str_replace("\"""""$text);
  
$text str_replace("<""&lt;"str_replace(">""&gt;"$text));
  return 
$text;
}
/*
  MOD MULTI-LIGHTBOXES
  END INSERT
*/


This line:
  if ($quote$text str_replace("\"""&quot;"$text);

By this line:
  if ($quotes$text str_replace("\"""&quot;"$text);

51
Discussion & Troubleshooting / Re: What is wrong with my emails in gallery?
« on: September 20, 2011, 12:47:09 PM »
Thanks for help, Vano, Rembrandt!

52
Discussion & Troubleshooting / Re: What is wrong with my emails in gallery?
« on: September 20, 2011, 12:37:48 PM »
YES, YES, YES. IT IS! Many thanks.. But what was the problem?  :D

53
Discussion & Troubleshooting / Re: What is wrong with my emails in gallery?
« on: September 20, 2011, 12:16:46 PM »
Ok.. This is my functions.php

54
Discussion & Troubleshooting / Re: What is wrong with my emails in gallery?
« on: September 20, 2011, 12:13:35 PM »
Ver. 1.7.10, upgrade

55
Discussion & Troubleshooting / Re: What is wrong with my emails in gallery?
« on: September 20, 2011, 07:37:44 AM »
I think i haven`t...

P.S. i have open error log, and it show me too many errors, i will try to resolve it. Will reply later! Thanks Rembrandt!

56
Discussion & Troubleshooting / Re: What is wrong with my emails in gallery?
« on: September 20, 2011, 07:28:11 AM »
No, in database, all is normal..  I think problem in {user_email} tag

With this problem i have Also a same problem with email validation... Not send info from DB, only tags...

Photo Information:

{image_aircraft} {image_aircraftnamealt} of {image_airline}
Uzbekistan - {image_city}

Date: 19.09.2011 13:22

------
Best regards, administration of


The problem appeared after installing or [Mod] bbcode Smileys or [MOD]Another Simple News Publishing Mod, [MOD] AJAX Comments / Comments Rating v1.0.4 (2009-12-21). I don`t know exactly. But I tried to delete these MODs, nothing result!

57
Discussion & Troubleshooting / Re: What is wrong with my emails in gallery?
« on: September 20, 2011, 07:23:46 AM »
Yes, it is.

58
Discussion & Troubleshooting / Re: What is wrong with my emails in gallery?
« on: September 20, 2011, 07:18:48 AM »
Problem with all email inputs!

Admin email, user email, any email inputs, have same type! :-(

59
Discussion & Troubleshooting / Re: What is wrong with my emails in gallery?
« on: September 20, 2011, 06:34:49 AM »
This is my member_editprofile.html

<br />

{
lang_edit_profile_msg}
{if 
user_avatar_file}
<
br />
  
<
br><form method="post" action="{url_member}" name="creator" enctype="multipart/form-data">
{if 
user_avatar_images}
  <
table width="638" border="0" cellspacing="1" cellpadding="0" bgcolor="#434242">
    <
tr
      <
td
        <
table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#434242" background="/nb-menubg.gif">
          <
tr
            <
td colspan="2" valign="top" bgcolor="#434242" background="/nb-menubg.gif"><FONT FACE="arial" SIZE="2" COLOR="#f3f3f3"><i><b>{lang_profile_of} {user_name}</b></i></FONT></td>
          </
tr>
            <
TD align="center" rowspan="5" class="row2" width="110">{user_avatar_current}</TD>

          <
tr
            <
td class="row1"><b>{lang_email}</b></td>
            <
td class="row1"><input type="text" name="user_email" size="30" value="{user_email}" class="input" /></td>
          </
tr>
          <
tr
            <
td class="row2"><b>{lang_email_confirm}</b></td>
            <
td class="row2"><input type="text" name="user_email2" size="30" value="{user_email2}" class="input" /></td>
          </
tr>
          <
tr
            <
td class="row1"><b>{lang_user_comment_image}</b></td>
            <
td class="row1"
              <
input type="radio" name="user_comment_image" value="1"{user_comment_image_yes}>
              {
lang_yes}&nbsp;&nbsp;&nbsp
              <
input type="radio" name="user_comment_image" value="0"{user_comment_image_no}>
              {
lang_no}
          </
td>
          </
tr>
          <
tr
            <
td class="row2"><b>{lang_user_comment_answer}</b></td>
            <
td class="row2"
              <
input type="radio" name="user_comment_answer" value="1"{user_comment_answer_yes}>
              {
lang_yes}&nbsp;&nbsp;&nbsp
              <
input type="radio" name="user_comment_answer" value="0"{user_comment_answer_no}>
              {
lang_no}
          </
td>
          </
tr>
          <
tr>
          
	
<
td class="row1" colspan="2"><b>{lang_user_country}</b></td>
            <
td class="row1" colspan="2"><img src="{template_url}/images/flags/{user_country}.gif">&nbsp;&nbsp;{user_country_dropdown}</td>
          </
tr>
          <
tr>
            <
td class="row2" colspan="2"><b>{lang_user_gender}</b></td>
            <
td class="row2" colspan="2">&nbsp;<b>{user_gender_dropdown}&nbsp;</b>&nbsp;<img src="{template_url}/images/{user_gender}.gif"></td>
          </
tr>


<
tr>
   <
td colspan="2" bgcolor="#434242" background="/nb-menubg.gif"><FONT FACE="arial" SIZE="2" COLOR="#f3f3f3"><i><b>{lang_camera_info}</b></i></FONT></td>
</
tr>

<
tr>
   <
td class="row1" colspan="2"><b>{lang_user_camera}</b></td>
 
	
 <
td class="row1" colspan="2"><input type="text" name="user_camera" size="30" value="{user_camera}" class="input" /></td>
</
tr>
<
tr
   <
td class="row2" colspan="2"><b>{lang_user_camera2}</b></td>
   <
td class="row2" colspan="2"><input type="text" name="user_camera2" size="30" class="input" value="{user_camera2}" /></td>
</
tr>
<
tr
   <
td class="row1" colspan="2"><b>{lang_user_camera3}</b></td>
   <
td class="row1" colspan="2"><input type="text" name="user_camera3" size="30" class="input" value="{user_camera3}" /></td>
</
tr>

<
tr>
   <
td colspan="3" bgcolor="#434242" background="/nb-menubg.gif"><FONT FACE="arial" SIZE="2" COLOR="#f3f3f3"><i><b>{lang_lens_info}</b></i></FONT></td>
</
tr>

<
tr>
    <
td class="row2" colspan="2"><b>{lang_user_lens}</b></td>
 
	
	
<
td class="row2" colspan="2"><input type="text" name="user_lens" size="30" value="{user_lens}" class="input" /></td>
</
tr>
<
tr
   <
td class="row1" colspan="2"><b>{lang_user_lens2}</b></td>
   <
td class="row1" colspan="2"><input type="text" name="user_lens2" size="30" class="input" value="{user_lens2}" /></td>
</
tr>
<
tr
   <
td class="row2" colspan="2"><b>{lang_user_lens3}</b></td>
   <
td class="row2" colspan="2"><input type="text" name="user_lens3" size="30" class="input" value="{user_lens3}" /></td>
</
tr>
<
tr
   <
td class="row1" colspan="2"><b>{lang_user_lens4}</b></td>
   <
td class="row1" colspan="2"><input type="text" name="user_lens4" size="30" class="input" value="{user_lens4}" /></td>
</
tr>
<
tr
   <
td class="row2" colspan="2"><b>{lang_user_lens5}</b></td>
   <
td class="row2" colspan="2"><input type="text" name="user_lens5" size="30" class="input" value="{user_lens5}" /></td>
</
tr>
	

	

<
tr>
   <
td colspan="3" bgcolor="#434242" background="/nb-menubg.gif"><FONT FACE="arial" SIZE="2" COLOR="#f3f3f3"><i><b>{lang_your_manage}</b></i></FONT></td>
</
tr>
	

          <
tr
            <
td class="row1" colspan="3"><b><a href="{url_lightbox}">{lang_lightbox}</a></b></td>
          </
tr>
          <
tr
            <
td class="row2" colspan="3"><b><a href="{url_mypics}">{lang_mypics}</a></b></td>
          </
tr>
          <
tr
            <
td class="row1" colspan="3"><b><a href="{url_awaiting}">{lang_awaiting_images}</a></b></td>
          </
tr>

          <
tr
            <
td colspan="3" bgcolor="#434242" background="/nb-menubg.gif"><FONT FACE="arial" SIZE="2" COLOR="#f3f3f3"><i><b>{lang_optional_infos}</b></i></FONT></td>
          </
tr>
          <
tr
            <
td class="row1" colspan="2"><b>{lang_homepage}</b></td>
            <
td class="row1" colspan="2"><input type="text" name="user_homepage"  size="30" value="{user_homepage}" class="input" /></td>
          </
tr>
          <
tr
            <
td class="row2" colspan="2"><b>{lang_icq}</b></td>
            <
td class="row2" colspan="2"><input type="text" name="user_icq"  size="30" value="{user_icq}" class="input" /></td>
          </
tr>
         <
TR>
           <
TD class="row1" colspan="2"><B>{lang_skype}</B></TD>
           <
TD class="row1" colspan="2"><INPUT type="text" name="user_skype"  size="30" value="{user_skype}" class="input" /></TD>
         </
TR>                            
          <
TR>
            <
td colspan="3" bgcolor="#434242" background="/nb-menubg.gif"><FONT FACE="arial" SIZE="2" COLOR="#f3f3f3"><i><b>{lang_avatar}</b></i></FONT></TD>
          </
TR>

          <
TR>
            <
TD class="row2" valign="top" colspan="2">
            
              {
lang_avatar_file}<BR />
              <
SPAN>
              {
lang_avatar_dim}
              </
SPAN>
              <
BR>
              <
BR>
              {
lang_or}<BR><BR>
              {endif 
user_avatar_file}
              
              {
lang_avatar_select}
              
            </
TD>
            <
TD class="row2" colspan="2">
            {if 
user_avatar_file}
              {
lang_upload}
              <
INPUT type="file" name="avatar_file"  size="30" class="input" />
              <
BR />
              <
BR />
              {endif 
user_avatar_file}
              <
SELECT name="user_avatar" size="6" onkeypress="if(window.event.keyCode==13){ this.form.submit(); }" onChange="document.images.icons.src='{template_url}/avatars/'+this.value;">{user_avatar_images}</SELECT>

            </
TD>
          </
TR>
          {endif 
user_avatar_images}
          
          
	
	
  {if 
fb_userid}
          <
tr
            <
td class="row1" colspan="2"><b>{lang_user_fbavatar}</b></td>
            <
td class="row1"
              <
input type="radio" name="user_fbavatar" value="1" {user_fbavatar_yes} />
              {
lang_yes}&nbsp;&nbsp;&nbsp
              <
input type="radio" name="user_fbavatar" value="0" {user_fbavatar_no} />
              {
lang_no}
	
	
	
</
td>
          </
tr>
	
	
  {endif 
fb_userid}
        </
table>
      </
td>
    </
tr>
  </
table>
  <
input type="hidden" name="action" value="updateprofile" />
  <
p align="center"
    <
input type="submit" value="{lang_save}" class="button" />
    <
input type="reset" value="{lang_reset}" class="button" />
  </
p>
</
form>
<
br />
<
form method="post" action="{url_member}">
  <
table width="638" 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" bgcolor="#434242" background="/nb-menubg.gif"><FONT FACE="arial" SIZE="2" COLOR="#f3f3f3"><i><b>{lang_change_password}</b></i></FONT></td>
          </
tr>
          <
tr
            <
td class="row1"><b>{lang_old_password}</b></td>
            <
td class="row1"><input type="password" name="current_user_password" size="30" class="input" /></td>
          </
tr>
          <
tr
            <
td class="row2"><b>{lang_new_password}</b></td>
            <
td class="row2"><input type="password" name="user_password" size="30" class="input" /></td>
          </
tr>
          <
tr
            <
td class="row1"><b>{lang_new_password_confirm}</b></td>
            <
td class="row1"><input type="password" name="user_password2" size="30" class="input" /></td>
          </
tr>        
        </
table>
      </
td>
    </
tr>
  </
table>
  
          {if 
fbl_loggedin}
  <
table width="638" 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" bgcolor="#434242" background="/nb-menubg.gif"><FONT FACE="arial" SIZE="2" COLOR="#f3f3f3"><i><b>{fbl_change_password}</i></FONT></td>
          </
tr>
          <
tr
            <
td class="row2">{fbl_passmessage}</td>
          </
tr>
        </
table>
      </
td>
    </
tr>
  </
table>
{endif 
fbl_loggedin}
  
  <
input type="hidden" name="action" value="updatepassword" />
  <
p align="center"
    <
input type="submit" value="{lang_change_password}" class="button" />
    <
input type="reset" value="{lang_reset}" class="button" />
  </
p>
</
form>

60
Discussion & Troubleshooting / Re: What is wrong with my emails in gallery?
« on: September 19, 2011, 12:26:44 PM »
Anyone can help me?


Pages: 1 2 3 [4] 5 6 7 8 ... 21