vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Email Integration (New Threads/Replies by and through email!) (https://vborg.vbsupport.ru/showthread.php?t=169247)

yaku 04-12-2012 04:03 AM

Is there a way to put all the emails titled the same into one thread?

For example, I'd like to have one thread with Dodgers news. If I find Dodgers news that I'd like to post, I'd just title the email "Dodgers News" and it would go into the thread already made.

Is this possible using this software?

Cat Terrist 05-03-2012 12:07 AM

Quote:

Originally Posted by mtn-niche (Post 2293570)
Another update: Seems one needs to go back through every post in this thread as well as the thread for the mod for V3.6 to get this working!

I ran into the problem with the cron job failing and found the solution here:
https://vborg.vbsupport.ru/showthrea...151222&page=57
(see post #843 on that page)
This involves an edit to the emailintegration.php file . Without this fix the processing of the mailbox for the forum would sometimes fail and not delete messages that had been turned in to posts resulting in duplicate posts from one email (and get stuck in a loop). You can see the problem when you manually run the Email Integration task from the Scheduled Task Manager. After this fix when you run the task manually you get a nice report of what was done.

I'll keep testing and post anything else I find. I am surprised there is not more interest in this mod.

Okay, I had some posting errors so I backtracked anod contentid is not a valid field in 4.12 so I put back on postid in all three places. Email Intergration passed all tests once the plugin was reloaded

reedness 07-26-2012 07:04 PM

Anybody have any luck in v4.2.0?

Miyuki419 07-28-2012 10:11 PM

Ditto. I would like to install this but I wonder if it will work in 4.2.

Cat Terrist 08-20-2012 09:30 AM

Yes, it works with my test site. You really do need to read carefully the last two pages to make sure you get everything just right. I forgot the contentid thing and spent a bit of time swearing

reedness 08-20-2012 06:52 PM

Quote:

Originally Posted by Cat Terrist (Post 2358395)
Yes, it works with my test site. You really do need to read carefully the last two pages to make sure you get everything just right. I forgot the contentid thing and spent a bit of time swearing

Hi Cat. Are you referring to 4.2?

Cat Terrist 08-27-2012 09:28 AM

Quote:

Originally Posted by reedness (Post 2358548)
Hi Cat. Are you referring to 4.2?

Yes.

However I did hit one bizarre problem - after multiple forums are enabled, I get a database error every time a new thread is posted on the forum - but a new thread via EI works. One forum, no problem.

But yet, the thread starter is there when you refresh and all posts after that work fine as well as EI. I know where in the xml the error is produced but I havent quite worked out why.

EDIT : Okay, nutted it out, it was the call EI makes to see if there is attachments to the posts. In line 765 of product-emailreplyint.xml, it looks like this for me -

Code:

WHERE postidid = $postid
It MUST be

Code:

WHERE contentid = $postid
And I am once again good. You might find that line is correct if you have not been testing fixes like I've been.

reedness 08-28-2012 02:13 PM

Thanks, Cat. Did you try the 2.6.1 Beta version?

reedness 08-29-2012 07:07 PM

Quote:

Originally Posted by Cat Terrist (Post 2360382)
Yes.

However I did hit one bizarre problem - after multiple forums are enabled, I get a database error every time a new thread is posted on the forum - but a new thread via EI works. One forum, no problem.

But yet, the thread starter is there when you refresh and all posts after that work fine as well as EI. I know where in the xml the error is produced but I havent quite worked out why.

EDIT : Okay, nutted it out, it was the call EI makes to see if there is attachments to the posts. In line 765 of product-emailreplyint.xml, it looks like this for me -

Code:

WHERE postidid = $postid
It MUST be

Code:

WHERE contentid = $postid
And I am once again good. You might find that line is correct if you have not been testing fixes like I've been.

How did you pull off step 6? USERCP_SHELL does not contain this at all.

6. Template EDIT

In:
Admincp -> Styles & Templates -> Edit Templates -> User Control Panel Templates -> USERCP_SHELL

**************
FIND:
**************
<tr>
<td class="$navclass[substhreads_editfolders]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td>
</tr>

**************
AND ADD UNDER IT:
**************
<!-- ##### START MODIFICATION - Email Integration ##### -->
<tr>
<td class="$navclass[subscribe_forums]" nowrap="nowrap"><a class="smallfont" href="subscribeforums.php?$session[sessionurl]do=list">$vbphrase[ei_edit_sub_forums]</a></td>
</tr>
<!-- ##### END MODIFICATION - Email Integration ##### -->

**************
CLICK SAVE!
**************

Cat Terrist 09-04-2012 06:05 AM

Quote:

Originally Posted by reedness (Post 2360705)
Thanks, Cat. Did you try the 2.6.1 Beta version?

No, for v4 of vBulletin you must use 2.6.2 Beta that was posted a page or two back.

Quote:

How did you pull off step 6? USERCP_SHELL does not contain this at all.
DO this instead

Code:

6. Template EDIT

        In:
        Admincp -> Styles & Templates -> Edit Templates -> User Control Panel Templates -> USERCP_SHELL

        **************
        FIND:
        **************
        <li class="{vb:raw navclass.substhreads_editfolders}"><a href="{vb:link subscription, '', 'do=editfolders'}">{vb:rawphrase edit_folders}</a></li>

        **************
        AND ADD UNDER IT:
        **************
        <!-- ##### START MODIFICATION - Email Integration ##### -->
                <li class="{vb:raw navclass.subforum}"><a href="{vb:link subscription, '', 'do=subforumlist'}">{vb:rawphrase ei_edit_sub_forums}</a></li>
        <!-- ##### END MODIFICATION - Email Integration ##### -->

        **************
        CLICK SAVE!
        **************                       

        In:
        Admincp -> Styles & Templates -> Edit Templates -> Subscriptions (Thread Notifications) Templates -> subscribe_choosetype

        **************
        FIND:
        **************
        <vb:if condition="$show['subscribetothread']">

        **************
        AND CHANGE IT TO:
        **************
        <vb:if condition="$type=='threadid'">

        **************
        CLICK SAVE!
        **************



All times are GMT. The time now is 01:01 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.01554 seconds
  • Memory Usage 1,756KB
  • 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
  • (5)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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