vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - BlogMail Mod - Auto create Blog posts on Blogspot with VB (https://vborg.vbsupport.ru/showthread.php?t=225512)

doa24uk 10-17-2009 10:00 PM

BlogMail Mod - Auto create Blog posts on Blogspot with VB
 
1 Attachment(s)
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

Quote:

Originally Posted by onealien (Post 2104885)
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.

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.

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


All times are GMT. The time now is 06:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01108 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete