Archive for the ‘Scripting & PHP’ Category

MySQL Error: Illegal Mix of Collations on Imported Database After Script Update

Friday, January 29th, 2010

I was doing some testing before upgrading a vBulletin 3.8.4 board to vB 4.0.1, for that I downloaded the MySQL database of the forum using phpMyAdmin, created a new database on a different hosting account & imported the database there. Next I run the upgrade script & all worked fine, till I accessed my upgraded testing forum & tried to open some pages, I got the following MySQL error:

(more…)

Filter Listings by Country Using TemplateCodes Module – How to

Sunday, August 2nd, 2009

As I said in the TemplateCodes.com system review, the Listing Filter module can filter ads by State or using an extra (custom) field but can’t be setup to filter by countries. There’s a way to make it do that though but you need to mess with the gears of the system, opening & editing a number of PHP files.

(more…)

How to Create New Sidebar Elements for Template Zones Module of TemplateCodes

Saturday, August 1st, 2009

OK as promised in my TemplateCodes system review here's my little guide to create new blocks (or side bar elements) for your 68Classifieds site that has the Template Zones module enabled. This will allow you to add new content or move elements from the Accordion & give them a different placement & order.

(more…)

Review of TemplateCodes Modules & Templates System

Friday, July 31st, 2009

So I decided to make a review & talk about things you need to know before you buy the TemplateCodes.com system of modifcations & templates for the 68Classifieds script.

I previously made a quick comparative of classifieds scripts & had chosen 68Classifieds for my project. But like other scripts it has its limitations, I guess any site has unique needs & unless you hire a programmer you won’t be able to satisfy at 100% those needs.

(more…)

How to Add a Code Only in One / Some of vBulletin Folders / Sections

Saturday, May 23rd, 2009

vBulletin LogoYou may need to put some warning message or an advertisement or .. whatever in only a part of the folders inside your vBulletin forums. I guess there are some modifications that may help but the simpler way is just to edit some templates using a little PHP conditioning.

(more…)

Tips on How to Stop or Slow Down a DDoS Attack

Tuesday, May 12th, 2009

Visual DDoS AttackSome DDoS attacks are so strong that they just take down your server. The only way you have then to try & get rid of it is to contact your hosting provider to find some solution for you (or pay for DDoS protection). But sometimes the server manages to keep running although under attack, in this case you may be able to do somethings to at least reduce the impact of the DDoS & loads on server while working on a permanent solution. Let’s review some I could figure out from a personal experience..

(more…)

How to Add Default Avatar & Signature to vBulletin without Modifications

Thursday, May 7th, 2009

vBulletin LogoI used to use two modifications (or plugins / addons) on vB for default avatars & default signatures, but then I decided to limit the use of mods & uninstalled those two. Still I wanted to keep the features.

(more…)

Create a Custom Dynamic PHP Page on AV Arcade Script

Sunday, March 29th, 2009

PHP LogoNote: This guide shows the exact steps for AVArcade 3 script, but if you understand the idea you could apply similar changes to other versions of AVArcade or even to completely different PHP softwares.

(more…)

Translation with POEdit – Internationalize / Localize WP Themes Guide – Part 3

Sunday, July 20th, 2008

Now that you made your theme translatable, let’s do the necessary to translate it.

For that you will have to use a translation software, in this guide we’ll use POEdit, so go ahead and download then install it.

(more…)

Making it Translatable – Internationalize / Localize WP Themes Guide – Part 2

Thursday, July 3rd, 2008

As I said there’s not only one method to internationalize a software but Wordpress uses the GetText method & it’s the one we should use for the theme.

(more…)

Internationalize & Localize a Wordpress Theme – Guide for Dummies – Part 1: Introduction

Sunday, June 29th, 2008

I had really a hard time figuring out how to internationalize a Wordpress theme for a “multilingual” site I’m working on & then to “localize” it. All that because the guides I read are made by geeks, & geeks never explain things properly… seriously!

(more…)