News: Welcome to the TinyPortal Support site.

Login  |  Register
* *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 24, 2017, 04:34:03 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 181382
  • Total Topics: 20345
  • Online Today: 59
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 1
Guests: 44
Total: 45

Skinz





Author Topic: Top x Downloads auf 5 beschränken?  (Read 2814 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: 16218
    • 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