JBar – Jquery Bar
Posted by Sajith M.R in Downloads, php, webworld on 27. Dec, 2009 | 0 Comments
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 added some [...]
Remove emails, numbers or url from text inputs
Posted by Sajith M.R in php on 14. Nov, 2009 | 0 Comments
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})”;
$message = ereg_replace($email_regexp, ‘XXX’, $message);
}
if($numbers)
{
//strip all numerical values
$number_regexp [...]
Wordpress Plugin – Warning Before Closing
Posted by Sajith M.R in Downloads, webworld on 29. Oct, 2008 | 6 Comments
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 the accidental close [...]
Wordpress Announcement – Plugin
Posted by Sajith M.R in Downloads, webworld on 24. Jun, 2008 | 74 Comments
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 set your [...]


