Tag Archives: web development

phpBB: Display different content for guests and members

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 [...]
Posted in Articles | Also tagged , | Leave a comment

WordPress 2.9.1 HTTP error

After upgrading to WordPress 2.9.1, I encountered a problem when using the media file uploader. Any attempts to upload an image would return an HTTP error: There are many solutions out there, but unfortunately none of the ones listed worked for me. I did find a very simple fix however. HTTP error fix The answer [...]
Posted in Articles | Also tagged | Leave a comment

A solution to Blogger’s Search Box gadget not working

Update: It has been brought to my attention the following solution is buggy and may not return full results. I will update this post when a working solution is found. There is currently a problem with Blogger’s Search Box gadget. For many users, searching with this widget will return No Results even though the search [...]
Posted in Articles | Also tagged , , , | 2 Comments

Prevent Blogger from resizing images

Images that are uploaded in Blogger are stored at Google’s Picasa Web Albums at its original file size and dimensions. If you login to Picasa with your Blogger account, then lo and behold, you shall see your original images! Interestingly enough, the image code that Blogger inserts into your blog post are modified. Instead of [...]
Posted in Articles | Also tagged , , , | Leave a comment

Improving web usability: Page numbering systems

Many websites today fail at providing a simple way for users to find information quickly and easily on their websites. A user will typically leave in frustration if it is difficult for them to find that specific article they read a week ago or maybe even last night if the website is updated frequently. This [...]
Posted in Articles | Also tagged , , | 3 Comments

phpBB and Google AdSense

I’ve been using the brand-new phpBB forum software for the past few days now and I must admit I am very impressed. But that’s a post for another time! For now, I’ll discuss the optimal placement of Google ads within phpBB’s templates, the easiest method to do so, and most importantly, how to achieve all [...]
Posted in Articles | Also tagged , , , , | 31 Comments

Using 2 or more different sidebars in WordPress

I purchased a PHP book over 6 years ago and I only got through the first 20-30 pages before putting it down and letting it gather dust. After six long years, I finally faced a problem big enough for me to actually write a piece of code: How to display two or more different WordPress [...]
Posted in Articles | Also tagged , , | 4 Comments