• [Mod] Mini-Top 5 0 5 1
Currently:  

Author Topic: [Mod] Mini-Top  (Read 235973 times)

0 Members and 1 Guest are viewing this topic.

Offline nacho-lopez

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Photoshop Designs
Re: [Mod] Mini-Top
« Reply #90 on: August 29, 2006, 01:17:12 PM »
Sorry but I dont know how to do it...  :roll:
(Lo siento pero no tengo ni idea de como se hace. Seguro que alguien te ayuda muy pronto en el foro...)
Regards  :D
Hello,
sorry for my english,
in the mini-top MOD I have six cells,
five with the nacho-lopez format, and the 6th empty
what I can put into the 6th cell, perhaps e-card most downloaded?
How, what´s the code and where I can put it?
How I can change the cells color, the blue for the dark grey

Nacho-lopez, si sabes puedes contestarme en español

http://www.usuarios.lycos.es/riomolin/4images

Regards

Offline desperate_housewif

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [Mod] Mini-Top
« Reply #91 on: September 24, 2006, 11:44:33 AM »
Nachdem ich die gleiche Fehlermeldung hatte wie mstgokcen konnte ich das Problem mit den angesprochenden fehlenden Klammern lösen. Nun kommt keine Fehlermeldung mehr.
Leider wird lediglich in meiner Enddatei eine Headzeile angezeigt, es fehlen die Bilder, Schrift usw. gänzlich. Habe alles so installiert wie angegeben, habe die mini_top.bit.hmtl mit der mini_top.bit_alt.hmtl ausgetauscht. Ohne Erfolg. Woran kann es liegen? Meine einzige Abweichung war, daß ich den für die home.hmtl bestimmten Script in eine andere hmtl.datei eingegeben habe.

Offline keemo

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • http://www.zaffix.com
Re: [Mod] Mini-Top
« Reply #92 on: October 11, 2006, 02:48:56 PM »
Great little MOD. Thanks a bunch.

I formatted the mini-top-bit.php to simply use {image_name} and {user_name_link}. Im looking to have, {image_name} link to the image. Can anyone suggest how to go about this?

(Sorry If I missed this somewhere in the thread)

Thanks!

Offline osnapicture

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: [Mod] Mini-Top
« Reply #93 on: February 14, 2007, 12:34:41 PM »
i absolutly dont get it to work. all i try i get alwas some errors. can anybody please post the correct code for mini_top.php?

Offline code

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: [Mod] Mini-Top
« Reply #94 on: March 20, 2007, 08:43:35 PM »
I request list most view 10 category at last week, code ? on home.html
what is the solution ?

for example, mini top last week category ?

Thank you.

Offline egyptsons

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Egypt Sons
Re: [Mod] Mini-Top
« Reply #95 on: March 24, 2007, 03:17:26 AM »
I got this on the first page
is that OK
and is that the result for the mode or there is something wrong ?
http://gallery.egyptsons.com
Thanx God

Offline darvid

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • KNOWTEBOOK.COM - Community for webdeveloper
Re: [Mod] Mini-Top
« Reply #96 on: April 05, 2007, 08:49:27 PM »
I got the following error messages, when installing the mod to 4Images 1.7.4:

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.



I solved the problem by fixing the mini_top.php with the following:

Hi mstgokcen,

follow the link below for an explanation why this error occurs. If you are using 4Images with MySQL 5.0.12 or higher it should solve your problem.

http://www.4homepages.de/forum/index.php?&topic=3102.msg71831#msg71831

So this is what you have to do:

In top.php find the 4 SQL-queries producing the error-messages in your post and change them as described in the link. You will have to change in each query

[qcode]... FROM ".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c LEFT JOIN ...[/qcode]

to

[qcode]... FROM (".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c) LEFT JOIN ...[/qcode]

I hope this will do the trick.

e-trader_2002

PS:
This error may occur in other PHP-modules of 4Images as well. Identify the PHP-module by looking at the URL-entryfield of your browser:
Quote
http://www.domain.xy/4images/index.php?sessionid=...

Always find the related SQL-query (best done by searching for the string LEFT JOIN) in that module and do the modification described above.

works fine now!
« Last Edit: April 05, 2007, 09:03:34 PM by c-bass »
/* KNOWTEBOOK - BoostYourself community for webdeveloper
/* http://www.knowtebook.com

Integration von Wordpress Blog, PHPBB Forum und 4Images Bildergalerie:
http://www.sebastianscheuer.de/aktuell/integration-von-wordpress-blog-phpbb-forum-und-4images-bildergallerie/
DEMO: http://www.pilotenbilder.de/

Offline darvid

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • KNOWTEBOOK.COM - Community for webdeveloper
Re: [Mod] Mini-Top
« Reply #97 on: April 05, 2007, 09:21:00 PM »
in addition to that, i got a question.

the mod shows the best image either by votes, ratings, comments, hits or random.

i would like to show the REAL BEST IMAGE (the best image of all categories) so i need to combine all the data to find it out. how would i do that?  :roll:
/* KNOWTEBOOK - BoostYourself community for webdeveloper
/* http://www.knowtebook.com

Integration von Wordpress Blog, PHPBB Forum und 4Images Bildergalerie:
http://www.sebastianscheuer.de/aktuell/integration-von-wordpress-blog-phpbb-forum-und-4images-bildergallerie/
DEMO: http://www.pilotenbilder.de/

Offline mstgokcen

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [Mod] Mini-Top
« Reply #98 on: May 05, 2007, 10:33:56 AM »
I think I found a bug. My minitop was working perfect but I create a private group then I noticed that The user who are involved a private user group are not able to count the mini top values.

I mean althoug the users visit a photo, the count of view never changes...

Do you have any idea for solution?

Offline darvid

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • KNOWTEBOOK.COM - Community for webdeveloper
Re: [Mod] Mini-Top
« Reply #99 on: June 28, 2007, 04:27:55 PM »
an awesome MOD. Now, how could i show the mini-top mod on an external page outside of 4images directory?
/* KNOWTEBOOK - BoostYourself community for webdeveloper
/* http://www.knowtebook.com

Integration von Wordpress Blog, PHPBB Forum und 4Images Bildergalerie:
http://www.sebastianscheuer.de/aktuell/integration-von-wordpress-blog-phpbb-forum-und-4images-bildergallerie/
DEMO: http://www.pilotenbilder.de/

computer123

  • Guest
Re: [Mod] Mini-Top
« Reply #100 on: August 07, 2007, 10:10:36 PM »
Hello,

I have a question:

How can I add my additional field to the Thumb of Mini-Top?

Noramly you find under the thumb: The name, discription, category..... I want to add more informations.

PS: I could add the additional field to the normal thumb but under the thumb of Mini-top not

I have tried but I got nothing to see.

Thank you for any help

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [Mod] Mini-Top
« Reply #101 on: August 07, 2007, 10:19:50 PM »
Ok so in mini_top.php file,

find:

Quote
for ($cnt = 0; $cnt < $num_of_cells; $cnt++) {

add top of it:

Quote
$additional_sql = "";
if (!empty($additional_image_fields)) {
  foreach ($additional_image_fields as $key => $val) {
    $additional_sql .= ", i.".$key;
  }
}

Can use additional image fields (if what mean - no specify ?). ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

computer123

  • Guest
Re: [Mod] Mini-Top
« Reply #102 on: August 07, 2007, 10:49:47 PM »
Thank you very much thunderstrike.
It's is now working.
« Last Edit: August 07, 2007, 11:08:07 PM by computer123 »

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [Mod] Mini-Top
« Reply #103 on: August 07, 2007, 10:52:05 PM »
Quote
I have also the same problem with Random image. Do I have to follow the procudere to show the additional field under the ramdom image?

Please post topic (precise) and, from topic, post problem and will look.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [Mod] Mini-Top
« Reply #104 on: August 07, 2007, 11:00:20 PM »
Please post random image topic. Is mini-top here . . .
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?