vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBulletin Mail System (https://vborg.vbsupport.ru/showthread.php?t=125890)

Slave 11-24-2006 08:50 AM

Anyone noticed that if you delete a mail from your sent folders list using the Delete link (and not the tick boxes) it deletes all of the mails in that folder? Same sort of thing happened when I deleted a mail from my draft folder, it deleted all of my sent mail too ..

.. and if you have .. do you have a fix? thanks :)

yoyoyoyo 11-24-2006 09:25 AM

thanks lionel!

Slave 11-24-2006 02:06 PM

hmm .. finally got IMAP installed on the server \o/ ..

However, I now get the following
Code:

PHP error: imap_open(): Couldn't open stream {localhost:110/pop3/notls}INBOX (/home/virtual/site101/fst/var/www/html/vbms_checkmail.php:104
.. when looking at the log file ..

Any ideas whats wrong?

Slave 11-26-2006 04:11 AM

Quote:

Originally Posted by Slave (Post 1124239)
hmm .. finally got IMAP installed on the server \o/ ..

However, I now get the following
Code:

PHP error: imap_open(): Couldn't open stream {localhost:110/pop3/notls}INBOX (/home/virtual/site101/fst/var/www/html/vbms_checkmail.php:104
.. when looking at the log file ..

Any ideas whats wrong?

After playing with my imap_open statement, I finally got this working .. \o/

Slave 11-26-2006 04:16 AM

Quote:

Originally Posted by Slave (Post 1124147)
Anyone noticed that if you delete a mail from your sent folders list using the Delete link (and not the tick boxes) it deletes all of the mails in that folder? Same sort of thing happened when I deleted a mail from my draft folder, it deleted all of my sent mail too ..

.. and if you have .. do you have a fix? thanks :)

Within vbms_functions_api.php

Find ..

Code:

                // delete messages
                $db->query(
                                "DELETE FROM " . TABLE_PREFIX . "vbms_message
                                WHERE $hasmessages userid = $userid");
                               
                // delete attachments
                $db->query(
                                "DELETE FROM " . TABLE_PREFIX . "vbms_attachment
                                WHERE $hasmessages userid = $userid");

and replace with ..

Code:

                // delete messages
                $db->query(
                                "DELETE FROM " . TABLE_PREFIX . "vbms_message
                                WHERE messageid IN ($messageids) AND userid = $userid");
                               
                // delete attachments
                $db->query(
                                "DELETE FROM " . TABLE_PREFIX . "vbms_attachment
                                WHERE messageid IN ($messageids) AND userid = $userid");

That seems to fix the problem I think :)

Let me know if I've changed something I shouldn't ;)

Slave 11-26-2006 07:14 AM

Quote:

Originally Posted by Slave (Post 1121158)
it seems like something is the wrong away round .. say my alias is "slave" and my forum account is "Slave" .. when I send out an email the received name and email address look like this ..

slave<Slave@testsite.com>

Spot the incorrect capitalisation ..

This can be fixed by ..

Opening vbms_class_mail_message.php

Find ..
Code:

                        "From" => "\"$this->fromalias\" <$this->fromusername" . "@" . $vbulletin->options['vbms_todomain'] . ">",
and replace with ..
Code:

                        "From" => "\"$this->fromusername\" <$this->fromalias" . "@" . $vbulletin->options['vbms_todomain'] . ">",

Slave 11-26-2006 11:34 AM

Am I right in thinking that the notification email is missing something? At the moment it just sends out a blank email ..

How would I go about putting something in the body of the email?

Lionel 11-26-2006 11:18 PM

Quote:

Originally Posted by Slave (Post 1125452)
Am I right in thinking that the notification email is missing something? At the moment it just sends out a blank email ..

I haven't got that problem

filburt1 11-26-2006 11:19 PM

An older version had a problem of a blank notification e-mail (a combination of a missing template and arguments for a method out of order), but I thought it's fixed in this version.

dodgeboard.com 11-26-2006 11:30 PM

Quote:

Originally Posted by Slave (Post 1125452)
Am I right in thinking that the notification email is missing something? At the moment it just sends out a blank email ..

How would I go about putting something in the body of the email?

Yeah, mine does the same thing. The forums sends out a blank email with the subject "You have new email" but nothing in the body. I just thought that was normal.


All times are GMT. The time now is 10:45 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.01545 seconds
  • Memory Usage 1,748KB
  • 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
  • (6)bbcode_code_printable
  • (5)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