1 (edited by trakman 2007-05-25 01:27)

Topic: 'all discussions' or 'forums' listing

can we have a filter to see all posts from *all* forums and sub-forums on one page plus the ability to just show all forums and the ability to change the default view for your forum

Vanilla forum does this well

Re: 'all discussions' or 'forums' listing

I think that's a great idea!

I'll make up a mod for that when I get a chance. A quick change to search.php lets you show all posts pretty easily. Example of all posts

Re: 'all discussions' or 'forums' listing

thanks soonotes, any chance you can make a plugin instead of a mod?
big_smile

Re: 'all discussions' or 'forums' listing

Plugins are only for admin/mod tools wink

Re: 'all discussions' or 'forums' listing

Oh $*@&, forgot about this smile

I'll get on this in a couple of days. Been pretty busy. Shouldn't be a mod that requires much modding anyway.

Re: 'all discussions' or 'forums' listing

bump come on *soontoes* tongue
or does anyone else wanna try?

Re: 'all discussions' or 'forums' listing

Hey there trakman, my apologies for taking so long but again this slipped my mind.

I have made a basic page which will show all topics. It can be seen here

I'm not sure what you would like for additional info. I put a link to the forum (category) and could add reply or whatever. Take a look and let me know.

Re: 'all discussions' or 'forums' listing

Hey Trakman, or anyone else interested in this

If you click the link in my previous post you will see this in action. It basically lists all topics ever posted in order of last post.

You also see a link for 'post new topic' which brings you to a page where you need to select a forum to post in before going to the normal post form. This of course only shows if you have permission to post on the site and only shows the forums you can post in. Pretty straight forward and I really like for a small site like mine.

The OP also mentioned sub forums and default view. As I don't use sub forums I'm not sure what would need to change for it to be compatable with that mod.

As for the default I'm not sure what you mean. Making it the default forum view for the site would be pretty straight forward. Letting a user choose their default may not be. Will look into it but would appreciate any feedback.

Re: 'all discussions' or 'forums' listing

When are you going to release it?

Re: 'all discussions' or 'forums' listing

Was kind of hoping for some feedback from trakman. Also trying to figure a way to integrate it better. Any thoughts on that?

11

Re: 'all discussions' or 'forums' listing

Will you share your code Soonotes ?
I would be interested in giving users the ability to print the forum as normal (by forum listing) or just as a list of recent topics with your work.
A pair of links at the head of the forum, something like :
listing forums | listing posts
or something CSSed like vanilla would be usefull and smart to let people switch the way they want too see the forum.
What should be fine, to my mind, is a cookie to remember user's latest choice.
Think it would be a great option and hope you will.

Re: 'all discussions' or 'forums' listing

I've implemented this on soonotes.com and have added the option to the footer to switch between 'Topics View' and 'Forum View'.

I'll clean it up a little bit, incorporate the lang files and release as a mod in a day or two.

I hope trakman didn't give up on it wink

13

Re: 'all discussions' or 'forums' listing

Nice !

Re: 'all discussions' or 'forums' listing

This is sweet. I like it the way it is. I don't see a need to add anything more.

Re: 'all discussions' or 'forums' listing

http://www.punres.org/viewtopic.php?id=3669

16 (edited by abclf 2007-07-27 09:42)

Re: 'all discussions' or 'forums' listing

Installed, thank you very much ; it works fine but I made a little modification : I don't like the fact all sticky subjects in my forums are at the top of the «all list», because some of them are very forum-related.

In your php file, I replaced all three
ORDER BY sticky DESC, last_post DESC LIMIT
by
ORDER BY last_post DESC LIMIT

Hope I do as needed smile

Thanks again, very good option with no db modification.

ps1 : Ah, and if possible, please make «choose forum» a not hardcoded sentence, for better localization.
ps2 : Ah, and if possible, please give us the stats and online block in the php file.

Re: 'all discussions' or 'forums' listing

Will fix up the hardcoded 'choose a forum'.

As for stats and who's online I will add that but only for the first page I think.

I also noticed I left a line in the post.php which needs to be removed. It's harmless and doesn't affect anything but leaves a tag open and uses the lang file from another mod.  I look it over for anything else I may have missed and reupload.

As for stickies I'm not sure what to suggest. The change you made will work fine but this probably isn't a good mod for a site that uses many stickies. It kind of defeats the whole purpose of the stickies IMO.

Thanks for the feedback smile