4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2018, 12:18:42 PM

Login with username, password and session length
Search:     Advanced search
Follow 4images on twitter: Click here to follow!
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] Mini-Top
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: «« « 1 ... 9 10 11 12 [13] Print
Current Topic Rating: *****
Author Topic: [Mod] Mini-Top  (Read 172921 times)
SweD
Newbie
*
Offline Offline

Posts: 11

Thank You
-Given: 0
-Receive: 1


View Profile
« Reply #180 on: November 02, 2011, 01:29:43 PM »

Why one is shown and too the image: rating and votes?

But in top.php images The different (see image - top)

* why.jpg (82.83 KB - downloaded 35 times.)
* top.jpg (53.22 KB - downloaded 48 times.)
Logged
pwa
Pre-Newbie

Offline Offline

Posts: 8

Thank You
-Given: 5
-Receive: 0


View Profile
« Reply #181 on: November 07, 2011, 09:54:35 PM »

Das würde mich auch sehr interessieren. Hat jemand eine Idee und kann helfen?
MINI TOP of the DAY
MINI TOP of the WEEK
MINI TOP of the MONTH

hi there! no problem. I am willing to share my solution with the world!

I have reworked the entire mini-top mod...

..cut...

I use this solution but it has TRAP Sad
for young gallery, with few images per day it has loop without end:

1
2
3
4
5
6
7
8
9
10
11
//image 3
$mini_top_images_new .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n"; 
$count = 0;
while (($top_image[2][$count]['image_id'] == $image_r1['image_id']) || ($top_image[2][$count]['image_id'] == $image_r2['image_id'])) {
$count++;
}
$image_r3 = $top_image[2][$count];
show_image($image_r3);
$site_template->register_vars("lang_mini_top_mode", $lang['mini_top_hits']);
$mini_top_images_new .= $site_template->parse_template("mini_top_bit");
$mini_top_images_new .= "\n</td>\n";

Im not php programmer - I just commented out this section.


Logged
cabrote
Pre-Newbie

Offline Offline

Posts: 5

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #182 on: March 28, 2012, 07:53:28 PM »

Is there a way to show most viewed, most voted, etc. But only for a period of a Week o r a Month maybe?

 Because if not the Most viewd image would be  probably allways the most viewed one cause it´s appears in home and the possibilities that a person clicks on it is very hi.
Logged
cabrote
Pre-Newbie

Offline Offline

Posts: 5

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #183 on: April 01, 2012, 06:02:25 PM »

Help please, is there support?  Embarassed

I can´t modify code for searching only in last 30 days pictures. The code shown in page 12 doesn´t work well. It output wrong information. The original Mini top Mod works perfect but I can´t figure out how to add in database search onlly image with upload date from 30 days.

Tried with variatons of time() - 60 * 60 * 24 but I´m not a programmer and all ends with php errors  Very Happy
Logged
waseem
Pre-Newbie

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #184 on: July 03, 2017, 07:23:20 PM »

im getting this error plz help me
Bad SQL Query: 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, c.cat_name, u.user_name FROM igdagesmt_images i, igdagesmt_categories c LEFT JOIN igdagesmt_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0, 1, 2, 3) AND i.cat_id = '1' ORDER BY i.image_comments DESC, i.image_name ASC
Unknown column 'i.user_id' in 'on clause'
Logged
nobby
4images Guru
*******
Offline Offline

Posts: 2834

Thank You
-Given: 9
-Receive: 71


View Profile
« Reply #185 on: July 03, 2017, 08:09:02 PM »

Hello,

Please use the search function.
This has all been discussed several times.

Go to the search field: (Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id,)

Helping people help themselves  Wink

nobby
Logged
Pages: «« « 1 ... 9 10 11 12 [13] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.055 seconds with 19 queries.
Post your comments here