vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Auto Post Google Alerts (https://vborg.vbsupport.ru/showthread.php?t=106905)

Tralala 02-18-2006 06:47 PM

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.

Jafo232 02-18-2006 09:46 PM

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.

TTG 02-18-2006 09:54 PM

anyone actually got this to work yet ?

Jafo232 02-18-2006 09:56 PM

I use it everyday, works for me.

Tralala 02-18-2006 11:48 PM

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.

Jafo232 02-19-2006 06:42 PM

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.

Annapurna 02-20-2006 05:34 PM

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

Jafo232 02-21-2006 12:49 AM

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.

dbarry 02-28-2006 02:52 AM

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

Thanks!
Don

dbarry 03-01-2006 02:43 AM

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


All times are GMT. The time now is 04:55 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.01256 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete