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

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

0 Members and 1 Guest are viewing this topic.

Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: [Mod] Mini-Top
« Reply #60 on: November 08, 2005, 09:23:25 PM »
:oops: i forgot a coma !  :arrow: repared.
can you re-apply the modification?
ch€ri{Bi}²


Offline SAD

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Туристические ФотоАльбомы
Re: [Mod] Mini-Top
« Reply #61 on: November 09, 2005, 12:25:27 PM »
What to deduce on page the table with two lines (an example here: http://gallery.krugozor.ru), it is necessary to make the following:

1. Find:
Code: [Select]
$num_of_cells = $config['image_cells'];
Change:
Code: [Select]
$num_of_cells = 6;
2. Find:
Code: [Select]
$mini_top_images .= "\n</td>\n";Add after:
Code: [Select]
if ($cnt==2)  {
$mini_top_images .= "\n</tr><tr>\n";
}

 :wink:
Sergey


Offline hanspys

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] Mini-Top
« Reply #62 on: November 30, 2005, 03:28:07 PM »
How in h... do you get the mini top images to be on top of each other   :?:
ex.
most viewed
most ......
most ......
most ......

so i can fit it into my page ?

been lookin for it, but frankly i suck in php

any help ?

I would like this very much too and like fuzionative I too suck in php!

Offline hanspys

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] Mini-Top
« Reply #63 on: December 01, 2005, 10:38:18 AM »
Never mind I found the solution myself. Don't know if it's the correct solution seen from a coder's perspective but it does the trick:

In mini_top_bit.html I changed
Code: [Select]
{thumbnail}<br />
<b>{image_name}</b> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new} ({user_name_link})<br />
<a href="{cat_url}">{cat_name}</a><br /><br />
<b>{lang_mini_top_mode}</b>

to:
Code: [Select]
<tr> <div align="center">
{thumbnail}<br />
<b>{image_name}</b> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new} ({user_name_link})<br />
<a href="{cat_url}">{cat_name}</a><br /><br />
<b>{lang_mini_top_mode}</b>
<tr><br>

Offline abda53bd

  • Sr. Member
  • ****
  • Posts: 486
    • View Profile
Re: [Mod] Mini-Top
« Reply #64 on: January 25, 2006, 10:37:44 PM »
i did it before, but i forget how...

how can i make it so that it will RANDOMLY look at the least OR the most popular

Offline insane

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Gallery
Re: [Mod] Mini-Top
« Reply #65 on: February 02, 2006, 07:39:48 PM »
http://p4ddy-online.de.vu/4images
acc: test pw: test

how can i put the mini-top in the center? (width) so that it stucks just to the 4images copyright frame
(or do you know any better postion?) (vertical for example, but don't know how it works)

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [Mod] Mini-Top
« Reply #66 on: February 02, 2006, 08:24:33 PM »
Quote

or do you know any better postion?


Actually, if I may suggest, the way you set your 4images signature and your mini-top, I'd put the signature on a left alignment ' from the 2nd table above (instead of the first which is not quitly aligned right now). ;)

2nd, I believe you could simply center the mini-top's images by playing with your home.html template file. It's a really simple task. ;)

Offline insane

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Gallery
Re: [Mod] Mini-Top
« Reply #67 on: February 02, 2006, 08:39:39 PM »
Whats the "signature"? I'm sorry but i really don't know so much about HTML.
perhaps you can show me your imagination by a code or a pic?

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [Mod] Mini-Top
« Reply #68 on: February 02, 2006, 10:02:04 PM »
In that case, please post your home.html file into the Templates & Styles section of the forum by mentionning this topic. I will look into it in order to customize your HTML's home page presentation. ;)

Offline insane

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Gallery
Re: [Mod] Mini-Top
« Reply #69 on: February 02, 2006, 10:05:51 PM »
Thanks my friend xD gonna post it there

Offline aleem316

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [Mod] Mini-Top
« Reply #70 on: May 13, 2006, 04:59:31 PM »
Hi all

I   installed this modd  and i am only  seeing most rated/voted and viewed  despite i changed the code  to
Code: [Select]
$selection = array('rating', 'votes', 'hits', 'comments', 'downloads');
$selection_alt = array('votes DESC', 'rating DESC', 'hits DESC', 'comments DESC', 'downloads DESC');



also how can i remove that  grey  background

Offline aleem316

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [Mod] Mini-Top
« Reply #71 on: May 14, 2006, 01:48:04 AM »
ohk i got it 2 work..

Offline riomolin

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: [Mod] Mini-Top
« Reply #72 on: June 20, 2006, 06:26:00 PM »
Regards
Sorry for my english
The mod works fine.
But I´m stupid an I can´t format the table (I don´t know where). It is in the footer?, not in the body...
my gallery:
http://www.usuarios.lycos.es/riomolin/4images/
thanks in avance
Siempre aprendiendo

Offline idijotaz

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • CLON Entertainment
Re: [Mod] Mini-Top
« Reply #73 on: June 20, 2006, 07:29:15 PM »
in home.html add that table  8O

Offline riomolin

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: [Mod] Mini-Top
« Reply #74 on: June 21, 2006, 01:53:00 AM »
solved
thanks
Now I need center the cells
Siempre aprendiendo