Posts Mentioning RSS Toggle Comment Threads | Keyboard Shortcuts

  • Cuong Dang 10:26 PM on May 23, 2010 Permalink | Reply  

    Customize Flickr Photo Album plugin and P2 WordPress theme 

    I love both the Flickr Photo Album (Tantan-flickr) plugin and the P2 WordPress theme, but it seems that Tantan-Flickr doesn’t work smoothly with the P2 theme due to CSS issues.

    I spent more than 1.5 hours to figure out these stuff by using Firebug add on on Firefox. (I am not very good at CSS!!!).

    Here is my work around to fix some problems of them.

    A. Viewing single photo bug

    B. Photo album index

    For the photo album index view issue (like: http://cuongdang.info/photos ), I have not figured it out yet, but I fixed some issues by removing some lines in the photoalbum-styles.css file, (then test again again, so arrogant I am??).

    Updated: May 24, 2010: We need to modify something to the photoalbum-index.php file. Read this post

    Now it is quite OK! ^^ Test http://cuongdang.info/photos

    If you want to download all of my modified files, the link is here:

    (Guide: Unzip and replace those 3 files to your templates folder: ../wp-content/plugins/tantan-flickr/templates)

    If you also love the Tantan-Flickr + P2 and having a better customization, please share with us here! Thanks!

     
  • Cuong Dang 10:11 PM on January 19, 2010 Permalink | Reply
    Tags: tumblr,   

    Tumblr and WordPress Integration 

    Tumblrize posts to Tumblr whenever you hit the “publish” button. It uses Tumblr’s simple API to keep posts in sync; when you edit your WordPress post, it updates your Tumblr post.

    http://wordpress.org/extend/plugins/tumblrize/

     
  • Cuong Dang 10:07 PM on January 19, 2010 Permalink | Reply  

    Anti-spam Joomla Plugin – Joomlaxi Captcha 

    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.

     
  • Cuong Dang 11:16 PM on December 25, 2009 Permalink | Reply
    Tags: , Lockerz,   

    Lockerz Best of 2009 

     
  • Cuong Dang 7:08 PM on October 17, 2009 Permalink | Reply
    Tags: online job, online marketplace   

    Online job marketplace for freelancers 

    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). (More …)

     
  • Cuong Dang 3:31 PM on September 17, 2009 Permalink | Reply
    Tags: iNove, wordpresstheme   

    How to display both categories and pages as menu with iNove WordPress theme. 

    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 :D 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.

     
  • Cuong Dang 12:19 PM on July 14, 2009 Permalink | Reply
    Tags: FileZilla,   

    chmod for Joomla with FileZilla 

    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.

     
  • Cuong Dang 10:08 PM on April 10, 2009 Permalink | Reply
    Tags: googleverification,   

    How to add Google meta verification to Joomla 

    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

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel