BIKEPGH MESSAGE BOARD ARCHIVE

« Back to Archive
29

Brand Spankin' New Forums

Hey everyone and welcome to the new forums. We ran into a snag when our old forum software was discontinued from further updates, so we've found a more stable, reliable platform that integrates much better with some of the other features on our site. A few particular notes:



  • 1. You can now mark threads as favorites. You can then subscribe to an RSS feed of your favorites and stay up to date with all replies to those threads. Basically, it's just an easier way for you to stay in touch with the threads you're interested in.

  • 2. You can now see a list of all of the posts you've started and those you've replied to, as well as whether or not someone has replied since you last did. That way, you don't have to search all through the site trying to remember whether or not you wanted to remember something.

  • 3. All of your profile pictures are gone. :( Sorry, but that's just the breaks. You can, however, get a new profile picture by visiting the Gravatar website. Gravatar is a nifty service that allows you to set up an avatar once and then it applies to lots of different sites, mostly WordPress sites (like this one) but others as well. It's quick and easy. Just visit that link, sign up with the same password you've used on this site, and you'll be good to go.


So please do enjoy the new forums, and let us know what you think or if you find any problems.


admin
2008-09-10 17:32:33

Sweet!


bjanaszek
2008-09-15 19:45:19

Spiffy!


reddan
2008-09-16 00:28:05

so pretty... everything works better and faster! especially the login.


imakwik1
2008-09-16 03:30:09

I'm getting a "forum not found" message on FS/WTB and the Bike Advocacy forums. Other'n'at, looks real spiffy! Thanks!


stuinmccandless
2008-09-16 07:37:14

BTW, "green and leafy?"


:)


reddan
2008-09-16 11:14:47

Yay, the FS/WTB and the Bike Advocacy forums work! Thanks again!


stuinmccandless
2008-09-16 17:58:38

Looks good, although some threads appear to have their final posts eaten.


See "hi", two threads below this: listed at 6 messages, with the latest from me; displays 3 messages.


alankhg
2008-09-16 20:32:03

so far i like it a lot. i wonder if posts automatically close unclosed tags, so we can do away with the four consecutive posts that go to the same link. those were fun, though.


so far, my only complaint--and this might be just a function of my lack of understanding about the new setup--is that: i REALLY liked the feature that showed you which threads had new posts in them, and that seems to be gone. that feature is how i tend to browse all forums, and if it's there and i'm just missing it, someone please let me know!


hiddenvariable
2008-09-17 06:29:46

This is way better.

there were times when i was too lazy to offer my

unasked for opinion because i didnt feel like logging in.


steevo
2008-09-17 14:30:24

the new feature that addresses which threads have new posts is RSS and "freshness"


I guess there's no way to do the bike icon thing. Totally new message board system. They're constantly developing it, though, so who knows what the future will bring.



HiddenVariable


member


Private Message Posted 10 hours ago

Edit Delete Spam


so far i like it a lot. i wonder if posts automatically close unclosed tags, so we can do away with the four consecutive posts that go to the same link. those were fun, though.


good theory. was wondering about that myself.


One thing I want to change i linking to photos. The


scott
2008-09-17 16:49:33

It looks like there are some plugins for the bbpress software to allow some HTML tags in posts.


bjanaszek
2008-09-17 17:49:30

this new forum setup is awesome! the only thing i'm a little confused about is some of my replies seem to have disappeared from posts. anyone else notice this?


varun5
2008-09-18 04:29:58

yeah we've noticed. i think they're the threads with double or triple posts, but we're checking into it.


scott
2008-09-18 17:12:10

why does it say i'm green and leafy?


imakwik1
2008-09-24 15:46:27

i think because you've posted a lot. i'll have to get the run down from Nathan. Newbie is obvious as is "frequenter" but "member" and "green and leafy" is not so much, albeit pretty funny.


scott
2008-09-24 16:39:56

clicked on links are now darker and linked images are supported


scott
2008-09-25 21:11:41

Testing (green and leafy) images




reddan
2008-09-26 14:54:42

Is it just me, or does it seem to take a very long time to bring up this board's main page? (i.e., a lot longer than the old one)


Granted my machine is old and slow (933 MHz), but I didn't used to be able to go out to the kitchen, pour myself a cup of coffee and get back before the page came up.


stuinmccandless
2008-10-07 17:22:11

Funny, it has been really slow for me, until I saw this post in my RSS. It loaded quickly.


bjanaszek
2008-10-07 18:38:23

It's slower than molasses in January. We're looking into it, but if anyone specializes in MySQL who wouldn't mind taking a look under the hood, we'd really appreciated it. Here's what we got from Pair.com:


"That URL actually is working, but is very, very slow. This is because of

the many slow queries that are being run on this database (194 so far

today). These queries are examining about 2.4 million rows to return 10.

Here is an example of a recent query:


# Time: 081006 17:42:46

# User@Host: bikepgh[bikepgh] @ [209.68.4.180]

# Query_time: 138 Lock_time: 0 Rows_sent: 10 Rows_examined: 2494186

SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN

(SELECT MAX(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP

BY forum_id);


You should purge data from this database and/or restructure your queries

to be more efficient."


Not sure how in the hell there are 2.4 million rows. This msg board ain't that big. Please help!!!


scott
2008-10-07 20:04:48

Do y'all have the MySQL cache enabled?


Long thread here about bbpress and caching.


bjanaszek
2008-10-07 20:23:13

How many total records are in bb_topics? Can you post the result of


EXPLAIN SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN

(SELECT MAX(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP

BY forum_id);


and


SHOW INDEX from bb_topics


crcd
2008-10-07 21:36:00

Things have been really weird for me since the upgrade too. SLOW loading, have to log in every time I come back to site, image stuff, etc.


eric
2008-10-07 21:37:45

I'm no database pro, but I'll give a shot at dissecting the query:


"SELECT forum_id, topic_id FROM bb_topics" tells the database to look through every topic and to look at its forum_id and topic_id. "WHERE topic_last_post_id IN(" tells the database to only return these values if topic_last_post_id is in the max of the set returned by the second query, "SELECT MAX(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY forum_id". The problem appears to be that the second query has to be executed for every single row in bb_topics, which means the number of operations is on the order of the square of the number of rows in bb_topics. Ouch.


That's why 2.4 million rows are examined: it goes over the same rows, probably about sqrt(2.4 million) rows, a whole bunch of times.


I'll give a shot at rewriting this thing.


alankhg
2008-10-08 03:54:53

Thought:

Someone should teach the BBPress developers about "comments."


I don't know PHP and don't have time to delve into the sparsely-commented code of BBPress to get an idea of where, exactly, this query comes from. However, I can offer an idea that'd hopefuly take performance closer to O(nlogn) than O(n^2), assuming it isn't already used: put an index on topic_last_post.


An article on the topic is here:

http://www.databasejournal.com/features/mysql/article.php/1382791


I believe the command you'd want to run is

ALTER TABLE bb_topics ADD INDEX(topic_last_post_id);


alankhg
2008-10-08 04:19:26

Looks like Nathan was able to fix it by eliminating the "most recent poster" plug-in.


scott
2008-10-08 15:15:29

Just tested it out. It's friggin' QUICK now. Thx!!


stuinmccandless
2008-10-08 15:27:46

Images seem to work OK now, too! Double thx!!



(See full story under Eye Candy.)


stuinmccandless
2008-10-08 19:08:36