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

Pages: 1 ... 17 18 19 20 [21] 22 23 24 25 ... 29
301
Mods & Plugins (Releases & Support) / Re: [Mod] User upload limits
« on: June 23, 2005, 04:07:53 PM »
I don't know if anyone else noticed this, but I have set limit, so that members can upload 1 image on 48 hours. But you can cheat here!

When you upload image, you click BACK button and you will be able to upload as many image you would like.

Saidly I didn't solved that problem, but would be very glad if only else does it ;)

302
Nobody tried this?  :(

303
Before new forum I have installed mod that shows user images in profile.

But this mod has few bugs and it's made without image paging.

See how it looks:
http://www.slo-foto.net/modules.php?name=Galerija&file=member&action=showprofile&user_id=75&l=english

Does anyone else has idea how could this mod be improved?

You can find this code members.php

Code: [Select]
///////// Start Show member photos ///////////////// 
  $sql = "SELECT i.image_id, i.cat_id, i.image_points, i.image_week, 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
          FROM ".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c
          WHERE i.image_active = 1 AND i.user_id = ".$user_row['user_id']." AND c.cat_id = i.cat_id AND i.cat_id IN (".get_auth_cat_sql("auth_viewcat").")
          ORDER BY i.image_date DESC
          ";
  $result = $site_db->query($sql);
  $num_rows = $site_db->get_numrows($result);
  if (!$num_rows)  {
    $last_images = "<tr class=\"imagerow1\"><td>";
    $last_images .= $lang['no_last_images'];
    $last_images .= "</td></tr>";
  }
  else  {
    $last_images = "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\">";
    $count = 0;
    $bgcounter = 0;
     $last_images = "";
    while ($image_row = $site_db->fetch_array($result)){
      if ($count == 0) {
        $row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
        $last_images .= "<tr class=\"imagerow".$row_bg_number."\">\n";
      }
   
$last_images .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";
 
      show_image($image_row);
      $last_images .= $site_template->parse_template("thumbnail_bit");
      $last_images .= "\n</td>\n";
      $count++;
      if ($count == $config['image_cells']) {
        $last_images .= "</tr>\n";
        $count = 0;
      }
    } // end while
 
    if ($count > 0)  {
      $leftover = ($config['image_cells'] - $count);
      if ($leftover >= 1) {
        for ($f = 0; $f < $leftover; $f++) {
          $last_images .= "<td width=\"".$imgtable_width."\">\n&nbsp;\n</td>\n";
        }
        $last_images .= "</tr>\n";
      }
    }
    $last_images .= "</table>\n";
  } // end else
 
///////// End Show member photos ///////////////// 

304
I don't know if that will work but here we go:

Code: [Select]
// Update Profile Hits
if ($user_info['user_level'] != ADMIN && $user_info['user_id'] != $user_id) {
  $sql = "UPDATE ".USERS_TABLE."
          SET profile_hits = profile_hits + 1
          WHERE user_id = $user_id";
  $site_db->query($sql);
}
//  End Update Profile Hits


Field=profile_hits
Type = smallint
Length/Values = 8
Attributes = Blank
Null = Not Null
Default** = 0
Extra = Blank
Circle Filled on ---.


Let me know if this will work ;)

305
Mods & Plugins (Releases & Support) / Re: [MOD] Language select
« on: April 09, 2005, 07:34:21 PM »
why don't you read through the replies on page 2?
V@no posted the solution already...  :wink:

Gosh, how did I miss that  :roll: thx

306
Mods & Plugins (Releases & Support) / Re: [MOD] Language select
« on: April 07, 2005, 09:56:10 AM »
I liked this mode, but when I installed dynamics links for googlebot, this mod doesn't work. Yes, with some extra modifications which takes to many time.

Last 3 years I'm using PHPnuke and they have very "simple" system how to change language: cookies! :)

Saidly my php knowledge isn't good enought to insert that mod in 4images system gallery, but maybe someone else could do it. I'm sure that will save many users trouble ;)


308
No I haven't but its working ;) thx

309
Many visitors are asking me how should they post a comment. Yes we all know that this question is very logical (and stupid) :)

I searched forum and didn't find answer to my question. Is there a way to make new table in details.html tamplate for visitors, with text:
Only registered users can post comment / or / If you wish to post comment you must register.

My sorry if there is answer already.

310
Mods & Plugins (Releases & Support) / Re: [MOD] Ban
« on: March 28, 2005, 02:45:37 PM »
Great job V@no, mod is working perfectly ;)

311
Mods & Plugins (Releases & Support) / Re: [Mod] EXIF 0.3
« on: March 28, 2005, 10:46:15 AM »
I'm using exif 0.3 mod and in last few monts I'm getting this error:
Code: [Select]

Warning: exif_read_data(605493564.jpg): illegal IFD size: x07F6 + 2 + x0810*12 = x68B6 > x07F4 in /home/mywebhost/4images/includes/functions.php on line 625



Anyone know what could be wrong?

312
Discussion & Troubleshooting / Search mode
« on: March 28, 2005, 10:34:49 AM »
When you search for any image you'll get at the end of the thumbnail link this code:
&mode=search

Is it possible to erase that?

313
Mods & Plugins (Releases & Support) / [MOD] Votes saved in DB
« on: July 03, 2003, 05:14:33 PM »
ups 2 posts together :(

314
Mods & Plugins (Releases & Support) / [MOD] Votes saved in DB
« on: July 03, 2003, 05:10:42 PM »
Well you sure knows php better then me, but its strange, couse in database you can actualy see  user_id  image_id  vote for specific photo. Tell us why is not working propertly, maybe we could solve it together?

315
Mods & Plugins (Releases & Support) / [Mod] DropShadow on thumbnails
« on: June 29, 2003, 11:17:43 PM »
Quote
.pic {filter: progid:DXImageTransform.Microsoft.Shadow(color=#AF4800,direction=135, strength=5)
   progid:DXImageTransform.Microsoft.Alpha(opacity=100);
   border: 0;}


In which file should i add this?

Pages: 1 ... 17 18 19 20 [21] 22 23 24 25 ... 29