News: Welcome to the TinyPortal Support site.

Login  |  Register
* *

Welcome !!!

Welcome, Guest. Please login or register.
Did you miss your activation email?
Please welcome tupoar, our newest member.

 
 

Welcome, Guest. Please login or register.
Did you miss your activation email?
August 30, 2015, 08:30:37 PM

Login with username, password and session length

Recent

Members
  • Total Members: 3548
  • Latest: tupoar
Stats
  • Total Posts: 175627
  • Total Topics: 19965
  • Online Today: 62
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 0
Guests: 19
Total: 19

Please read the Posting Guidelines


Author Topic: Top x Downloads auf 5 beschränken?  (Read 1987 times)

0 Members and 1 Guest are viewing this topic.

Offline IshtalBloodfist

  • Newbie
  • *
  • Posts: 2
Top x Downloads auf 5 beschränken?
« on: February 10, 2011, 07:07:27 AM »
Aloha,

ich habe gerade schon die SuFu bemüht, aber nichts passendes gefunden. Meine Frage ist hoffentlich recht leicht zu beantworten:

Wie limitiere ich die Anzeige der Top x Downloads im tpmodule Block auf 5?

Danke für Hilfe im Voraus
Ish



English:

I already tried the search function, but did not find an answer...

How do i limitate the number of shown downloads in the tpmodule block (top x downloads) to 5?

Thanks in advance
Ish
« Last Edit: February 10, 2011, 07:48:14 AM by IshtalBloodfist »

Offline IchBin™

  • Developer
  • *
  • Posts: 16193
    • My Website
Re: Top x Downloads auf 5 beschränken?
« Reply #1 on: February 10, 2011, 11:08:49 AM »
Themes/default/TPsubs.template.php

Find:
Code: [Select]
case 'dl-stats':
dl_recentitems('8','date','echo');
break;

Change '8' to your desired number.

Offline IshtalBloodfist

  • Newbie
  • *
  • Posts: 2
Re: Top x Downloads auf 5 beschränken?
« Reply #2 on: February 11, 2011, 12:18:24 AM »
Thank you very much