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)
-   -   WMail - a POP3/SMTP Webmailer for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=115597)

Hellcat 05-15-2006 12:39 AM

Quote:

Originally Posted by TTG
Posted a query to my host .. I'll let you know when they respond.

Cool, let me know if there's something that could be done :)


Quote:

Originally Posted by Ramsesx
Absolutely cool hack hellcat, thank you.
One question, the received messages will be stored encrypted in the database?

There are no messages at all stored in the DB - everything stays at the POP3 server and only the data/information required for the current action are retrieved, but not saved.

The only thing that gets stored to the local database is the message ID for all unread messages to be able to handle the read/unread markings.

kurtbarker 05-15-2006 12:59 AM

hey mate, I will be restricting access to the webmail client to paying club members, is there any way I can only show the webmail link in 'UserCP' / 'Quick Links' to a specific usergroup?

Hellcat 05-15-2006 01:05 AM

Hmm.... the links are currently added for any user....

You CAN specify who may use it in the usergroupmanager, all others get the "no permission" message.
Could be used to inspire ppl to become paying members :D

I could add a check for the link insertion if the user may actually use it and not add the links when he has no permission.... yes that could be done :)

kurtbarker 05-15-2006 01:08 AM

thanks mate. I feel that the standard 'no permission' message is messy, doesn't really give a reason, and could be seen as an 'error' as such...

if you could look into it, that'll be great, thanks

Hellcat 05-15-2006 01:16 AM

@kurtbarker:

Here's a quick "hack" for you:

Go to the plugin manager and open this plugin to edit it:
"Template Manipulation (Add WMail Links)"

At the very top, before anything else, add this:
Code:

if ($permissions['wmailpermissions'] & $vbulletin->bf_ugp['wmailpermissions']['canusewebmail'])
{
  // only add the links when the user actually use the webmailer

At the very bottom, as last line, add this:
Code:

}
Now, the links are only added for users who can use the webmailer.
I will include this in the next release and also make an admin option to choose between "Always add links" and "Only add links for users who have permission"

Ramsesx 05-15-2006 01:18 AM

Quote:

Originally Posted by Hellcat

There are no messages at all stored in the DB - everything stays at the POP3 server and only the data/information required for the current action are retrieved, but not saved.

The only thing that gets stored to the local database is the message ID for all unread messages to be able to handle the read/unread markings.

Ok thanks, the only thing I'm not so happy about is that the passwords are stored in the db without encryption.

Hellcat 05-15-2006 01:20 AM

Quote:

Originally Posted by Ramsesx
Ok thanks, the only thing I'm not so happy about is that the passwords are stored in the db without encryption.

I'm not very happy with that as well....
But on the other hand, an untrustworthy admin who want's to see those can get at them even when they are encrypted since the decryption code has to be in the script as well - hashing only will not work because the PW has to be retrieved to be sent to the mailserver....

But I'm open for ANY suggestions here!

kurtbarker 05-15-2006 01:37 AM

thanks Hellcat, haven't installed yet, but will be doing so tonight for sure, thanks for the support, i'll let you know how it goes

Ramsesx 05-15-2006 01:39 AM

Don't have an idea for that my coding skills are 0 :(
But found a bug (?)
The first 98 mails are showing correctly, after sometimes there's only the date and size visible (screenshot).

Hellcat 05-15-2006 01:50 AM

Hmm, weird thing.... that can happen when the connection to the POP3 server breaks up while getting the mail headers....

I should add some kind of handling of that.... at least some sort of notice that something went wrong there.

Did you change the server timeout? If so, try raising it again.

I'll definately add something for this situation! :)


All times are GMT. The time now is 01:44 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.01158 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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