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 - vBMS : vBulletin Mail System (https://vborg.vbsupport.ru/showthread.php?t=140828)

bluechris 03-09-2007 12:30 PM

I include 3 images.
1st is what i had sented from outlook 2nd and 3nd are from VBMS

As you see only the Subject breaks ... the body of the e-mail is fine and shows greek..

All the forum uses 8859-7 which is the Gr Lang.

Either way thx in advance m8 you do great work.

Fearlessninja 03-10-2007 02:26 PM

My server does not support a catch all e-mail address, is this still usable?

futureye 03-10-2007 03:33 PM

can my users sign for thier own e-mails

futureye 03-10-2007 03:53 PM

Installation Progress 7%

Step 1 of 13: Testing Settings

it took along time and didn't change any wrong do you think

futureye 03-10-2007 04:30 PM

I have sent many mail to my new alies mail that i have chosen but

There are no messages in the folder

????
why

thincom2000 03-10-2007 06:32 PM

Quote:

Originally Posted by Fearlessninja (Post 1200228)
My server does not support a catch all e-mail address, is this still usable?

You will need to create your user's email addresses manually, and have them all auto-forward to the vbms what-should-be-catch-all address. It would be important not to let your user's change their alias in this case (force it to be forum username, for example).

Quote:

Originally Posted by futureye (Post 1200295)
I have sent many mail to my new alies mail that i have chosen but

There are no messages in the folder

The cron job is probably failing every time. I am having the same problem. When running the cron manually I get:
Code:

The image ?http://www.crackedeggstudios.com/admincp/cronadmin.php?do=runcron&cronid=40? cannot be displayed, because it contains errors.

Didoz 03-11-2007 06:00 PM

How to check cronjob is working or not, and if it's not working, how I can make it working?

Roxie 03-11-2007 07:19 PM

Ok. I edited my cron to run every 15 minutes. Every minutes is a bit much. Thx!

futureye 03-11-2007 07:39 PM

Roxie,

did it work?

Roxie 03-11-2007 08:27 PM

Ok..I started getting an error that my post was a duplicate (after every post). When I disable this plugin it goes away. I enabled and disabled several times and my users only seem to get it when this hack is enabled. Any ideas?

Roxie 03-11-2007 08:27 PM

Quote:

Originally Posted by futureye (Post 1201052)
Roxie,

did it work?

Yes...it was working, but I have another error now. lol

Krofh 03-12-2007 01:43 AM

Roxie: this sounds like it might be a conflict with another hack? There aren't any hooks in the posting areas :-/ what other sorts of hacks have you got running, and do you still get this error if you disable all hacks except vBMS?
Quote:

Originally Posted by FearlessNinja
My server does not support a catch all e-mail address, is this still usable?

Only with the method thincom2000 suggested.
Quote:

Originally Posted by Kmaster
I'd check my webmail, there's 6 mail there, no idea why it didin't delivery to vbms.

If that screenshot is true for every log and there's still mail in the account, then it's most likel connecting to the wrong account, or your mail server just doesn't like PHP connecting to it for whatever reason.
Quote:

Originally Posted by futureeye
I have sent many mail to my new alies mail that i have chosen but

There are no messages in the folder

????
why

I'm guessing you got through the installation problems if you're asking this. Check the "Mail checking logs" in your ACP (under the vBulletin Mail System area). If there are no logs, then the cronjob probably isn't running. If there are logs, see if there are any errors in there. If it's checking the mail account fine and simply says there are no messages, check with a webmail to see if the catch-all account is even receiving mails. If the webmail shows that the account has mail stuck in it and vBMS isn't picking them up, but vBMS is saying it's checking the account alright and finding 0 messages, then you're either connecting to the wrong account or something's completely wrong.
Quote:

Originally Posted by thincom2000
The cron job is probably failing every time. I am having the same problem. When running the cron manually I get:

View the source on that page and lemme know what it says, that error usually means it generated errors in the code but tried to display the text as a GIF :p
Quote:

Originally Posted by Didoz
How to check cronjob is working or not, and if it's not working, how I can make it working?

ACP > Scheduled Task Manager
Quote:

Originally Posted by bluechris
I include 3 images.
1st is what i had sented from outlook 2nd and 3nd are from VBMS

As you see only the Subject breaks ... the body of the e-mail is fine and shows greek..

All the forum uses 8859-7 which is the Gr Lang.

Either way thx in advance m8 you do great work.

Ahhh, I see, it seems to be picking up on the wrong stuff... can you send me a copy of the email headers from that email? In Outlook Express, it's usually File > Properties > Details > Message Source. If you don't want to post them publicly, feel free to PM them to me, and I can try and help you work it out over PM.

thincom2000 03-12-2007 07:05 AM

Quote:

Originally Posted by Krofh (Post 1201282)
View the source on that page and lemme know what it says, that error usually means it generated errors in the code but tried to display the text as a GIF :p

When I view the source it shows the source of a GIF. Also if I run the cron separately (not via the AdminCP), I get a GIF of an envelope with an exclamation point.

EDIT: Despite the fact that I still receive that message when running the cron, I edited vbms_functions_checkmail.php again:

Find:
PHP Code:

    return "\{$hostname:$port{$notls}}INBOX"

Replace with:
PHP Code:

    return '{' "$hostname:$port{$notls}'}INBOX'

And now it's working no problems...

bluechris 03-12-2007 02:28 PM

Thx m8 PM sented

techenigma 03-12-2007 02:55 PM

I install it, set my alias and make and set a test account as well. Everything I send to the test account shows up in the catch-all account, of course so does everything the test account sends to my address. Am I missing something here?

either way it never shows any new messages on either account through vBMS, only in the actual webmail itself.

mindcry 03-13-2007 01:34 AM

Not sure if this has been addressed but when someone responds to an email with <> it gives the following error. Is there anyway to fix this?

The following errors occured while trying to parse your list of recipients:

* The following aliases could not be translated from usernames or address book entries: name <name@gmail.com>

Krofh 03-14-2007 06:38 AM

Quote:

Originally Posted by bluechris
Thx m8 PM sented

Got it, will try and get to this as soon as I can
Quote:

Originally Posted by techenigma
I install it, set my alias and make and set a test account as well. Everything I send to the test account shows up in the catch-all account, of course so does everything the test account sends to my address. Am I missing something here?

either way it never shows any new messages on either account through vBMS, only in the actual webmail itself.

Go through the diagnostic steps I've recommended a few times:
Quote:

Originally Posted by Krofh
Check the "Mail checking logs" in your ACP (under the vBulletin Mail System area). If there are no logs, then the cronjob probably isn't running. If there are logs, see if there are any errors in there. If it's checking the mail account fine and simply says there are no messages, check with a webmail to see if the catch-all account is even receiving mails. If the webmail shows that the account has mail stuck in it and vBMS isn't picking them up, but vBMS is saying it's checking the account alright and finding 0 messages, then you're either connecting to the wrong account or something's completely wrong with your mail server.


Quote:

Originally Posted by mindcry
Not sure if this has been addressed but when someone responds to an email with <> it gives the following error. Is there anyway to fix this?

Ahh, thanks for pointing this out, will look into it.

I'm going to try (very hopefully) to put in some time on all these bugs tomorrow night, I've been swamped with homework the last few days and just barely had time to respond to questions. Thanks to everyone so far for working with me on getting the bugs worked out.

abroad 03-14-2007 11:26 AM

I tried it with gmail, yahoo and gmx but I cant get a connection when I want to install it...also tried several ports :(

I have PHP 4 on my server....

bollie 03-14-2007 03:09 PM

Installation failed while "Testing Settings": vBMS couldn't connect to the mail server using the settings you provided. Please go back and verify their accuracy. If you are not sure of the values to use, consult your host.

Details:

Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost:110/pop3}INBOX in /includes/vbms_class_installer.php on line 791

abroad 03-14-2007 03:18 PM

Yes exactly. this tool doesnt work I guess...

thincom2000 03-14-2007 05:39 PM

Oh, it works. You just have to get the imap_open() call working correctly on your server, since there doesn't seem to be one fix-all. My biggest annoyance right now is the broken cron-image (but the cron still runs successfully).

Try my fix above.

abroad 03-14-2007 05:41 PM

how do I run the imap_open() correctly?

techenigma 03-14-2007 06:27 PM

Ok I checked my logs and I get the following error:

Severity Date/Time Message
Debug 03-14-2007 11:23 AM Connecting to mail server
Error 03-14-2007 11:23 AM PHP error: imap_open(): Couldn't open stream {localhost:143/pop3}INBOX (/home/techenig/public_html/forums/vbms_checkmail.php:95)

I called my host and they told me the imap port is 143 hence why I changed it from the default of 110 (I got the error on both ports actually)

I also asked if I had IMAP support on PHP and they said yes. So are they wrong? or is something else causing this?

chilllax 03-14-2007 07:16 PM

I'm receiving a similar error. I can send but not receive emails.

PHP Code:

     PHP errorimap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldn't open stream {mail.officialhalo.com:110/pop3}INBOX (/home/chilllax/public_html/vbms_checkmail.php:95) 


succo 03-14-2007 09:17 PM

a little note...

as it's now, sender's nick and alias is switched in the sent message... i mean that if succo with alias succo1@mydomain.com sends a message, it's received as coming from succo1 <succo@mydomain.com>

to solve this you have to edit (and switch) $user['username'] and $user['vbms_alias'] in vbms_functions_api.php

so, find
PHP Code:

        $object->set_from($user['vbms_alias'], $user['username']); 

and subst it with
PHP Code:

        $object->set_from($user['username'], $user['vbms_alias']); 

i didn't go much deeper in the api, and this 'simple' solution seems strange to me as set_from is defined ($alias, $username) but strange as is, it works :)

Quote:

Originally Posted by mindcry
* The following aliases could not be translated from usernames or address book entries: name <name@gmail.com>

it happens just the same to me, and i don't think it has been solved yet :)

zlos 03-14-2007 09:26 PM

I definetely agree with these guys, who are insisting on 1st - creating and 2nd - giving MOTY (Mod Of The Year) to this mod.

A great idea! Cool that you decided to give it a try. Do not listen to the scriptkiddies, who do not even know how to switch imap on their boxes. It is definetely not your problem, that somebody wants to play sexy games while still sitting in kindergarden ;)

Only a few questions, knowing that I have over 150.000 users I must ask these now:

- what happens to the usernames with irregular chars in it (ex.: b@eutygirl@foo.org - won't work, right? :) Any solution to that?)

- any tests & results with server load on big board?

Take care and - once again - great job! :)

eugeneo 03-14-2007 09:47 PM

NVM fixed

thincom2000 03-15-2007 06:17 AM

Attempting to send mail to users who have "receive mail from other users" checked still results in a "User has chosen not to receive e-mails from other users" message anyway.

Krofh 03-15-2007 06:40 AM

Quote:

Originally Posted by zlos
- what happens to the usernames with irregular chars in it (ex.: b@eutygirl@foo.org - won't work, right? Any solution to that?)

It only allows characters from the list "abcdefghijklmnopqrstuvwxyz0123456789_.-". Your "b@eutygirl" friend will be suggested to choose the alias "beutygirl" by default, but it'll let her pick something else as well.
Quote:

Originally Posted by zlos
- any tests & results with server load on big board?

Not yet, unless someone else can speak for it... I'm waiting to put it on my board (600k+ posts) till I get a few more bugs worked out :p
Quote:

Originally Posted by succo
as it's now, sender's nick and alias is switched in the sent message... i mean that if succo with alias succo1@mydomain.com sends a message, it's received as coming from succo1 <succo@mydomain.com>

to solve this you have to edit (and switch) $user['username'] and $user['vbms_alias'] in vbms_functions_api.php

Thanks for finding that, and thanks muchly for solving it as well. This'll be included in the next update (should be within an hour or so, I'm trying to work through as many bugs as I can before going out of town in the morning for the weekend).

To those of you who aren't able to connect properly: perhaps your servers require no-TLS connections? At the moment the setting isn't working properly (small bug), just wait for the next version of the code (like I said, should be up in an hour or so) or if you want to fix it yourself, go to includes/vbms_functions_checkmail.php and change this line:
Code:

$notls = ($notls === NULL ? $vbulletin->options['vbms_notls'] : $notls);
To this:
Code:

$notls = ($notls === NULL ? $vbulletin->options['vbms_forcenotls'] : $notls);
Quote:

Originally Posted by abroad
I tried it with gmail, yahoo and gmx but I cant get a connection when I want to install it...also tried several ports

I'm not sure what you're talking about, but this hack is not something for you to check your GMail/Yahoo/etc. accounts from your forums with, this is a webmail system for your users based @yourwebsite.com.

Quote:

Originally Posted by thincom2000
Attempting to send mail to users who have "receive mail from other users" checked still results in a "User has chosen not to receive e-mails from other users" message anyway.

I'm not sure I follow, can you be more specific? From my testing so far, none of the users have had the "Receive Email from Other Members" box checked, but that hasn't affected the vBMS stuff. I don't think there's any connection, unless there's something I haven't caught yet (there's several thousand lines of code and I'm just porting it... lol, there's still parts of the code I haven't even seen at all)
Edit: nvm, figured out what you're talking about, will try to look into this


Update: new version posted, with several bugfixes. For those of you already using this, you can either uninstall everything, reupload it all, and reinstall it (not recommended if you've already got ppl using the system, they'll probably lose all their emails/etc.), or reupload all the files and then reimport the style and phrase XML files through the ACP.
  • Fixed the usergroup bug wacodep brought up... sort of. Basically, if you have "Registered Users" access disabled but inadvertently left "Change Alias" set to "Yes", then have a secondary usergroup with access enabled and "Change Alias" to "No", and a user who is both of these usergroups, you want them to have access but not be able to change their alias... well, the generosity of the permissions system allows them to still change their alias, because it doesn't take into account whether the more generous usergroup permissions have acccess or not. Now, it simply uses a small JavaScript to automatically set the most restrictive permissions on a usergroup that you disable, for convenience's sake.
  • Fixed Zate's reported bug of no-TLS not being picked up from the ACP into the connection string
  • Fixed thincom02000's reported bug of sending directly to people by username not properly picking up on the permissions of whether or not they allowed other users to send them email
  • Fixed mindcry's reported bug of email addresses such as "nobody <nobody@gmail.com>" returning as invalid

bluechris: I'm still working on the issue with the foreign characters, haven't quite figured that one out yet.
To those of you having connection problems: try upgrading to the newer uploaded version, then use the "Force no-TLS connection" option in the ACP.
To the rest of you: I'm going out of town for a few days, hopefully I'll be able to get more of this fixed up when I get back.

abroad 03-15-2007 09:09 AM

Ok, I have one more kindergarten question, as I also want to play sexy games.

If you cant use gmail, hotmail etc...which values are you entering in those fields (see attachment).

T_Richardson 03-15-2007 09:41 AM

Nice mod, good work! :up:

Works fine, just one thing, (probably something i missed) when I attach an image ie; .gif .png, it displays all the image code in the email message. See attached .txt

Krofh 03-15-2007 02:54 PM

Quote:

Originally Posted by T_Richardson
Works fine, just one thing, (probably something i missed) when I attach an image ie; .gif .png, it displays all the image code in the email message. See attached .txt

Is this something sent from vBMS or received by it? And what other email address was it sent to/from? I made some changes to the original mail code regarding attachments because otherwise I kept seeing delimiters showing up in my email box. Perhaps I'll have to keep messing with that >.<
Quote:

Originally Posted by abroad
Ok, I have one more kindergarten question, as I also want to play sexy games.

If you cant use gmail, hotmail etc...which values are you entering in those fields (see attachment).

Usually you're supposed to just leave "localhost" and "110", then set up a catch-all email account on your website and use the username/password for that in the other fields. Basically, in your case (judging by the screenshot), you're offering users addresses of somebody@finlandlive.info; that address doesn't really exist, so it needs to forward to your catch-all account, which the vBMS checks, picks up, and delivers to the users on the forums.

succo 03-15-2007 03:23 PM

btw, my forum is vba-wrapped, so the newmail template breaks, as there is an headincluded javascript... what i did (and what would be good that any coder would do just as i don't think i'm the only one running in this kind of problems) is to write a new template for the script to be included and insert the command to include that script in headinclude in the plugin which runs at global_start, so that when vbms_new.php is called, the script is inserted in headinclude regardless of me using 'normal' forum view or vba forum view... couldn't this way of inserting scripts be used as a default by coders? i had to use this same behaviour with vbgooglemapme/se and many others, all products which use 'full page' templates with scripts in the head portion :)

please Krofh let me know if you're interested in having my modded version of the product, thanks

abroad 03-15-2007 05:38 PM

Thank you Krofh. Would you recommend to wait a bit until this product is tested a bit more and just use it on a test server at the moment?

succo 03-15-2007 06:58 PM

another little request... would it be possible to use vbulletin_ajax_namesugg.js when choosing recipients?

i'm trying to do it (in fact, somehow did it), but it would need the comma to be changed in a semicolon as a recipient separator and the spaces (as namesugg uses '<space>;<space> ' as a separator) to be trimmed off from names, so too much code to go into a fast patch :)

again, great work, indeed !

T_Richardson 03-15-2007 07:12 PM

Quote:

Originally Posted by Krofh (Post 1204183)
Is this something sent from vBMS or received by it? And what other email address was it sent to/from? I made some changes to the original mail code regarding attachments because otherwise I kept seeing delimiters showing up in my email box. Perhaps I'll have to keep messing with that >.<



It's an email that i sent from this mail system to one address. I tried different addresses and image formats with the same results.

bluechris 03-16-2007 04:39 AM

Quote:

Originally Posted by Krofh (Post 1203923)
bluechris: I'm still working on the issue with the foreign characters, haven't quite figured that one out yet.
To those of you having connection problems: try upgrading to the newer uploaded version, then use the "Force no-TLS connection" option in the ACP.
To the rest of you: I'm going out of town for a few days, hopefully I'll be able to get more of this fixed up when I get back.

M8 here we are used to live with problems as matter greek characters... take your time and there is no rush honestly.... its a great addon either way.

BTW i have a error if from the forum i attach anything to a composed message .. it goes to outlook express (my test receive mail) as text , seems that either outlook express cannot recognize the attachment or VBMS sents it with problem... i tested with rar, zip, jpg ... in the opposite direction whatever i sent to my VBMS account comes fine in forum as attachment.... anyone else having it or its me?

succo 03-16-2007 04:25 PM

yes, there must be something wrong with the construction of the message with attachment... right now i'm trying to look at this

wish me good luck :)


edit: solved :)

the html portion of the message wasn't closed with the correct boundary, so the receiving client thought that the whole attachment was part of the html portion of the mail

to solve this issue, edit includes/vbms_class_mail_message.php, search for
PHP Code:

        if (!$hasattachments) { $headers .= VBMS_CRLF "--$delim--" VBMS_CRLF; } 

and change it to
PHP Code:

        $headers .= VBMS_CRLF "--$delim--" VBMS_CRLF


scan-pa 03-16-2007 07:48 PM

Everything works on my test site except outgoing emails.

I recv emails fine, but get this error on sending replies or compose new emails.

There was an error sending your mail message. This site's host may be experiencing technical difficulties with its mail server at the moment. Please inform the administrator that the following error has occured:

there is no error given.

thincom2000 03-17-2007 07:23 AM

I also noticed that when HTML is allowed, VBMS still shows the plain-text version of the message. Apparently, in both the VBMS_READ template AND I believe vbms_read.php, it checks a vBulletin setting that doesn't exist:

In template VBMS_READ:
Code:

$vboptions['vbms_htmlaction']
In file vbms_read.php:
PHP Code:

$vbulletin->options['vbms_htmlaction'

Should be replaced with:
Code:

$vboptions['vbms_allowhtml']
PHP Code:

$vbulletin->options['vbms_allowhtml'

respectively.


All times are GMT. The time now is 04:58 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.01636 seconds
  • Memory Usage 1,889KB
  • 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
  • (9)bbcode_php_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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