Version: 1.00, by doa24uk
Developer Last Online: Oct 2010
Category: Mini Mods -
Version: 3.8.x
Rating:
Released: 10-17-2009
Last Update: 10-17-2009
Installs: 17
Uses Plugins
Re-useable Code
No support by the author.
BlogMail mod for Blogger / Blogspot by doa24uk
This Mod will automatically create a new Blog post on any Blogspot or Blogger.com blog directly & automatically when a new forum topic is created.
Users can select which forums to apply this to & it also works with multiple forums.
Installation Instructions - Please see attached text file.
If you use this Mod, please click install to be notified of any updates or bugfixes. If you like this Mod, please nominate it for Mod of the Month (MOTM).
can someone break down the txt instruction for a more novice user...lol
how do I get multiple id's in there? like wat does it look like?
how do I get the title in there?
how do I get the body in there?
here is wat the blog looks like...lol
Wednesday, September 29, 2010
BLOG SUBJECT
BLOG MESSAGE BODY HERE - HTML CAN BE USED - USE
FOR A LINEBREAK - LINK TO TOPIC LIKE THIS - CLICKABLE LINK TEXT
can someone break down the txt instruction for a more novice user...lol
how do I get multiple id's in there? like wat does it look like?
how do I get the title in there?
how do I get the body in there?
here is wat the blog looks like...lol
Wednesday, September 29, 2010
BLOG SUBJECT
BLOG MESSAGE BODY HERE - HTML CAN BE USED - USE
FOR A LINEBREAK - LINK TO TOPIC LIKE THIS - CLICKABLE LINK TEXT
any assistance would be appreciated....
This is what my code looks like.
Code:
// START BLOGMAIL MOD
//Define Variables
$posttitle = $post['title']; // Outputs vBulletin Post Title
$threadid = $threadinfo['threadid']; // Outputs Thread ID
$forumid = $foruminfo['forumid']; // Outputs Forum ID
$tags = $post['taglist']; // Outputs Tag List
if ( $type == 'thread') {
// START BLOGMAIL MOD
switch($forumid)
{
case '161': // Replace xx with Forum ID (numerals).
case '106': // Replace xx with Forum ID (numerals).
case '18': // Replace xx with Forum ID (numerals).
// case 'XX': Optionally use multiple cases to specify more than one forum.
$to = "*******@blogger.com";
$subject = "$posttitle"; // use $posttitle
$body = "Click the link below to read more on this topic.<BR><a href=http://www.marineaquariumsa.com/forumdisplay.php?f=$forumid>Full thread here.</a>";
$headers = "From: ******@marineaquariumsa.com\n";
$headers .= "Content-Type: text/html; charset=us-ascii\n";
$headers .= "Content-Transfer-Encoding: 7bit";
mail($to,$subject,$body,$headers);
break;
default;
// Either a reply or not in a forum that is used, just ignore.
break;
}
}
//END BLOGMAIL MOD
You can see the 3 "case" lines with my 3 different forum numbers that I am pulling the posts from. Also I am using the $forumid as I couldn't get the $threadid working.