4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 22, 2018, 07:41:31 PM

Login with username, password and session length
Search:     Advanced search
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 [2] 3 4 5 6 ... 13 » »» Print
Current Topic Rating: *****
Author Topic: [Mod] Mini-Top  (Read 166783 times)
fanncy pants
Newbie
*
Offline Offline

Posts: 38

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #15 on: June 02, 2003, 12:40:37 PM »

Nice hack!  I have more than the english and deutch languages installed at my gallery, therefore am looking for translations to the code below in spanish, italian, french, portuguese, chinese, japanese, and swedish, if available.  Thanks!



1
2
3
4
5
6
7
8
9
10
11
12
13
14


/lang/english/main.php

//-----------------------------------------------------
//--- Mini-Top ----------------------------------------
//-----------------------------------------------------

$lang['mini_top_title'] = "Hot-Shots";
$lang['mini_top_hits'] = "Most viewed";
$lang['mini_top_rating'] = "Most rated";
$lang['mini_top_downloads'] = "Most downloaded";
$lang['mini_top_comments'] = "Most commented";
$lang['mini_top_votes'] = "Most voted";

[/code]
Logged


Fanncy Pants!

[/color]
Lord Nite
Newbie
*
Offline Offline

Posts: 43

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #16 on: June 10, 2003, 11:28:03 AM »

Quote from: ib41   [Expand]

no mention of mini_top_bit_alt.html in the install DOC and where to put it ( would confuse n00bs  Confused  )


The mini_top_bit_alt.html template is an alternate way to show the mini top stats.

Examples:
mini_top_bit.html: http://come.no-ip.com
mini_top_bit_alt.html: http://gallery.nitetek.com
Logged
excitex2
Addicted member
******
Offline Offline

Posts: 1589

Thank You
-Given: 0
-Receive: 4

He desactivado la galería y el buscador


View Profile
« Reply #17 on: June 23, 2003, 09:43:50 PM »

Regards,
Sorry for my English one, I do not speak it because of it use a translator of the net.
I have installed MINI-TOP MOD and it works very well, but besides I have several languages installed in order that the users use that of his(its) language.
 The proble is the following one: When I use a language different from that of beginning, desconfigura them <table>. In a language they go out smaller, in others bigger.
Someone knows why this happens(passes) and how it is solved?
Thank you in yours time
Excitex2
Logged

Lo importante no es saber,,, lo importante es tener el E-Mail de quien sabe
ACmonKey
Newbie
*
Offline Offline

Posts: 25

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #18 on: June 26, 2003, 06:01:58 PM »

Quote from: fanncy pants   [Expand]
Nice hack!  I have more than the english and deutch languages installed at my gallery, therefore am looking for translations to the code below in spanish, italian, french, portuguese, chinese, japanese, and swedish, if available.  Thanks!



1
2
3
4
5
6
7
8
9
10
11
12
13
14


/lang/english/main.php

//-----------------------------------------------------
//--- Mini-Top ----------------------------------------
//-----------------------------------------------------

$lang['mini_top_title'] = "Hot-Shots";
$lang['mini_top_hits'] = "Most viewed";
$lang['mini_top_rating'] = "Most rated";
$lang['mini_top_downloads'] = "Most downloaded";
$lang['mini_top_comments'] = "Most commented";
$lang['mini_top_votes'] = "Most voted";

[/code]



Spanish here Wink

/lang/spanish/main.php

//-----------------------------------------------------
//--- Mini-Top ----------------------------------------
//-----------------------------------------------------

$lang['mini_top_title'] = "Mas popular";
$lang['mini_top_hits'] = "Mas visto";
$lang['mini_top_rating'] = "Mejor evaluado";
$lang['mini_top_downloads'] = "Mas descargado";
$lang['mini_top_comments'] = "Mas comentado";
$lang['mini_top_votes'] = "Mas votado";

I'm sure there will be some Spanish people who will say that there are better translations but Spanish is a very "complicated" language were there are several words for the same meaning.

For example in Top Votes you can say: Mas votado OR Mas calificado OR Mas puntuado.
Really just depends on what you like best and the rest of the translations of your website. If you already have Rating translated then use the same word.
Logged

Sad
Here is the list of my unanswered topics:

http://4homepages.de/forum/viewtopic.php?t=4001
http://4homepages.de/forum/viewtopic.php?t=5305

btw. V@no is a gr8 guy. He's answered almost all my questions. Thanks V@no Wink
Bomba
Full Member
***
Offline Offline

Posts: 202

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #19 on: June 27, 2003, 04:08:29 AM »

portuguese here:

1
2
3
4
5
6
$lang['mini_top_title'] = "As Mais Populares";
$lang['mini_top_hits'] = "Mais vista";
$lang['mini_top_rating'] = "Melhor votação";
$lang['mini_top_downloads'] = "Mais downloads";
$lang['mini_top_comments'] = "Mais comentada";
$lang['mini_top_votes'] = "Mais votada";
Logged
disparos
Full Member
***
Offline Offline

Posts: 168

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #20 on: March 13, 2005, 09:14:32 AM »

I have installed this MOD and it works, thanks for the work!!! Wink

But now I get this notices:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Notice: Constant GET_CACHES already defined in /home/disparos/public_html/culos/mini_top.php on line 3

Notice: Constant ROOT_PATH already defined in /home/disparos/public_html/culos/mini_top.php on line 4

Notice: Undefined variable: additional_sql in /home/disparos/public_html/culos/mini_top.php on line 26

Notice: Undefined variable: selection_cutoff in /home/disparos/public_html/culos/mini_top.php on line 29

Notice: Undefined variable: additional_sql in /home/disparos/public_html/culos/mini_top.php on line 26

Notice: Undefined variable: selection_cutoff in /home/disparos/public_html/culos/mini_top.php on line 29

Notice: Undefined variable: additional_sql in /home/disparos/public_html/culos/mini_top.php on line 26

Notice: Undefined variable: selection_cutoff in /home/disparos/public_html/culos/mini_top.php on line 29

Notice: Undefined variable: additional_sql in /home/disparos/public_html/culos/mini_top.php on line 26

Notice: Undefined variable: selection_cutoff in /home/disparos/public_html/culos/mini_top.php on line 29

What's wrong???
Logged

centopeia
Pre-Newbie

Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #21 on: April 04, 2005, 11:54:36 PM »

Well, this is not a conventional way of solving problems (this is more like a quick and dirt), but to correct those errors, just change the first lines of the mini_top.php to look like these.

Your errors shoud disapear.


//define('GET_CACHES', 1);
//define('ROOT_PATH', './');

$additional_sql="";
$selection_cutoff=0;

Regards,

José
Logged
JensF
Addicted member
******
Offline Offline

Posts: 1028

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #22 on: May 07, 2005, 10:30:34 PM »

Hi there,

what must i do to have 4 images not 3 in the Mini Top???

In my Image Settings in ACP i have Image table cells to 3. And now i have it for the Mini Top.

But for the Mini Top i will have 4...to see all Tops....



See it on my Page...click the Signature.
Logged

Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 565

mmm PHP...


View Profile WWW
« Reply #23 on: May 07, 2005, 10:37:22 PM »

in mini_top.php replace
1
$num_of_cells = $config['image_cells'];
with
1
$num_of_cells = 4;
Logged

Your first three "must do" before you ask a question:
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)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
JensF
Addicted member
******
Offline Offline

Posts: 1028

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #24 on: May 07, 2005, 11:02:52 PM »

Thanks for this.....
Logged

Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-
kindian
Jr. Member
**
Offline Offline

Posts: 62

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #25 on: July 11, 2005, 01:33:12 AM »

Hi

How do I put each photo inside a table (3 tables)? Instead of them all inside of the same table?

thanks
Logged
megalomania
Newbie
*
Offline Offline

Posts: 13

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #26 on: July 13, 2005, 06:24:12 PM »

ola,

i have installed the "mini-top mod" and it works fine.
but in my case, the mini-top only makes sense in the subcategories, instead of the home-temlate.

my problem is, that after editing the template "categories.html", it won't show the mini-top.
although "This Mod shows additional table on the first (and/or any other page) of your gallery, with the thumbnail of one winner from each category ..."
is mentioned in the the install.doc.

Could please someone help me to find a solution?
Logged
kindian
Jr. Member
**
Offline Offline

Posts: 62

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #27 on: July 14, 2005, 02:47:18 PM »

I have 3 rating shown on my mini-top ("Most voted"; "Most voted" and "Most viewed").

Now how do I put "Most commented" instead of "Most viewed".

someone can help?
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 565

mmm PHP...


View Profile WWW
« Reply #28 on: July 14, 2005, 02:52:06 PM »

I have 3 rating shown on my mini-top ("Most voted"; "Most voted" and "Most viewed").

Now how do I put "Most commented" instead of "Most viewed".

someone can help?
its already there, but I dont think its working properly...
this lines are not correct (IMO):
1
2
$selection = array('rating', 'votes', 'hits', 'comments', 'downloads');
 $selection_alt = array('votes DESC', 'rating DESC', 'name ASC', 'name ASC', 'name ASC');

should be:
1
2
$selection = array('rating', 'votes', 'hits', 'comments', 'downloads');
 $selection_alt = array('votes DESC', 'rating DESC', 'hits DESC', 'comments DESC', 'downloads DESC');
Logged

Your first three "must do" before you ask a question:
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)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
kindian
Jr. Member
**
Offline Offline

Posts: 62

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #29 on: July 14, 2005, 05:25:09 PM »

It worked. Thanks man  Mr. Green
Logged
Pages: «« « 1 [2] 3 4 5 6 ... 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.359 seconds with 19 queries.