PDA

View Full Version : Mini Mods - BlogMail Mod - Auto create Blog posts on Blogspot with VB


doa24uk
10-17-2009, 10:00 PM
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).

BucWiLd
10-19-2009, 12:54 AM
hmm, interesting.. watching

mrwinxp
10-19-2009, 04:15 AM
Any diff with vBulletin 3.7.6. I installed on vBulletin 3.7.6, and nothing happen. Please help !

ubcforums
11-13-2009, 05:03 PM
Good Idea :D
Thanks :D

murekhalir
11-13-2009, 05:35 PM
Autoblog~ this can be very powerful -

alehawk
11-15-2009, 07:49 PM
Thank you very much!
Besides this blogs, anyone knows other blogs where this king of plug in can be used?
Tnx!

viper357
09-28-2010, 09:36 AM
Any idea how to get some of the text from the first post in the thread to also appear in the blog? At the moment it only displays the thread title.

Also $threadid doesn't seem to work, it outputs 0 all the time.

onealien
09-30-2010, 01:38 AM
installed and connection made to blog...

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....

marshal_ramdev
09-30-2010, 02:54 AM
thanks ..

viper357
09-30-2010, 05:34 AM
installed and connection made to blog...

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.

// 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.

onealien
09-30-2010, 12:37 PM
^T^that helped greatly....

props Viper!

viper357
09-30-2010, 12:50 PM
Cool, let me know if you ever figure out how to get the body of the post into the blog. :)

SpanishHarlem
09-30-2010, 05:41 PM
I am having issues with this one.. Arrrgggg..lol

onealien
10-01-2010, 12:36 PM
ugggg....

its working perfectly...i just cant get the body txt in it...sucks...:S

anyone?

weindians
10-17-2010, 01:29 PM
i wonder the blogger mail id u enter in above plugin , u just use the middle part n @blogger.com or u have to use ur gmail part too??... its not working for me. i tried with main forumid n subforumid...

KID_1194
11-21-2010, 05:30 AM
it didn't work with me :(

marshal_ramdev
12-10-2010, 03:52 PM
thnx