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)

Marv 02-26-2010 09:02 AM

Any updates on a 4.x release ? Hell, this one is a must have :)

hollosch 02-26-2010 09:40 AM

Tagged and waiting for a solution of this mod for vB4...

twohawks 02-27-2010 07:01 PM

Does this mod work with 4.0?

Thanks!

toivo 02-27-2010 08:23 PM

Quote:

Originally Posted by toivo (Post 1980256)
Here is a quick-fix of patches to EI Mod to support moderated forums, cloned from the existing code in EI Mod. The patch modifies emailintegration.php and two of its plugins, adds two custom hooks to moderate.php and installs a product with four plugins.

In limited testing under 3.8.4 this patch allowed moderation from the Admin Control Panel, Moderator Control Panel and from inline moderation.

The only differences to the earlier version tested in 3.6.8, available from https://vborg.vbsupport.ru/showthrea...151222&page=67, are the two INSERT statements in the installation instructions in the file Install.384.txt.

Please note that the patch at https://vborg.vbsupport.ru/showthread.php?p=1980256 post #234 incorrectly adds the signature of the original author of the thread to moderated replies sent by email, instead of the signature of the poster of the reply.

As a workaround, you can remove the signature from the email template for replies. The users seem to have a signature in their emails in any case. I am using the old format - by popular demand.

Serenit_y 03-17-2010 09:59 AM

Quote:

Originally Posted by beishe8 (Post 1782189)
Sad to say but seems this hack should find its way to the graveyard.:(

After spending 100s of hours on it,
The man has life issues to deal with, in attempting to focus on he's life, all of a sudden, you wish to condemn the Time and effort spent on it, and countless Forum Administrators the mod has helped, and the sheer goodwill of the author of the Mod in giving the mod for free.

Shame.

Serenit_y 03-17-2010 10:52 AM

Good afternoon,

I've been having problems with the Mail Integration plug-in,

Problem
--------
- I create a forum, and apply the Email integration settings,
- Add a couple of users to automatically receive email notifications
- Create a new thread in the forum
- The notification of the new thread arrives to User A, and User B's email account immediately
- I reply the email from user A and user B's email accounts.
- I log into vbulletin, but the messages don't arrive, after about 10minutes, I run the "Email Integration" cron from the shcedule task Manager
- Nothing happens,
- Couple of hours later, I log back into the forum, and the messages arrive, after about 3/4 hours,
- Sometimes they arrive the next day.

- Also often after the messages arrive, they keep duplicating themselfs on the thread, like a loop, till I
delete the thread.

Please help, I'm on a deadline to solve this.

Much thanks in Advance,

Serenit_y 03-23-2010 08:16 AM

On further testing the problem is,
The Cron gets the topic/message from the email, but dosen't seem to delete it, so when it runs again, it copies that same email, and now I have many duplicated replies on my vbulletin server.
I've set the cron to run every 5 minutes,
If your available, i'd appreciate a hand : ]

toivo 03-23-2010 10:51 AM

If you use the old message format, here is my patch in the 3.6 forum that gets rid of duplicated messages:https://vborg.vbsupport.ru/showpost....&postcount=953

By 'cron' do you mean the Scheduled Tasks in vBulletin? The Scheduled Tasks run only when the forum has some activity. You can run a PHP command line (CLI) script and schedule it to run every 5 minutes by using the real cron (crontab), or Windows Scheduler, depending on your operating system. The script is in this post: https://vborg.vbsupport.ru/showpost.php?p=1581411&postcount=898

If messages do not get deleted, have a look at this post: https://vborg.vbsupport.ru/showpost....&postcount=886

All these patches are used on vB 3.8.4 with two mailboxes.

Serenit_y 03-23-2010 04:43 PM

Quote:

Originally Posted by toivo (Post 2008683)
Message for Toivo, deleted whole message to save space :p

Thanks for the reply, I just wanted to make sure we're on the same page
1. I've carried out the first task, Adding the patch to stop duplicated messages
2. Yes by Cron, I meant the Email Integration cron that retrieves the mail from the user accounts.
Following the link, I did the following
-- Created php file forum_read.php, under the vbulletin directory, and copied the code to this file.
I replaced the forum url variable, with the vbulletin URL, but where do you find the url requested below;
Quote:

"// cron url from <img src=
$cron_url = 'http://example.com/testvb/cron.php?' "
3. I created a run_cron.php file, under vbulletin/include/cron directory, containing the script
Quote:

#!/bin/bash
# load forum home page and read cron.php
php /root/forum_read/forum_read.php
exit 0'
- I added a new cron under AdminCP -> scheduled tasks pointing to this run_cron.php file.

- I'm I missing something so far?
- When I run this run_cron.php file from the scheduled task menu, will it run the forum_read.php file, or the EI file, this was a bit confusing.
- Also does the EI mod, only run when someone actually opens the forum,


Thanks a lot in advance,

toivo 03-23-2010 06:28 PM

Quote:

where do you find the url requested below;
"// cron url from <img src=
$cron_url = 'http://example.com/testvb/cron.php?' "
example.com is the URL of your site, testvb is the name of the folder where your forum is.

Quote:

- I added a new cron under AdminCP -> scheduled tasks pointing to this run_cron.php file.
The script cannot be run under vBulletin Scheduled Tasks. The purpose of the forum_read.php file is to read the home page of the forum once every 5 minutes so that the Scheduled Tasks are triggered to run even during low forum activity. The Scheduled Tasks in vBulletin are run only if the forum is accessed, and getting a cron (the cron in the operating system) job to run forum_read.php once every 5 minutes to access the forum guarantees that the Scheduled Tasks are run regularly, independent of the forum activity.

You may have to tweak the forum_read.php script to run it on the same server, I run it from a different server.

Quote:

- Also does the EI mod, only run when someone actually opens the forum
That is true. The script forum_read.php makes sure that the forum is accessed every 5 minutes, independent of the actual user activity.


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