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

Pages: [1] 2 3 4
1
Feedback & Suggestions / Re: 4images 1.7.12 - Feedback
« on: November 16, 2015, 06:00:21 PM »
please add detailed list of what has been changed in the php files from 4images 1.7.11 -> 1.7.12   :wink:

2
Discussion & Troubleshooting / Re: PHP 5.3 issue
« on: October 21, 2014, 09:14:30 PM »
thank you , solved :)  :idea:

3
excellence  :D
How to extended to show last Month Top?
Rembrandt if possible please answer :(

4
How remove at, with, in, to from url

5
Where do I put this code?
how to Show result in Home page?  :?:

6
Mods & Plugins (Requests & Discussions) / Defult Random Image
« on: February 18, 2014, 01:43:42 PM »
How to exclude some category in random image?
Thank you..

7
Discussion & Troubleshooting / Re: wie bekomme ich diese Anweisung hin?
« on: February 12, 2014, 06:46:38 PM »
thank you  :D

8
Mods & Plugins (Requests & Discussions) / Re: Random pictures
« on: February 09, 2014, 10:12:37 AM »
thank you V@no
how to exclude some categories?
for example 3 and 16

//------------------------------------
//------- Random Images --------------
//------------------------------------
$num_new_images 8;
$cache_time 360//3600sek = 1hour
$cache_enable_old $cache_enable;
$cache_enable true;
$cache_id_rand create_cache_id(
  
'page.rand',
  array(
    
$user_info[$user_table_fields['user_id']],
    isset(
$user_info['lightbox_image_ids']) ? substr(md5($user_info['lightbox_image_ids']), 08) : 0,
    
$config['template_dir'],
    
$config['language_dir']
  )
);
if (!
$random_images get_cache_file($cache_id_rand$cache_time))
{
  
// Always append session id if cache is enabled
  
$old_session_mode $site_sess->mode;
  
$site_sess->mode 'get';
  
$sql "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".$additional_sql.", c.cat_name".get_user_table_field(", u.""user_name")."
          FROM ("
.IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
          LEFT JOIN "
.USERS_TABLE." u ON (".get_user_table_field("u.""user_id")." = i.user_id)
          WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN ("
.get_auth_cat_sql("auth_viewcat").")
          ORDER BY RAND()
          LIMIT 
$num_new_images";
  
// end new
  
$result $site_db->query($sql);
  
$num_rows $site_db->get_numrows($result);
  
  if (!
$num_rows)  {
    
$random_images "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\"><tr class=\"imagerow1\"><td>";
  
//  $random_images .= $lang['no_new_images'];
    
$random_images .= "</td></tr></table>";
  }
  else  {
    
$random_images "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\">";
    
$count 0;
    
$bgcounter 0;
    while (
$image_row $site_db->fetch_array($result)){
      if (
$count == 0) {
        
$row_bg_number = ($bgcounter++ % == 0) ? 2;
        
$random_images .= "<tr class=\"imagerow".$row_bg_number."\">\n";
      }
      
$random_images .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";
  
      
show_image($image_row);
      
$random_images .= $site_template->parse_template("thumbnail_bit");
      
$random_images .= "\n</td>\n";
      
$count++;
      if (
$count == $config['image_cells']) {
        
$random_images .= "</tr>\n";
        
$count 0;
      }
    } 
// end while
  
    
if ($count 0)  {
      
$leftover = ($config['image_cells'] - $count);
      if (
$leftover >= 1) {
        for (
$f 0$f $leftover$f++) {
          
$random_images .= "<td width=\"".$imgtable_width."\">\n&nbsp;\n</td>\n";
        }
        
$random_images .= "</tr>\n";
      }
    }
    
$random_images .= "</table>\n";
  } 
// end else
  
$site_sess->mode $old_session_mode;
  
save_cache_file($cache_id_rand$random_images);
}
$cache_enable $cache_enable_old;
$site_template->register_vars(array(
"random_images" => $random_images,
"lang_random_images" => $lang['random_images']
)); 
unset(
$random_images);

//----- End Random Images---------
//------------ End random Image on home page with cache contorol---------

9
budduke if possible please check PM  :wink:

10
thank you for update
I using "[MOD] On-fly image annotation ( watermark)" and i Want use source image with watermark for download, how to this
thank you  budduke  :)

11
Tnx, :)
How to ORDER result by size or random?

12
thank you
how to update download counter ?  :idea:
when click on
Code: [Select]
<a href ="{show_big}" onclick="void(window.open(this.href,this.target,'top=100,left=200,width={big_width},height={big_height},toolbar=no, directories=no, resizable=yes,menubar=no,locationbar=no,scrollbars=auto'));return false;">no happens in count number :(

13
Mods & Plugins (Requests & Discussions) / Re: Category ID
« on: January 31, 2014, 08:00:45 PM »
thank you Jan-Lukas
thank you Rembrandt
 :wink:

ALTER TABLE `4images_categories` AUTO_INCREMENT =1

14
Mods & Plugins (Requests & Discussions) / Re: Category ID
« on: January 31, 2014, 12:36:45 PM »
tnx Jan-Lukas, but now i delete old category, after deleted adult category i need create new cat for beach and sea image,
deleted cat ID was 3 and now i need to assign this id to new cat

15
Mods & Plugins (Requests & Discussions) / Category ID
« on: January 31, 2014, 10:27:04 AM »
Hi Rembrandt :)
how to remove deleted category id from gallery?
how change category ID After creating ?
I need create new category as same deleted category ID.

sorry 4 bad English.

Pages: [1] 2 3 4