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)

Cyricx 01-25-2008 12:02 AM

That's easy. :)

Enable email modification in the forum manager and fill out the "reply address" as the admin's email address.

Disable the scheduled task for Email Integration in the scheduled task manager.

Then you can go to Languages & Phrases -> Search in Phrases -> searching for ei_notify in the variables and you'll see all the phrases for the emails. Then you can modify those to your liking.

I do NOT suggest anyone change any of these phrases unless they will be disabling incoming mail!!!

The regex in the scheduled task rely on specific layouts of the -=-=-=-= lines in the emails to correctly parse and interpret the incoming emails!

FCS-Webmaster 01-25-2008 06:54 AM

Pardon, odays update is for what?!
I didn`t get it. Sorry to ask.

Cheertobi 01-25-2008 08:15 AM

The new version uses now the "internal" vbmail function!

Cyricx 01-25-2008 11:31 AM

Yep yep :)

Complete with handling the mail queue and smtp authetication! :)

amphicar770 01-25-2008 07:59 PM

Cyricx,

Once again, thanks for the greatest mod ever. I do hope everyone is donating some $$ to your effort.

Three quick questions.

1) Under vbulletin - email integration settings it says, "See the "Install File" on how to change the default email type." I do not see this info? How do you set default?

2) Smilies are still showing up in my messages as little red x's. I modified paths, here is one: http://www.amphicar770.com/amphicarf...milies/012.gif What am I doin wrong here?

3) After upgrade is it now using vbmail automatically or do I have to modify something? Stupid question but what would it be using otherwise?

Thanks again.

Cyricx 01-25-2008 08:11 PM

Quote:

Originally Posted by amphicar770 (Post 1428901)
Cyricx,

Once again, thanks for the greatest mod ever. I do hope everyone is donating some $$ to your effort.

Three quick questions.

1) Under vbulletin - email integration settings it says, "See the "Install File" on how to change the default email type." I do not see this info? How do you set default?

Ah bugger, I forgot to include the query in that.

If you want to change the default way that everyone sees the emails while allowing them to choose what they want, you need to run a query.

Be sure to replace (TABLEPREFIX) with your table prefix or remove that if you do not use one.

This query changes the default value for the field for new users that register from this point on to 1 which is for HTML emails.
Code:

ALTER TABLE `(TABLEPREFIX)user` CHANGE `ei_format` `ei_format` INT(3) NOT NULL DEFAULT '1';
And this query changes all the current users to using the html format.
Code:

UPDATE `(TABLEPREFIX)user` set `ei_format` = '1';
This is assuming your going to leave it so that user's can choose what format they want. From here they can go in and change it to plain text if they want.

If you DO NOT want to let user's choose and want to force html, just use the options in the vbulletin options.


Quote:

Originally Posted by amphicar770 (Post 1428901)
2) Smilies are still showing up in my messages as little red x's. I modified paths, here is one: http://www.amphicar770.com/amphicarf...milies/012.gif What am I doin wrong here?

This is similiar to what happens with vbadvanced. You'll need to go into your smilies and change the path to them to be the full url to the smilie. For example
http://www.yourdomain.com/forum/imag...ies/smilie.gif


Quote:

Originally Posted by amphicar770 (Post 1428901)
3) After upgrade is it now using vbmail automatically or do I have to modify something? Stupid question but what would it be using otherwise?

Thanks again.

You need to do nothing. All emails are now sent through vbmail :) It's automatic :)



Hope this helps!!

AlexanderT 01-26-2008 01:23 AM

Quote:

Originally Posted by Cyricx (Post 1428908)
You need to do nothing. All emails are now sent through vbmail :) It's automatic :)

Congrats ;)

FCS-Webmaster 01-26-2008 07:24 AM

Quote:

Originally Posted by Cheertobi (Post 1428558)
The new version uses now the "internal" vbmail function!

Thnx Tobi for your helping Hand.
It`s always a pleasure to meet you :D

tekguru 01-26-2008 09:28 PM

Wehave a problem with the email integration Mod. On enabled forums around 60% of the time if we quick reply we get:

https://vborg.vbsupport.ru/external/2008/01/6.png

taking place, if we refresh the post is there. If we use regular reply around the same amount of chances we get (..815), again a refresh fixes.

https://vborg.vbsupport.ru/external/2008/01/6.png

We?ve also seen: ?This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to that thread.?

Or

Fatal error: Call to a member function on a non-object in /home/windows/public_html/forums/includes/functions_newpost.php on line 908


So some serious issues for us somewhere...

Can give you Admin access if you need it to track this one down.

Have confirmed if we disable the Mod the issue vanishes completely, turn it back on and it returns.

JohnNM 01-27-2008 07:47 PM

Hi Cyricx,

Everything works very well except I am struggling with being able to have email pulled into the forum. I can see the email sitting in the user's mail box, so I know that it is getting that far. I expect that the issue is the mailbox name. I am running Red Hat Enterprise Linux 5.1. In this system, email is stored in /var/mail/username, not INBOX. Should I enter the full path to the mailbox? Is INBOX some Microsoft server name?

Thanks,
John

amphicar770 01-27-2008 08:54 PM

The new version i sup and running.

I did have a problem with the new, "type between the lines format". Myself and some other users did type between the lines but when the message posted the text was not there. I decided I prefer the old format so am using that.

Here is an enhancement request. Might be asking for the moon. A lot of users have asked about having a daily digest email complete with message content (unlike the headers only that VB provides). Any chance we might see something like this in a futre release?

Again, this is the greatest VB Mod of all time!!

subnet_rx 01-28-2008 12:33 PM

Quote:

Originally Posted by tekguru (Post 1429610)
Wehave a problem with the email integration Mod. On enabled forums around 60% of the time if we quick reply we get:

http://www.4winmobile.com/news/2008-01-26_204628.png

taking place, if we refresh the post is there. If we use regular reply around the same amount of chances we get (..815), again a refresh fixes.

http://www.4winmobile.com/news/2008-01-26_204815.png

We?ve also seen: ?This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to that thread.?

Or

Fatal error: Call to a member function on a non-object in /home/windows/public_html/forums/includes/functions_newpost.php on line 908


So some serious issues for us somewhere...

Can give you Admin access if you need it to track this one down.

Have confirmed if we disable the Mod the issue vanishes completely, turn it back on and it returns.

I'm having the same problem. Specifically, the function on mine is set_parsing_language.

Cyricx 01-28-2008 03:48 PM

I'm all over these few bugs guys. I'm pretty sure I've got both narrowed down to exactly what is going on.

I should have a fix released tomorrow early.

The duplicate post problem is due to an error occuring that seems to be tied to the user's that have autosubscribe enabled. I'm pretty sure this is focused on the starting queries I run for building the new layout emails.

The call to function I believe is also tied to the plain text parser.

JohnNM, it should still be INBOX. Please check your PMs on a good time to call you tomorrow to resolve this issue and take care of those custom tweaks you were wanting :)

Had a rough weekend helping some friends out with a loss so it pushed my plate back a few days.

Thank you all for your patience on this :)

bchertov 01-28-2008 04:46 PM

Quote:

Originally Posted by Cyricx (Post 1425906)
I had considered this [handling attachments but haven't thought about working it in yet as if someone sent outan attachment and you had 200 people setup for the emails. I would tend to think that sending out 200 emails with attachments could be a real stress on the servers.

That was the reason for going with the links to the attachments. :)

I'll have to put some more thought into this one.

I have hacked my individual emails and daily digest to include a link to any attachments, just like on the website. Works great! Note that I am NOT using your email integration system yet. I'm waiting for it to mature a bit more...

Cyricx 01-29-2008 05:10 PM

Latest version released, all of the above bugs are all resolved.

Please let me know if you have any other issues at ALL. I want to fix every bug I can find... unfortunately my testers are few :(

Thank you all for your support!!

tekguru 01-29-2008 06:04 PM

But we care Chris :) Just about to install now...

RWerksman 01-30-2008 01:32 PM

Chris,

The email notifications notify you of the post you just made. Is there a way to make that stop or an enhancement that can be made to eliminate that?

Also, what does the portion of the notification message subject between the [ and ] function as? Can we move that to the end of the subject or eliminate (or alter it) so the subject can be smaller?

I'm also getting a "Call to a member function on a non-object in /home/windows/public_html/forums/includes/functions_newpost.php on line 908" as well, but I haven't updated to 2.5.1 yet.

Rob

Cyricx 01-30-2008 01:43 PM

Quote:

Originally Posted by RWerksman (Post 1432423)
Chris,

The email notifications notify you of the post you just made. Is there a way to make that stop or an enhancement that can be made to eliminate that?

You want user's to not be notified of their own posts?

Quote:

Originally Posted by RWerksman (Post 1432423)
Also, what does the portion of the notification message subject between the [ and ] function as? Can we move that to the end of the subject or eliminate (or alter it) so the subject can be smaller?

Unfortunately, this is a nessecity. Some virus scanners change alot of the header information in the emails. So we need a backup method to ensure that we are correctly putting replies in the right spot. If you remove that, this is a HUGE chance that alot of replies will be classified as new threads.

Quote:

Originally Posted by RWerksman (Post 1432423)
I'm also getting a "Call to a member function on a non-object in /home/windows/public_html/forums/includes/functions_newpost.php on line 908" as well, but I haven't updated to 2.5.1 yet.

Update to 2.5.1 and you'll be good to go! :)

RWerksman 01-30-2008 02:25 PM

Quote:

Originally Posted by Cyricx (Post 1432429)
You want user's to not be notified of their own posts?

Right. The standard notification system in VB is to not notify you of your own posts.

Quote:

Originally Posted by Cyricx (Post 1432429)
Unfortunately, this is a nessecity. Some virus scanners change alot of the header information in the emails. So we need a backup method to ensure that we are correctly putting replies in the right spot. If you remove that, this is a HUGE chance that alot of replies will be classified as new threads.

Can I move it to the end, or can I make it so the message is different? such as:

Reply to thread 'Miscellaneous Hacks - Unread Posts .... [t-1432429]

?

Cyricx 01-30-2008 02:42 PM

Quote:

Originally Posted by RWerksman (Post 1432455)
Right. The standard notification system in VB is to not notify you of your own posts.

True, standard email lists though sends out all of them. :)

I'll add this as an end user option in the next build or two. It'll just need a few if statements :)


Quote:

Originally Posted by RWerksman (Post 1432455)
Can I move it to the end, or can I make it so the message is different? such as:

Reply to thread 'Miscellaneous Hacks - Unread Posts .... [t-1432429]

?

Not without modifying the cron file. :(

Let me explain a little bit about the reasoning of the way the subject line is built.

Most places are going to load multiple forums up with this. So the forum name is in the subject line so you know what forum it is going to. This can be very important if you have a public forum and a moderators forum enabled for example.

The t-threadid# is mandatory as the backup for if someone has a good virus scanner going to town on the email headers :)

The last part is the subject of the message :)

The regex in the cron file first checks the "in_reply_to" of the emails. If a virus scanner has replaced that with something else it then scans the subject line and looks for

[$forumname-t-(.*)](.*)

The first set of paranthesis is the threadid number. The second set is the subject of the post :)

If you switch those around backwords you'll get posts with no subject. :(

I have to becareful not to add in TOO many options though or people will get abundantly confused hehehe :)

Cyricx 01-30-2008 08:45 PM

Anyone out there using 3.7 that would like to test out the next version? it will be compatable with 3.6.8 and 3.7. I'd like to have a few people test it out on 3.7 though before I release it :)

Send me a PM :)

Cyricx 01-31-2008 12:28 PM

Added a new bug fix version. 2.5.2 fixed a bug with new user registrations not being autosubscribed when their usergroup is setup to do so.

I also added a regex fix for utf-8 encoding on filenames.

This version will work with 3.6.8 AND 3.7!

JohnNM 01-31-2008 10:04 PM

Quote:

Originally Posted by Cyricx (Post 1432732)
Anyone out there using 3.7 that would like to test out the next version? it will be compatable with 3.6.8 and 3.7. I'd like to have a few people test it out on 3.7 though before I release it :)

Send me a PM :)

If I get a chance I will rev my test box to 3.7 and give your latest code a spin.

John

RWerksman 01-31-2008 10:53 PM

Chris,

My users are still reporting 908 errors.

Rob

Cyricx 02-01-2008 12:45 AM

908 errors?

Could you be more specific.. I'm not at all certain what you mean.

Also, are you certain your using the latest version?

RWerksman 02-01-2008 01:29 AM

Fatal error: Call to a member function on a non-object in forum\includes\functions_newpost.php on line 908

I haven't been able to replicate it, but they continue to report it even after upgrading to 2.5.1. Additionally, they are reporting seeing the following error now as well:

http://www.thegoldenrivet.com/Images/misc/error.jpg

Cyricx 02-01-2008 11:33 AM

Rwerk, have you upgraded to 2.5.2?

The call to a member function is due to the set parsing language not being devfined in the plugins, that should be there now.

If you'd like to PM me admin login I'll double check.



Please follow the upgrade instructions closely. Be sure that you did the instructions in the reverseedits_upgradesonly.txt

Imported the xml and selected overwrite.

And overwrote all files.

Not following these steps will cause errors!

RWerksman 02-01-2008 11:44 PM

I have not updated to 2.5.2 yet - I thought that the error that I am describing was corrected in 2.5.1. Is that not the case?

attilio 02-03-2008 10:19 AM

I've just updated to version 2.5.2 and am still getting the 908 error message when trying to validate pending messages in the admin area: forum/includes/functions_newpost.php on line 908

JohnNM 02-04-2008 08:07 PM

I have now installed 2.5.2 on my production RHEL 5.1 box. All okay so far.

Cyricx, thanks so much for all your help.

John

mashby 02-05-2008 11:39 AM

I'm probably just missing something, but where do you edit the "Rejection Template"? I want to change what the bounce back e-mail says to someone who's not authorized to send an e-mail and I can't seem to find where that is.

Thanks!

RWerksman 02-05-2008 01:55 PM

Quote:

Originally Posted by mashby (Post 1436682)
I'm probably just missing something, but where do you edit the "Rejection Template"? I want to change what the bounce back e-mail says to someone who's not authorized to send an e-mail and I can't seem to find where that is.

Thanks!

Look in phrases - there is no template per se, it's all done there.

Dontom 02-05-2008 01:56 PM

Hello Cyricx
just installed it and it works like a charm. Thanks for this thing. Only thumbs for attached images are not getting generated yet, but I guess you already knew that ;)

Thanks again
Thomas

SpreadingLight 02-05-2008 06:25 PM

How about using input boxes in the email- that seems like it would encourage replies and new posts even more.

I got this email from amazon, usually they're only text, and I notice how the boxes gave me more motivation to reply:

Cyricx 02-06-2008 01:04 PM

Quote:

Originally Posted by attilio (Post 1435232)
I've just updated to version 2.5.2 and am still getting the 908 error message when trying to validate pending messages in the admin area: forum/includes/functions_newpost.php on line 908

Working with Attilio to determine what's going on. I suspect it's something being missed in upgrading.


Quote:

Originally Posted by Dontom (Post 1436746)
Hello Cyricx
just installed it and it works like a charm. Thanks for this thing. Only thumbs for attached images are not getting generated yet, but I guess you already knew that ;)

Thanks again
Thomas

Yep aware of this one. Still trying to decode how it builds thumbnails :)


Quote:

Originally Posted by SpreadingLight (Post 1436907)
How about using input boxes in the email- that seems like it would encourage replies and new posts even more.

I got this email from amazon, usually they're only text, and I notice how the boxes gave me more motivation to reply:

Interesting idea and something that could be considered for the html formatted emails.
I'll look into this for future versions to determine how feasible it is.

Thanks!





Sorry for my slow replies all... it appears that the geforce 7100 motherboard and windows xp don't like each other a whole lot so battling getting my home pc running :)

Dontom 02-07-2008 10:27 AM

One more thing,
if someone adds image code to his email it is not getting displayed correct.

e.g. contained in the email (minus spaces):

[img ]http://www.mtb-news.de/forum/images/ibc/ibclogo_ececec.gif[/img ]

in a forumpost it looks like:

[img ][URL='http://www.mtb-news.de/forum/images/ibc/ibclogo_ececec.gif[/img ]']http://www.mtb-news.de/forum/images/ibc/ibclogo_ececec.gif[/img ][/URL ]

Any advice?

snoopy5 02-08-2008 12:44 PM

Hi

I am a little bit confused. Where is the difference between this script above and this one?:

https://vborg.vbsupport.ru/showthrea...=169247&page=2


I am very interested in this hack. I only need a slight modification. I would be willing to pay for this.

I need this mailinglist functionality depending on the usergroup. I do not want that every user can use this feature, only premium members and Moderators shall be allowed to use this feature.

Would that be possible?

Thanks in advance

yotsume 02-08-2008 05:14 PM

Now all this hack needs is a simple way for the admin to be able to subscribe groups of users to a specific forum or thread they want to from the admin panel.

This is almost a great hack just one very important key feature missing still! Besides users being able to subscribe... admins need to be able to do this as well from their end!

PLEASE ADD THIS ASAP! :D

Any chance this hack will work on vb3.6.4?

abrecher 02-09-2008 03:52 AM

By default it seems that users are subscribed via text email instead of HTML. How can I change that without forcing all of them to use HTML ?

snoopy5 02-10-2008 08:14 AM

Quote:

Originally Posted by snoopy5 (Post 1438865)


I am very interested in this hack. I only need a slight modification. I would be willing to pay for this.

I need this mailinglist functionality depending on the usergroup. I do not want that every user can use this feature, only premium members and Moderators shall be allowed to use this feature.

Would that be possible?

Thanks in advance


Anybody?

Since this is IMHO a very important point, it would help if you state this clearly in the overview text of this Mod at the top of the page. Whether this can be setted in ACP by usergroup or not.

There are 47 pages now with comments about this hack. It does nnot malke sense to read all through that, without knowing whether there will be an answer to it.

There is another mod, that can handle this by usergrpup, although it does not have the reply by e-mail ability. But at least there you get the information, that you can decide to offer this feature by usergroup:

https://vborg.vbsupport.ru/showthrea...38#post1432538

so can anybody make a statement about this for this hack here please?


All times are GMT. The time now is 05:27 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.02336 seconds
  • Memory Usage 1,863KB
  • 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
  • (20)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
  • (40)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