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
  #42  
Old 02-18-2006, 06:47 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Annapurna
Errors have nothing to do with Google. And it is already what you wanted. Sending eMail to an eddy which posts into the threads. No matter whether the mail comes from your Laptop or from Google Alert.
Wow, well then allow me to submit that this hack's TITLE sells it's usefulness a bit short. It's basically an email gateway to vBulletin thread creation, then. The email doesn't have to be from Google or an alert at all.

(Jafo232, you may want to reconsider the title of your excellent hack, as some folks will overlook this as yet another RSS scraper/poster, when it can be so much more.)

I'd very much enjoy this as a way to create threads on the go when I don't have speedy web access. Hopefully I'll get the error (posted above) sorted out so I can see it in action.
Reply With Quote
  #43  
Old 02-18-2006, 09:46 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala
I too get an error when trying to invoke this manually
(by going to http://www.myforumname.com/forums/vbox.php)

Here is the error I get:

Fatal error: Call to undefined function: imap_open() in /home/.odell/mydir/myforumname.com/forums/vbox.php on line 24

I tried changing /pop3/tls/novalidate-cert to /pop3 in the vbox.php file... same error. Changed it back again, same error.

I know my popserver, username, port and password are correct, since I am able to log into it using the exact same information at mail2web.com's "Advanced" login page. But vbox.php doesn't succeed for some reason.

Any help would be appreciated.
Your version of PHP was not compiled with imap support, this hack will not work for you. If it was compiled with imap support, then the function imap_open would be defined.
Reply With Quote
  #44  
Old 02-18-2006, 09:54 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone actually got this to work yet ?
Reply With Quote
  #45  
Old 02-18-2006, 09:56 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use it everyday, works for me.
Reply With Quote
  #46  
Old 02-18-2006, 11:48 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232
Your version of PHP was not compiled with imap support, this hack will not work for you. If it was compiled with imap support, then the function imap_open would be defined.
Bummer. I thought this hack was working via POP, not IMAP.

Glad your hack is working for you, though.
Reply With Quote
  #47  
Old 02-19-2006, 06:42 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala
Bummer. I thought this hack was working via POP, not IMAP.

Glad your hack is working for you, though.
It does use POP, but PHP must be compiled with imap support because the imap_open function is used for opening both imap and POP boxes.
Reply With Quote
  #48  
Old 02-20-2006, 05:34 PM
Annapurna's Avatar
Annapurna Annapurna is offline
 
Join Date: May 2005
Location: Austria
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it work using a pure IMAP account? As I can easily turn POPs into IMAPs.

Or do I have to change anything in PHP.ini?

Sorry if that are dumb questions...

Andreas
Reply With Quote
  #49  
Old 02-21-2006, 12:49 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Annapurna
Would it work using a pure IMAP account? As I can easily turn POPs into IMAPs.

Or do I have to change anything in PHP.ini?

Sorry if that are dumb questions...

Andreas
If you get the "undefined function" error, then no. It isn't about what type of box it is, it is the fact that your version of PHP was not compiled with the --with-imap option.
Reply With Quote
  #50  
Old 02-28-2006, 02:52 AM
dbarry dbarry is offline
 
Join Date: Jan 2003
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jafo,
**Excellent Hack** Been waiting for something like this for years!

Thanks!
Don
Reply With Quote
  #51  
Old 03-01-2006, 02:43 AM
dbarry dbarry is offline
 
Join Date: Jan 2003
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala
Wow, well then allow me to submit that this hack's TITLE sells it's usefulness a bit short. It's basically an email gateway to vBulletin thread creation, then. The email doesn't have to be from Google or an alert at all.

(Jafo232, you may want to reconsider the title of your excellent hack, as some folks will overlook this as yet another RSS scraper/poster, when it can be so much more.)

I'd very much enjoy this as a way to create threads on the go when I don't have speedy web access. Hopefully I'll get the error (posted above) sorted out so I can see it in action.
Yes, this is the true email posts to forum tool!
I made one small change so that it would accept any email message...
In VBOX.PHP, change line 33 from
if (!in_array($from[0]->host, $domains)) {
to
if (in_array($from[0]->host, $domains)) {

This way only domains listed will be ignored (versus permitted).

Don
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 07:00 AM.


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.05126 seconds
  • Memory Usage 2,319KB
  • 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
  • (7)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