The new EricMartindale.com is an experiment in data aggregation, and might have a few bugs. Feel free to explore, and then provide feedback directly to @martindale.

search results for phpBB

Coding Contest: Shortest Full-featured CMS, BB, or Blog

There's a large number of Content Management System, Bulletin Board, and Blog solutions available, all with amazing functionality that simply can't be missed on today's rapidly advancing internet(s).

Examples CMS: Joomla, with around 280,000 lines of code. BB: phpBB, with around 150,000 lines of code. Blogs: WordPress, with around 170,000 lines of code.

My challenge is this: What is the smallest full-featured CMS, BB, or Blog that you can create?

Contest submissions must include the following features:

  • User Accounts
  • Article Posts (or "Topics" in BB-land)
  • Comment System

Submissions will be accepted in any language, so long as the content can be served up over HTTP. To submit, comment on this post with a link to your project!

Good luck and happy coding!

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Tuning Large phpBB3 Forums

One of the sites I own and run (RolePlayGateway) has a pretty large forum, with several customizations and features that I've added on to the base install of phpBB3. As time went on, we continued upgrading the servers (moving from GoDaddy shared hosting to GoDaddy virtual dedicated servers, then onward to MediaTemple's (gs), and now we're on the second tier of MediaTemple's (dv) hosting) in an effort to keep the hardware moving as fast as possible.

As I'm sure you know, hardware can be pretty expensive! One month, while on MediaTemple's Grid Server, we racked up $600 in CPU time overage charges. (Ow.) Now that we've moved onward to bigger and better packages, we're shelling out just about $100 per month for a rock-solid server solution that can be upgraded seamlessly in the future. But since upgrades can only go so far without being prohibitively expensive, I thought it was time to take a look at some of our coding approaches.

Enter memcache, the distributed database caching solution originally designed by LiveJournal to help them deal with massive databases and large volumes of users. DavidMJ has written some shiny ACM modules to help phpBB3 make use of some caching systems, and a memcache module was among them.

That didn't work so well. It gave about a 50% boost to phpBB3's performance (which was great!), but we were still choking the server, and ended up upgrading to a bigger and more robust package with MediaTemple. So I started looking into more options, and DavidMJ suggested xcache. So I go grab xcache and compile it, then enabled it in php. Bingo! There's a 500% boost in our page compile times, and across most of our pages we're now well under 0.1 second compile times. (With the exception of viewtopic.php, which frequently approaches 2 seconds due to bad coding on my part... this will be fixed soon.)

So now that I've got the thirst for speed, let's take a look at how we're performing. To do this, use the apache benchmarking tool:ab -n 100000 http://www.mydomain.com/my_page This will test the URL you specify 100,000 times, and give you some feedback about how the page performs. You'll end up with something looking like this:

Server Software: Apache/2.2.3 Server Hostname: www.mydomain.com Server Port: 80 Document Path: /my_page Document Length: 0 bytes Concurrency Level: 1 Time taken for tests: 15.30100 seconds Complete requests: 1 Failed requests: 0 Write errors: 0 Non-2xx responses: 1 Total transferred: 715 bytes HTML transferred: 0 bytes Requests per second: 0.07 [#/sec] (mean) Time per request: 15030.100 [ms] (mean) Time per request: 15030.100 [ms] (mean, across all concurrent requests) Transfer rate: 0.00 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 15030 15030 0.0 15030 15030 Waiting: 30 30 0.0 30 30 Total: 15030 15030 0.0 15030 15030

Some tweaks to the default xcache config that I recommend:

Set the number of caches to one per processor on your server! ; set to cpu count (cat /proc/cpuinfo |grep -c processor) xcache.count = 4

This post will be updated as I explore phpBB3 and more server side options. (I wrote part of this post, then stopped writing... and figure I'd publish it a couple days later anyway!)

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

DMOZ In Danger? Not So Much, Says DMOZ Editor

DMOZ: Open DirectoryThere's been a lot of active discussion about the state of AOL's directory project, DMOZ. There have been many attempts to unseat the directory project from its position as the most authoritative listing resource, such as the Yahoo Directory. Many of these attempts have fallen by the wayside, as Rand Fiskin points out, but none have remained more controversial than DMOZ. More recently, Chris Crum's post on WebProNews about his lack of respect for DMOZ has stirred up a hornet's nest of DMOZ criticism, including a particular post claiming DMOZ is a waste of time.

I forwarded a lot of this on to Philip Nicolcev, known by username as "frug", who is the editor of several roleplay-oriented categories on DMOZ. He responded to me directly with a highly insightful email, and I was fortunate enough to receive his permission to share its contents.

I've been editing the pbp category at DMOZ for what... 4 years now? About that. This article is a big whiny complaint which misses the mark. They are both correct and sadly mistaken. Yes, dmoz is outdated and yes, it fails because of attitude problems, but not silly allegations of 'corruption' or people who are bitter because they didn't get listed. We don't list everything, I don't list even half of the submissions I get, and anyone who has been an administrator or an editor for a similar type of project knows better than to take these kinds of complaints seriously. One thing they say is definitely correct: Apply once carefully following their rules if you wish and then, as Will suggested, forget about them.

This is exactly the approach that should be modeled for any directory, regardless of its state or condition. When you are submitting a link to a directory, you are being offered the privilege to be listed as a resource by the owners and management of that directory. They are not obligated to list your link, let alone review it in a timely fashion--but this would be genuinely appreciated and would reflect on the directory's position as a "good" resource.

DMOZ is the primary source for Google's Directory, and you must respect the opinion of such a large and successful company. It's obvious that the idea behind an open directory like DMOZ is good, but where they fail is in execution. More on that later.

He continues:

That is what you should do. Apply once and forget about it, don't claim anybody is corrupt because whether you believe my opinion or not, there's no corruption. Nobody cares enough about dmoz anymore for it to be valuable for extortion. Don't be ridiculous. Furthermore if you were to speak to some of the senior editors you'd discover that they are pretty damn uptight, even obsessive. The problems with dmoz are, in my opinion, twofold. First off, you have the dated trashy look of the website which is a relic of the 1990's. It's not user friendly, it doesn't entice anyone to go browsing, and it hasn't adapted or added features that would help people understand the structure of the directory or find what they're looking for. The editor forums still use phpBB2, and you should see the editing panel. You wouldn't believe how dated this stuff is. Frankly it has needed an overhaul for years now.

I largely agree with him. The phpBB team deprecated the phpBB2 branch at the beginning of this year, ending support for the outdated platform. AOL would do well to do a complete overhaul of the site's design now that "Web 2.0" has come and gone (and I could reference posts all day on that) - and AOL has completely missed their opportunity to latch on and ride the wave.

Philip finishes his correspondance with the frightening truth that has been plaguing many post-Web2.0 sites and services:

The second problem, attitude, is partially the cause of the first problem. It's a stagnant atmosphere where nothing gets done and nobody gets listened to. They would rather leave a directory as a cluttered mess of garbage than risk breaking its structure by overhauling it. Fixing my category took me about two years before I had approval to restructure it, and I'm in a small niche category nobody pays much attention to. Since becoming an editor I have deleted about 60% of the outdated links listed. Had I not joined, they'd still be there cluttering things up with linkspam geocities pages from 10 years ago. So yeah, dmoz is failing, but not because of corruption or because some guy didn't get what he wanted. And, honestly, if the author of this article was applying to dmoz just to 'test how fair it was' then I'm glad they rejected him. Somehow they made the right decision because he's wasting their time.

And that's the exact problem - the DMOZ community has completely stagnated, which has resulted in the puddle of goop that the directory has become. In my personal opinion, I think that AOL could do a lot better job at community management (all reputation management aside) by setting up a more rigid structure of responsibility. The editors need to be held responsible for a timely review specified by their superiors, and there needs to be cross-checking of the editor's work by other qualified editors.

Is this another example of AOL's purchases being mismanaged and ultimately being forgotten, such as what many people claim is the case with ex-Nullsoft product WinAmp? Perhaps, but I think that remains to be seen. After all, even our favored Google took a questionable amount of time to convert phone-consolidation service GrandCentral to the new Google Voice after its 2007 acquisition. DMOZ was in fact originally a Netscape project, which then-strong AOL acquired in 1998. Since that acquisition, little has changed.

All said and done, DMOZ needs some love if it's going to survive as anything more than a relic of trust and authority in the Web 2.0 bubble. As Philip points out, it has both good and bad traits and deserves further attention, but it needs to be attention in (and from) the right direction. The questions remain; where has AOL been? What can be done about the editors (or lack thereof)? How can DMOZ be improved?

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Genesis

Yes, I am damn well aware that this is a stock template. Right now, I couldn't care less. I'm not even posting, really.

Well, GWing is back, but somehow, all of the files in my home directory disappeared, as well as all of my backups. For right now, I've created a simple placeholder page for everyone who just happens to type GWing.net into their address bar.

Now that I think about it, I may just end up redesigning the whole index page anyways. I'm considering using Drupal or something similiar, or just recoding a simple page for the index. I'm going to need to further tie in to the main user database - the phpbb one - to allow a smoother experience.

Now that I'm talking about the forums, I should mention that I have no idea how I put so many things on the board without completely breaking it. I have over 100 installed modifications installed, and I still have a functional forum. Now, don't get me wrong: There are a LOT of bugs... but it's functional. [Insert-puzzled-glee]

I think I will refer to the above insert statement as [IPG] from now on.

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.

Forums Are Social: But We Need Stuff

There's some discussion about how forums are or are not social media, (frankly, I don't think there's any question at all) - and it occurred to me the answer of why there is this rift in perception of forums/message boards.

Message boards haven't changed in almost 25 years. There simply hasn't been any real innovation - and that's why there's so much "real" social media out there that's exploding right now. The stuff is so radically different from traditional mediums such as forums that everyone is missing the core of what social media is: community engagement and interaction

So, here are some of the things I'd like to see in a forum, and some things that I've implemented on some of my own forums (heh, or at least planning to implement):

Trackbacks It'd be awesome to have the same functionality in a blog post that we have on Wordpress or other blog software - did I give credit to someone? Let me hit the trackback API to make sure there's a connection between the two posts in the semantic web.

A forum thread is no different than a blog post. It has a topic, a goal, and a discussion pertaining to the original post. Let's see some of the functionality we found in the current decade put to use!

Native RSS Support There's nothing worse than having to write an RSS extension for your forum, and still not have the functionality you want. Give every URL on my forum a /feed, please. This includes forums, threads, posts, users: the whole shebang.

While you're at it, tell Feedburner to support filtered feeds - a lot of my users don't want every single post. And I sure as hell don't want to burn a new feed for every forum. C'mon, let's meet somewhere in the middle.

Semantic URLs Blogging software does it, why do we still have URLs on forums that use IDs right there in the URL? What benefit does that have to the user?

Social Profiles Alright, we've got friends and foes lists on our forums, now - but where is the option to make this information public? Why aren't we displaying a users' friend list on their profile page by default? What about all their most recent posts and actions, and selected excerpts?

A community can only grow in a stifled manner if interaction between members isn't made as easy as humanly possible. Current forum software is stuck in the 90's, with an XHTML wrapper around it. Let's fix this, and soon - before we all melt.

Real Metrics and Algorithms Stop using post count as a legitimate metric. This only encourages poor post quality. Let's see the ability to easily show Flesch-Kincaid, average word count, or something similar. The amount of posts a user has is not a good valuation of their contributions.

Instead, replace these with something more community-driven. Look at Digg for example. There is a solid (questionably) algorithm in place that measures users based on what they've submitted and the reactions of other users' reaction to that content, whether it be a comment or a submission.

Maybe I'm just whining. Maybe I've got legitimate desires. What do you think?

P.S.: And good god, phpBB! Why didn't you include this stuff in your phpBB3 release?!

0 Replies

Replies are automatically detected from social media, including Twitter, Facebook, and Google+. To add a comment, include a direct link to this post in your message and it'll show up here within a few minutes.