August 28, 20101 Comment

Most of the wordpress image gallery plugins can not make me happy. NExtgen is too much heavy, then I got another wordpress plugin “WP Photo Album Plus” developed by J.N. Breetvelt, a.k.a. (OpaJaap). R.J. Kaplan developed WP Photo Album 1.5.1 and then J.N. Breetvelt extended it with new features. Really I like this simple but powerfull gallery plugin. But something I didn’t like which I am trying to modify and releasing for every body so that I can get more ideas from other and even this modification can be done to main plugin too. Though my modification is not done yet! But why not I share my last modification and explain what I have done upto now :)

Gallerific image gallery with wp photo albumm plus plus

Change in Backend:

  • Added pagination in backend for album listing
  • Added pagination in backend for file/image listing, sites having large amount of images in each gallery should like this feature.
  • Image will not list while edit any album. Better way to edit or view images for any album in backend.
  • Changed backend design a little for easy navigation to other options. More will be done.
  • Now thumb can be made squre so that it does’t look ugly and diff sizes
  • Added midium size thumb so that you can place image size that you want as big size but original one is always kept so that you can regenerate all thumbs again.

Change in Front end:

  • Replaced the old slideshow with  new slideshow using  jquery based image slideshow plugin Galleriffic. You may need to edit style if currrent setting doesn’t match your style. You can select black or white combination. Need to do more work though. Current gallerific style is used.

Todo list:

  • So many things so don’t wana write so long list :P
  • One thing must to do for replaceing the normal regex based shortcode with wordpress default shortcode method to add gallery in a page.

  WP Photo Album plus plus (173.4 KiB, 18 hits)



I am attaching the current modified version so that you can test and give me some feedback. If any one need any jquery based custom slideshow with it let me know(to hire professionaly :) )

August 25, 20101 Comment

If you still didn’t notice, please check again there is a vertical feedback button in my blog , right side. So, sometimes people asks me how to do that ,,, any one can read the source code or having debug tool like firebug for firefox can see the source code and add in his own site. But max time, it’s true that we don’t want to learn by reading or google about any problem, we just ask other to get ready made solution. Even we don’t write in forums about our problems …. grr…

So here is answer of the those question, “How I added the vertical feedback button?”

I know how html works and how css works , I know where to edit in wordpress theme. So many days ago I saw that in a site and copied the source code and image and added in my site :P
I am showing for default wordpress theme tweentyten and all paths shown bellow are windows style as windows is my primary os.

Step1: Copy this image to your wp-content\themes\twentyten\images folder first.

Step2: Open style.css file from wp-content\themes\twentyten dir and ready to add some css code :)
Step3: In the file style.css file at last line add the following css codes
…continue reading Adding vertical fixed feedback button

August 14, 20102 Comments

Let me explain the situation. Suppose you have contributor access to wordpress. If you go to posts page in admin panel that list all posts   and here you are not author of all posts.  you will see the url like

edit.php?post_type=post&all_posts=1

and All( total post number here). There will be another menu named Mine(Current user post number). All link is default. So we can make nother submenu of posts in admin section for Mine link directly. Let me show you the few lines code.

add_action('admin_menu', 'manchu_myposts');
function manchu_myposts()
{
    if (function_exists('add_submenu_page'))
    {
		//$parent, $page_title, $menu_title, $access_level, $file, $function = ''
		add_submenu_page('edit.php','My Posts','My posts', 1, 'edit.php?post_type=post&author='.get_current_user_id());
    }
}

You can copy-paste above code in your theme functions.php file and it will show a new sub menu in posts ectin as My posts. Multi user blog users can get easily link for his/her posts.
myposts
it’s just a easy way to make personal posts link for any user have access at leas contributor. Access level 1 belongs to contributor..

thank you

June 30, 20108 Comments

It’s just a simple fanbox widget as wordpress plugin, nothing to explain. But I made my own version ?

Features

  • iframe method
  • auto detect ie(internet explorer), because sometimes it’s make problem for ie and option to use as iframe only for ie !
  • jquery based document ready facebook load ! Not clear ? see bellow

One thing to note that I used a way to load the facebook js script after loading jquery as normally in wordpress site front end we use jquery and many plugin uses this… so we can take that jquery is using default. So I loaded the fb js using wp_enqueue function and then called the fb init function after the document is loaded using jquery dom ready function :P … It’s just an experiment about slow loading of facebook fanbox widget in wordpress :D

Download

  Facebook Fanbox wordpress widget (2.9 KiB, 137 hits)


If you just download with no comment and no recommendation to others, then I am planning to hate you :P
Man at least share in social network and give me traffic so that I can have more money from ads :(

Good morning. It’s just morning after working whole night and I am feeling too hungry :)
…continue reading Facebook fanbox wordpress plugin

April 4, 20106 Comments

I think my post title is not clear and it’s really not possible to tell every thing in just a simple post title :P . Ok, I am taking about:
1. WordPress
2. Category menu in wordpress using wp_list_categories()

If you make a wordpress menu using category listing in wordpress then the html code will be like this …continue reading Mark active category in single page(wordpress)

January 27, 201012 Comments

I am using WP-DownloadManager plugin to manage downloads in my blog. It’s a very usefull plugin by Lester ‘GaMerZ’ Chan. I think , He made the most important plugins for wp :D . He already wrote 17 wordpress plugins ! I am a big fan of Lester Chan aka ‘GaMerZ’ Chan and sometimes I try to get help from his plugin .. I mean how to wrote such nice and clean plugins…

Ok, I just checked that WP-DownloadManager plugin can list category but with files in each. But I wanted something like a download category widgets and a list of download category (just list of download category). So I just wrote a plugin for WP-DownloadManager plugin :D . It will allow you to put a widget in sidebar showing all the Download Category as list with files and hits count as soon as you can use short code in post and pages. And this will make a download category list like bellow :D

…continue reading Download Category widget for WP-DownloadManager plugin

January 18, 20105 Comments

Helo guys I am ready to show you a tab/slides plugin for wordpress. Let me tell u a tale. Once I did a site in joomla1.x for a client and that used the tab slides in content, a jooomla mambot of joomlaworks.gr. Somedays ago I made the same site in using wordpress and wordpress is better than joomla for blogging. So I needed to reuse the tabslide plugin for wordpress and I just converted that joomla mambot/plugin to wordpress plugin. I am releasing in same GPL licence and free. I think this will help some ppl to enable tab/slide in wordpress posts/pages.

Check live demo in gdpnetwork.com or u can give a try in your localhost :P
…continue reading Tab/Sliders for wordpress posts/pages

December 29, 20091 Comment

Hello! 2010 is just knocking at door :D .Hope to write lots of blog with my day2day thinking, learning and the problems I face every day.

Let me clear about this blog post: I think, you know that in wordpress we can add new coasdl in posts listing area. Check the bellow image of my post edit panel/listing(http://(yoursitename)/wp-admin/edit.php)
…continue reading Fix wordpress plugin “GT post approval”

December 25, 2009Leave a Comment

Post and Page Excerpt Widgets is a nice plugin to show post/page excerpt as as widget in sidebar position. You can download it from wp code from here. One I thing I noticed about this plugin is it has a common bug that I faced many times while using query_posts. When I use this query_posts it’s break some conditional loop like is_home(), is_category() etc but there is another function get_posts in wordpress that does the same thing but don’t have similar problem. Once I discussed about this problem in one of my old posts. Please check that posts for better sense from here is_home-is_single-is_category-is-not-working-in-wp!.

Let me focus to this writing again :D
As Post and Page Excerpt Widgets is using the query_posts function for custom query it make’s problem for conditional tags. Let me show u solution and it’s like my that posts.
In you theme functions.php add a new function if not exists yet

…continue reading Fix wp plugin “Post and Page Excerpt Widgets” not to break conditional tag

November 8, 20091 Comment

wpsecuritythumblet’s send ajax request in wordpress using wpnonce

Hei, I am not going to discuss what is wpnonce and why you should use this in your plugin or how important to use this to secure your plugin :P
But here I am going to discuss how you can use wpnonce in ajax request, I mean if your plugin handles ajax request.
Steps that we need to follow are:

One: Create wpnonce value.
Two: Send wpnonce value as an extra parameter with ajax requestion
Three: Check ajax referrer with the wpnonce value that was created in step one and sent in step two.

Ok, how to create a wpnonce value ?
we need to use wordpress function wp_create_nonce() . See wordpress codex here.
< ?php $my_wpnonce= wp_create_nonce (‘you-look-nice’); ?> // “you-look-nice” is just a string, u can use whatever u want. here $my_wpnonce will get a hash from wp_create_nonce. Oh that is not direct hash of “you-look-nice” but based on user id, time and that string. To know more about this function please check pluggable.php in wp-includes folder

Now send wpnonce value $my_wpnonce as an extra parameter while seding ajax req. …continue reading Send ajax request in wordpress using wpnonce

feedback