I was scratching my head as to why my bbPress forum was displaying topics with negative numbers. It seems to coincide every time someone deletes a topic. The number of topics can sometimes falls below zero into negative territory. It just looks odd to have a forum with negative topics.
In any case, the fix is to login as Admin and perform a Recount. Just go to Manage > Recount. I checked on the first 7 boxes. I skipped boxes 8 and 9 that either delete or remove posts with no topics, etc. It only takes a few seconds to perform the recount. Once recounted, the topics would show the correct values.
I never did get a clear explanation as to what is causing the negative numbers to show up. There seems to be a good discussion at the bbPress forum, but it seems the question was never resolved.
It won’t be long now before 3 Terabyte hard drives will roam the earth. Seagate is currently developing 3TB drives with transfer speeds of 6GB per second and spinning at 7200 rpm. This is made possible by the development of 640GB and 750GB drive platters, up from the current 500GB. A 2TB hard drive is made up of 4 x 500GB platters. A 3TB hard drive equates to 4 x 750GB platters. Also, you will see in the upcoming months improvements in 2.5 laptop hard drives with the development of the 1TB drives.
If you’re like me, you probably have several browsers installed in your favorite desktop whether it’s Windows or Linux. In Windows, I have IE, Firefox, Chrome and Safari. In Linux, I have Firefox and Chrome. Ever wonder which browser is faster.
Do the numbers mean anything? All I know is the higher the number, the better. Here’s the V8 Benchmark page explanation.
The eReader market just got crowded. Borders just introduced the Kobo eReader for $150. It’s set to compete with Amazon’s Kindle and Barnes & Noble’s Nook. The Kobo offers users access to over 1 million eBooks via USB or wireless Bluetooth.
Unfortunately, there is no WiFi support. The Kobo comes pre-loaded with over 100 classic books. It’s capable of storing 1000 titles in less than 1GB of flash memory. The Kobo can read a number of eReader formats including PDF, ePUB and Adobe DRM.
Here’s a Kobo eReader review.
One last thing, the battery life is 2 weeks. It’s a cheaper alternative to Amazon’s Kindle.
Breadcrumbs in web terms are a chain of links that leads the user back to the main index page. This article will teach you how to manually create your own breadcrumbs within WordPress. You will place these codes in your WordPress themes just underneath your header, for example.
Create a Home
Let’s get started. Let’s create a home. Use this HTML and PHP code.
<a href=”<?php bloginfo(‘url’);?>”>Home</a>
Double Angle Quotation Marks
Let’s use a Guillemet or a Double Angle Quotation Mark to separate the links.
The symbol » equals to “»” in HTML.
Post and Page Titles
Let’s display the titles. The code for both post and page titles are the same.
<a href=”<?php echo get_permalink() ?>”><?php the_title(); ?></a>
All Together Now
<a href=”<?php bloginfo(‘url’);?>”>Home</a> » <a href=”<?php echo get_permalink() ?>”><?php the_title(); ?></a>
Home » Create Your Own WordPress Breadcrumbs
Just place this piece of code in your WordPress theme files: e.g. pages.php and single.php. For the main index.php page, you just need the Home link.
That’s it. Fairly easy.
You can get really elaborate by adding Categories, Months and Dates in your breadcrumb. Nevertheless, this article will get you started in the right direction.
Just when you thought it was safe to back into social media, there could be one as terrible as Facebook. Today, a software bug allowed Facebook users to view their friends private chat sessions. Very nice. How juicy. The same bug also allowed users to see their friends pending friends requests.
Well, this one is not so bad and juicy as reading other people’s chat messages. Nevertheless, it’s a security hole that was open for a limited time before Facebook turned off its instant messaging service. I predict it won’t be the last time. As Facebook grows in users and complexity, there’s great potential for a slip up like today.
If you’re worried about privacy, don’t place anything online that can get you in trouble.
One of my favorite websites for browsing the latest tech news is ZDNet. This morning, I noticed a new website redesign. It’s cleaner, cooler, compact and ad-friendly I might add. I’m digging it. I love the homepage slider feature, although I think it’s too fast. The footer section is much, much bigger.
In terms of color, the blue colors seems to be much darker than the previous design, although I don’t have the old site up for a side-by-side comparison. The website reminds of the kit of the US Mens National Team for this summer’s World Cup in South Africa. The US National unis have also gone dark the last couple of years.
I think the biggest improvement of the website redesign is the comments section. I use to dread reading comments because I had to click on each one of them to read them. That’s no longer the case. It’s structured similar to how most blog comments are displayed these days, in chronological order.
As in any new website redesign, I found a couple of kinks. There are several broken links, but I’m sure they will fix that soon. It will take a while for me to learn the new site. Navigating is a bit awkward at first, but improving the comments structure is by far the best thing that’s happened to this site.
Here’s the latest browser market share according to Net Applications:
- Microsoft Internet Explorer: 60%
- Mozilla Firefox: 25%
- Google Chrome: 6.7%
- Apple Safari: 4.7%
- Opera: 2.3%
IE still has sizeable command of market, but it’s shrinking rapidly. It could be worse. Microsoft relishes on the fact that IE is included in every Windows OS product. To get Firefox and Chrome, you really have to get out of your way to download and install it. Safari is also standard in every Mac, but it’s also available in Windows.
Sometime after WordPress 2.7 and before WordPress 2.9.2, I lost a key functionality within WordPress. It’s threaded comments. I blame myself for constantly tinkering around with the theme. I must have deleted a key piece of code somewhere in the theme that prevented threaded comments from working.
For those not familiar with WordPress, the threaded comments functionality allows the “comment form” to jump underneath a specific comment when a “Reply” link is clicked. Clicking “Cancel Reply” restores the “comment form” to its original position. When a comment is submitted, the comment is placed directly underneath that specific comment.
<?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>
There is no such thing as a perfect server, but this particular one is as close as you can get to being perfect. This tutorial will walk you through how to install the Ubuntu 10.04 LTS Server with all the services available typically that you get from ISPs and hosters.
It contains the installation of Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Courier POP3/IMAP, Quota, Firewall, etc. It also installs the free web hosting control panel called ISPConfig2. Here’s the link to the tutorial.