Changeset 181569
- Timestamp:
- 12/10/2009 04:43:53 PM (16 years ago)
- Location:
- repost-oldest
- Files:
-
- 9 added
- 2 edited
-
tags/1.0.1 (added)
-
tags/1.0.1/amazon.jpg (added)
-
tags/1.0.1/gpl.txt (added)
-
tags/1.0.1/paypal.jpg (added)
-
tags/1.0.1/readme.txt (added)
-
tags/1.0.1/repost-oldest.css (added)
-
tags/1.0.1/repost-oldest.php (added)
-
tags/1.0.1/screenshot-1.png (added)
-
tags/1.0.1/twitter.jpg (added)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/repost-oldest.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
repost-oldest/trunk/readme.txt
r179065 r181569 3 3 Donate link: http://smheart.org/donate 4 4 Tags: repost-oldest, posting, reposting, posts 5 Requires at least: 2. 25 Requires at least: 2.5 6 6 Tested up to: 2.8.6 7 7 Stable tag: trunk … … 50 50 == Changelog == 51 51 52 = 1.0.1 = 53 * Added Feature Suggestion/Bug Report functionality 54 52 55 = 1.0 = 53 56 * Initial Release 28 November 2009 … … 69 72 * add category selections 70 73 * add user selectable time for rePost 74 * add support for other languages 75 * integrate bug support/feature suggestion 76 * add user selectability for notification services. 71 77 72 78 = Backend Features = 73 79 * Add option for Admin notification of next future repost 80 * migrate to helloTXT.com and Ping.fm API 74 81 75 82 == License == -
repost-oldest/trunk/repost-oldest.php
r179065 r181569 3 3 Plugin Name: Re-Post Oldest 4 4 Plugin URI: http://smheart.org/repost-oldest/ 5 Description: Once per day this plugin identifies the oldest post and sends out a notification via Ping.fm and HelloTXT.com social notification networks.5 Description: Once per day this plugin identifies the oldest post in WordPress and sends out a notification via Ping.fm and HelloTXT.com social notification networks. 6 6 Author: Matthew Phillips 7 Version: 1.0 7 Version: 1.0.1 8 8 Author URI: http://smheart.org 9 9 … … 32 32 /* 33 33 Version 34 1.0 - 27 November 2009 34 1.0.1 10 December 2009 35 1.0 27 November 2009 35 36 0.1 Initial Version 26 November 2009 36 37 … … 131 132 </p> 132 133 </form> 134 </fieldset> 135 <div style="clear:both;"></div> 136 <fieldset class="options"><legend>Feature Suggestion/Bug Report</legend> 137 <?php if ($_SERVER['REQUEST_METHOD'] != 'POST'){ 138 $me = $_SERVER['PHP_SELF'].'?page=repost-oldest/repost-oldest.php'; 139 ?> 140 <form name="form1" method="post" action="<?php echo $me;?>"> 141 <table border="0" cellspacing="0" cellpadding="2"> 142 <tr> 143 <td> 144 Make a: 145 </td> 146 <td> 147 <select name="MessageType"> 148 <option value="Feature Suggestion">Feature Suggestion</option> 149 <option value="Bug Report">Bug Report</option> 150 </select> 151 </td> 152 </tr> 153 <tr> 154 <td> 155 Name: 156 </td> 157 <td> 158 <input type="text" name="Name"> 159 </td> 160 </tr> 161 <tr> 162 <td> 163 Your email: 164 </td> 165 <td> 166 <input type="text" name="Email" value="<?php echo(get_option('admin_email')) ?>" /> 167 </td> 168 </tr> 169 <tr> 170 <td valign="top"> 171 Message: 172 </td> 173 <td> 174 <textarea name="MsgBody"> 175 </textarea> 176 </td> 177 </tr> 178 <tr> 179 <td> 180 181 </td> 182 <td> 183 <input type="submit" name="Submit" value="Send"> 184 </td> 185 </tr> 186 </table> 187 </form> 188 <?php 189 } else { 190 error_reporting(0); 191 $recipient = 'support@smheart.org'; 192 $subject = stripslashes($_POST['MessageType']).'- rePost Oldest Plugin'; 193 $name = stripslashes($_POST['Name']); 194 $email = stripslashes($_POST['Email']); 195 if ($from == "") { 196 $from = get_option('admin_email'); 197 } 198 $header = "From: ".$name." <".$from.">\r\n."."Reply-To: ".$from." \r\n"."X-Mailer: PHP/" . phpversion(); 199 $msg = stripslashes($_POST['MsgBody']); 200 if (mail($recipient, $subject, $msg, $header)) 201 echo nl2br("<h2>Message Sent:</h2> 202 <strong>To:</strong> rePost Oldest Support 203 <strong>Subject:</strong> $subject 204 <strong>Message:</strong> $msg"); 205 else 206 echo "<h2>Message failed to send</h2>"; 207 } 208 ?> 133 209 </fieldset> 134 210 </div>
Note: See TracChangeset
for help on using the changeset viewer.