vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBulletin POP3 / IMAP Email Client for vB3 - Web-based access to POP email accounts! (https://vborg.vbsupport.ru/showthread.php?t=66247)

danbc 07-16-2004 06:00 PM

Hey Erwin, great hack man, works like a charm! :)

One thing though.. Is it possible to set a "fixed" server, so my users doesn?t have to/cant log into any ?ther server than the one specified?

Fibe 07-17-2004 01:31 PM

yeah i'd like to change that 2. I am trying to figure it out. If it find out how, i'll let you know.

Erwin 07-17-2004 01:44 PM

Quote:

Originally Posted by danbc
Hey Erwin, great hack man, works like a charm! :)

One thing though.. Is it possible to set a "fixed" server, so my users doesn?t have to/cant log into any ?ther server than the one specified?

Easy:

In email.php, find:

PHP Code:

  $HTML .= "<tr><td align=right>Server: </td><td><input TYPE=text NAME=host value='$host'></td></tr>\n"

Change to:

PHP Code:

  $HTML .= "<input TYPE=hidden NAME=host value='mail.yourserver.com'>"

Change 'mail.yourserver.com' to your own mail server subdomain name.

Done!

I added these instructions to the first post. :)

Fibe 07-17-2004 02:14 PM

lol thats better

I just deleted the entire input line and added
$host = "mail.yoursvere.com"; at the top.

Erwin how would i go about shutting down pop3 /imap selection. I just want them to be able to check the pop3.

and thanks !

danbc 07-17-2004 02:48 PM

Sweet, thanks Erwin :)

QQ, not really relatated to your hack, but is it possible to make a navbarbutton that only specific usergroup(s) can see?

Erwin 07-17-2004 10:52 PM

Quote:

Originally Posted by Fibe
lol thats better

I just deleted the entire input line and added
$host = "mail.yoursvere.com"; at the top.


Erwin how would i go about shutting down pop3 /imap selection. I just want them to be able to check the pop3.


and thanks !

3) To force users to use only POP3 or IMAP



In email.php, find:



PHP Code:


  $HTML 
.= "<tr><td align=right>Type: </td><td> POP3<INPUT TYPE=radio size=1 NAME=opt group=opt value='POP3' checked>";
  
$HTML .= "IMAP <INPUT TYPE=radio size=1 NAME=opt group=opt value='IMAP'></td></tr>";
 
// $HTML .= "<input type='hidden' name='opt' value='POP3'>\n"; // set to IMAP als IMAP 



Replace with:



PHP Code:


 $HTML 
.= "<input type='hidden' name='opt' value='POP3'>"



Change POP3 to IMAP if you wish.


I added this to the first post.

Erwin 07-17-2004 10:53 PM

Quote:

Originally Posted by danbc
Sweet, thanks Erwin :)

QQ, not really relatated to your hack, but is it possible to make a navbarbutton that only specific usergroup(s) can see?

Use template conditionals.

gwhooooey 07-18-2004 12:14 AM

Two things I'd like for you to look at if possible.

1. I'd like to know how to get the Attachment: part on a new line, as it stretches the page
2. Can you check this post which does work in correcting the @domain.com@pop.domain.com issue... to make sure there's nothing wrong with the fix and wont effect/mess up anything.

Thankyou

Erwin 07-18-2004 03:58 AM

<u>UPDATE</u>

Version 1.4

1) Fixed email address server name domains

2) Removed 1 query by caching template

3) Fixed Attachment: alignment.

To upgrade, just upload new email.php.

Erwin 07-18-2004 04:04 AM

Quote:

Originally Posted by gwhooooey
Two things I'd like for you to look at if possible.

1. I'd like to know how to get the Attachment: part on a new line, as it stretches the page
2. Can you check this post which does work in correcting the @domain.com@pop.domain.com issue... to make sure there's nothing wrong with the fix and wont effect/mess up anything.

Thankyou

1) Fixed.

2) I added it to my hack actually in the version 1.4 update. :) It's a good idea.


All times are GMT. The time now is 04:59 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.01279 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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