3D is being overused (or should I say, misused)

It seems like ever since 3D movies like Avatar smashed box offices around the world that the term “3D” has been getting overused. Movies that weren’t even shot in three-D are being converted during post-production so that they can slap it onto their titles to squeeze out more profit. I personally think movies shot in real 3D isn’t all that great to start with so I won’t even delve into the post-production crap. But even the latter can fit into a broad definition of what 3D means. So this is an observation rather than a complaint.

What I find ridiculous are companies misusing it to market their products and brands. I have been witnessing this a lot in the hygiene department. Crest’s new “3D whitening system” (3dwhite.com) is a good example. Need I say more?

I sure hope this trend doesn’t continue.

VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
Posted in Off-topic | Tagged , | 1 Comment

INSANITY tips for newbies

INSANITY by Team Beachbody is 63-days of high-intensity cardio that will get you in shape. The workouts are literally insane and will test you as much mentally as physically. It’s no lie when people say you will be sweating more than you ever have–my hair was damp and dripping with sweat, usually within 15 minutes of the workout, and my hair is never damp from a workout.

Every 2 weeks, a fit test is penciled into the schedule so that you can track your progress. Although I did not complete the last 4 days of the workout regimen due to personal reasons, my fitness test results improved substantially. INSANITY won’t make you big, but you will get stronger and leaner–I noticed the biggest gains in my calves, core, and triceps (in that order). To cut to the chase, here are 5 tips for those of you new to INSANITY.

5 simple tips to maximize INSANITY results

  1. Perfect the forms. The Dig Deeper DVD goes through the basic forms used in all the workouts. Learn it well and learn it properly. Compromising form may be easier, but it’s really no pain no gain with INSANITY.
  2. Fit Test isn’t just about reps. An extension of the first tip. Some people compromise their form just to squeeze out more reps in the Fit Test. The trade-off is that you’re making it much more difficult on your next Fit Test if you want to eclipse your old results. It also fudges the numbers–did my numbers really improve due to improved strength/cardio?
  3. Wear cross-trainers. If you’re working out on a solid surface, you may want to invest in a good pair of cross-trainers. With all the jumping and footwork involved, you will want maximum flexibility and support for your feet. Everybody is different though and some people do the workouts on their bare feet. I tried this, along with running shoes, and experienced a lot of pain in my arches.
  4. Stick to the schedule. If you’re like most people, you will crave a break from the schedule. Don’t give in and keep on fighting. Promising yourself only a day off will turn into days and then weeks. Keep pushing play.
  5. Use supplements. INSANITY recommends their shakeology drink, but I used good ol’ whey protein instead. A month into the workouts, I switched to a whey protein shake with glutamine and BCAAs, and my recovery nearly skyrocketed. Instead of heading into a workout with sore calves or arms, my muscles weren’t even sore at all. Faster recovery means more reps, and more reps means bigger gains.
VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
Posted in Articles | Tagged , , , | Leave a comment

There are no perfect routers; Linksys BEFW11S4, Cisco Valet Plus (M20) review, and Atheros AR5007 adapter conflict with WPA2/WPA

Almost a decade ago, I setup my first wireless network along with the purchase of my first laptop. Boy, technology was expensive back then. In total, the laptop and network  cost nearly $2,400 in all. Today, a  much faster and secure wireless network and laptop could be had for a fourth of that cost. And it would last a whole lot longer too. The $2,000 laptop lasted a full two years if I recall correctly before the hard drive got fried. But it was partly my fault too as I did put it through some intense use as a frequent user of Adobe Photoshop.

Once upon a time, I used the Linksys BEFW11s4 v.2

In 2001, I purchased the Linksys BEFW11S4 v.2. When my first laptop faltered, this router would lie dormant in my basement.

A few short years ago, I finally purchased a new laptop after relying on several desktop computers and this gave me reason to dust off the Linksys and bring it back to life. It surprisingly had good signal strength, better than I remembered; all 5 bars would be lit from about 15 feet away and behind walls and other equipment that could possibly create interference. My internet would be surfable in the farthest corners of my basement and in the backyard. Playstation 3 games, like Uncharted 2, would be lag-free during online play.

It was unfortunate when the router’s wireless capabilities just stopped functioning properly a few weeks ago. Signal strength would drop to 2-3 bars, no matter the proximity to the router. Speeds would slow to a crawl or sometimes the network would not show up at all, the latter more often then not. Wired connections still worked perfectly though.

I tried all the tricks in the book: power cycle, soft resets, hard resets, 30-30-30 resets, upgrading firmware, router flashing, etc. At one point, I thought I had turned the router into what is commonly known as a  ‘brick’ in the networking world when even the wired connection failed and I could not ping the router. Although I managed to resolve it, the initial problem of poor wireless connectivity would just not go away.

The search was on for a new router.

There are no perfect routers

Finding a router is not easy. If you have looked up reviews for routers, you may find it puzzling how most routers can garner both rave reviews and absolute disgust. You often can see a ‘C-curve’ in the ratings–lots of 5-star ratings, several 4s, a few 3s, and then, surprisingly, more 2s than 3s and a lot of 1s. In fact, if you disregard the routers that mainly got dismal reviews, this seemed almost the case for nearly every single router sold in North America. (I researched every single router sold at Futureshop.ca and BestBuy.ca, that is, those whose reviews could be found. I would think their selection of routers is representative of routers sold in the average North American store. I will post the results of my research in this blog later on.)

Why is this the case? You may be thinking how a lot of technology today can be almost stupidly easy to use. Or it can be a miserable piece of crap. It’s hit or miss, it works or it doesn’t. But routers fall into that gray area. The reason is there’s always a chance that the router will not work with your specific computer. And that’s why you see reviews of the opposite extremes for a single router–there are so many different configurations and possibly ways in which a computer can be built that it’s almost impossible for compatibility issues to be nonexistent.

Unfortunately, this theory held partly true for me.

Cisco Valet Plus, the perfect router?

The Cisco Valet Plus (M20) entered my life yesterday. It had pretty decent reviews and I felt it would be a great router that could be setup in minutes. I recalled all the frustration and hassles while setting up the Linksys BEFW11S4 before I could get it to run properly on my old school laptop. But technology was quite primitive back then, plus I was young and all my peers didn’t run a wireless network let alone own a laptop!

Overview

Everything about the router screams simplicity, from the packaging with it’s 3-step instructions printed within to the aptly named Easy Setup Key. The Key is a USB that configures the router’s settings and, when plugged into a device, connects it to the router.

Some people wave the key off as a fancy USB that simply saves your router’s SSID and password. However, as I mentioned above, it also configures your router for you–the security type, SSID name (which by default will contain the noun ‘cat’ with a prefix attached to it like ‘cute’; even small details like this screams that this is a user-friendly product)… everything.

The Key also contains the actual user guides and other reference documents. Unlike other routers though, you probably won’t need it. The Valet is that simple.

Setup

I followed the 3-step instructions for using the router with my desktop PC which would run a wired connection to one of the router’s four gigabit ports. The Key was plugged in, the setup screen popped up and then indicated that my PC didn’t have a wireless adapter with some simple, illustrated instructions: plug in the router and connect it to the PC and cable modem. Then, for several minutes, it started configuring the router before it instructed me to power-cycle my cable modem. Basically, this means to unplug the modem from it’s power source for a minute or 2 and reconnect it again, which helps to clear old network settings from the router.

I really wished the Key would at least allow for some manual configuration of the network such as the security type (it’s WPA2/WPA mixed by default). I shall elaborate on the reasoning in a bit.

After this was done, my desktop was connected to the internet with absolutely no problems. The Key also installed some software on the computer called Cisco Connect. It’s basically a dumb-downed version of the settings you typically see when viewing 192.168.1.1 from your browser, but it also has useful features like quick access to enable/disable the Guest network (which is a second network created in addition to your main network and allows guests to connect to your router with a simple password requested in the browser) or seeing how many devices are connected to the Valet (I would have liked it to be able to display the details of the devices but all it does is give you the count.)

Next, was the Playstation 3. This time, I manually connected it to the router so I can’t say if the Key could be used for gaming consoles. Manual setup worked flawlessly and the PS3 was on the grid.

There are no perfect routers pt. 2

Last man standing was my laptop. I used the Key this time because I wanted the Cisco Connect software on my laptop. And that’s where the problems began.

After trying the Key twice, I gave up when I saw the recurring notification of unsuccessful setup and the advice to contact Linksys support. I thought, oh well, I can just do this manually. The Cisco Connect software wasn’t a necessity for me, and the full-fledged settings could always be accessed at 192.168.1.1 anyways. Apart from automatically configuring the router and saving you the hassle of remembering your passphrase, that’s really the only benefit of the Key.

Manual setup proved no better. The network would show up perfectly fine and my laptop would connect to it. But a connection to the internet was futile. I decided to take the advice of the Key and try out support. It was rather late at this time, about 2 AM, so I decided to use their live chat, something I haven’t tried with any company.

The technician was extremely helpful and we tried everything to isolate the problem: disabling Internet Protocol Version 6, changing the router’s IP, double checking the IP addresses and DNS servers, manually setting up a wireless network, trying out different channels, etc. But one hour later, nearly two, and no solution.

A solution (not really) and the big bad Atheros AR5007

There was one thing we did not try: changing the security type. The old Linksys router I used was set on WEP. So I decided to try that. Lo and behold, instant internet access! 

Remember I mentioned earlier how the Key automatically configures the router? It seems that it automatically sets the the security type to WPA2/WPA personal which, for some odd reason, does not bode well with my laptop. If only it had allowed some moderate level of configuration via a manual setup link. Or better yet, the Key would have tried different configurations and security types before giving up pitifully. Perhaps that alone would have delayed the birth of several 1-star reviews.

In Device Manager, my network connects via the Atheros AR5007 802.11b/g WiFi Adapter. I looked it up on my laptop’s manufacturer website and in the driver’s section, I confirmed that my version was the latest: 7.6.0.114. According to the site, it apparently resolves some 802.11n issues, amongst other things, but I guess not. What we can conclude here is that the Atheros AR5007 802.11b/g WiFi Adapter (using the latest driver version 7.6.0.114) conflicts with the WPA2/WPA security type.

It seems like the only way I can connect to the network now is via the Valet’s extremely useful and innovative Guest network, or with the security type set to WEP or entirely off.

I read somewhere that WEP can be hacked into rather easily, about 10 minutes on average whereas WPA would require much longer–with WPA2, potentially years. So, until I can find a real solution, I am setting my network to WPA2/WPA, with Guest network enabled for a maximum of 1 user only when my laptop is in use.

I rate the Cisco Valet Plus…

I would give the router 4 stars, perhaps 4.5. Yes, that is out of 5. Why the high rating despite my problem of not being able to use the Valet’s WPA2/WPA security type with my laptop? Because unlike most people, I’m mainly rating the router and not the router’s compatibility with my devices.

Out of thousands and thousands of computers out there, my laptop (and it’s specific network adapter) just so happened to conflict with the Valet, perhaps because Atheros hadn’t yet released the proper driver. In fact, I probably would have faced this same problem with any other router on the WPA2/WPA security type! So, the compatibility issue I faced was the result of my laptop and not the Valet.

Apart from that, the Valet did work perfectly well with my desktop and Playstation 3, and WEP security mode and Guest network boasted great speed and range on my problematic laptop. I also love the router’s slim, lightweight design and features; innovation blended with the K.I.S.S. rule is my favorite recipe. Live chat support was also a pleasant surprise.

VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
Posted in Articles | Tagged , , , , , | 2 Comments

Facebook’s Like Button and integration with phpBB

Just a few months earlier, Facebook released their new Like Button which is popping up on most popular websites and forums. Implementing this button with phpBB forums isn’t as simple as grabbing the code generated from Facebook’s configurator. That is, if you want it to work properly with the dynamic pages of your forum.

The configurator generates two sets of code for you to choose from, Iframe and XFBML, both of which will link to the static URL you provide. Most people want it to link to dynamic pages, specifically, the phpBB thread that is being Liked. Two things must be done to accomplish this: modifying the code provided by the configurator, and configuring phpBB to allow the Facebook bot access to your forum. (Full credit goes to this phpBB thread for providing guidance.)

Modifying the Iframe code

<iframe src=”http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.yourwebsite.com%2Fviewtopic.php%3Ff%3D{S_FORUM_ID}%26t%3D{S_TOPIC_ID}&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:450px; height:30px“></iframe>

I highlighted two important parts of the above code:

  1. www.yourwebsite.com – replace this with your own URL. This also assumes you installed phpBB in the root directory. If you happened to have installed phpBB in a folder, you will need to replace the URL with: www.yourwebsite.com%2Ffolder
  2. height:30px – By default, the configurator sets it to 80 which is much too large. I found 30px to be the perfect height but you may play around with this number. You may also set the width, which appears twice in the above code, to whatever you feel works best for you (450 is the default)

Inserting Facebook Like Button into phpBB

The above code should be pasted into viewtopic_body.html. Where in that template should the code belong?

Personally, I wanted the Like Button to appear right next to the Post Reply button as this would give it the biggest exposure. Here’s how:

Find:

<div class=”topic actions”>

<div class=”buttons”>

Paste below:

The Iframe code modified above.

Adding the Facebook bot in phpBB and configuring bot permissions

This final step will ensure that Facebook has the required permissions to pull your thread titles correctly.

In phpBB, login to the Administration Control Panel. Under Quick Access, select Spiders/Robots and then Add bot.

Use the following settings:

  • Bot name: FaceBook [Linkcheck]
  • Agent match: facebookexternalhit/1.1

All other settings not mentioned can be left default or blank.

Now, you need to ensure that the Facebook bot has access to your forums. Still in the Administration Control Panel, click on the User and Groups tab. Under Groups, click on Groups’ forum permissions. Select Bots from the drop-down menu and hit submit. At this point you should select the appropriate forum sections (All forums would work) and hit submit. Here, ensure that you assign the Bot access role for each forum section and click Apply all permissions.

At this point, the Facebook Like Button should be configured correctly for the dynamic pages of your phpBB forums.

VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
Posted in Articles | Tagged , , , , | Leave a comment

Mozilla Thunderbird addons, alert capabilities and global (unified) inbox

I had been using Microsoft Office Outlook 2007 for almost a year now because it handles 2 things of which I peruse daily:

  1. E-mail. I have nearly a dozen e-mail accounts (and growing) that I need to keep track of and individual logins is a hassle, not to mention a thing of the past
  2. Calendar. I like to schedule everything and I mean everything. More as a personal journal/log of my life than as a reminder of what’s to come. It also synced well with my smartphone which I then synced to Google Calendar for backup purposes

Stealing Outlook’s thunder

Yesterday, I made the switch to Mozilla Thunderbird. It lacks the calendar feature, but I found myself using Outlook more for its calendar than its email. And I find myself preferring Google Calendar over Outlook’s. It also didn’t load as fast as I would have liked and seemed to hog a lot of system resources, so all reasons went against Outlook.

Free is better

It seems like I’m becoming a huge fan of free (i.e. Google Calendar) and open source (i.e. WordPress, Thunderbird) programs, not only because it is cost-effective but, to put it bluntly, better.

Thoughts on Thunderbird

Thunderbird loads extremely fast and comes with a lot of great features standard. Setting up e-mail accounts can be as easy as typing in your e-mail and password into the wizard, especially if you’re using an e-mail from a major provider like Gmail. I did have to use the manual setup for several of my e-mails to ensure that I was using the proper server name, port, and security settings.

It doesn’t look as visually-pleasing as Outlook, but great things don’t need to come in great packages.

Thunderbird alerts

Initially, I was disappointed about the fact that if you turn on sound alerts for new e-mails, it applies to all your e-mail accounts. Of course, I was being picky at this point as even Outlook didn’t allow for this option.

But shortly afterward, I recalled that this isn’t Microsoft, it’s Mozilla and like its popular Firefox internet browser, it allows for addons - utilities programmed by ordinary users that can extend a program in limitless ways. I was positive that there was at least one person who programmed my need. And I was right. More importantly, I found additional addons that proved just as useful.

Here are the 3 alert-related addons I installed for Thunderbird:

  • Mailbox Alert – This allows you to pick and choose which e-mail accounts you wish to attach sound and/or message alerts. Remember to disable Thunderbird’s own sound alerts if you use this addon. Personally, I only use this addon’s sound alert feature and prefer Thunderbird’s own message alerts which display useful information unique to each e-mail (i.e. subject). The addon can only display a pre-set message of your choice.
  • New Mail Attention – Thunderbird, apart from its message/sound alerts, does not give you any indication of new e-mails if you have the program minimized. This addon will cause Thunderbird to flash in Window’s Taskbar, similar to receiving messages from just about any instant messenger.
  • Blinking Alert – Thunderbird’s message alerts can be subtle, especially if you don’t disable auto-hide. This addon will make message alerts blink with your choice of a variety of colors and at the frequency you choose

An idea: alert for specific queries

Here is my idea for an alert-related addon, one that I could not find in the database: a Thunderbird alert that sounds/displays when certain keywords appear in the to, from and subject fields, and message body. Perhaps even attached documents if possible.

Unified folders (inbox)

Apparently, there was something called a ‘Smart inbox’ that would display e-mails from the accounts of your choice in a single folder. From a quick Google search, I found that this option was no longer possible with IMAP but only POP in newer versions of Thunderbird which is unfortunate. IMAP is superior.

However, there is a nice workaround: View > Folders > Unified. You will still be able to view your e-mails in their own individual folders, but this will also create a ‘Global inbox’ named Inbox that aggregates all your e-mails into a single folder. No choosing from which accounts though.

In the message body of this Inbox folder, I like to enable the viewing of an additional column called Account. This allows me to determine which account the e-mail was originally sent to.

VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
Posted in Articles | Tagged , , , , , | Leave a comment

bbPress: Manually configure a Key Master role

If at any time your account reverts back to a regular member account (effectively locking you out of the admin control panel), don’t fret! You can manually configure it back to a Key Master role in phpMyAdmin:

  1. Look-up your user_ID in your user table (bb_users or wp_users*)
  2. Search for this ID in the umeta_id column of the usermeta table (bb_usermeta or wp_usermeta*)
  3. Set the meta_value to a:1:{s:9:”keymaster”;b:1;}

*I included the wp_ tables in case you were using the WordPress user tables instead.

VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
Posted in Articles | Tagged , , | Leave a comment

vBulletin 4 to bbPress (and WordPress integration)

I will be going through the steps on how I achieved the following:

  1. Convert vBulletin 4 to bbPress (specifically, I converted from vBulletin 4.0.1 to bbPress 1.0.2)
  2. Integrate WordPress with bbPress to share the same users table
  3. Make the WordPress database contain the central user database (optional)

Preamble

I decided to test out bbPress using my existing vBulletin 4 installation. This is rather tricky due to the lack of converters out there; as of this post, there are no direct converters from vBulletin 4 to bbPress. I also wanted to integrate (share the user database) between bbPress and WordPress. This allows a user to sign up only once to access both your WordPress and bbPress installations.

In my case, I wanted WordPress to contain the central user database table. This meant that my bbPress forum would connect to the WordPress user table. Why? Merely a personal preference. This takes a little more work (then simply using bbPress’ user table) and has its limitations.

I will explain all of this in detail below.

Initial thoughts on bbPress

To be blunt bbPress’ basic, out-of-the-box features are primitive compared to all the major forums I’ve used – myBB, phpBB, vBulletin, and Invision. bbPress is a forum stripped down to its core – it doesn’t even come with basic viewing permissions (yet). It is a massive downgrade from vBulletin 4. If you’re like me, you will get a lot of headaches downgrading to bbPress.

However, we must keep in mind that bbPress is still in its infancy. When I mentioned that bbPress was primitive, I don’t really mean that in a negative way. The developers are taking the correct approach in creating a solid core before moving on to the bells and whistles. Look at where WordPress is today. Its userbase is incredibly large and supportive, and I don’t doubt that hundreds of quality plugins will be available for bbPress as well.

The limitations of converting

Converting from vBulletin 4 to bbPress isn’t without its speed bumps. Since there’s no official converter, it will not go as smoothly as one would hope.

The only solution (as of this blog entry), is to convert vBulletin 4 to phpBB3. Then from phpBB3 to bbPress. What happens along the way?

  • All your members will default to either the member or administrator role. This means groups like moderators will become ordinary members and you’ll need to reassign their role
  • Passwords won’t work. All members will need to reset their password (by having them click the reset password link in bbPress to have a randomly-generated password sent to their e-mail accounts)
  • Certain features like attachments may not transfer over (bbPress is no where near as feature-rich as vBulletin 4 and therefore won’t be able to retain everything)

If you’re fine with the above and mainly want to transfer your posts and members, then keep on reading!

Converting vBulletin 4 to bbPress

As mentioned above, you will first need to convert vBulletin 4 to phpBB3.

Step 1: Install phpBB 3

Install a fresh copy of phpBB 3 in the same domain as your vBulletin 4 forum. For example, if your vBulletin is located at www.yoursite.com/forums, then phpBB must be also located at www.yoursite.com.

However, you may install phpBB3 to a different mySQL database. I recommend that you select a database where you want bbPress to be installed (you will see why in step 3).

The official phpBB download page can be found here.

Step 2: Download the vBulletin 3 to phpBB 3 converter

That is correct, the vBulletin 3 (not 4!) converter as that’s the latest version out there. You can download it here.

After you have downloaded the .zip file, simply upload the 2 folders to your phpBB directory.

Do not run the convert yet as you will run into errors. The fix can be found in the modified convert_vb30.php file which can be find here (thanks for the fix excelcoder!) Be sure you rename that file before uploading it!

Proceed to run the converter. Instructions can be found at the official phpBB forum here. Basically, you will need to provide certain information such as where your current vBulletin folder is located and the database information.

Your conversion should go smoothly. The converter will probably tell you that the search index hasn’t been built yet. Don’t worry about this; when you convert to bbPress later, search will work. You may notice that viewing permissions aren’t functioning properly, for example, hidden forums are visible to all regular members. Don’t bother to tinker around in phpBB’s admin control panel to fix the permissions. When you convert from phpBB 3 to bbPress, you’ll just run into the same problem.

As long as all your posts are present and displaying properly, and all the members are transferred, proceed to the next step.

Step 3: Download the phpBB3 to bbPress converter

Instructions on running this converter and the download link can be found in the bbPress support forum here (thanks wmnasef!) I’ll summarize the steps here:

  1. Download and install bbPress. bbPress can be installed anywhere including a different domain. Use the database I mentioned in step 1! (Reason: the converter requires the phpBB forum to be installed in the same database as bbPress in order to run.)
  2. Download the converter
  3. Upload phpbb3tobbpress.php into your phpBB3 directory
  4. Upload _phpbb3_pass.php into the bb-plugins directory
  5. Run the phpbb3tobbpress.php, for example, http://www.yourforum.com/phpbb3/phpbb3tobbpress.php

Everything should convert smoothly. At this point, you’re probably looking at the admin panel and banging your head against your desk thinking – where are the bloody features?! Well, since you’re already there, be sure to set the appropriate members to the moderator role, etc.

WordPress Integration

WordPress integration allows both your bbPress forum and WordPress blog to share the same user database table. If you’re using the default prefixes, then the bbPress user table is named bb_users, and wp_users for WordPress.

If you followed my Converting vBulletin 4 to bbPress guide above, then all your users are currently residing in bb_users.

In the following, I will go through the steps for integrating bbPress with WordPress, regardless of whether you choose bb_users or wp_users as your main user table.

Step 1: Login to your bbPress

Once logged in, click on the Admin link. Click on the WordPress Integration tool (Settings > WordPress Integration).

Step 2: Set User Role Map

For WordPress administrators, the bbPress role would be bbPress Key Master. Everybody else should be set to bbPress Member. Click Save Changes and return to the same page.

Step 3: User Integration > Cookies (part 1 – the form)

Farther down the page, you should see an area named Cookies. Cookies allow users to login at your WordPress blog without having to login a second time at your bbPress forums, and vice versa.

I’ll divide cookie setup into 3 separate steps to make things easier.

The first part with the form contains instructions that are relatively straightforward and involve minor copy-and-pasting.

Step 4: User Integration > Cookies (part 2 – the plugin)

Near the bottom, it will ask you to install a bbPress plugin for WordPress. The easiest way to do so is in the admin area of your WordPress and clicking Plugins > Add New. Simply search for bbPress Integration and install it. What this plugin does is give you a simple piece of code to add to the config file for WordPress (wp-config.php). Save the file, but don’t close it yet!

Step 5: User Integration > Cookies (part 3 – the config files)

This is the final step for setting up cookies. It involves additional edits that you need to apply to wp-config.php and bbPress’ config file (bb-config.php).

First, access these randomly-generated constants. Find the related code in wp-config.php and paste the constants into it. Do the same for bb-config.php.

Step 6: User Integration > User Database

Step 2 is critical before you can perform this next step so make sure user roles have been mapped.

Note: the following assumes that you are using the default prefixes: bb_ for bbPress and wp_ for WordPress. If not, substitute the following instructions with your own prefixes.

The table prefix you select may depend on 4 different scenarios:

  1. Both your WordPress and bbPress have no registered members except for yourself. Either bb_ or wp_ will work depending on your personal preferences.
  2. WordPress contains all your users. Use wp_.
  3. bbPress contains all your users. Use bb_.
  4. bbPress contains all your users but you want to use the user table in WordPress. Use wp_ and do step 7.

If you chose scenario 4, hit Save Changes, and move on to step 7.

Otherwise, you’re basically done! Just fill out the advanced database settings if your WordPress is installed on a different database than bbPress. Hit Save Changes and skip the rest of this guide.

Step 7: Renaming users and usermeta tables

This step is required for scenario 4 (as outlined in step 6) because if you set the table prefix to wp_ and do nothing else, the threads and posts in bbPress will no longer be linked to the original user from the bbPress user table. That’s because at this point, bbPress is accessing all posts/threads in the bbPress database while attempting to access the users from the WordPress database.

For this step, you’ll need access to phpMyAdmin.

If bbPress and WordPress are installed on the same database, you can execute a simple SQL query such as:

RENAME TABLE wp_usermeta TO wp_usermeta_ignore;

RENAME TABLE wp_users TO wp_users_ignore;

RENAME TABLE bb_usermeta TO wp_usermeta;

RENAME TABLE bb_users TO wp_users;

This basically swaps the user tables (and their related usermeta data) by renaming the tables. The bbPress user and usermeta tables basically replace the WordPress counterparts (the code simply renames the original tables instead of deleting them).

VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
Posted in Articles | Tagged , , , , , | 2 Comments

Ads becoming commonplace in creative communities

It’s rare to see advertisements on a company’s website. It does make better sense to attract potential clients instead of directing them away from your website.

The creative community appears to be trending the other direction.

Newer advertising networks like Fusion Ads and the DECK deliver targeted traffic by displaying advertisements solely on creative and design websites.

There’s nothing wrong with this concept. I can see how it would benefit a web development firm or freelance designer greatly. What I find odd is seeing these same individuals using the service to display their competitor’s ads. Is making a couple of dollars really worth losing a potential client?

Something worth noting is the companies I linked to above display advertisements on their own site as well. That’s a first for me.

VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
Posted in Articles | Tagged , , | Leave a comment

phpBB: Display different content for guests and members

PhpBB_Logo[1]

To display different content depending on whether or not a user is logged into your phpBB forums, simply use the following code in your template files:

<!– IF not S_USER_LOGGED_IN –>

Text between these tags will be displayed to guests.

<!– ENDIF –>

<!– IF not S_IS_BOT and S_USER_LOGGED_IN –>

Text between these tags will be displayed to members.

<!– ENDIF –>

This piece of code is particularly useful in the index_body.html or overall_header.html template to entice guests to register at your forums.

VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
Posted in Articles | Tagged , , | Leave a comment

Mike Babcock is a prophet

SAN JOSE, CA - MAY 08: Head coach Mike Babcock of the Detroit Red Wings walks off the ice after losing to the San Jose Sharks in Game Five of the Western Conference Semifinals during the 2010 NHL Stanley Cup Playoffs at HP Pavilion on May 8, 2010 in San Jose, California. (Photo by Jed Jacobsohn/Getty Images)Not too long ago, Mike Babcock made a prophecy to the media. He pointed to the two teams that had won a series from a 3-0 deficit – the 1942 Toronto Maple Leafs and the 1975 New York Islanders – and suggested that there was a cyclical pattern.

TSN recently proved how difficult such a feat was for teams across different sports and mentioned it had only happened once in MLB and zip in other leagues. I may have gotten the leagues wrong, but the point of the matter is that it is a rarity. So when Babcock said 2010 was the year, it was astonishing when his prophecy was fulfilled on May 8, 2010. Here’s his quote:

We can talk about the Maple Leafs and the New York Islanders and all that stuff, but that’s how hard it is to do. Every 33 years or so you got to be due, so I figure it’s our turn.

Too bad he got the team wrong. The Philadelphia Flyers pulled the upset to stun the Bruins instead of his Red Wings over the Sharks.

VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
Posted in Off-topic | Tagged , , , , , , | Leave a comment