Vbulletin 4 display different text for different visitor’s computer language

If the visitor is from USA, the visitor’s computer language is en-us, or en; if the visitor is from France, the language is fr; if this visitor is from China, the language is zh-cn… Sometimes we do not want our vbulletin forum show certain content to some visitors from certain counries, say if the visitor […]

X-cart v4.4.0 shows Customer Feedback at header

How to show Customer Feedback at header of detailed product page? 1. Go to skin/common_files/modules/Customer_Reviews/, creat a filed called vote_reviews_header.tpl, and open it. 2. Add the following code in vote_reviews_header.tpl:

How to add sub domains at another web hosting?

I want www.glassespeople.com to  run at a vps from hostgator, and http://forums.glassespeople.com to run at aother shared web hosting from hostgator also, and do not use redirect to achieve this. We all know if we deal redirect not well, it  is very bad for our sub domain seo.

WordPress Twenty Twelve change Continue reading to post title

The default template of Twenty Twelve shows “Continue reading” at homepage, or category page. How to change “Continue reading” to post title? Edit content.php, this file is just under the template of “Twenty Twelve”, find the following code: <?php the_content( __( ‘Continue reading <span>&rarr;</span>’, ‘twentytwelve’ ) ); ?> and change it to:   <?php the_content( __( […]

Remove Any Unnecessary Files of WordPress

How can we remove the /wp-includes/js/comment-reply.js?ver=20090102 script tag? 2 steps: first edit wp-includes/functions.php, add the follow code at the end of functions.php: function clean_header(){ wp_deregister_script( ‘comment-reply’ ); } second, edit wp-includes/default-filters.php, add the next line at proper place: add_action(‘init’,’clean_header’);

WordPress 3.5 Plugin Update Errors

I have a blog installed under xampp, and I am using windows 7 system. Today I updated my wordpress based blog to wordpress 3.5. There are some errors, all about wordpress plug-in. I met the following errors: Updating Plugin Akismet Downloading update from http://downloads.wordpress.org/plugin/akismet.2.5.7.zip… An error occurred while updating Akismet: Download failed. Could not open […]

How to Get Customers Full Name from Magento?

We can use mysql to get customers’ full name, you can add customer’s email also by using mysql clause, for example, we need to search 10,000 customers from Canada, and save the result a to a new table, say aaa_ca_custoemr, here the code:

3useful skills of Vbulletin Version 4

Here let me share my 3 useful skills about Vbulletin Version 4. 1. members that have visited the forum today for unregistered users also; 2. Similar Threads not show up 3. Reset “Most Users Ever Online” For first question, do as follows:

2 SEO Skills on WordPress

Here let me share 2 skills on wordpress seo. The default method of a post read more is usally shows as “read more…”, or “Continue reading”. This is very bad for our seo purpose. We all know that we’d bette use our keywords as text link or at least the text link should contain our […]

How to use mysql to remove the hyperlink and remain with the text?

If you have a lot of articles, and there some hyperlinks here and there, it will be very difficult for us to remove them one by one. For example, you have about 10,000 articles, if you check each articles, I am sure you will have to cost several days to remove the hyperlinks and keek […]