TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,992
  • Total Topics: 21,323
  • Online today: 422
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 450
  • Total: 451
  • tino

Number of posts in front page and pages

Started by 3nd3r, July 12, 2007, 10:45:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

3nd3r

Well, thanks for your answer Tank, but I think that this would be a small bug or code mismatch I have on my web code.
I mean, I think I don't need a mod to do a thing that it supposes to do it without a modification.
Anyway, if there isn't another way to do it, I will try... But it's a little weird...

knat

#11
i just told u howw to do it without the mod ?  :o

Edit: Ohh i see, my way would not affect the "ending" number.. just how many numbers are shown.. im lost..  :buck2:

3nd3r

#12
Edit: Sorry, I don't understand you...

It's ok. I hope anybody could find the way...

knat

i figured it out.. maybe :D

in TP admin > settings > frontpage

What boards have you selected in the 5 colums ?? Only post form these boards will be shown on the frontpage ?

look where it says "Show forum-posts on front page from:"

3nd3r


knat

Ok then i have to give up..  :P hope you get it solved  ;)

3nd3r


3nd3r

Wow... I've burn my eyes, but at last I've got it...

Just found on .../Sources/TPortal.php :
// count boardnews to show pages for forum posts
function TP_boardNewsCount($board, $limit = '50')


Change '50' to whatever number of total messages you want (I've put '9999')

And it's done  ;)

knat

Quote from: 3nd3r on July 14, 2007, 11:37:54 PM
Wow... I've burn my eyes, but at last I've got it...

Just found on .../Sources/TPortal.php :
// count boardnews to show pages for forum posts
function TP_boardNewsCount($board, $limit = '50')


Change '50' to whatever number of total messages you want (I've put '9999')

And it's done  ;)

I wonder what the reason is for puttin a limit there ?!? :D

3nd3r

Yes... me too.
I hope there's a great good reason for this annoying limit

This website is proudly hosted on Crocweb Cloud Website Hosting.