UKBouldering.com

the site => site notices and updates => Topic started by: Fiend on June 09, 2009, 10:53:38 am

Title: Bubba you've done something haven't you...
Post by: Fiend on June 09, 2009, 10:53:38 am
...increasing posts per page managed to confuse me for....oooh....at least 5 minutes.

Good idea tho I think.
Title: Re: Bubba you've done something haven't you...
Post by: slackline on June 09, 2009, 10:57:03 am
...increasing posts per page managed to confuse me for....oooh....at least 5 minutes.

Good idea tho I think.

You can also install the greasemonkey script (https://addons.mozilla.org/en-US/firefox/addon/748) that Unpaginates SMF threads (http://userscripts.org/scripts/show/29829) so you need never click on "Next"/"Previous" page again  :thumbsup:
Title: Re: Bubba you've done something haven't you...
Post by: Bubba on June 09, 2009, 11:01:59 am
I have indeed :)

I found a new (to me) article on optimizing SMF forums and increasing the posts per page was one tip for forums where a lot of topics become multi-page. I've also increased the number of topics shown on a forum page by 5.

But the main change was to change the way that avatars are handled. There should now be a *lot* less database calls thus hopefully generally speeding up the forums and stopping them slowing down as much when busy.

There are some more tweaks to be done but that's all for right now.

You can also install the greasemonkey script (https://addons.mozilla.org/en-US/firefox/addon/748) that Unpaginates SMF threads (http://userscripts.org/scripts/show/29829) so you need never click on "Next"/"Previous" page again  :thumbsup:
These scripts are excellent. I use unpagination on Google results and there's a similar thing for Flickr galleries too.

Title: Re: Bubba you've done something haven't you...
Post by: slackline on June 09, 2009, 11:21:19 am

You can also install the greasemonkey script (https://addons.mozilla.org/en-US/firefox/addon/748) that Unpaginates SMF threads (http://userscripts.org/scripts/show/29829) so you need never click on "Next"/"Previous" page again  :thumbsup:
These scripts are excellent. I use unpagination on Google (http://userscripts.org/scripts/show/23176) results and there's a similar thing for Flickr galleries (http://userscripts.org/scripts/show/23211) too.



Title: Re: Bubba you've done something haven't you...
Post by: magpie on June 09, 2009, 11:35:22 am
So some of the threads are pages shorter today then, I'm not mad.   :thumbsup:
Title: Re: Bubba you've done something haven't you...
Post by: Bubba on June 09, 2009, 11:51:02 am

Yes, topics will show as several pages shorter accordingly.

I've also cleaned out a crap load of users who'd registered but never visited/posted.
Title: Re: Bubba you've done something haven't you...
Post by: Plattsy on June 09, 2009, 08:02:43 pm
...increasing posts per page managed to confuse me for....oooh....at least 5 minutes.

Good idea tho I think.

You can also install the greasemonkey script (https://addons.mozilla.org/en-US/firefox/addon/748) that Unpaginates SMF threads (http://userscripts.org/scripts/show/29829) so you need never click on "Next"/"Previous" page again  :thumbsup:

Had a go at this and I think I'm missing something. Installed both the above and then figured I needed to include pages I wished to use the script but it would appear that isn't it. What am I missing?
Title: Re: Bubba you've done something haven't you...
Post by: Bubba on June 09, 2009, 08:26:56 pm
** Edit - these are not complete - see below for correct ones... **

In the "Included Pages" box add the following entries:

For the Unpaginate SMF Threads script you need:
Code: [Select]
http://www.ukbouldering.com/board/index.php/topic,*
For the Unpaginate SMF Topics script you need:
Code: [Select]
http://www.ukbouldering.com/board/index.php/board,*and
Code: [Select]
http://www.ukbouldering.com/board/index.php?*&board=*

Title: Re: Bubba you've done something haven't you...
Post by: Plattsy on June 09, 2009, 09:31:15 pm
Ah. So the default entry is an example. Done that, thanks, and also installed Unpaginate pagination microformated web pages script from the below post by Mr Slacker. However thread pages are still not auto loading. I guess I thought this was going to be easier than it is.

Getting into this greasmonkey lark and found the following two plugins that work with Simple Machines Forums (the PHP-based forum software that sits behind UKB).  They basically autoload subsequent pages into your current when you get half-way through scrolling through the current page, which is pretty handy for very long threads.  :thumbsup:

Unpaginate SMF threads (http://userscripts.org/scripts/show/29829)
Unpaginate pagination microformated web pages (http://userscripts.org/scripts/show/23175) (dependency required by the above).
Title: Re: Bubba you've done something haven't you...
Post by: Bubba on June 09, 2009, 09:48:12 pm

The script will only auto load the next page when you get near the bottom of the existing page - hit "end" or scroll all the way to near the bottom...is it doing it now?
Title: Re: Bubba you've done something haven't you...
Post by: Plattsy on June 09, 2009, 10:19:43 pm
Tried scrolling to the end and hitting end. Neither are auto loading.

Gonna spend some time tomorrow reading up on this stuff. Got me interested.
Title: Re: Bubba you've done something haven't you...
Post by: Bubba on June 09, 2009, 10:36:37 pm

Hang on, mine's not working now either!

Title: Re: Bubba you've done something haven't you...
Post by: Bubba on June 09, 2009, 10:41:19 pm
Got it - you need the following:

In the "Included Pages" box add the following entries:

For the Unpaginate SMF Threads script you need:
Code: [Select]
http://*ukbouldering.com/board/index.php/topic,*
For the Unpaginate SMF Topics script you need:
Code: [Select]
http://*ukbouldering.com/board/index.php/board,*and
Code: [Select]
http://*ukbouldering.com/board/index.php?*&board=*
Note the "*" instead of "www." - the original ones I posted above were catching "http://www.ukbouldering..." but not "http://ukbouldering..."


Title: Re: Bubba you've done something haven't you...
Post by: Drew on June 10, 2009, 01:31:55 am
I've also cleaned out a crap load of users who'd registered but never visited/posted.

Won't this affect your income from Google Ads?
Title: Re: Bubba you've done something haven't you...
Post by: Plattsy on June 10, 2009, 07:48:08 am
Thanks Bubba I'll try it when I get home.
Title: Re: Bubba you've done something haven't you...
Post by: slackline on June 10, 2009, 09:48:48 am
I've also cleaned out a crap load of users who'd registered but never visited/posted.

Won't this affect your income from Google Ads?

Only if they came to UKB to read the adds and click-through on them (which is the business model employed, pay-per-click).  Same people could still read and click-through the forum adverts without being registered on the site.

Reading through the posts I was going to say that I have...

Code: [Select]
[url]http://ukbouldering.com/[/url]*
[url]http://www.ukbouldering.com/[/url]*

For my Unpaginate SMF threads, but I guess the '*' after 'http://' that you've posted covers the same thing Bubba, although this would probably do everything...

Code: [Select]
http://*ukbouldering.com/*
Title: Re: Bubba you've done something haven't you...
Post by: butters on June 10, 2009, 10:37:41 am
Got it - you need the following:

In the "Included Pages" box add the following entries:

For the Unpaginate SMF Threads script you need:
Code: [Select]
http://*ukbouldering.com/board/index.php/topic,*
For the Unpaginate SMF Topics script you need:
Code: [Select]
http://*ukbouldering.com/board/index.php/board,*and
Code: [Select]
http://*ukbouldering.com/board/index.php?*&board=*
Note the "*" instead of "www." - the original ones I posted above were catching "http://www.ukbouldering..." but not "http://ukbouldering..."


Can confirm that these work on my PC.

bluebrad
Title: Re: Bubba you've done something haven't you...
Post by: Bubba on June 10, 2009, 04:32:24 pm
Won't this affect your income from Google Ads?
I don't think so - i'd still rather have a faster forum to keep active users busy.
Title: Re: Bubba you've done something haven't you...
Post by: Bubba on June 12, 2009, 05:55:13 pm
Thanks Bubba I'll try it when I get home.

Did you get this to work?
Title: Re: Bubba you've done something haven't you...
Post by: Plattsy on June 12, 2009, 06:33:09 pm
Thanks Bubba I'll try it when I get home.

Did you get this to work?

Yes. Thank you very much. Took me a while to work out that the next page is appended to the bottom of the existing one rather than loading up the next page only. Now I've wrapped my little brain round that one it is very good.
SimplePortal 2.3.7 © 2008-2024, SimplePortal