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)

succo 03-17-2007 09:37 AM

Quote:

Originally Posted by thincom2000 (Post 1205442)
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.

yes, but i think that more modifications are needed, as 'vbms_allowhtml' is a boolean, so how can it be equal to VBMS_HTMLACTION_NONE?

thincom2000 03-17-2007 08:07 PM

Well perhaps, I just took out the == VBMS_HTMLACTION_NONE at the same time I changed the variables because they were boolean anyway. So I was unaware that VBMS_HTMLACTION_NONE was not boolean as well.

Luky 03-18-2007 10:09 AM

Incredibly amazing.

Krofh 03-19-2007 05:58 AM

Quote:

Originally Posted by succo
btw, my forum is vba-wrapped, so the newmail template breaks, as there is an headincluded javascript...

I guess I don't fully understand what is going wrong; if vBa is trying to put something in headinclude all the time (I assume with a global_start hook), wouldn't that automatically put it into the vBMS? Part of it is that I've never much worked with vBa, so I'm not exactly sure how the wrapping thing works... if you wanna send me the stuff you changed and such though, that'd be cool, and I'll see what I can do about figuring out the working it in.
Quote:

Originally Posted by abroad
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?

Tbh, I would, especially if you've got a fairly large site. I think it's mostly stable, and I've gotten through a majority of the bugs so far, but it's still got a little ways to go.
Quote:

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

Awesome idea, I'll try to get that in if I can. It'd be cool if I could get it to merge your address book with the suggested list too; I'll have to look into that.
Quote:

Originally Posted by succo
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

Mehh, perhaps something's screwy on my server, because I added that conditional to make it work properly for me; attachments weren't working right otherwise. I guess I'll have to do a bit more serious testing with that bit to get it all working properly. Thanks for the feedback on it though.
Quote:

Originally Posted by scan-pa
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.

Does the mail() function work normally to begin with? Try going to the "vBMS Control Panel" in the ACP and test sending emails (at the bottom) with both vbmail() and mail() and see what's happening.
Quote:

Originally Posted by thincom2000
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:

Quote:

Originally Posted by succo
yes, but i think that more modifications are needed, as 'vbms_allowhtml' is a boolean, so how can it be equal to VBMS_HTMLACTION_NONE?

Ahh, this seems to be a leftover from when the old version started getting ported and didn't get finished. Got it changed now, will be proper in the next update. It's true, it's a boolean option now; it seems that there used to be different actions for handling HTML messages before though (automatically deleting them, removing the content and flagging them, converting them to bbCode [this is now the default "no" to allowhtml], or leaving as-is [this is the "yes" in allowhtml]). So yeah, feel free to take the VBMS_HTMLACTION_NONE bit out entirely of both of those and convert them both to allowhtml. Also btw, thanks especially to both of you for finding (and correcting) bugs so far, it's really been a big help (as well as everyone else who's been contributing here).

I just got back in town late last night, so hopefully I should be able to get another update out sometime this week. Keep the bugs coming :p

succo 03-19-2007 06:16 AM

Quote:

Originally Posted by Krofh
I guess I don't fully understand what is going wrong; if vBa is trying to put something in headinclude all the time (I assume with a global_start hook), wouldn't that automatically put it into the vBMS?

no, as far as i can see, vba uses only the body portion of any template and adds it to the central column of it, so anything in the head portion is simply ignored... i saw this when vba-wrapping other products using whole page templates, like vbagooglemaps... i had to insert the head scripts in a 'new' myproduct_headinclude template and parse it in the headinclude template with a little plugin which looks for the scriptname and if it's, say, vbms_new adds the vbms_headinclude part to headinclude
Quote:

Originally Posted by Krofh
Mehh, perhaps something's screwy on my server, because I added that conditional to make it work properly for me; attachments weren't working right otherwise. I guess I'll have to do a bit more serious testing with that bit to get it all working properly. Thanks for the feedback though on it though.

eh, i had to telnet to the mailserver and retr a message to see what was going on, as i'm not so accostumed to the mail syntax :)
anyway, once done, it was quite clear that the closing boundaries for the html part was missing :)

chilllax 03-19-2007 07:27 PM

I can send and receive emails wonderfully. But for some reason the trailer message isn't attached to the sent emails. Do you have any idea why?

By the way, thank you so much for putting the time in to deliver this amazing hack
;-)

d8tabyte 03-19-2007 09:36 PM

Installed and working great, thanks!

scan-pa 03-20-2007 05:19 AM

Quote:

Originally Posted by Krofh (Post 1207145)
Does the mail() function work normally to begin with? Try going to the "vBMS Control Panel" in the ACP and test sending emails (at the bottom) with both vbmail() and mail() and see what's happening.

Both of those tests worked, Email sent out were fine.

JawadIT 03-20-2007 04:58 PM

great hack
and its installed:up:

mindcry 03-21-2007 02:08 AM

One thing that I noticed which would probably be a good thing to add. If you are creating an alias you can have spaces and other illegal characters. Considering some users some of us have that could be bad, for example if someone made their name firstname@lastname@domain.com or firstname lastname@domain.com.

Krofh 03-21-2007 05:10 AM

Quote:

Originally Posted by chilllax
I can send and receive emails wonderfully. But for some reason the trailer message isn't attached to the sent emails. Do you have any idea why?

The trailer only works if 1) you're in a usergroup that has the "Trailer" permission set to "Yes" (admin automatically doesn't have the trailer) and 2) the vBMS Options actually has something in the "Email Message Trailer" box. If this is the case and it's still not working, I'm not sure what's up. Can you give me more details about the problem?
Quote:

Originally Posted by mindcry
One thing that I noticed which would probably be a good thing to add. If you are creating an alias you can have spaces and other illegal characters. Considering some users some of us have that could be bad, for example if someone made their name firstname@lastname@domain.com or firstname lastname@domain.com.

Ooops, this seems to be another leftover remain the conversion process. Will have fixed in the next update.
Quote:

Originally Posted by scan-pa
Both of those tests worked, Email sent out were fine.

Mehhh... how strange. Does it depend on what users are sending the email, or what the content of the email is, or does it happen no matter what?

chilllax 03-21-2007 07:44 PM

Thanks, krofh. I didn't know the trailer wasnt included in administrator emails. Problem solved :)

dfe 03-22-2007 03:43 AM

With the Google mail offerings, can this hack be used with Google servers being the catch all?

Krofh 03-22-2007 06:47 AM

Quote:

Originally Posted by dfe
With the Google mail offerings, can this hack be used with Google servers being the catch all?

Not unless you were to set your server's catch-all mailbox to forward to a Google server, then try and connect to Google as a POP3 server and fetch it. I have no idea why you'd do that though, that'd be awfully wasteful of resources and traffic. I'm not even sure if it would work or not, because I don't know how Google's POP3 functionality is. I suppose you could try though and lemme know how it works.

NuclioN 03-22-2007 07:31 AM

Is it already bugfree enough to install this for our members?

raiderlax 03-22-2007 07:17 PM

Can you install this on a shared hosting?

succo 03-23-2007 11:36 AM

Quote:

Originally Posted by raiderlax
Can you install this on a shared hosting?

yes, you can (i did)

all you have to do is setup a catchall account for your domain (in cpanel, i guess) and make vbms point at that

Krofh 03-24-2007 04:20 AM

Quote:

Originally Posted by NuclioN
Is it already bugfree enough to install this for our members?

I wouldn't personally recommend it, but I'd actually recommend the next update as reasonable (once I get it out). Even now, it's in decent enough condition that nothing serious should really be going wrong.

And yes, you can install it on shared hosting, as long as you can set up a catch-all email box.

scan-pa 03-24-2007 04:32 AM

Quote:

Originally Posted by Krofh (Post 1210812)
I wouldn't personally recommend it, but I'd actually recommend the next update as reasonable (once I get it out). Even now, it's in decent enough condition that nothing serious should really be going wrong.

And yes, you can install it on shared hosting, as long as you can set up a catch-all email box.

and when is the next update going to be uploaded??

:D :up: :D :up: :D

bluechris 03-24-2007 02:15 PM

In the next update the problem with attachments will be fixed? i ask cause for now is the only major prob i see in the mod.. all the rest is fine.

mindcry 03-24-2007 05:51 PM

Not sure if this has been covered but it seems that if a user belongs to more then one group he will get Sorry, you can only send one message every 1 minutes. So, I tried adding all of the groups with similar access but still no luck. If I turn off the flood check for any of the groups though it will work without a problem.

Neutral Singh 03-24-2007 06:12 PM

Anybody running this on a live production site. How do we uninstall it?

succo 03-25-2007 02:45 PM

Quote:

Originally Posted by bluechris (Post 1211092)
In the next update the problem with attachments will be fixed? i ask cause for now is the only major prob i see in the mod.. all the rest is fine.

attachments work flawlessly with the little file edit i posted some times ago... i've been running it since then without any problem

bluechris 03-25-2007 05:15 PM

thx m8 im fine now.

Krofh 03-26-2007 05:03 AM

Quote:

Originally Posted by scan-pa
and when is the next update going to be uploaded??

Hopefully soonish.
but yes, it should hopefully fix the attachment bugs and such.
Quote:

Originally Posted by mindcry
Not sure if this has been covered but it seems that if a user belongs to more then one group he will get Sorry, you can only send one message every 1 minutes. So, I tried adding all of the groups with similar access but still no luck. If I turn off the flood check for any of the groups though it will work without a problem.

You mean, even if both groups say to have a 5-minute floodcheck it still only does a 1-minute floodcheck? I'm confused, but I'll try to look into it. It's supposed to work that if any of the groups they're in have floodcheck off then they don't get it, because, well, it means they have full permission not to have to worry about it.

bluechris 03-26-2007 08:31 AM

Quote:

Originally Posted by Neutral Singh (Post 1211227)
Anybody running this on a live production site. How do we uninstall it?

I run it in production site and i uninstalled it once for testing and the uninstall worked fine.. offcourse before the initial install/uninstall i had backed up everything to be certain i will not get any trouble... its great mod and members of one of my forums loved it.

For uninstall it has a Uninstall Feature in AdminCP that basically i suppose deletes the database tables and clears the e-mails that users have (not really 100% sure for this).

techenigma 03-26-2007 11:52 PM

Great Mod,

Got it working on my site finally. It sends and receives messages on all the accounts but for some reason still logs errors like crazy. But who cares as long as it works...

One problem I have is when trying to just an alias to compose a message. I put in the message and in the recipient I just put the persons alias but it never gets delivered. ANy idea why?

it works when you put the full alias followed by the domain but not just the alias as it says it should be able to do?

JawadIT 03-27-2007 04:15 AM

hello
i finished installing it but i am having a problem...
emails created in the forum could send emails normally but it CANNOT recieve...

could anyone help?

thanks and btw nice mod ;)

Krofh 03-28-2007 05:17 AM

Quote:

Originally Posted by techenigma
it works when you put the full alias followed by the domain but not just the alias as it says it should be able to do?

Where does it say you can do this? There are address book aliases, so you can use names in your address book, and that might be what you're seeing. You can also type in people's usernames and it'll fetch whatever value their "email" field has, but aliases are different.
Quote:

Originally Posted by JawadIT
i finished installing it but i am having a problem...
emails created in the forum could send emails normally but it CANNOT recieve...

could anyone help?

Check the last FAQ on the original post: "I can connect to the server just fine, but it won't get any email!", or look through the thread; this seems to have been the most common problem people have so far, usually from not setting it up right.

techenigma 03-28-2007 06:22 AM

Any particular reason the options don't change?

I uncheck the box for a particular option and when I click "save changes" it doesn't update it. It just reverts right back to it being checked. Obviously its just not saving my selection. ???

phreak2010 03-28-2007 02:12 PM

This is awesome, best addon i've used so far and we've installed maybe 40.
Good work A+++++++++++

Krofh 03-29-2007 06:05 AM

Quote:

Originally Posted by techenigma
Any particular reason the options don't change?

I uncheck the box for a particular option and when I click "save changes" it doesn't update it. It just reverts right back to it being checked. Obviously its just not saving my selection. ???

Care to be a little more specific? I can't find any such problem.
Quote:

Originally Posted by phreak2010
This is awesome, best addon i've used so far and we've installed maybe 40.
Good work A+++++++++++

Thanks muchly :D

mybeshoo 03-29-2007 09:06 PM

Dear Krofh's, this is the best hack for 2007 :) i love it and you offer it for free OMG :) you the cooooool one here , any way i like to tell you some thing
can you add :
desable Aliases changing , so users can not change there Aliases ! i dont think it is useful option to let users cahne there Aliases , it is like to cnage email address.

PS : i made a translate for the lang , via VB cpanel how can i expot the translation ?
PS : vbms_updatecheck.php this page is not in the ZIP file :(

bet regards.

succo 03-30-2007 05:34 AM

Quote:

Originally Posted by mybeshoo (Post 1215614)
PS : i made a translate for the lang , via VB cpanel how can i expot the translation ?
PS : vbms_updatecheck.php this page is not in the ZIP file :(

1) go to ACP, phrases, download/upload language, select your language, select vbulletin mail system as product and download the xml, that's it... btw, if anyone is interested in italian language i can share it :)

2) i guess it's because the php file pointed to the old commercial vBMS site instead of using the new vB.org product check (which is still unsupported by this hack)...

richiepearce 03-30-2007 10:12 AM

Excellent mod, nice work fella! I have been looking out for this for ages. I am itching to install but would like to wait until it is out of beta, any ideas on time scales?

techenigma 03-30-2007 04:13 PM

Quote:

Originally Posted by Krofh (Post 1215061)
Care to be a little more specific? I can't find any such problem.

I go into my forums, I go to the vbms page and click the "options" button. It takes me to mywebsite.com/forums/vbms_options.php and it shows the options. For some reason at the top it always says "Your options have been successfully updated. "

when I go down and for example uncheck "Save a copy of sent messages by default" and click "save changes" when the page refreshes the box is checked again. It does that for every single option. Hence I cannot change any of the options.

Krofh 03-30-2007 04:24 PM

^ Ohhh, got it... thought you were referring to the ACP, couldn't find any such problem there. I see what you're talking about though, I guess I thought I had fixed that sort of thing :-/ meh. Will try and get that into the next update.

Quote:

Originally Posted by succo
2) i guess it's because the php file pointed to the old commercial vBMS site instead of using the new vB.org product check (which is still unsupported by this hack)...

Yeah, that's right... I might try and work in an update for that, we'll see. This product doesn't exactly work off of the conventional product system :p and I'm not sure if it could or not... it might be able to though, I'll have to look into doing that sometime. I'd love to get it working with the product system, but the original version had the installer and I figured I'd just leave it at that for now.

Quote:

Originally Posted by richiepearce
Excellent mod, nice work fella! I have been looking out for this for ages. I am itching to install but would like to wait until it is out of beta, any ideas on time scales?

Honestly, I have no idea... I'd like to say within a month, but it depends mostly on other factors in my life which determine how much time I actually have to work on this.

Twisted Chaos 03-30-2007 04:26 PM

I've run into a bunch of bugs that i thought i might be able to help with...

first bug is when recieving mail from outloo...
entire html source is displayed... i added in a processor for full html conversion....

also if the system finds ONE attachment that isnt allowed....... it strips them all???? why cant we just strip the ones not allowed?

i downloaded a copy of the PEAR system for mail mime...
i then took the original and modified it for a full release with thvbms.... works better than constructing mime types on your own....just an idea im using on my system

raiderlax 03-30-2007 10:42 PM

Can we have it so only members we choose can have email and can use this system?

Thanks.

techenigma 03-30-2007 11:51 PM

Quote:

Originally Posted by raiderlax (Post 1216491)
Can we have it so only members we choose can have email and can use this system?

Thanks.

Seemingly only way to do that would be to create a usergroup, allow only that usergroup access to the VBMS system and then set that usergroup as a secondary group for those users you want to allow access to.

Other than that there doesn't seem to be any functionality included in the product to do that, and my idea is simple enough and very manageable.


All times are GMT. The time now is 02:21 PM.

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.01659 seconds
  • Memory Usage 1,867KB
  • 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
  • (2)bbcode_php_printable
  • (31)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