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)

Brent H 11-05-2006 05:18 AM

2 months and no updates... Someone should just cut the crap and release this in SourceForge or something. This is getting ridiculous.

noreturn 11-05-2006 05:53 AM

Every install I attempt goes through, however the operation of vbms fails.

I have looked all over the zip for a file that it seems to be calling for but there is no file in the zip by that name. I even looked in old version of Filburt1 zip and do not see the file. The file being looked for by vbms is called vbms_cron.php. Not to be found.

Bellow Here is what my host is telling me.

From: "Site5 Technical Support" <customer.service@site5.com>


Hi,


The file you are trying to process in cron is not in the directory indicated by the URL.


root@leto [/home/stargaze/www/includes/cron]# ls -al vbms_cron.php
/bin/ls: vbms_cron.php: No such file or directory
root@leto [/home/stargaze/www/includes/cron]#


Please upload vbms_cron.php into the cron directory and this should work for you.


Thank You,
Eric
System Administrator
Site5 Internet Solutions, Inc.
http://www.site5.com


Technical Support:
24 hours a day / 7 days a week

Killsparer 11-08-2006 09:27 AM

Some status-update would be nice.
Does the install-method of v3.6 differ that much from 3.5?

Lionel 11-10-2006 08:41 AM

I am able to manually install on 3.60, seems to work. I only have some trivial bugs, such as deleting an empty folder will give you a scalar error; strangely you hit back in the browser and attempt to delete it again, it works. I am also so far not able to display the set options properly. They are inserted in the db, but when you visit the page again, none are checked, and the forward $key is always displaying "Warning: value for replyforwardprefix not specified and no constraint type defined"

I still need to import the FAQ

Lionel 11-10-2006 09:45 AM

got the filters and the options to work.

in vbms_filters.php

I simply replaced the $_POST call with (last line only)

Quote:

if ($_REQUEST['action'] == "delete")
{
vbms_api_safe_call("delete_filter", $_GET['filterid']);
}
else if ($_REQUEST['action']=='add')
i did the same thing with the options by adding a hidden input in the templates and doing a

Quote:

else if ($_REQUEST['do']=='addoptions')
This does not seem too complicated to fix.

I even added a private calendar link :-)

Slave 11-10-2006 01:02 PM

What do you mean by manually install? How long did it take and how easy was it? .. and is it something you could share?

Lionel 11-10-2006 01:22 PM

The problem is the phrasetype table structure is not the same from 3.54 to 3.60
I had xml error from the very first line of the install. So what I did, I opened the xml and ran the queries one by one in php admin, simply changing {tp} with my prefix. Once all the tables were created and the inserts done (a matter of minutes), I imported the templates xml from the upload styles input.

Did the same for the phrases. That took a couple of minutes.

The biggest headache is the settings. I had to do them one by one, but it's only 14 of them. You need also to set the settinggroup (1 entry with phpadmin)

Then the fun begins. I replaced all $DB_Site with $db (just a search and replace for all the files).

Then within the php, some changes are needed, around $_POST calls. I introduced a hidden input in the templates and instead of if(!empty($_POST)) I made it if ($_REQUEST['do']=='addfilter') for example, and that took care of the checkboxes not displaying the updates.

Did the same thing in vbms_new.php

I would say I have it 90% working on 3.60. I still have that annoying error when deleting an empty folder. But if you go back and do it, then it is fine.

The solution posted earlier by MPDev
Quote:

define("VBMS_CRLF", "\n");
took care of making the html emails clean.

For some reasons, it sends double emails.

I am still sorting out the very 2 or 3 remaining issues.

I really don't know what was filburt1 problem. I am no way near the masters of this site, but am able to sort the issues, which so far seems to be insignificant.

Slave 11-10-2006 04:27 PM

Thanks Lionel :)

I'll take a look this weekend and see what I can do .. if you could keep us updated with and changes that would be great, thanks again :D

Lionel 11-11-2006 03:49 PM

Like I said before, I got this 97% working on 3.60. I am receiving, sending, getting email notifications about new mail received, create filters, folders etc...

Only the faq remains to be imported from the xml and the only bug left is deleting the empty folder. The function api_safe_call seems to be checking only for folders with messages. But what is stranged, after I get that database error, I simply hit back in browser and am able to delete empty folder this time. Same step at first try gives me a database problem.

FireLighter 11-11-2006 06:53 PM

Awesome! Thanks Lionel! I can't wait to try installing it - do keep us updated.

Thanks a lot,
-Josh

filburt1 11-11-2006 08:55 PM

Random musings:
1. Yes, phrasetype is the main incompatibility issue.
2. Somewhere in there, there's the line:
PHP Code:

$DB_site &= $vbulletin->db

It was obviously a quick compatibility fix.
3. The issues were all caused by trivial problems, I suspected. I just didn't have any time left to fix them, so I released it to free. Glad to see it's made the progress it has.

If you can get it working to the point where it's redistributable, attach it here and I'll update the first post.
Quote:

Originally Posted by Lionel
The problem is the phrasetype table structure is not the same from 3.54 to 3.60
I had xml error from the very first line of the install. So what I did, I opened the xml and ran the queries one by one in php admin, simply changing {tp} with my prefix. Once all the tables were created and the inserts done (a matter of minutes), I imported the templates xml from the upload styles input.

Did the same for the phrases. That took a couple of minutes.

The biggest headache is the settings. I had to do them one by one, but it's only 14 of them. You need also to set the settinggroup (1 entry with phpadmin)

Then the fun begins. I replaced all $DB_Site with $db (just a search and replace for all the files).

Then within the php, some changes are needed, around $_POST calls. I introduced a hidden input in the templates and instead of if(!empty($_POST)) I made it if ($_REQUEST['do']=='addfilter') for example, and that took care of the checkboxes not displaying the updates.

Did the same thing in vbms_new.php

I would say I have it 90% working on 3.60. I still have that annoying error when deleting an empty folder. But if you go back and do it, then it is fine.

The solution posted earlier by MPDev

took care of making the html emails clean.

For some reasons, it sends double emails.

I am still sorting out the very 2 or 3 remaining issues.

I really don't know what was filburt1 problem. I am no way near the masters of this site, but am able to sort the issues, which so far seems to be insignificant.


Lionel 11-11-2006 09:36 PM

What I don't get, the cronimage, the envelope with the exclamation mark, displays every minute at the bottom of the footer. That should tell me that the cron did not run. The log tells me it was not possible to connect to IMAP, yet I get the mails, as per the image (I borrowed that code from the 3.07 zipped version that you uploaded)

One of the files, I think it was the cron, not sure, will not work until I changed it to $db so I played it safe and changed them all. I also changed some $vboptions into $vbulletin->options. Like Paul M. pointed in a post earlier, the interval settings had to be added.

Now, once I get the last bug out I could upload all my changes, someone else would have to package the xml. I still have not learned how to do it, as I code mostly for myself and work off database directly and use debug mode for settings.

filburt1 11-11-2006 09:38 PM

Try looking in the logs to see if there were warnings or something.

I don't get what the screenshot is for, though; it's just showing you have unread mail somewhere (isread, read, whatever is 0, not 1, for one of your messages).

Lionel 11-11-2006 09:44 PM

That image, I got the code from the other zip that you uploaded. It's the code that pops up under the navbar of any vb page when you have a message.

I disabled loggin errors, because all there was in there is unable to connect to imap, which is not true.

I posted screenshot to show you that email is coming. Cron is running by itself.

Lionel 11-11-2006 10:11 PM

This is another screenshot

I also need to fix the notification to real email. It comes empty

And I have not yet tested attachments.

Lionel 11-12-2006 12:12 AM

Some great news.
the main reason why the cron was not running in the cron folder is because

Quote:

require_once( "./includes/vbms_preinit.php");
should have been

Quote:

require_once(DIR . "/includes/vbms_preinit.php");
This is my log now
Quote:

Warning 11-11-06 09:10 PM Running mail check despite there being 15 seconds minimum until next scheduled run
Debug 11-11-06 09:10 PM Connecting to mail server
Debug 11-11-06 09:10 PM Retrieving message count...
Information 11-11-06 09:10 PM There are 0 messages on the POP3 server that need to be downloaded
Debug 11-11-06 09:10 PM Closing connection
Information 11-11-06 09:10 PM vBMS mail checking completed

Lionel 11-12-2006 12:23 AM

Worth checking also. Since I am forcing TLS, I had to change in the checkmail_functions
Quote:

$vulletin->options['vbms_notls']
to
Quote:

$vulletin->options['vbms_forcenotls']
as the correct options was 'vbms_forcenotls'. I am not sure if I picked that from comparing 3.07, but somehow this is what it was in vbulletin options.

Lionel 11-12-2006 12:27 AM

and the very simple query to take care of phrase type, replacing TP_ with your prefix:

Quote:

INSERT INTO `TP_phrasetype` VALUES ('vbms', 'vBulletin Mail System (vBMS)', 3, 'wdf_vbms', 0);

Lionel 11-12-2006 12:48 AM

BTW I solved the previous mystery of failed image and successful cron: I forgot I had hardcoded the login values :-)

Lionel 11-12-2006 12:52 AM

I wonder what is the name of the 1x1 successful gif? Now that it is successfull i get a broken image

Lionel 11-12-2006 01:01 AM

here is a copy of my working cron (in the cron folder)

Lionel 11-12-2006 02:54 AM

everything is just fine. The problem that I am now facing, the cron is not deleting the mail from server after retrieving it, therefore the same email is retrieved over and over.

Lionel 11-12-2006 03:10 AM

I just found out that setting was also missing

Quote:

vbms_expunge

Lionel 11-12-2006 03:58 AM

99% working on vb 3.60

only the 'empty folder delete' bug left to squash and the faq (which is nothing)

I am not clear which cron is doing the job, the one at root or the one at the cron folder, and I don't care to find out as the job is being done as designed by filburt.

I did the whole thing manually.

If I can get a couple of you guys to signup at my site and beat it up so I am 100% sure it works, then I will release step by step instructions of what I did plus my sql and modified files plus a couple templates I changed to accomodate the php changes. Hopefully for the rest of you, someone else will take over and pack it into a product (personally I don't see the need to do so as this is independent from any vb files)

Anyway, a big thank you to filburt for releasing this. It will be a welcome addition to my site.

just send me a PM for a link

P.S. I will hold from installing any other hacks for the next two days, as it will be easier for me to retrieve the last queries from the database.

There is also a minor bug in the groups permissions. For some reasons you must save it twice for the changes to take effect.

filburt1 11-12-2006 04:29 AM

Very happy to see that you were able to turn it into a stable product.

The 1x1 GIF should be a clear GIF in your forums' root folder, IIRC.

vbms_expunge controls whether mail is deleted or not once downloaded, which would explain your duplicates.

Lionel 11-12-2006 04:37 AM

I am now adding the various who's online locations as plugins

COBRAws 11-13-2006 05:23 AM

Lionel, thanks for all the help ;)

Lionel 11-13-2006 03:57 PM

Please don't PM me and offer me money to install for you. Hack belongs to filburt. If you want it badly, register at my site and test it out so I am sure it's bug free, then I will post instructions for all.

filburt1 11-13-2006 04:00 PM

Moreover, it's against the licensing terms I clearly put forth in the first post for him to sell you the product. Do not request it from him for pay.

If you want it so badly, offer to test it and help him bundle it into an installable package so the whole community can view it.

Killsparer 11-13-2006 05:09 PM

Quote:

Originally Posted by Lionel (Post 1116381)
Please don't PM me and offer me money to install for you. Hack belongs to filburt. If you want it badly, register at my site and test it out so I am sure it's bug free, then I will post instructions for all.

Thanks for finishing the addon!

So what is the URL of your site? I really would like to take a look.

Lionel 11-13-2006 05:47 PM

I sent you a PM.
I don't like to post my URL in public. In fact I removed it from my profile. I am paranoid. I think this is where those Russians spammers come and get vb url then bombard your forums. :-)

Killsparer 11-13-2006 06:29 PM

Quote:

Originally Posted by Lionel (Post 1116459)
I sent you a PM.

Thanks!
I already did some testing. I believe most of the bugs i found (until now) have already been mentioned:

- Folder-delete = Database error-message

- Mail sent via forum arrives two times at my mail-client (mail-header seems to contain duplicate entries of "to" and "subject")

- I tried to sent a second mail to check the above error, but i got the "Sorry, you can only send one message every 1 minutes."-message, even after currently ten minutes.

Lionel 11-13-2006 06:34 PM

Floodcheck. Someone else reported it. I am currently looking at it. I can't duplicate it with a regular user, but did find something worth investigating.

That folder delete, I am detemine to squash it today.

Can you PM me a copy of mail received?

Did you try sending an email to your forum address to test the cron?

Killsparer 11-13-2006 06:43 PM

Quote:

Originally Posted by Lionel (Post 1116502)
Can you PM me a copy of mail received?

Done.
If you need anything else, just ask.

Quote:

Did you try sending an email to your forum address to test the cron?
Yes, and it worked as far as i can see.

Lionel 11-13-2006 07:36 PM

I believe floodcheck has been solved.
Another problem I spotted: Quotas. If you empty your sent item folder, quotas is reset at a negative value.

Lionel 11-13-2006 07:43 PM

Some interesting info in the email you received. It carries the xmailer info from filburt forum

Lionel 11-13-2006 08:42 PM

got the delete folder bug out of the way. Now, let's hunt for the double email.

Lionel 11-13-2006 09:28 PM

Quota is behaving ok now.

Lionel 11-13-2006 09:58 PM

HTML email has been possible all along. The advanced editor must be used instead of standard editor.

So I am not considering this as a bug. On my site I will simply add additional instructions for end users.

nix 11-14-2006 09:20 PM

Wow, great job. Looking forward to this.


All times are GMT. The time now is 09:26 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.01458 seconds
  • Memory Usage 1,837KB
  • 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
  • (1)bbcode_php_printable
  • (15)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