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 07-25-2007 04:59 PM

Just wanted to drop a quick note...

Autosubscribe will be in 2.0!

Right now it's controlled from the usergroup manager, you set auto-subscribe to yes and enter the forumid's separated by commas of forums that when added to that usergroup the member can access.

The code even handles overlapping usergroups. For example if you have two usergroups that give access to forumids 9,11 it won't count those forumids twice :)

I'm thinking we need a PM sent to the user to let them know that subscriptions have been added for forums x and x with links to change those settings if they wish, with an admin option to enable/disable the pm.

I also think I need to code a script to update autosubscriptions, which will overwrite any subs people may have so it'll have to be controlled per usergroup so if you change the settings for one usergroup, you can go and readd the auto subs, without adding a ton of subs for the other groups that people may have tweaked and changed.

The update script will have to make it into 2.0, the PMs may make it into the next version depending on how easy they are to code in :)

tekguru 07-25-2007 05:03 PM

Sounding good Chris, are we anywhere near a test version yet?

Cyricx 07-25-2007 05:05 PM

Very close. :)

O and the auto sub thing, goes through the class_dm_user so even new members subscribing, or join groups, or admincp, extra, any place you are changing the usergroups will also check for auto subs :)

Tralala 07-25-2007 07:58 PM

Quote:

Originally Posted by Cyricx (Post 1301366)
Autosubscribe will be in 2.0!

Right now it's controlled from the usergroup manager, you set auto-subscribe to yes and enter the forumid's separated by commas of forums that when added to that usergroup the member can access.

This is awesome. Thanks so much for this, Cyricx... I think it'll fit my "users announcements" needs nicely now (especially since I've discovered that Super PM doesn't work in 3.6.x :( )


Just to ask again though, since the question never got answered... if all I'm looking for is for threads and posts to get sent out via email -- but not to allow replies to those posts to be made via email -- can I still install and use this without the IMAP support? I'm assuming yes, just hoping the admin of it all makes sense. (I suppose if I'm not checking a mailbox, the cron never runs, so there's never an IMAP error, yes?)

And, can the emails be phrased so I can customize/remove the extra "reply" text (basically, telling folks that they have to log into the forum to respond?)

Thanks again. :up:

AyeCapn 07-25-2007 08:25 PM

cyricx > *

Cyricx 07-25-2007 08:31 PM

Quote:

Originally Posted by Tralala (Post 1301548)
Just to ask again though, since the question never got answered... if all I'm looking for is for threads and posts to get sent out via email -- but not to allow replies to those posts to be made via email -- can I still install and use this without the IMAP support? I'm assuming yes, just hoping the admin of it all makes sense. (I suppose if I'm not checking a mailbox, the cron never runs, so there's never an IMAP error, yes?)

And, can the emails be phrased so I can customize/remove the extra "reply" text (basically, telling folks that they have to log into the forum to respond?)

Thanks again. :up:

Yes it can, you'll just need to disable the scheduled task that runs.

Also, the emails are completely phrased. The two you'll need to fiddle with to customize and remove the reply stuff will be "ei_notify_thread_forum" and "ei_notify_post_forum".

Since you are not going to use the email retrieval side of it you will not need imap.

But I must stress to everyone else that will be using email retrieval... be very careful fiddling with those phrases as the cron job looks for

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

and

You can also begin a new thread by sending an email to $foruminfo[ei_replyaddress]!

and cuts everything out between that to remove the signatures and the links from emails and posts. If you mess with either of those or remove them, signatures will get duplicated in posts and emails :)

But Tralala, since your talking about not using that retrieval, you won't experience any side effects from completely chopping up those phrases to your delight :)

Tralala 07-25-2007 08:53 PM

Thanks, Cyricx!

This has the makings of being the Best. Mod. Ever...

and *certainly* worthy of MotM! :up:

Tralala 07-25-2007 11:26 PM

Cyricx: I mentioned this earlier and you said you liked the idea. I'd been hoping to continue to give my users the option of getting instant email updates of only new threads, in addition to your hack's "all new threads and replies." (So I'd hoped to keep RedTyger's original hack installed to allow for that.) In the meantime I just tried to make it work myself.

I edited the $vbphrase[instant_notification_by_email] phrase of RedTyger's to read "Instant notifications of new threads only."

I also edited yours -- $vbphrase[email_reply_integration] -- to read "Instant notifications of all new threads and replies" (instead of the default "Instant Notification by email")

Seems like it'll work. I'm hoping this is an easy way to get these hacks to peacefully coexist... and if not, maybe you could include both as options in your hack. Just figured I'd throw it out there to help others with the same hope.

It's also a bit counter-intuitive that to subscribe you go to the forum pulldown, select "Subscribe" and then choose what type... but to *unsubscribe* you can only do so from the UserCP. Ideally we'd be able to unsubscribe from the same forum pulldown... and in the absence of that, unsubscribing would be yet another listing on the "Notification Type" pulldown.

Thanks for the consideration.

Cyricx 07-26-2007 01:30 AM

I'll update the phrase for my next version :)

I'm deadly close to taking the code I have no to the beta testers, so I think I'll look at the dropdowns and such in 2.5 or 3.0 or whatever. Which shouldn't be far behind the release of 2.0 :)

The phrase change will definately be in the 2.0 as I didn't realize I hadn't flopped those over :(

Updated - changed the phrase to read

Instant notification by email for new threads and replies

Love the input Tralala! Soon I'll be able to put these great ideas into action! :)

Tralala 07-26-2007 02:08 AM

Idea for 2.5 or 3.0:

The ability for users to subscribe to individual threads of their choosing (and not whole forums) and receive *all* subsequent replies to said threads.

(The built in vB thread subscription mechanism only sends ONE, with the following disclaimer: "There may also be other replies, but you will not receive any more notifications until you visit the forum again.")

Cyricx 07-26-2007 05:16 PM

Yep!! Completely agree. I had to disable that due to the queries not agreeing well, but I've learned alot more about building, constructing and fiddling with arrays. So it'll definately be on its way :)

I love this tech though.. can you imagine how this could be adapted even further??

Reply to PMs via Email :P

Possibilities are endless!!

Anyway, I've sent the 2.x version to a few beta testers, after they beat it up and fire a few reports back to me, I'll release it here. Should be just a day or two til the public release of 2.x

Which will have:

Auto subscriptions (with links to update subs)
phrased error messages
admin options to enable/disable each of the links in the emails

[high]* Cyricx dances a jig![/high]

tekguru 07-26-2007 06:25 PM

And a report from me now in:)

BTW reply to PMs would be awesome- I was going to suggest that! :)

rbgrn 07-26-2007 10:38 PM

I installed per the installation instructions and am having no luck. I didn't do anything regarding attachment restrictions (left all default) and commented out the require in php as directed (I don't have whatever thing installed that it wanted)

I'm trying to pull via pop/w SSL (official cert) from pop.gmail.com
My login and password are definitely correct, the login also includes @gmail.com

I set up a forum and enabled email integration
I set it as only my admin group for now can post or reply by email

When I run the job manually, it just sits forever and the page never finishes refreshing.

My questions:
Is there any kind of log or debug info here? Nothing shows up off the cron job on the info column when it runs.

What user will the emails come in as posted by??

Does the email account need to coordinate with some account on the forum?

Has anyone tested this with gmail?

Thanks!

rbgrn 07-26-2007 10:42 PM

Another question:

Re: changes to "Instant Email Notification"

Does that apply globally now or is it only for forums that have Email Integration enabled?

I certainly don't want that behavior to change anywhere. I just want to pull emails into posts.

rbgrn 07-26-2007 10:50 PM

Ok got it to run, gmail requires the self-signed cert option which really means use port 995, which should be the standard port. This may require some renaming :)

anyway, it runs now, but no mail comes in even when there's new mail in the box. :/

sdsvtdriver 07-27-2007 06:50 AM

This mod looks great!

I do have a request, as this mod is the closest I've seen to do what I want.

We all know this mod allows a user to be on the forum and subscribe to a forum(or thread in the near future), then receive emails containing posts made since the subscription, and then reply.

What I'd like to see is for a user to be able to send email to their username.apasswordtheysetintheirCP@myvbforum.com and have a new post created in a predetermined forum.

This would be useful for people who like to take pictures and send them off to their blog, etc, however this would allow them to do so on the forums on the go.

Somewhat like textamerica. I have a plug-in from them on my blog. I sent my pic to myemail.mypassword@textamerica.com, they process it and it magically appears on my blog.

Would be useful for varying ideas, such as my car forum. If people see a cool car, they can shoot off the pic to their shorcut in their mobile phone's address book and a post is created with the MMS text and photo, instead of going home, emailing photo to yourself, putting it on photobucket, creating thread, etc. etc.

95% of the functionality (and hard part) seems to already exist in the code. A few mods such as the mobile post password field in the UCP, way to designate forum for mail with a username.password format @myvbforum.com, as opposed to their email address on file, etc.

Possible future enhancement?

Tralala 07-27-2007 01:39 PM

:confused:

Why wouldn't they just send the pic to the mailboxes already used by this mod?

ie: general@myvbforum.com

Since the sending email address is cross-checked against the member's list, it's more or less just as secure. They can take pic, email it from the phone, and it gets posted. Am I missing something? What more does your request accomplish?

(In other words, this mod isn't just for replies, it's also for new threads too.)

Cyricx 07-27-2007 02:15 PM

Quote:

Originally Posted by rbgrn (Post 1302623)
What user will the emails come in as posted by??

Has anyone tested this with gmail?

Thanks!

It'll match the sent email to the email address for the user on the board. If they match, rock on, it'll post as that user. If it doesn't they get an error message.

Tested with gmail incoming emails, but not with using a gmail account as the catch.



Quote:

Originally Posted by rbgrn (Post 1302626)
Another question:

Re: changes to "Instant Email Notification"

Does that apply globally now or is it only for forums that have Email Integration enabled?

I certainly don't want that behavior to change anywhere. I just want to pull emails into posts.

It only works for those forums that have it enabled. If you don't enable it for any forums, you will notice no changes at all :)

For the forum you enable, it will have the new subscription option available.



Quote:

Originally Posted by rbgrn (Post 1302633)
Ok got it to run, gmail requires the self-signed cert option which really means use port 995, which should be the standard port. This may require some renaming :)

anyway, it runs now, but no mail comes in even when there's new mail in the box. :/

This option is covered in the connection type dropdown.

Pop3 with self-signed certificate or IMAP with self-signed certificate both use port 995.

Please try all the connection types :)

Here is the break down of ports that are used.

Code:

// ##### Determining Connection Type ######
 switch ($foruminfo['ei_connectiontype'])
  {
  case 0:
    $connectmailserver = "{" . $foruminfo[ei_hostname] . ":110/pop3/notls}INBOX";
    break;
  case 1:
    $connectmailserver = "{" . $foruminfo[ei_hostname] . ":143/novalidate-cert}INBOX";
    break;
  case 2:
    $connectmailserver = "{" . $foruminfo[ei_hostname] . ":993/pop3/ssl}INBOX";
    break;
  case 3:
    $connectmailserver = "{" . $foruminfo[ei_hostname] . ":995/pop3/ssl/novalidate-cert}INBOX";
    break;
  case 4:
    $connectmailserver = "{" . $foruminfo[ei_hostname] . ":993/imap/ssl}INBOX";
    break;
  case 5:
    $connectmailserver = "{" . $foruminfo[ei_hostname] . ":995/imap/ssl/novalidate-cert}INBOX";
    break;
  }




Quote:

Originally Posted by sdsvtdriver (Post 1302868)
What I'd like to see is for a user to be able to send email to their username.apasswordtheysetintheirCP@myvbforum.com and have a new post created in a predetermined forum.

This would be useful for people who like to take pictures and send them off to their blog, etc, however this would allow them to do so on the forums on the go.

This is possible with the current code.

If a user is in a usergroup that is set in this setting in the forum manager -

Please enter the usergroup IDs that can post and reply by email.

They can send an email to the email address for the site and it will post. They do NOT have to be subscribed to the forum in order to start a new thread from email :)

rbgrn 07-27-2007 05:07 PM

Cyricx - I've got everything working with a few modifications, here's my general experience feedback and breakdown:

1) The feature I need is simply to pull mailing-list emails into threads/posts
1a) I modified the code to figure out which thread an email should go into using the subject
1b) I commented out error mails or response mails as I don't want interaction

2) There is no cron logging working for this
2a) I tried adding some in the cron job php and changed the phrase to have {1} in it so that it'd show up, but for whatever reason (I'm new to vb) it does not still
2b) I recommend adding some informational and debugging logging as it's frustrating when things aren't working and you can't figure out why
2c) My recommended categories - Email Received, Email Sent, Error Email Sent, Other Errors

3) Configuration
3a) It'd be ideal to have configuration as a separate menu item rather than hang off the forum itself. Multiple select of forums would be excellent on a single configuration
3b) For my set up, I'd like to have an override user that ALL emails get posted as
3c) Also I'd like to pull email from one box and depending on who it's from, get delegated into different forums (for me that translates to multiple mailing list support off 1 account). Another solution would be supporting a box other than INBOX
3d) I'd like an option to globally shut off all outbound email, as I don't use that.
3e) I don't want any other behavior changed within my board

4) Security
4a) Email inherently is insecure to use for this as I can forge my From address and post as someone I'm not. There's not a lot you can do about that, unfortunately. Just a concern.

5) Code
5a) Your code is one monolithic block. It'll be easier for you to add features if you refactor it a bit, breaking it into logical blocks using methods or classes if it gets even bigger.
5b) Consider adding some debugging ability. It'd be nice for us hackers. :)

Of course it's easy for someone to sit back and criticize another's work, which is not what I'm trying to do. I really appreciate your time and think this is very valuable. I have different uses for it than what you intended initially and I'd consider polishing this off doing all of my above things and forking it off into a different project maybe called vBulletin Mail Pull or something of that nature. I may consider that if I get some more time to work on this in the future. For now, I'll create multiple mail boxes and users to go into the different forums for different mailing lists.

Thanks again for all your work.

Here's my modification to group threads together

Code:

            // find thread with matching title 'Post'
            // make reply if match
            $baseTitle = preg_replace("/re: /", "", $title);
            $baseTitle = preg_replace("/Re: /", "", $baseTitle);
            $baseTitle = preg_replace("/RE: /", "", $baseTitle);
            $queryResult = $vbulletin->db->query_first("
                SELECT threadid
                FROM " . TABLE_PREFIX . "thread
                WHERE title = '$title' OR title = '$baseTitle' LIMIT 1
            ");
            if ($queryResult['threadid']) {
                $threadid = $queryResult['threadid'];
                $type = "reply";
                $cronlog .= "Found reply for thread $threadid";
            }
            // ##### Time To Post The Reply #####
            if ($type == "reply")
            {
                // Building post info


rbgrn 07-27-2007 05:31 PM

I added one more change in quick - hiding email addresses

Code:

            // hide email addresses
            $mailmessage = preg_replace("/[a-zA-Z0-9\-_]+@[a-zA-Z0-9\-_]+.[a-z]{2,4}/", 'xxx@xxx.xxx', $mailmessage);


rbgrn 07-27-2007 05:55 PM

That was full of bugs. I forgot to specify the forum in the query. Oops. Here's the updated code

Code:

            // hide email addresses
            $mailmessage = preg_replace("/[a-zA-Z0-9\-_]+@[a-zA-Z0-9\-_]+.[a-z]{2,4}/", 'xxx@xxx.xxx', $mailmessage);

            // find thread with matching title 'Post'
            // make reply if match
            $baseTitle = preg_replace("/re: /", "", $title);
            $baseTitle = preg_replace("/Re: /", "", $baseTitle);
            $baseTitle = preg_replace("/RE: /", "", $baseTitle);
            $forumid = $foruminfo['forumid'];
            $queryResult = $vbulletin->db->query_first("
                SELECT threadid
                FROM " . TABLE_PREFIX . "thread
                WHERE forumid = $forumid AND (title = '$title' OR title = '$baseTitle') ORDER BY threadid DESC LIMIT 1
            ");
            if ($queryResult['threadid']) {
                $threadid = $queryResult['threadid'];
                $type = "reply";
                $cronlog .= "Found reply for thread $threadid";
            }
            // ##### Time To Post The Reply #####
            if ($type == "reply")
            {
                // Building post info


sdsvtdriver 07-28-2007 10:33 AM

Quote:

Originally Posted by Tralala (Post 1303084)
:confused:

Why wouldn't they just send the pic to the mailboxes already used by this mod?

ie: general@myvbforum.com

Since the sending email address is cross-checked against the member's list, it's more or less just as secure. They can take pic, email it from the phone, and it gets posted. Am I missing something? What more does your request accomplish?

(In other words, this mod isn't just for replies, it's also for new threads too.)

Quote:

Originally Posted by Cyricx (Post 1303113)


This is possible with the current code.

If a user is in a usergroup that is set in this setting in the forum manager -

Please enter the usergroup IDs that can post and reply by email.

They can send an email to the email address for the site and it will post. They do NOT have to be subscribed to the forum in order to start a new thread from email :)

Thanks for the replies. I missed the feature where new threads can be creaed, not just replies posted. However, the user would have to have their mobile phone email address as their main email address for the site, correct?. I could see where people would want to be able to send texts and pictures from their phone and create new threads, however receive subscription/PM notifications to their email address.

Please correct me if I still am not understanding the functionality correctly.

Tralala 07-28-2007 01:26 PM

My mobile phone (a Treo 700p) uses the same "email address" as my computer. So if I emailed a picture/attachment, it'd work.


But if you are talking about sending an MMS (multimedia SMS text message) as an email, yes, it'd be addressed from something like yourphonenumber@yourcellservice.com

US Based Carriers:

Alltel = xxxxxxxxxx@message.alltel.com
AT&T = xxxxxxxxxx@mms.att.net
Boost Mobile = xxxxxxxxxx@myboostmobile.com
Cingular (AT&T) = xxxxxxxxxx@mms.mycingular.com
Einstein PCS = xxxxxxxxxx@einsteinmms.com
Sprint = xxxxxxxxxx@messaging.sprintpcs.com
T-Mobile = xxxxxxxxxx@tmomail.net
US Cellular = xxxxxxxxxx@mms.uscc.net
Verizon Wireless = xxxxxxxxxx@vzwpix.com
Virgin Mobile = xxxxxxxxxx@vmobl.com


...and those wouldn't work, since it'd be unlikely that the person is using those as their "registered" email address.

Perhaps Cyricx can come up with additional allowance to allow for the processing of such SMS or MMS messages.

Cyricx 07-30-2007 02:17 PM

Quote:

Originally Posted by rbgrn (Post 1303232)
Cyricx - I've got everything working with a few modifications, here's my general experience feedback and breakdown:
1a) I modified the code to figure out which thread an email should go into using the subject

I'd advise against doing it this way.. There is a good chance you will have more then one thread with the same name across all your forums... the thread id is a much more certain route. Not to mention some email programs to different formating with RE: and FW:. This is the reason my current code works off the thread id :)

Quote:

2) There is no cron logging working for this
2a) I tried adding some in the cron job php and changed the phrase to have {1} in it so that it'd show up, but for whatever reason (I'm new to vb) it does not still
2b) I recommend adding some informational and debugging logging as it's frustrating when things aren't working and you can't figure out why
2c) My recommended categories - Email Received, Email Sent, Error Email Sent, Other Errors
Yeah.. I'm still learning the cron logging system and trying to learn how to log those. I know zero about the cron logs yet, so that's definately on my list :)

Quote:

3) Configuration
3a) It'd be ideal to have configuration as a separate menu item rather than hang off the forum itself. Multiple select of forums would be excellent on a single configuration
3b) For my set up, I'd like to have an override user that ALL emails get posted as
3c) Also I'd like to pull email from one box and depending on who it's from, get delegated into different forums (for me that translates to multiple mailing list support off 1 account). Another solution would be supporting a box other than INBOX
3d) I'd like an option to globally shut off all outbound email, as I don't use that.
3e) I don't want any other behavior changed within my board
So you allow incoming email? but not outbound? so the whole subscription thing, you don't need? Hmm... so your only using it to start new threads in forums?

Quote:

4) Security
4a) Email inherently is insecure to use for this as I can forge my From address and post as someone I'm not. There's not a lot you can do about that, unfortunately. Just a concern.
Completely agree. I'm brainstorming ideas to help secure it more without making it any more complex for the end user.

Quote:

5) Code
5a) Your code is one monolithic block. It'll be easier for you to add features if you refactor it a bit, breaking it into logical blocks using methods or classes if it gets even bigger.
5b) Consider adding some debugging ability. It'd be nice for us hackers. :)
The cron files HATE functions... I used to have the mail error code in a function and I had to create a list of all the variables I wanted to go through the function as it doesn't seem to accept global functions when embedded in the file.

Quote:

Of course it's easy for someone to sit back and criticize another's work, which is not what I'm trying to do. I really appreciate your time and think this is very valuable. I have different uses for it than what you intended initially and I'd consider polishing this off doing all of my above things and forking it off into a different project maybe called vBulletin Mail Pull or something of that nature. I may consider that if I get some more time to work on this in the future. For now, I'll create multiple mail boxes and users to go into the different forums for different mailing lists.

Thanks again for all your work.
I totally appreciate the ideas and input.

I think I saw in your block how to add to the cron log, so that may make it into an upcoming version.



All - My apologies for the delay in the next version, there was a few bugs found that I need to work on and unfortunately this weekend some RL fit hit the shan so things have been very hectic. Slight delay in the next version unfortunately :(

Cyricx 07-30-2007 02:19 PM

Quote:

Originally Posted by Tralala (Post 1303862)
My mobile phone (a Treo 700p) uses the same "email address" as my computer. So if I emailed a picture/attachment, it'd work.


But if you are talking about sending an MMS (multimedia SMS text message) as an email, yes, it'd be addressed from something like yourphonenumber@yourcellservice.com

US Based Carriers:

Alltel = xxxxxxxxxx@message.alltel.com
AT&T = xxxxxxxxxx@mms.att.net
Boost Mobile = xxxxxxxxxx@myboostmobile.com
Cingular (AT&T) = xxxxxxxxxx@mms.mycingular.com
Einstein PCS = xxxxxxxxxx@einsteinmms.com
Sprint = xxxxxxxxxx@messaging.sprintpcs.com
T-Mobile = xxxxxxxxxx@tmomail.net
US Cellular = xxxxxxxxxx@mms.uscc.net
Verizon Wireless = xxxxxxxxxx@vzwpix.com
Virgin Mobile = xxxxxxxxxx@vmobl.com


...and those wouldn't work, since it'd be unlikely that the person is using those as their "registered" email address.

Perhaps Cyricx can come up with additional allowance to allow for the processing of such SMS or MMS messages.

Hmmm,

yeah I'd have to think about this, could prolly do it with a user option where they listed alternate email addresses by line or separated by a comma with no spaces so that it forms an array that could be checked against.

Something to consider for 3.0 :)

rbgrn 07-30-2007 03:53 PM

Ok last time: here's my code with bugfixes.

Code:

            // hide email addresses
            $mailmessage = preg_replace("/[a-zA-Z0-9\-_]+@[a-zA-Z0-9\-_]+.[a-z]{2,4}/", 'xxx@xxx.xxx', $mailmessage);

            // find thread with matching title 'Post'
            // make reply if match
            $baseTitle = preg_replace("/re: /", "", $title);
            $baseTitle = preg_replace("/Re: /", "", $baseTitle);
            $baseTitle = preg_replace("/RE: /", "", $baseTitle);
            $forumid = $foruminfo['forumid'];
            $queryResult = $vbulletin->db->query_first("
                SELECT threadid
                FROM " . TABLE_PREFIX . "thread
                WHERE forumid = $forumid AND (title = '" . $vbulletin->db->escape_string($title) . "' OR title = '" . $vbulletin->db->escape_string($baseTitle) . "') ORDER BY threadid DESC LIMIT 1
            ");
            if ($queryResult['threadid']) {
                $threadid = $queryResult['threadid'];
                $type = "reply";
                $cronlog .= "Found reply for thread $threadid";
            }
            // ##### Time To Post The Reply #####
            if ($type == "reply")
            {
                // Building post info


rbgrn 07-30-2007 03:56 PM

Cyricx - All I'm using it for is to read email from a mailing list and piece together the threads. No replies are allowed on the forum. It's just informational.

I also don't want people to be able to email in replies right now. I can't use threadid because the threads aren't being replied to from the forum. I have to do a gmail-style subject match to make it all work. I understand the limitations but it's all I can do.

functions work just fine in cron jobs, you just need to watch your scope.

Cyricx 07-30-2007 03:57 PM

Okay, so what happens if you have two threads titled

"Hey read me!"

in the same forum?

One of those could be a year old :)

Your query would add the posts to the oldest thread, rather then the newest and correct thread :)

The hiding email address preg, is a great idea! my newest version being debugged right now pulls out the To: emailaddress line completely out but your idea is a much better one :)

Cyricx 07-30-2007 03:59 PM

That's where I'm getting confused then :)

How are the threads being replied to? I mean... how are they getting the emails that they are replying too?

if your not allowing replies, why are you applying emails as replies to a thread? :)

Cyricx 07-31-2007 06:53 PM

Just a few more cleanups to do with Pocomail then I'll release the 2.x version :)

fxs158 08-01-2007 02:26 AM

looking forward to it,

Cyricx 08-01-2007 05:15 PM

Added version 2.1!

This has been tested on 3.6.8!

AyeCapn 08-01-2007 05:19 PM

w00t!

tekguru 08-01-2007 05:56 PM

.. and the testing was fun too! Superb Mod!

fxs158 08-02-2007 11:25 AM

is this mod ready for a liveboard?

Cyricx 08-02-2007 11:30 AM

Yes it is. :)

Corys8646 08-02-2007 01:20 PM

Great job on the updated version! Lots of great new features

the only problem I am seeing is that the incoming mail is still not being seen at HTML by my email client (thunderbird)

I'm getting raw headers and html tags in the body..

is anyone else seeing this behavior? think it's related to thunderbird only since webmail seems to be rendering properly, but I can also view other html emails just find in thunderbird.

Should there be a html tag in the header of the email?
thanks

fxs158 08-02-2007 01:21 PM

ok installed, testing. found one bug. When I receive email, the link on the email that says " "reply to this topic" puts a space on php as follows;

/forums/showthread.ph p?t=4167

and the link does not work as a result.

Corys8646 08-02-2007 01:29 PM

I'm not seeing the space you are talking about...all the links in the footer look good here.

Cyricx 08-02-2007 01:31 PM

Quote:

Originally Posted by Corys8646 (Post 1308047)
the only problem I am seeing is that the incoming mail is still not being seen at HTML by my email client (thunderbird)

I'm getting raw headers and html tags in the body..

Can you forward me a copy of this email to cyricx(at)mmogcommunities(dot)com?


Quote:

Originally Posted by fxs158 (Post 1308049)
ok installed, testing. found one bug. When I receive email, the link on the email that says " "reply to this topic" puts a space on php as follows;

/forums/showthread.ph p?t=4167

and the link does not work as a result.

What settings do you have for the included links in emails? For example do you have them all off, or on?

If on, which ones do you have turned off and which ones turned on?


All times are GMT. The time now is 09:34 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.01758 seconds
  • Memory Usage 1,919KB
  • 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
  • (17)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