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)

mtn-niche 01-26-2012 12:48 AM

Rick, I'm trying to get your version of the mod working on vBulletin 4.1.10 and I'm seeing a few problems:

When viewing any page of the forum as a user, I get the following PHP warning at the top of the page:

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1366) : eval()'d code on line 1
Also, the Settings > General Settings page (my user profile area) is showing formatting errors such that stuff on the main section of the page is overlapping itself. I've attached a screen shot so you can see what I mean.

And a basic question about the mod installation: in Step 6 (Template EDIT) of the install.txt file, the second template edit says to find "<vb:if condition="$show['subscribetothread']">" and replace it with something else, but there are two instances of the string. Should I replace both instances or just the first?

Thanks for your work on this, and any help you can provide.

RickMeyer 01-26-2012 01:50 PM

Wow,
I have not seen any of these issues, a few others that I'm working on but not these.
What version of vB are you using?
I'll take a look at these when I get a chance, might be a few days though.

mtn-niche 01-26-2012 03:26 PM

Rick, I'm using V4.1.10. I found a bunch of other reports of problems when upgrading from 4.1.3 to 4.1.4 due to them moving the message editor from one path to another. I just copied the install package for version 4.1.3 to my server and I plan to try it with that version today. Can you tell me which vBulletin version you are working with? Also, do you know of any browser related issues with vBulletin (I'm currently using Firefox 4.01, so I'm a bit out of date there)?

Thanks

mtn-niche 01-28-2012 06:30 PM

Update: I've made some progress getting this to work using Rick's 2.6.2 Beta version of the mod with vBulletin V4.1.3 Patch Level 6. I was able to get a post to be created from an email reply (reply to an email from the Instant email Notification.)

I was getting the "array_merge" warnings until I deleted the line from product-emailreplyint.xml as SimCityForum mentioned in post #303, however it was a different line in my file (not line 238). Also, I found three cases of the "WHERE postid = $postid" code in the product-emailreplyint.xml but since the line numbers were different I was not sure if I should change any or all of them. In my version of the file, the code is found on lines 354, 438, and 765 (this is after deleting the one line earlier.) I assume this change is due to a table structure change but I have not tried to figure out the details yet. Anyone else tried this?

mtn-niche 01-28-2012 08:32 PM

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.

Simon Lloyd 01-31-2012 06:20 PM

Anyone have any issues with this and vb3.8.7 PL2? it's sending out the notifications instantly but not recognising the email replies, could it be to do with vBSEO?, if so anyone got a fix for it?

Simon Lloyd 01-31-2012 08:16 PM

Also this
HTML Code:

require_once(DIR . '/includes/functions_threadprefix.php');
in emailintegration.php should read
HTML Code:

require_once(DIR . '/includes/functions_prefix.php');
in vb3.8.x so i'm still puzzled that some folk have reported it working in vb3.8 ?

saxman2008 03-05-2012 05:13 PM

Quote:

Originally Posted by filipo (Post 2284567)
Thanks very much, Rick! Anyone testing Rick's mod, please post your experiences here.

Yes, thanks Rick. I am trying to get this working for a new project and no email integration is a show stopper for me. I did have it working with 3.8.4.
I tried Rick's 2.6.2Beta with VB4.1.11 but had various problems there.
I am now trying Rick's 2.6.2Beta with VB4.1.3Patch6 and have it working with one warning.

I am getting;
Warning: mysql_escape_string() expects parameter 1 to be string, array given in [path]/includes/class_core.php on line 727
The above warning is coming from subscription.php?do=dosubforums when I click "Add Subscription" in "Edit Forum Subscriptions". Despite this error it seems forum subscriptions are saved.

UPDATE: 7 March 2012
In VB4.1.5 I did get rid of the above error with a small change in EI_SubscribeForums plugin.
I today decided to try the same thing with VB4.1.11 and I see that EI is now working without any error and without having to edit the EI_SubscribeForums plugin.

Cat Terrist 04-11-2012 08:27 AM

Quote:

Originally Posted by filipo (Post 2284567)
Thanks very much, Rick! Anyone testing Rick's mod, please post your experiences here.

Iget

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1353) : eval()'d code on line 76
But I have also gotten a lot further with EI working in the main - I see soemone else got the same error I did so I'll apply that fix and see how I go

Cat Terrist 04-11-2012 09:24 AM

Quote:

I was getting the "array_merge" warnings until I deleted the line from product-emailreplyint.xml as SimCityForum mentioned in post #303, however it was a different line in my file (not line 238). Also, I found three cases of the "WHERE postid = $postid" code in the product-emailreplyint.xml but since the line numbers were different I was not sure if I should change any or all of them. In my version of the file, the code is found on lines 354, 438, and 765 (this is after deleting the one line earlier.) I assume this change is due to a table structure change but I have not tried to figure out the details yet. Anyone else tried this?
Also note I applied the remove line and change all three instances of "where postid". Errors I had have gone. I will presume that since what I had in vb 4.1.8 is the mirror so far of your results, I will likewise apply your fixes.

Thanks for your work Rick, much appreciated, after the fixes noted it looks like it's working well.


All times are GMT. The time now is 01:03 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.01853 seconds
  • Memory Usage 1,753KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (3)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