vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB POP3 / IMAP Email Client 1.4 - Web-based access to POP email accounts (https://vborg.vbsupport.ru/showthread.php?t=50783)

Erwin 04-06-2003 02:38 AM

If it's to do with my PHP file, then I better ask the 50 people who have installed it and get them to stop using it... ;)

Seriously, it's working fine for me. So if it's not working for you, it must be something at your end.

Jim Mayhugh 04-11-2003 04:57 AM

Quote:

04-05-03 at 07:09 PM Harken said this in Post #178
I have tried using IE6 and i get the same thing...even setting my browser cache low manually...i just get LOGGING IN... and this is the same for mutiple pop3 servers
I appear to be having the same problem, and it looks as though the session variables set during the "cookie" portion of the code are not being either stored or retrieved properly during the next iteration of the code.

Just for the record, I'm using PHP 4.3.1. Might that also be a difference?

I notice that you use session_register("session_variable") rather than using $_SESSION["session_variable"]. Might that make a difference?

UPDATE:
OK, I got it working. For some reason session_register() is not working properly for me. Everything I read about sessions at www.php.net seems to lean toward using $_SESSIONS[] for parameter passing in later revisions of PHP. Here's the changes I made that worked.

In email.php, look for

//CHANGE SETTINGS ABOVE//

and add just below it:

$session_server=$_SESSION["session_server"];
$session_username=$_SESSION["session_username"];
$session_password=$_SESSION["session_password"];
$type=$_SESSION["session_type"];


then find

session_register("session_server"); $session_server=$host;
session_register("session_username"); $session_username=$user;
session_register("session_password"); $session_password=$pass;
session_register("type"); $type = $opt;

and replace it with:

$_SESSION["session_server"]=$host;
$_SESSION["session_username"]=$user;
$_SESSION["session_password"]=$pass;
$_SESSION["session_type"]=$opt;

I am by no means a PHP programmer, but like I said, it seems to work for me. YMMV

Erwin 04-11-2003 06:45 AM

UPDATE: Version 1.4 - Fixed header cookie problem for certain servers that prevented login

Thanks to Jim, who suggested the fix. This only applies to certain servers which have problems with the cookies created in the previous versions of this hack. Most servers appear to be unaffected for some reason.

I have applied the fix to the hack anyway.

This update will fix the problem that some servers have, where you cannot seem to login. It appears to be a cookie problem as described.

For those who previously had problems with this hack, download the newest email.php. Make sure the top of the file says "Version 1.4". If this hack already works for you, no need to upgrade.

Enjoy!

msimplay 04-11-2003 01:00 PM

Quote:

Today at 08:39 AM Erwin said this in Post #183
UPDATE: Version 1.4 - Fixed header cookie problem for certain servers that prevented login

Thanks to Jim, who suggested the fix. This only applies to certain servers which have problems with the cookies created in the previous versions of this hack. Most servers appear to be unaffected for some reason.

I have applied the fix to the hack anyway.

This update will fix the problem that some servers have, where you cannot seem to login. It appears to be a cookie problem as described.

For those who previously had problems with this hack, download the newest email.php. Make sure the top of the file says "Version 1.4". If this hack already works for you, no need to upgrade.

Enjoy!


If i am having no problems with the hack do i really need to download this ?

Harken 04-11-2003 05:47 PM

well it worked...thanx alot. : )

I do have one problem still...for some reason whenever i did what u put in about making the mail server stay the same...it stopped allowing me to login...now it doesnt even hit the mail server. I hit login and it goes white...then back to the beggining.. Anyway thought u might want to know. Ive checked my file twice with what u put ...and it causes that problem.

Erwin 04-11-2003 09:58 PM

Quote:

Today at 12:54 AM msimplay said this in Post #184
If i am having no problems with the hack do i really need to download this ?

No. :) Only for those with problems need to upgrade. If you don't have problems, you can still upgrade, but it will make no difference (unless you change to a server that has problems with the older version).

Erwin 04-11-2003 09:59 PM

Quote:

Today at 05:41 AM Harken said this in Post #185
well it worked...thanx alot. : )

I do have one problem still...for some reason whenever i did what u put in about making the mail server stay the same...it stopped allowing me to login...now it doesnt even hit the mail server. I hit login and it goes white...then back to the beggining.. Anyway thought u might want to know. Ive checked my file twice with what u put ...and it causes that problem.

That's very strange... remember, some mail servers do not let you log in multiple times within a short period, to prevent server load increases... maybe that's a problem... if it's a major problem, don't use the saved server settings option.

msimplay 04-11-2003 10:02 PM

Quote:

Yesterday at 11:52 PM Erwin said this in Post #186
No. :) Only for those with problems need to upgrade. If you don't have problems, you can still upgrade, but it will make no difference (unless you change to a server that has problems with the older version).

thanks

Harken 04-12-2003 12:36 AM

well i tried that...waited about 30 minutes...tried it again...still just gave me a wrong info. However put back in the orginal..and typed in the mail server and went right through. Its something else....sorry for the continuos replies...also...whenever i send an email with an attachment its sending a .dat file thats about 4bytes big everytime.

verbum 04-16-2003 04:53 AM

I've found one very significant "bug" when using this hack in VBulletin when accessed with IE6 on XP:

For whatever reason, which I hope someone can address, once accessed, the hack prohibits normal cookie sessions. Examples:
An old cache is shown when I go to the forums; even after logging in, the cache is different each time; when I next access the forum, it shows me logged on, even though I clearly logged off, etc. At first, I thought this was just a problem on my end, although I noticed it only after I installed and tried the mod out--until I got the following message from the only forum member who used tried out the email mod:

"When I enter the main page it has shown the same page every time I enter (same posts, same time 6:51pm). I found a bunch of posts that weren't showing on the first page by going to "view new posts". I even posted a new topic about the convention... and I couln't find it after I returned to the main page. It seems to be the same page no matter how I access it. I can go from my favorites list, backpage or go directly to it by highlighting the main page from an individual forum and it still shows the same page. "

The same problem I've been having.

In BOTH cases, this hapopens only when using IE6, and only on the one particular forum in question. The members I've asked who have *not* used the hack report that everything is running smoothly.

Any ideas for a solution? I even removed the hack, deleted every last cookie--and I still can't have a normal session on my board.

(I've since re-installed the hack in case anyone would like to confirm--or, conversely, disprove--my brief findings.)

Thanks!


All times are GMT. The time now is 12:47 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.01207 seconds
  • Memory Usage 1,753KB
  • 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
  • (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