JBar – Jquery Bar

Flash messages or notification messages are very essential part of every update/edit or delete operations. We either use ajax update messages like “You account has been updated” or “Your photo has been successfully deleted” Here, a new plugin of jQuery can be used to display the flash messages like twitter. (see twitter’s settings page) I [...]

0 Comments , , , , , , , , , , , , ,

Remove emails, numbers or url from text inputs

Below is a simple php code to sanitise an input message . The function has 3 parameters, depending on the parameter the input is parsed to filter. function sanitize_message( $message , $email = true, $numbers = true, $url = true ) { $message = strip_tags( $message ); if($email) { //strip email address $email_regexp = "[_A-Za-z0-9-]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[A-Za-z]{2,3})"; [...]

0 Comments , , , , , , , ,

WordPress Plugin – Warning Before Closing

Today i published my new wordpress plugin, which control user navigation. The plugin name is “Close Warning”. It prompts the user a confirmation message before they close the browser window or tab. After that a lightweight window popup jumps up with your preset announcement or message  (in richtext format) The Advantages >> You can avoid [...]

7 Comments , , , , , ,

WordPress Announcement – Plugin

Do you wanna inform any important news or message to your readers ? Here is a simple plugin, WordPress Announcement Plugin. Download the plugin from : http://downloads.wordpress.org/plugin/announcement.zip Go to Admin > Plugin > and activate announcement plugin. After that, go to options and select Announcement. By default the plugin will be inactive. You have to [...]

78 Comments , , , , , ,