Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Auto Post Google Alerts Details »»
Auto Post Google Alerts
Version: 1.00, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-31-2006 Last Update: Never Installs: 34
Uses Plugins
Additional Files  
No support by the author.

I will no longer be supporting this hack as 3.6.x supports feeds, making this hack obsolete.

This hack will automatically post to a forum of your choice, as a user of your choice, any Google alert received. In fact, it should work for any alert service.

If you do not know what Google Alerts are, see this page:

Quote:
Google Alerts are email updates of the latest relevant Google results (web, news, etc.) based on your choice of query or topic.
Requirements:

A POP email box to receive Google Alerts.

Install is simple. Upload the PHP file, install the product, define the settings in adminCP, test, and set up a scheduled task in the adminCP then:

Click Install

You can limit who can post alerts by restricting domains allowed to email the POP box. I advise you use a secret, previously unused POP box/email address. Any mail in the POP box that is not in the domain list is deleted, otherwise it is posted.

I will offer support as I can here, or in the forum at my website at www.worldwidecreations.com

This modification is FREE of charge, but if you wish to reward me for my work, and encourage future modifications by me, please donate below:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 04-03-2006, 12:34 PM
sandalwood sandalwood is offline
 
Join Date: Mar 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey, i can't seem to get your script to send any packets at all. all the settings are correct, however it just doesn't try to connect to the pop server at all. i am watching with a sniffer.
Reply With Quote
  #63  
Old 04-03-2006, 12:38 PM
sandalwood sandalwood is offline
 
Join Date: Mar 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rmd708
I got it to work by commenting out this line:
# echo 'Loading Directly.<P>';
WTF... THIS WORKED.

i don't understand how commenting that line can make the difference between even making the pop3 connection at all but THANK YOU rmd708! :banana:
Reply With Quote
  #64  
Old 04-03-2006, 05:42 PM
dilbert dilbert is offline
 
Join Date: Nov 2004
Location: Boston
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sandalwood
WTF... THIS WORKED.

i don't understand how commenting that line can make the difference between even making the pop3 connection at all but THANK YOU rmd708! :banana:
Hmm, didn't work for me, I edited it out and have this error:
Fatal error: Maximum execution time of 30 seconds exceeded in D:\inetpub\bloodbanktalk\forum\includes\class_core .php on line 2967

Jafo, are you still supporting this mod?
Thanks,
Cliff
Reply With Quote
  #65  
Old 04-05-2006, 01:19 AM
dilbert dilbert is offline
 
Join Date: Nov 2004
Location: Boston
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, so I got it to work. It's pretty cool.
My problem is I created a new forum just for these alerts. Then when you are at the forum homepage, it says that forum has 0 posts, so no one will know they are there.
Can it be changed to have these count?

Thanks,
Cliff
Reply With Quote
  #66  
Old 04-06-2006, 01:21 PM
ldove ldove is offline
 
Join Date: Mar 2005
Location: Southern California
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dilbert
OK, so I got it to work. It's pretty cool.
My problem is I created a new forum just for these alerts. Then when you are at the forum homepage, it says that forum has 0 posts, so no one will know they are there.
Can it be changed to have these count?

Thanks,
Cliff

How'd you resolve it. It sounds like we may have similar setups for the backend.

Thanks,
Reply With Quote
  #67  
Old 04-29-2006, 03:58 PM
H@K@N H@K@N is offline
 
Join Date: Dec 2004
Location: Dortmund
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack, clicks install ...

And how do i create a cron for this ? Just copy vbox.php > includes/cron and create the cron ?

th@nks
Reply With Quote
  #68  
Old 05-14-2006, 07:02 PM
TheMusicMan's Avatar
TheMusicMan TheMusicMan is offline
 
Join Date: Oct 2002
Location: South Wales
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I installed this plug-in but am trying to use it in a slightly different manner than originally intended. I am after a hack/plugin that would allow me (Admin) to be able to send an email to a specified address which then creates a new thread on my forums in a specified forumID with the email subject being the title of the thread.

So, I installed this and it does work - up to a point - but I need some advice if this is OK please as it isn't working as I want it to.

I set the userID, the forumID and the pop mail account details in the AdminCP, and then sent an email to it. The thread does indeed get created and posted by the userID in the specified forum, the email subject is mapped to the thread title, but none of the content of the email gets entered as the content of the thread.

All I see in the thread is: Sent from myemail@address.com

How can I make this so that the content of the text in the email gets mapped to the message text of the thread that is created...? or should this already occur?

Thanks.
Reply With Quote
  #69  
Old 05-14-2006, 08:28 PM
TheMusicMan's Avatar
TheMusicMan TheMusicMan is offline
 
Join Date: Oct 2002
Location: South Wales
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update:

To all those asking the same question I did (sorry... without looking through the thread first!!) as in the email content not being mapped through to the thread content... the answer is simple.

Make sure you send the email in Plain Text format. The vBox.php file filters out all html code and even after this, if the format of the email is of HTML type, it uses an if else statement to show the senders email address as the content rather than the content of the email.

Hope this helps...
Reply With Quote
  #70  
Old 05-16-2006, 08:38 AM
valentine valentine is offline
 
Join Date: Jan 2005
Location: Cambridge, UK
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If, when I try to run this from the scheduled tasks CP, absolutely nothing happens, what is the likely cause?

I know that the settings are right in VB Options, because its set up the same as MailWasher, which I use to filter out my spam. So, mailwasher can see that the email is sitting there on the server, but the script doesn't actually appear to run.

If I change the POP server to something like 'notthishost', then I get an error like below

Code:
Warning: imap_open(): Couldn't open stream {notthishost:110/pop3/tls/novalidate-cert} in /vbox.php on line 24

Warning: imap_num_msg(): supplied argument is not a valid imap resource in /vbox.php on line 26
done processed 0 of mails

Done
so I know the script is there and working - but it doesn't appear to be. So this'd make me think my settings are wrong... but I'm certain they're not!

Anyone? Seems like a useful script but I don't want to waste much more time on it than I have done already.
Reply With Quote
  #71  
Old 05-16-2006, 10:39 AM
H@K@N H@K@N is offline
 
Join Date: Dec 2004
Location: Dortmund
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dilbert
OK, so I got it to work. It's pretty cool.
My problem is I created a new forum just for these alerts. Then when you are at the forum homepage, it says that forum has 0 posts, so no one will know they are there.
Can it be changed to have these count?

Thanks,
Cliff

same Issue here, any Solution for this ?


gr33tz
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04853 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete