January 27, 20103 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

Download

zip Download Category widget for WP DownloadManager plugin  Wp-Downloadmanager Catlist widget (1.8 KiB, 106 hits)


Installation

  • Make sure that you installed the wp-downloadmanager plugin first !
  • Now, Install the plugin like any other plugin.

Shortcode/widget usage

You can use as short code as well as widget. After installing visit your widget area from admin panel and use “Download Categories” widget to place in sidebar. To use shortcode in post or pages, write in your post/pages editor in html mode
page_download_cat and wrap this word in [] , you are done.

I just made a quick wrap of my needs and sharing with you. If you find any problem using this let me know. BTW, I am using this plugin in my download page where you will get my other wordpress, joomla and phpbb plugins.
Thank you.

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)

editpanel1 Fix wordpress plugin GT post approval

If you check the plugin there is an extra col named GT Status. It’s here because I have installed the plugin GT-post-approval. Check this in wordpress plugin repository from here. Cool na ? Let me show another screenshot after enabling another nice plugin named “Simply Show IDs”. Check that plugin wordpress plugin repository from here. This plugin will add another extra col to show any post id so that we(at least normal blog user who doesn’t know how to pick post id) can pick post id easily. Actually this plugin does

“Simply shows the ID of Posts, Pages, Media, Links, Categories, Tags and Users in the admin tables for easy access. Very lightweight.”

editpanel2 Fix wordpress plugin GT post approvalCheck there are two extra col now.. ignore the blug arrow and messed up id with text “Reject”. Let me now explain why this messed up…
…continue reading Fix wordpress plugin “GT post approval”

September 2, 20091 Comment

3 300x172 A poor or faster way to add wptinybn support to wp TinyMCEComments pluginOk let me at first tell why this post ?
I have a wp plugin named wptinybn which enables users to write in unicode bangla for different types of bengali keyboard in wp visual editor which is based on tinymce. Actually my wp plugin is based on my tinymce plugin tinybn. That means besides the wptinybn the tinybn plugin is a standalone tinymce plugin. So it should work with everywhere with tinymce. ok.. I am 25% done :)

There is another wp plugin named TinyMCEComments which enables wp users to write comments through tinymce editor. I am 50% done. Cool na ?

One of my reader asked me how to add the tinybn support to TinyMCEComments. I just check that plugin’s code and I have that plugin installed in my own blog too though not enabled! Yes my answer is yes … that means it’s possible. It can be done in different ways. As a quick thinking I am giving a poor or faster (whatever u think) way to do that. I am 75% done… wait a bit man.

Download the wptinybn and TinyMCEComments plugin and install them. (if u want not to install wptinybn to do that then it’s ok, I mean no dependency). Check wptinybn(unzip first!) folder and you should find a folder in it named “banglafkb”.Copy this and paste in wp-includes/js/tinymce/plugins folders in your blog wp installation. Done ? ok now …

hmm now you have to be more brave to edit the TinyMCEComments plugin… not much in deed. Open file tinyMCEComments.php and find the word “pls”. Stop to it’s first occurance the word will be like $pls and it’s a array and here parts of code is like

$pls = array('separator','bold','italic','underline','strikethrough','justifyleft','justifycenter','justifyright','justifyfull','bullist','numlist','outdent','indent','cut','copy','paste','undo','redo','link','unlink','cleanup','help','code','hr','removeformat','sub','sup','forecolor','backcolor','charmap','visualaid','blockquote','spellchecker','fullscreen');

now place // before this line and it will be like bellow

//$pls = array('separator','bold','italic','underline','strikethrough','justifyleft','justifycenter','justifyright','justifyfull','bullist','numlist','outdent','indent','cut','copy','paste','undo','redo','link','unlink','cleanup','help','code','hr','removeformat','sub','sup','forecolor','backcolor','charmap','visualaid','blockquote','spellchecker','fullscreen');

we just kept the old code .
now in new line put this bellow code

$pls = array('separator','bold','italic','underline','strikethrough','justifyleft','justifycenter','justifyright','justifyfull','bullist','numlist','outdent','indent','cut','copy','paste','undo','redo','link','unlink','cleanup','help','code','hr','removeformat','sub','sup','forecolor','backcolor','charmap','visualaid','blockquote','spellchecker','fullscreen','banglafkb');

If you check the above code what I have added new here ? just that ,’banglafkb’

I am 90% done. Now to to your admin panel activate tinymcecomments plugin then from menu Settings go to it’s(that plugin’s) setting page and check (if you done above copy pase and code editing) ‘banglafkb’ is in the button list and in the available plugin list. Just click both banglafkb to add from button list and plugin list. For button list click seperator before banglafkb that will be make a | seperator in editor. Now save this new option and check your comment form.

Angry one me ? You have done every thing properly but nothing new in the editor and u don’t see any change in the preview editor int the plugin options page. Don’t worry. The plugin keeps the setting in cache for 10 days. So to get the changes within one sec just open the tinyMCEComments.php file and pls check from top few liens code

there is a line like
$mcecomment_expiresOffset = 3600 * 24 * 10; // Cache for 10 days in browser cache
make this line comment I mean like
//$mcecomment_expiresOffset = 3600 * 24 * 10; // Cache for 10 days in browser cache
and now put a new line bellow it like
$mcecomment_expiresOffset = 1; // Cache for 1 sec in browser cache

now save this file and check the option’s page’s preview editor.

I think I am 100% done now. mu ha ha.

Oh I forgot to say currently I am working on a joomla plugin to make the dates in bangla for front end for articles, actually it will work with com_content …hope to release this on the eid-durga puja vacation.

Again here is some screenshot(one is above) of this post’s summary.MCEComments Options ‹ Let’s start again… — WordPress_1251930556673MCEComments Options ‹ Let’s start again… — WordPress_1251930589424MCEComments Options ‹ Let’s start again… — WordPress_1251930628482

  • Go to top
    Go to top
feedback