vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Email Integration (New threads/replies by email) (https://vborg.vbsupport.ru/showthread.php?t=151222)

Dontom 04-12-2008 04:31 PM

Hi,
I switched to 2.6 recently. If the mailbox contains more than one email the messages get posted but not deleted from the mailbox (pop or imap doesn't matter), which results in multiple postings, until I log in and delete that emails...

Any advice?

Cyricx, are you still here?

Thanks
Tom

snoopy5 04-12-2008 05:21 PM

Hi

two questions:

1. is it possible to use this mod for sending the postings only one-way?

So that users only get the e-mail notification, but can not reply by e-mail?

2. Can I enable in the ACP this Mod for specific usergroups only, i.e. only for premium members?

Thanks in advance

Dontom 04-13-2008 05:05 AM

Quote:

Originally Posted by snoopy5 (Post 1489185)
2. Can I enable in the ACP this Mod for specific usergroups only, i.e. only for premium members?

Yes, after installing the hack you will have additional settings in your forum manager (on a per forum base) - there you can specify which usergroup may use the email functionality...
Tom

Dontom 04-13-2008 06:26 AM

toivo,
in which line did you add the
PHP Code:

imap_delete($mailbox$msg_no); 

?
thanks
tom

toivo 04-13-2008 12:03 PM

Hi tom,

That was just a couple of command line scripts I wrote for testing, not the ei mod. One displays what is in the mailbox and the other deletes the messages. The zip file with readme.txt is attached.

Regards,
toivo

Dontom 04-13-2008 01:49 PM

oh, I just added the account to mail mail-app, so I can just look into the account and view / delete messages. I thought you added a couple of ines to the EI -mod in order to prevent multiple postings...

Dontom 04-13-2008 02:38 PM

I also installed the 2.6.1 but still have the problem of messages being posted n times, because they are not deleted on the mail-server after being posted to the forums....

Any way to fix this?!

Alfa1 04-14-2008 09:40 PM

I am running vb 3.7 RC3 and EI 2.6.1.

I have the following problems and would really enjoy some pointers:
  • -Running the cron gives me this error:
    PHP Code:

    Email Integration
    [*]Warning: require_once([path]/includes/functions_threadprefix.php) [function.require-once]: failed to open streamNo such file or directory in [path]/includes/cron/emailintegration.php on line 41

    Fatal error
    : require_once() [function.require]: Failed opening required '/mydomain/forum/includes/functions_threadprefix.php' (include_path='.:/usr/local/lib/php'in /mydomain/forum/includes/cron/emailintegration.php on line 41 

  • In your installation file you write:
    Quote:

    If you have problems getting emails to appear in the forum, you can use a help script I have written which tests many different configurations to determine the proper entries for your forum. To use this script, go to AdminCP -> Email Integration -> Forum Setings Help.
    I do not find AdminCP -> Email Integration -> Forum Setings Help.
  • - And last but not least, my phpinfo notes this about my IMAP settings:
    Code:

    IMAP c-Client Version        2001
    SSL Support        enabled
    Kerberos Support        enabled

    Does that give any clue to the correct settings in the forum manager? (pop3 with or without SSL, IMAP with or without SSL)

toivo 04-17-2008 01:55 PM

Hi,

Here is a workaround to the problem which stops messages from being deleted:

Quote:

PHP Fatal error: Call to a member function set_parsing_language() on a non-object in {...test forum folder...} \includes\cron\emailintegration.php on line 1615
Force the language code, rather than retrieve it from $touser['languageid']:

Line 1615:

Quote:

$plaintext_parser->set_parsing_language( 1 );
I sent three messages to the mailbox, hit the forum a few times and received all three messages. And they had been deleted from the mailbox, too.

Regards,
toivo

Alfa1 04-17-2008 07:38 PM

Posts are being sent to the email addresses of the members who subscribed, so that is good.

But it seems as the script is not accessing the gmail inbox as no emails are getting posted. I am still getting the error below:

PHP Code:

Email Integration
[*]Warning: require_once([path]/includes/functions_threadprefix.php) [function.require-once]: failed to open streamNo such file or directory in [path]/includes/cron/emailintegration.php on line 41

Fatal error
: require_once() [function.require]: Failed opening required '/mydomain/forum/includes/functions_threadprefix.php' (include_path='.:/usr/local/lib/php'in /mydomain/forum/includes/cron/emailintegration.php on line 41 

I am using normal IMAP.

Does anyone have an idea how to fix this?

Quote:

Originally Posted by Alfa1 (Post 1490743)
I am running vb 3.7 RC3 and EI 2.6.1.

I have the following problems and would really enjoy some pointers:
  • -Running the cron gives me this error:
    PHP Code:

    Email Integration
    [*]Warning: require_once([path]/includes/functions_threadprefix.php) [function.require-once]: failed to open streamNo such file or directory in [path]/includes/cron/emailintegration.php on line 41

    Fatal error
    : require_once() [function.require]: Failed opening required '/mydomain/forum/includes/functions_threadprefix.php' (include_path='.:/usr/local/lib/php'in /mydomain/forum/includes/cron/emailintegration.php on line 41 

  • In your installation file you write: I do not find AdminCP -> Email Integration -> Forum Setings Help.



All times are GMT. The time now is 08:04 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.02146 seconds
  • Memory Usage 1,768KB
  • 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
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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