• [Mod] Toplist altered 5 0 5 1
Currently:  

Author Topic: [Mod] Toplist altered  (Read 235282 times)

0 Members and 1 Guest are viewing this topic.

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
[Mod] Toplist altered
« Reply #60 on: February 26, 2003, 08:30:05 PM »
.
« Last Edit: August 09, 2009, 01:32:56 AM by Ernesto Taseffa »

Offline helluvaguy

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
[Mod] Toplist altered
« Reply #61 on: February 26, 2003, 09:31:01 PM »
OK, all you have to do is insert the following code
Code: [Select]

                         <tr>
                            <td class="head1" valign="top" colspan="5">{lang_top_image_comments}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1" align="center"><b>1</b></td>
                            <td valign="top" class="row1">{image_comments_1}</td>
                            <td valign="top" class="row1">{image_comments_user_1}</td>
                            <td valign="top" class="row1">{image_comments_cat_1}</td>
                            <td valign="top" class="row1" nowrap>{image_comments_number_1}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2" align="center"><b>2</b></td>
                            <td valign="top" class="row2">{image_comments_2}</td>
                            <td valign="top" class="row2">{image_comments_user_2}</td>
                            <td valign="top" class="row2">{image_comments_cat_2}</td>
                            <td valign="top" class="row2" nowrap>{image_comments_number_2}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1" align="center"><b>3</b></td>
                            <td valign="top" class="row1">{image_comments_3}</td>
                            <td valign="top" class="row1">{image_comments_user_3}</td>
                            <td valign="top" class="row1">{image_comments_cat_3}</td>
                            <td valign="top" class="row1" nowrap>{image_comments_number_3}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2" align="center"><b>4</b></td>
                            <td valign="top" class="row2">{image_comments_4}</td>
                            <td valign="top" class="row2">{image_comments_user_4}</td>
                            <td valign="top" class="row2">{image_comments_cat_4}</td>
                            <td valign="top" class="row2" nowrap>{image_comments_number_4}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1" align="center"><b>5</b></td>
                            <td valign="top" class="row1">{image_comments_5}</td>
                            <td valign="top" class="row1">{image_comments_user_5}</td>
                            <td valign="top" class="row1">{image_comments_cat_5}</td>
                            <td valign="top" class="row1" nowrap>{image_comments_number_5}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2" align="center"><b>6</b></td>
                            <td valign="top" class="row2">{image_comments_6}</td>
                            <td valign="top" class="row2">{image_comments_user_6}</td>
                            <td valign="top" class="row2">{image_comments_cat_6}</td>
                            <td valign="top" class="row2" nowrap>{image_comments_number_6}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1" align="center"><b>7</b></td>
                            <td valign="top" class="row1">{image_comments_7}</td>
                            <td valign="top" class="row1">{image_comments_user_7}</td>
                            <td valign="top" class="row1">{image_comments_cat_7}</td>
                            <td valign="top" class="row1" nowrap>{image_comments_number_7}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2" align="center"><b>8</b></td>
                            <td valign="top" class="row2">{image_comments_8}</td>
                            <td valign="top" class="row2">{image_comments_user_8}</td>
                            <td valign="top" class="row2">{image_comments_cat_8}</td>
                            <td valign="top" class="row2" nowrap>{image_comments_number_8}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1" align="center"><b>9</b></td>
                            <td valign="top" class="row1">{image_comments_9}</td>
                            <td valign="top" class="row1">{image_comments_user_9}</td>
                            <td valign="top" class="row1">{image_comments_cat_9}</td>
                            <td valign="top" class="row1" nowrap>{image_comments_number_9}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2" align="center"><b>10</b></td>
<td valign="top" class="row2">{image_comments_10}</td>
                            <td valign="top" class="row2">{image_comments_user_10}</td>
                            <td valign="top" class="row2">{image_comments_cat_10}</td>
                            <td valign="top" class="row2" nowrap>{image_comments_number_10}</td>
                          </tr>

Where you put it, depends on where you would like it to appear - meaning:
if you want the comments to be on top of the Top10 page above all others, look for
Code: [Select]

                          <tr>
                            <td class="head1" valign="top" colspan="5">{lang_top_image_rating}</td>
                          </tr>
and add it before this.
 
If you want it to be below highest votes look for
Code: [Select]

                         <tr>
                            <td class="head1" valign="top" colspan="5">{lang_top_image_votes}</td>
                          </tr>
and add it before this.

If you want it to be below most votes, look for
Code: [Select]

                          <tr>
                            <td class="head1" valign="top" colspan="5">{lang_top_image_hits}</td>
                          </tr>
and add it before this.

If you want it below most hits, look for
Code: [Select]

                          <tr>
                            <td class="head1" valign="top" colspan="5">{lang_top_image_downloads}</td>
                          </tr>
and add it before this.

If you want it at the bottom, look for
Code: [Select]

                          <tr>
                            <td valign="top" class="row2" align="center"><b>10</b></td>
                            <td valign="top" class="row2">{image_downloads_10}</td>
                            <td valign="top" class="row2">{image_downloads_user_10}</td>
                            <td valign="top" class="row2">{image_downloads_cat_10}</td>
                            <td valign="top" class="row2" nowrap>{image_downloads_number_10}</td>
                          </tr>
and add it after this.

Offline uny

  • Newbie
  • *
  • Posts: 46
    • View Profile
Image URL
« Reply #62 on: March 07, 2003, 07:09:40 PM »
what if I'm using some URL to represent a image.
I got image broken link. here is the HTMl it generated, how can I fix it?

<img src="data/thumbnails/73/http://..........image.jpg" width="48" height="36" border="0" alt="" /></td>

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[Mod] Toplist altered
« Reply #63 on: March 08, 2003, 01:45:13 PM »
is that what u got? data/thumbnails/73/http://..........image.jpg
it seems u mess something up during the installation.
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)

Offline uny

  • Newbie
  • *
  • Posts: 46
    • View Profile
[Mod] Toplist altered
« Reply #64 on: March 08, 2003, 04:31:52 PM »
ya, that's what I got. It's not something wrong with the Installation. It is because I used image URL, no image is been uploaded to the server. I used URL. so when it request the Thumbnail, it get it from the URL instead get from the Data folder.

Offline limes

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
the correct order?
« Reply #65 on: March 08, 2003, 05:43:01 PM »
hi,

step one

i changed the code in "top.php" - posting thread-page 4 from te-ga - 19.01.2003, 18:42    

step two

i changed the code - posting thread-page 3 from V@no - 03.01.2003, 04:03
and now i get a php-error - bla bla bla in line 69

what is the correct order or can someone post his top.php?
thx
markus oeder
www.chauvi-seite.de

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
[Mod] Toplist altered
« Reply #66 on: March 23, 2003, 02:44:01 PM »
Maybe somebody can help me,
i try to integrate my 4Image with Invisionsboard.

Everything works just fine.

I like to use this Mod (Toplist Altered).

Thank you  :D

boti.(sorry for my english)

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
[Mod] Toplist altered
« Reply #67 on: March 24, 2003, 03:00:59 PM »
Quote from: boti
Maybe somebody can help me,
i try to integrate my 4Image with Invisionsboard.

Everything works just fine.

I like to use this Mod (Toplist Altered).

Thank you  :D

boti.(sorry for my english)


O.K. i just did it, it works.

Offline Neo1

  • Full Member
  • ***
  • Posts: 202
    • View Profile
    • http://www.terradreams.de/
[Mod] Toplist altered
« Reply #68 on: March 26, 2003, 04:29:07 PM »
I only got remote images. I try all things in this thread but nothing works.
I always got the wrong path to the images. Now i have changed this line:
 
Code: [Select]
<img src=\"data/thumbnails/".$top_list[$i]['cat_id']."/".$top_list[$i]['image_thumb_file']."\" width=\"48\" height=\"36\" border=\"0\" alt=\"\" />"

to this:
Code: [Select]
<img src=\"".$top_list[$i]['image_thumb_file']."\" width=\"48\" height=\"36\" border=\"0\" alt=\"\" />";

and this works with remote images.

Offline Neo1

  • Full Member
  • ***
  • Posts: 202
    • View Profile
    • http://www.terradreams.de/
[Mod] Toplist altered
« Reply #69 on: March 26, 2003, 05:03:06 PM »
If someone like to show details from the toplist-thumbs in new window, just let me know (also for random image). I post the code then.

Offline matthew

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://www.seclusion.org
[Mod] Toplist altered
« Reply #70 on: March 28, 2003, 11:22:28 PM »
Great Stuff!

Just added this to my gallery and have to say it really adds flavour to the page.

Thanks to all involved in it!

Matt

Offline aymanati

  • Full Member
  • ***
  • Posts: 214
    • View Profile
    • http://lqta.com
[Mod] Toplist altered
« Reply #71 on: April 02, 2003, 07:30:44 AM »
hi,
I am totally lost between the 5 pages.
Could any body refer me to the well working code that should we use.
What about the other media files, will their thumbnails be shown?

My version is 1.7.

Thanks

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[Mod] Toplist altered
« Reply #72 on: April 02, 2003, 01:23:19 PM »
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)

Offline limes

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
media files
« Reply #73 on: April 14, 2003, 02:19:54 PM »
Quote from: V@no
media files fix:
http://4homepages.de/forum/viewtopic.php?p=13855#13855


->  What about the other media files, will their thumbnails be shown?
thx
elimes

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: media files
« Reply #74 on: April 14, 2003, 10:50:07 PM »
Quote from: limes
->  What about the other media files, will their thumbnails be shown?

What are the others? :?
By media files I ment any files that dont have thumbnails and uses media icons.
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)