Newsletter plugin for WordPress

Not new to WordPress, but to be precise this is my 1st plugin for public release. Wrote themes and worked on WordPress quite closely. Some of the themes i published for public consumption. There are many newsletter plugins around so what’s new in this. Good question, well there might not be some thing very new but there are some things which make me to wrote this simple plugin. It is a simple plugin with Admin option page to download the user data in csv format for selected dates. I was not after many options, i wanted a simple plug which just work the way i want it and this is why i wrote this plug from scratch. Want to read more details, no worries read them here. Installation and usage is written there in details too. Tested with WP 3.5, but should work with 3.0+ versions.

Enough of reading, lets see it in action. Sorry there is no live demo at the moment but these screen shots will do the justice.


In action


Admin options page

Time to download and install it, head over to githug and download or pull the files. Got issues or need help, there is an issue page on github for it post it over there.

The directory name should be mma-newsletter. Remove other words, hyphens etc after extracting.

Download it from github

Thanks for using it. 🙂

Create twitter popup with custom message

As the title says, it is a simple script which will take input from user via text box and open a popup window with the custom text written by the user. The code is fairly easy to understand, just copy, paste and use it. Few things to notice here are:

twit.png image is not available here, so download/create an image for it if want to use image.

– Can set a link/text as hash tag in the js code, in front of the var tag. Example:

– Can set the height and weight for the popup window in the js code.

That’s it, enjoy twitting..

Full code:

[cc lang=”css” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”36″ tab_size=”4″]

<!DOCTYPE html>
<html xmlns=””>
<head><title>Custom Twitter Popup :</title></head>
<div>What would you like to twit about us.</div>
<input type=”text” name=”twitter_text” id=”twitter_text_id” value=”Enter any text/link here!” />
<div><input type=’image’ value=’’ id=”twitter_popup” src=’twit.png’></div>
<script src=””></script>

$(‘#twitter_popup’).live(“click”, function(event) {

var input_msg = document.getElementById(‘twitter_text_id’).value;
var msg = “?text=” + encodeURIComponent(input_msg);
var tag = encodeURIComponent(””);
var msg_tag = msg + tag;

var width  = 575,
height = 430,
left   = ($(window).width()  – width)  / 2,
top    = ($(window).height() – height) / 2,
url    = this.value + msg_tag,
opts   = ‘status=1’ +
‘,width=’  + width  +
‘,height=’ + height +
‘,top=’    + top    +
‘,left=’   + left;, ‘twitter’, opts);
return false;


JQuery 1.5 is here, and what’s new in it?

JQuery 1.5 is available for download, and there must be some users like me who will definitely thinking to give it a try and explore what’s new in it. I haven’t used it yet, but i came across this article from sitepoint blog and found it interesting to read.

You can download the latest stable release from JQuery site.

And to add more spice, read this article ‘What’s New in JQuery 1.5‘ by Louis Simoneau from sitepoint blog.

Happy reading 🙂