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)

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).


All times are GMT. The time now is 04:28 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.01566 seconds
  • Memory Usage 1,767KB
  • 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
  • (3)bbcode_php_printable
  • (6)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