4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 20, 2014, 10:45:23 AM

Login with username, password and session length
Search:     Advanced search
You're looking for some 4images templates and styles? Then visit this thread to show websites with 4images templates to download.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Releases & Support) (Moderators: mawenzi, Rembrandt)
| | |-+  [MOD] similar images
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: «« « 1 2 [3] Print
Current Topic Rating: *****
Author Topic: [MOD] similar images  (Read 21041 times)
relu
Newbie
*
Offline Offline

Posts: 44

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #30 on: November 15, 2012, 05:49:30 PM »

my server is crashing after adding this mood. somehow stop responding with 100% server load. I notticed that also images that visible only to admin is showing in similat images.
Logged

dp
Newbie
*
Offline Offline

Posts: 37

Thank You
-Given: 2
-Receive: 10


View Profile
« Reply #31 on: November 16, 2012, 09:01:54 AM »

my server is crashing after adding this mood. somehow stop responding with 100% server load. I notticed that also images that visible only to admin is showing in similat images.

Hi relu,

do your images have proper keywords or descriptions? The mod as it is uses keywords. If there are none, the main loop will not terminate.

I'm using this mod with a database of nearly 8000 images and extensive metadata without problems. Maybe your gallery is much bigger? I can't guarantee the reliability of this mod for any number of images ...
Logged
relu
Newbie
*
Offline Offline

Posts: 44

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #32 on: November 17, 2012, 12:11:30 PM »

My page is heavy mooded and i have around 80.000 images on my page. i figure out twice times when i installed the mood that my server hung up after short time and just after i remove this mod was back. Overall images are with description and keywords right.
Logged

kar76
Newbie
*
Offline Offline

Posts: 43

Thank You
-Given: 5
-Receive: 1


View Profile
« Reply #33 on: July 21, 2013, 02:26:06 PM »

Hi

Nice Mode but i am facing one problem with it.
I try to add {cat_name} tag but it not show cattegory name but on detail page this tag works every where
How to fix it?
Logged
kar76
Newbie
*
Offline Offline

Posts: 43

Thank You
-Given: 5
-Receive: 1


View Profile
« Reply #34 on: July 26, 2013, 01:22:21 AM »

Does anyone has no idea how to include {cat_name} tag to this mode Question

In this mod {image_name} tag works but when use {cat_name} it show blank space
i try to figure it out but fail
Logged
Rembrandt
Moderator
4images Guru
*****
Offline Offline

Posts: 4032

Thank You
-Given: 103
-Receive: 845

Vienna


View Profile WWW
« Reply #35 on: July 26, 2013, 05:51:56 AM »

Hi!
Does anyone has no idea how to include {cat_name} tag to this mode Question
..

search in the mod:
1
2
3
4
$sql "SELECT *
        FROM "
.IMAGES_TABLE."
        WHERE image_id IN (" 
$image_ids ")

and replace:
1
2
3
$sql "SELECT i.*, c.cat_name
        FROM ("
.IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
        WHERE image_id IN (" 
$image_ids ")AND c.cat_id = i.cat_id
search:
1
show_image($image_row_similarimages);
insert below:
1
2
3
    $site_template->register_vars(array(
      
"cat_name" => format_text($image_row_similarimages['cat_name'], 2)
    ));

mfg Andi
Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Pages: «« « 1 2 [3] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.134 seconds with 21 queries.