paging for threads

Hi there,

I wonder why nobody already has mentioned. I've searched the forums here, but could not find any hint about it.

Is there any possibility to activate paging for the forum threads? Actually all posts of a thread gets displayed on one single page.

I'm quiet sure, that it would not very difficult to implement some sort of paging. Is this already in work somewhere?

Sincerely

Criz

Quote · 30 Nov 2010

It's been asked before, but nothing has come of it.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 30 Nov 2010

Okay... nevermind.... I've now added paging to the threads within about 2 and a half hour of try&error, learning and scripting.

I really wonder, why the boonex team doesn't add paging into the threads... well, it is not my problem anymore.

 

Criz

2010-12-01-1024x648-008.png · 159.7K · 344 views
Quote · 1 Dec 2010

 

Okay... nevermind.... I've now added paging to the threads within about 2 and a half hour of try&error, learning and scripting.

I really wonder, why the boonex team doesn't add paging into the threads... well, it is not my problem anymore.

 

Criz

Care to explain how you did that?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Dec 2010

I have still two things to solve:

1. The rss feed on the start page does not load anymore, but the feed itself looks good. The only thing that has changed is the number of posts in the uri. (i.e.  /forum/topic/Some-kind-of-a-topic-title-50.htm )

2. I also want to add the exact post_id of the last post of a topic to the url ( i.e.  /forum/topic/Some-kind-of-a-topic-title-50.htm#12345 ) so that it jumps directly to the last post instead of only to the last page.

 

The other thing is, that I only changed the german files (classes/de/*, layout/base_de/*, and so on)... and I really have not written down what I've changed.

But when I'm finished with that, I may be able to provide the whole module folder to the responsible boonex programers. Then they can do some kind of ´diff´. But maybe I'll create an extra module or changeset or something like this and sell it for a lot of money. Because I'm a bit annoyed, that Boonex wants money for every little piece of shit.

Quote · 1 Dec 2010

 

I have still two things to solve:

1. The rss feed on the start page does not load anymore, but the feed itself looks good. The only thing that has changed is the number of posts in the uri. (i.e.  /forum/topic/Some-kind-of-a-topic-title-50.htm )

2. I also want to add the exact post_id of the last post of a topic to the url ( i.e.  /forum/topic/Some-kind-of-a-topic-title-50.htm#12345 ) so that it jumps directly to the last post instead of only to the last page.

 

The other thing is, that I only changed the german files (classes/de/*, layout/base_de/*, and so on)... and I really have not written down what I've changed.

But when I'm finished with that, I may be able to provide the whole module folder to the responsible boonex programers. Then they can do some kind of ´diff´. But maybe I'll create an extra module or changeset or something like this and sell it for a lot of money. Because I'm a bit annoyed, that Boonex wants money for every little piece of shit.

I'll also be looking into this. I'm sure the page code for topic lists will provide a hint.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Dec 2010

be warned... you would have to change a lot of code, many many functions and classes in a lot of different files and of course at least three or four templates (for each language).

Quote · 1 Dec 2010

 

be warned... you would have to change a lot of code, many many functions and classes in a lot of different files and of course at least three or four templates (for each language).

I have no life. I have all the time in the world.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Dec 2010

I have now downloaded the 7.0.4 source again and then created a patch file for my changes.

This patch file has 1200 lines! So you see, there are many changes to do... ^^

 

[edit] erm, sorry my fault... I've forgotten that the original module doesn't contain the /de/ folders. So the patch doesn't contain any changes related to the pageing... ^^ ...I create a new one if I can find the german files again. [/edit]

Quote · 2 Dec 2010

strange... unfortunatly I can not find the original /de/ folders for the forum anymore. Don't know where I got this translation from... :(

 

So I've now merged the original forum module with my version. This way I now have an archive that holds the forum module with only the changes needed for the paging in topics. Unfortunatly this is nevertheless only the german version.

 

Boonex and most of the modules writers should learn of this:

Here's the archive (zip + tar.bz2) for you all free to use. I've not added any copyright notices or change histories. So this comes without any guarantee, support or anything else.

 

MAKE BACKUP OF modules/boonex/forum BEFORE YOU USE THIS!

 

@Boonex: Please overtake my changes and implement them into the official sources!

 

Btw: Maybe someone can look into these changes and tell me what is wrong with the RSS feed ( /forum/?action=rss_updated_topics ). Because the last topics on the startpage which is created by the rss feed, doesn't load anymore... :(

forum-7.0.4-with-paging-in-topics-DE.zip · 650.2K · 401 downloads
Quote · 2 Dec 2010

time goes by... and finally I also have fixed the recent topics on the startpage. AND I also now have the "#p12345" anchor directly to the posts. So when clicking on a recent topic title within the RSS feed or within the startpage, you'll get redirected directly to the last page AND to the very last post on the bottom of the page.

 

Still one single thing more to resolve: When writing a reply and saving the post, you'll land on the first page on top, instead of the last page and last post. This I still have to solve now.

Quote · 2 Dec 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.