Tumblr and Wordpress Integration
Web January 19th, 2010
Anti-spam Joomla Plugin – Joomlaxi Captcha
Web January 19th, 2010
I have installed and tested a new cool anti-spam plugin for Joomla!
The installation is very simple: just install and active it, no need modify Joomla code at all.
Joomlaxi Captcha
http://extensions.joomla.org/extensions/access-a-security/captcha/10738
Note: you have to register member (free or paid user) before downloading it for free.
Lockerz Best of 2009
Life, Tech, Web December 25th, 2009
Online job marketplace for freelancers
Life, Web October 17th, 2009
Because of spending much time on the Internet these days, I saw many sites talking about making money online (MMO). Although I have seen this type of earning money for a long time ago, I ignored it. Today, for some reasons, I have googled around with some key words like “make money online”, “online job”, “work at home”, I have received various sites about “pay per click (ads)/read email”, “data entry” and so on.
I have been using the Internet for nearly 9 years. So I should have some experience about scam/fraud websites, believe it or not, I just look at the home page of a site, its design, domain, I can know 70% that site is scam or not! (Reading some posts on that site, whois that domain, time, contact address, google about that site ect… can help us figure out how good it is). Read the rest of this entry »
Tags: online job, online marketplace
How to display both categories and pages as menu with iNove Wordpress theme.
Tech, Web September 17th, 2009
This post shows you how to display both categories and pages as menu with iNove Wordpress theme. The original chinese post was made by Foolant, I just rewite it in English here to archive. So credit belongs to Foolant, not me.
Ok, firstly, please backup your files /wp-content/themes/inove/functions.php and /wp-content/themes/inove/templates/header.php
before doing.
1- Open /wp-content/themes/inove/functions.php
Find:
<?php _e(’Show categories as menu.’, ‘inove’); ?>
Add the following code AFTER “</label>”. It means that you add 1 more <label></label> group.
<label>
<input name=”menu_type” type=”radio” value=”all” <?php if($options['menu_type'] == ‘all’) echo “checked=’checked’”; ?> />
<?php _e(’Show both in menu.’, ‘inove’); ?>
</label>
2-Open /wp-content/themes/inove//templates/header.php
Find with these key words:
if($options['menu_type'] == ‘categories’) {
You will see a complete group of code like:
if($options['menu_type'] == ‘categories’) {
wp_list_categories(’title_li=0&orderby=name&show_count=0′);
} else {
wp_list_pages(’title_li=0&sort_column=menu_order’);
}
Replace that group with the following code:
if(($options['menu_type'] == ‘categories’)||($options['menu_type'] == ‘all’)){
wp_list_categories(’title_li=0&orderby=name&show_count=0′);}
if(($options['menu_type'] == ‘pages’)||($options['menu_type'] == ‘all’)) {
wp_list_pages(’title_li=0&sort_column=menu_order’);}
It should be noted that the order of these codes will determine the order of Categories or Pages on the menu.
Then just login to the Administrator Zone, go Current Theme Options, and choose “Show both in menu.” at the menu bar. That’s it.
Tags: iNove, wordpresstheme
chmod for Joomla with FileZilla
Web July 14th, 2009
For Joomla, we should chmod all folders to 755 and files to 644. (Of course, there are some folders we need to chmod 777…).
With FileZilla, right click on the Joomla folder, choose File Permissions…
- “Recurse into subdirectories” CHMOD for all subfolders.
- “Apply to all files and directories” CHMOD files + Folders.
- “Apply to files only” CHMOD files only.
- “Apply to directories only” CHMOD for folders only.
If your host is support, you can create a chmod.php file with content:
<?php
system(’find . -type d -exec chmod 755 {} \; 2>&1′);
system(’find . -type f -exec chmod 644 {} \; 2>&1′);echo(”\n\nComplete!”);
?>
Then upload it to the folder you want to chmod and view it (yoursite/chmod.php), it will chmod all subfolders to 755 and files to 644.
How to add Google meta verification to Joomla
Web April 10th, 2009
I tried to verify by uploading a html file for Google Webmaster Tool, but there was no luck! So I used the meta tag method and Google meta verification and I was successfully.
It is very simple. You just log in to Administrator zone and Edit html for your current theme. That’s it.
Note:
Add above in your template name/index.php
Like this
Tags: googleverification, joomla
Move Joomla! configuration to another safe place
Web March 9th, 2009
For ex. we have
/www/configuration.php
(Or /www/joomla etc/configuration.php)
Now we would like move config content to /configruation.php (out of WWW directory).
1- Create a NEW.cf in / You will have /NEW.cf
2- Copy your configuration content in /www/configuration.php to /NEW.cf
3- Change configuration content in /www/configuration.php to
<?php
require( dirname( __FILE__ ) . ‘/../NEW.cf’ );
?>
For more security, you may chmode the configuration in /www/configuration.php to 644
Good luck!
Import very large SQL Dumps to the webserver by using BigDump
Web September 29th, 2008
BigDump: Staggered MySQL Dump Importer
Staggered import of large and very large MySQL Dumps (like phpMyAdmin 2.x Dumps) even through the web servers with hard runtime limit and those in safe mode. The script executes only a small part of the huge dump and restarts itself. The next session starts where the last was stopped.










10.