Customizing SMF > SMF Coding Discussion

[Trick] Endless topics

<< < (10/13) > >>

ChalkCat:
Great minds eh? After I posted last night I reached the same conclusion and removed my bottom page index  ;)

emanuele:
lol

Another thing I was considering is to add some kind of "navigation/moderation bar" (pages, previous/next, up/down, breadcrumbs, moderation buttons and other things) in a fixed div somewhere since most of those will not be reachable when the trick is active.

Arantor:
Well, the search engines won't see any JavaScript so provided the regular pagination is working, they'll still crawl...

Groovystar:
This is a GREAT idea! I'd love to give it a try on my site. I imagine though that when someone makes a post to the topic, the page that they return to would be the end page of that topic, rather than the gigantic stream that they might have loaded beforehand? {This to prevent heavy use of resources.}

Also, let's say the topic has 200,000 replies. {Yes, I have one that does exceed this.} Would there be a way for it to avoid overload by eventually loading the next page by itself, say maybe every 500 replies or whatever was tolerable?

emanuele:

--- Quote from: Groovystar on June 23, 2012, 12:37:37 AM ---This is a GREAT idea! I'd love to give it a try on my site. I imagine though that when someone makes a post to the topic, the page that they return to would be the end page of that topic, rather than the gigantic stream that they might have loaded beforehand? {This to prevent heavy use of resources.}
--- End quote ---
Yes, that's correct, but more than to avoid server load is because it would be rather complex to redirect to somthing that is generated "on-the-fly".


--- Quote from: Groovystar on June 23, 2012, 12:37:37 AM ---Also, let's say the topic has 200,000 replies. {Yes, I have one that does exceed this.} Would there be a way for it to avoid overload by eventually loading the next page by itself, say maybe every 500 replies or whatever was tolerable?

--- End quote ---
At the moment no, there isn't such a feature, but that wouldn't be too hard to implement.
* emanuele is just back from a marriage and he needs a bit of time to be able to code... :P

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version