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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,242
  • Total Topics: 21,353
  • Online today: 488
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 453
  • Total: 454
  • lurkalot

Selecting more boards for front page ?

Started by bluedevil, April 30, 2010, 03:56:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mick

RC3 & TPb5-1

Hey yall,....

TP shows 5 boards in front page.... well, i have 170 boards and i would like to select at least 100 of them.   Is it possible?

pvcblue

Quote from: bluedevil on April 30, 2010, 03:56:20 AM
RC3 & TPb5-1

Hey yall,....

TP shows 5 boards in front page.... well, i have 170 boards and i would like to select at least 100 of them.   Is it possible?

In what capacity are you meaning this? Are you meaning when you are selecting which boards to show a article or block on? or are you meaning when you are selecting boards a membergroup can view? or are you meaning in the "recent posts" block script??

:o

"Smurfs, Smurfs, and More Smurfs!"

ZarPrime

I think he means "Display forum-posts on frontpage from: (Select from up to 5 News Boards)".

Mick, for TP 1.0 beta 4, we came up with the code to select from up to 15 boards when someone requested it but I've never seen anyone ask for this feature for 100 boards.  Can you even imagine how many queries this would take and how long it would take to load a FrontPage when it has to look through 100 boards in the database in order to get the latest topics from each board and then sort them to the FP?  Wow!!!

A while back, not too long ago, someone else asked for this feature for the new TP, and Bloc mentioned that he would consider adding a method to add more News Boards but I can't seem to put my finger on that topic right now.  I can't remember if this was on the Team Board, or in one of the public boards that he mentioned that.  I'll try to locate it but no guarantees.

Anyway, if I was interested in displaying the last topics from 100 boards or so, it seems to me that a better method would be to find a way to allow the member to easily find the last 5 or 10 topics for each board rather than in Chronological order.  If you have a Board that is of interest to some members but is not very busy, the member would have to wade through pages and pages of FP posts in order to see the first one.

How about this ~ What if you did an article for each of the 100 Boards and all of these articles were in the same Category.  Each article could have the following code, edited for the particular board ...


echo '<span class="smalltext">Last 10 Posts from Board #5</span>';
echo '<hr>';
$result=ssi_boardNews(5,10,0,100, 'echo');


If you had one of these articles setup for each Board, then you could setup a CatList Block to list all of the articles in the Category, and then your member could select the board that is of interest to them from the Cat List.  That way they wouldn't have to wade through every FP post in order to find the topics that are of interest to them.  If they are only interested in the Board that talks about the best tires for their Avalanche, then they could click that article in the CatList and only look at those topics.

A CatList Block like this could easily be in the left or right panel, as long as your article titles weren't too long.  For an example of how this might work, scroll to the very bottom of my test site (http://talesofthehavenexpanse.com/smf2test/index.php) and look at the CatList.  I only have 2 Boards setup that way, but you can probably get the idea of what I'm talking about.  If you click either "BoardNews from Board #1" or "BoardNews from Board #2" it will show the last 5 topics for each.

ZarPrime

Mick

See, i use Arantor's SSI Multiple Board News mod http://custom.simplemachines.org/mods/index.php?mod=2280

......that's why i dont use TP's news.

What i like about it is, i can select many boards in which TP is limited to 5.   The thing i dont like about the mod, is too generic compared to TP's board news.

To be honest, i dont need to show 2 topics from 100 boards but i'd be happy from 50 boards in front page.

ZarPrime

Mick,

If it's something you really need, put a Feature Request in the BugTracker so that Bloc will see it.

ZarPrime

This website is proudly hosted on Crocweb Cloud Website Hosting.