- Create Account

Forum Feature Suggestion

Forums > Forum Development > Forum Feature Suggestion
Author
Message

1) Flanagan Group: Members
Posts: 50 Joined: 11 Mar 2005 Location: USA IP: 140.175.--.--
It would be great to allow the user to choose how many lines of data are allowed per page. This is especially useful to accommodate widely varying screen resolutions. I would also give the option of "all" if the user doesn't want multiple pages.
Me

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.173.--.--
Hmm -- the script's default template already just flows the text to match the browser window size :). Just shrink your window a little perhaps?

Otherwise, you can alter the template to display a fixed-width I guess, but I'm not a major fan of fixed-width designs. And posts-per-page is controllable in the options.

- Angus.

3) Flanagan Group: Members
Posts: 50 Joined: 11 Mar 2005 Location: USA IP: 140.175.--.--
I want to specify the number of LINES (topics) displayed, NOT the number of columns on the screen. Flowing the text as you already do is great. The problem is, if there is a Forum with say 150 topics in it, I'd like the option of displaying ALL of them (or 50, or 100) on one page if I prefer, rather than having to go through 8 pages with 20, 20, 20, 20, 20, 20, 20, and 10 on the pages.

From what you've said, I assume that I can change the number of posts per page within the options. That is what I'm looking for. Where is this option??? I couldn't find it. All I can see is the "Edit Account" option which only allows editing the user password, and some miscellaneous unimportant user info (location, bio, signature). It should be *user* selectable. Also, is there an ALL option?

A good example of what I'm talking about is in Google's advanced search options. They allow you to select 10, 20, 30, 50, or 100 results per page. For the Forums, I'd also allow the user to display ALL as an option (since you won't be getting 6,000,000 results like in Google), or if you think that's a possibility, set a maximum per page (maybe 500?).
Me

4) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 219.88.--.--
Check the template file:

$forum_prefs{'topics_per_page'} = 20;
$forum_prefs{'posts_per_page'} = 15;

Set  them to whatever values you find sensible, and you're good to go :).

Enjoy  - Angus.

5) Flanagan Group: Members
Posts: 50 Joined: 11 Mar 2005 Location: USA IP: 140.175.--.--
Uhhh... You're missing the point here. I don't want it to be hard-coded.

I'd  like EACH USER to be able to set their own preferences (via a users database on the server or a cookie at the client) for topics per page and/or posts per page.
Me

6) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 210.54.--.--
Ah, gotcha, sorry about that.

Hmm, it's probaly possible. You'd have to add a suitable preference to the user account page, and modify the user login code to set the global forum_prefs with the user's custom value.

At the moment this isn't on my radar but if you wanted to hire me to make the modification I guess I could...

- Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.