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)

Serenit_y 03-24-2010 11:20 AM

Alright, I've now done the following
1. Installed EI 2.6.1,
2. copied the code from the patch to the file "forum_read.php" in my vbulletin cron folder
3. created the system cron file (with the 4line perl script) to initiate the forum_read.php file in my home folder;
/home/user/forum_read (no file extension)

4. added a command line to my cron tab to activate the cron, every two minutes with the line;
*/2 * * * * /home/jfasheyi/forum_read
5. Set the EI cron to run every minute, from the vbulletin EI integration panel.

Question
1. Whilst installing EI 2.6.1 BETA, it said
"go to AdminCP -> Email Integration -> Forum Setings Help" to find a script, which will test to
see which email connection your server uses
- I went to Email Integration settings, from the vbull options tab, but no "Forum settings help" option
existed. I use vbull. 3.8.4.
2. Looking at the system cron script, this line
"php /root/forum_read/forum_read.php" how will it know where to find my forum_read.php vbulletin cron
file, which is in the vbulletin/includes/cron folder.
3. When I add the forum_read.php cron to vbulletin, should it be added as a vbulletin product,
or Email Integration product.

Thanks a lot,

toivo 03-24-2010 11:51 AM

Quote:

- I went to Email Integration settings, from the vbull options tab, but no "Forum settings help" option existed. I use vbull. 3.8.4.
It is not in the options tab but at the bottom of the left pane.
Quote:

"php /root/forum_read/forum_read.php" how will it know where to find my forum_read.php vbulletin cron file, which is in the vbulletin/includes/cron folder.
You do not need to copy the file into the includes/cron folder, it can stay in your home directory, but you need to modify the path in the 4 line shell script to point to your home directory, or omit the path and the current directory will be used by default.
Quote:

When I add the forum_read.php cron to vbulletin, should it be added as a vbulletin product, or Email Integration product.
The forum_read.php script cannot be added to vBulletin as a product or plugin because it has to work independently of vBulletin, triggered by the scheduler of the operating system on the same or another server. I run it from another server, and if you run it from the web server, you may have to modify the script.

Serenit_y 03-24-2010 01:19 PM

Quote:

Originally Posted by toivo (Post 2009336)
It is not in the options tab but at the bottom of the left pane..

There is no EI option at the bottom of the left pane, admincp, here's a screenshot of my left pane.

http://smg.photobucket.com/albums/v4...4at25603PM.png

Serenit_y 03-24-2010 02:54 PM

new problem, I re-installed everything.
Ran EI, but instead of saying "Done", it just didn't give a response.
- Out of 4 emails I posted onto the mail server, it only copied one to the forum
- It didn't delete any of the emails from the forum
- Whenever it ran, it kept copying that same email from the forum.

My assumption is, Perherps the code simply runs to
- Get email from mail server

And ignores the loop that tells it to get all the other emails on the mail server, then delete all the other emails.
Help?

Serenit_y 04-01-2010 07:56 AM

I've resolved the issue, for anyone who might have Qualms following the instructions on this board or can't find the right Information, here's precisely what I did.

To get EI to work

1. Un-Installed 3.8, and installed 3.7.1 Patch Level 2
2. Installed EI Mod, 2.6.1 beta
3. Added the patch on POST #843 here; https://vborg.vbsupport.ru/showthrea...51222&page=57;


To make the Cron run every 3 minutes, and output to a logfiles
Followed the instructions here;
https://vborg.vbsupport.ru/showpost....&postcount=898

A bit more explanation Using Centos 05,

1. Created a file forumread.php in my home directory, to hold the php code (Code 1 on the above link)
2. Created a file forumread.cron in my home directory, to hold the command line script (Code 2 on the above link).
Added a line which, everytime the cron runs, writes into the file 'cronlog.txt', stating the date and time the cron last ran.
Here's an extract of my forumread.cron file;

Quote:

#!/bin/bash
# load forum home page and read cron.php
/usr/local/php/bin/php /home/username/runcron.php
date +"EI Cron ran on%t %D At %T"%n >/home/username/cronlog.txt
exit 0

- went to my crontab home page, and created a new cronjob to access and run 'forumread.cron'
'cd /var/spool/cron'
'crontab -e'
'*/3 * * * * /home/username/forumread.cron

(My crontab is eddited using vi edittor, so to save the above change, typed ':wq')

Everything works well so far.
Thanks to Toivo and Cyrix.

Good luck.
Ciao

Rhaegar 04-15-2010 07:27 PM

Hi - just wondering if there's any news on getting this ported to vb4.

Serenit_y 04-27-2010 06:09 PM

Need some assistance in running the EI cron using the forumread.php patch,

I created a proxy site; forums.domainname.com, to connect to my vbulletin forum installed at, servername.domainname.com/vbulletin

On the forumread.php file, should the forum url variable be
The proxysite url, i.e.
$forum_url = 'http://forums.domainname.com/vbulletin/index.php';

Or should it be the server site
$forum_url = 'http://servername.domainname.com/vbulletin/index.php';

The same question with the cron URl variable,

Thank you v.much in advance.

John.

FCS-Webmaster 04-28-2010 09:41 AM

Hi there any solutions for vb4 Users? This Mod really rocks and I don't want to miss it :-/

Krahl 04-28-2010 08:09 PM

Same here. VERY interested in a vB 4 port of this mod.

ecraig 04-29-2010 02:08 PM

Will this Email Integration version work on VB3.8.X ?


All times are GMT. The time now is 10:18 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.01379 seconds
  • Memory Usage 1,747KB
  • 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_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