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

Pages: [1] 2
1
V@no, just 3 words: You are Genius!

2
works well, but how can I list the images starting from the recent ones not the other way round.

thanks

3
The search result shows the oldest pictures first, how can list the recent first then the oldest?

4
When I search for a keyword, it list me all the images sorted by oldest. I want the other way round.

It seems a simple thing to configure but can't find it.

I appreciate your support

5
http://mysite/search.php?search_fields=image_keywords&search_keywords=whatever

 :thumbup:

6
can you send/receive any kind of emails from your 4images?

Thanks for the hint V@no, I'm using admin and the email was set in the settings but not under the user settings.


7
Hi to all.

Why admins do not receive comments for their images?
I'm using 1.7.4

Thanks.

UPDATE : Fix it . Thanks

I have the same issue.  My email address is set correctly.

Do I need to set anything related to mail? like SMTP, its off at the moment.

8
V@no! You are the best! that was a very fast reply!

Thank you very much  :D

9
Is there anyway I can configure it to display new images by image date not by the date of upload?

Thanks

Code: [Select]
<?php
define
('ROOT_PATH''./');

include(
ROOT_PATH.'config.php');
$site_db = new Db($db_host$db_user$db_password$db_name);


$num_images 4;
$config['image_cells'] = 2;
$i 0;
$sql "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, a.image_comments
        FROM "
.IMAGES_TABLE." a, ".CATEGORIES_TABLE." b
        WHERE a.image_active=1
        AND a.cat_id = b.cat_id
        AND b.auth_viewcat="
.AUTH_ALL."
        AND b.auth_viewimage="
.AUTH_ALL."
        ORDER BY a.image_id DESC
        LIMIT 
$num_images";
$result $site_db->query($sql);

while (
$row $site_db->fetch_array($result)){
  
$image_id $row['image_id'];
  
$cat_id $row['cat_id'];
  
$image_name $row['image_name'];
  
$image_comments $row['image_comments'];
  if(
$i == $config['image_cells']) {
    echo 
"<td>&nbsp;</td></tr><TR><td>&nbsp;</td>";
  }
  
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : ROOT_PATH.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];
  echo 
"<td><a href=\"".ROOT_PATH."details.php?image_id=$image_id\"><img width=\"98\" height=\"98\" src=\"".$thumb_src."\" class=\"imageBoxSmall\" alt=\"$image_name | $image_comments comments\"></a></td>";
  echo 
$cat_cache[$subcat_id];
  
$i++;
}
?>


10
It's perfect now, thanks  V@no :)

11
WoW thanks alot, thats a cool mod.  The post in german, I translated it to English by Google and successfully installed it.

But I have a msg that appears at search pages:


Notice: Undefined variable: highslide_js in C:\wamp\www\uaetrips\portal2\search.php on line 334


But the slideshow works well, how can I resolve the above msg?

Thanks

12
The problem was with the highslide_cfg_slide.js, my bad I missed it due to some issues with translation.

Now everything works perfectly except for the following message on the search page:

Notice: Undefined variable: highslide_js in C:\wamp\www\uaetrips\portal2\search.php on line 334

13
Hi, I dont know German but I managed to do the translation from Google.

I have a problem in the search page, the slideshow works perfectly but I get the following error:

Notice: Undefined variable: highslide_js in C:\wamp\www\uaetrips\portal2\search.php on line 334

There is no issue with the category pages.

Thanks

14
I did search and found some old mods which I all tried but seems not compatible with my version. The flash version, database version,etc. all seems for older version.

Is there anyone with v1.7.6 have a slide show working perfectly? 

Thanks

15
I use the following

http://www.XXXXXX/4images/search.php?search_keywords=USA

but it retrieves the word USA in all fields: title, description and keywords.  

What shall I put/use to display only keywords using the URL?

Anyone?

Pages: [1] 2