vBulleting and cpg - Remember Me must be checked??? PLZ Help vBulleting and cpg - Remember Me must be checked??? PLZ Help
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

vBulleting and cpg - Remember Me must be checked??? PLZ Help

Started by jarekn, July 20, 2004, 01:43:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jarekn

Hello,

I have been running vBulleting 3.0.0 now 3.0.3... all is good with the integration except for one thing... In order for members to be able to view the gallery the Remember Me check box on the login page must be checked in order for CPG to know that the user is a member.  While this shouldn't be a big issue it is for some users who's cookies are not working like they should... I guess this has to do with session variables...

Did anyone figure out this problem? or am I the onlyone having it?

My forum is at http://forum.nitelifeinfo.com/forum and cpg is at http://forum.nitelifeinfo.com/cpg

Server is running on W2K, PHP 4.3.4, MySql 4.0.17-nt.

For some reason I think this issue is related to my configuration, so if you have vBulleting working with session variables (no need to have the Remember Me box checked) let me know your configuration... And if you do have it working on W2K box please let me know if you had to do anything special?

Any help would be very very much apreciated... I've got people bugging me on the daily basis :\'(

Thanx

jarekn


Joachim Müller

If you want us to check on login/logout issues, please provide a test account.

GauGau

jarekn

Hello GauGau,

What I was asking is if anyone else has the same problem with their site... I've checked my from different computers, using different logins and it's always the same...

I think the only difference is that I use W2K server, and I've heard that PHP for windows has issue with sessions...



Quote from: GauGau on July 23, 2004, 09:38:30 AM
If you want us to check on login/logout issues, please provide a test account.

GauGau

kegobeer

IIS does indeed have serious issues with SESSIONS.  Do a google and you can read all about it.  I've tried a bunch of different recommendations, but unfortunately haven't been able to get SESSIONS working.  I recommend installing Apache, if you can.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

jarekn

K, I think I narrowed the issue down...

In displayimage.php I have added the following code to ensure that the user has logged into the system before being able to view full size image:

require('include/init.inc.php');

if (USER_ID){

} else {
{
$redirect = $redirect . "../forum/userlogin.php";
header("Location: $redirect");

exit();
}}


Now while this works fine on my system and many others, but there are systems that do not work with this code... Each time you try to view the page it doesn't know that you're logged in and redirects you to the login page...

Am I missing something??? How can I ensure that this will work on all browsers?

Is there another way I can ensure/force users to login before being able to access the displayimage.php page???

I have created test account : user:test password: test
Site is http://forum.nitelifeinfo.com/forum
or http://forum.nitelifeinfo.com/cpg

Please if you have access to multiple computers with different versions of IE please try it and see if it works... I think I am going to lose all my hair because of this....argh

Any help would be very much apreciated,

Thanx

jarekn

I should have mentioned that it works on my system as long as the check box to remember user name is selected....

On the systems that it doesn't work, people tried both with selected and without still the same issue...

Anyone???

kegobeer

Hmmm, no checkbox, problems.  Check box, good to go.  I'm not sure what would be causing that, but I did notice something else.  While looking around I noticed the URL in the information box has a double slash after /cpg.

Here's one...
http://forum.nitelifeinfo.com/cpg//displayimage.php?pos=-11192

While not a show stopper, it's a flag that something ain't quite right.  It might be related to the cookie problem.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

jarekn

I fixed the // issue (under settings link to see Ecards had sitename.com/cpg/ - changed it to sitename.com/cpg)


Quote from: kegobeer on July 30, 2004, 07:44:29 AM
Hmmm, no checkbox, problems.  Check box, good to go.  I'm not sure what would be causing that, but I did notice something else.  While looking around I noticed the URL in the information box has a double slash after /cpg.

Here's one...
http://forum.nitelifeinfo.com/cpg//displayimage.php?pos=-11192

While not a show stopper, it's a flag that something ain't quite right.  It might be related to the cookie problem.

jarekn

Is there something wrong withe the following code? What could affect it?

I am thinking of hanging myself... argh...  Or is there another way I could force users to login before seeing full size pictures?  Any one has the code?  (PS I have coppermine integrated wiht vBulleting 3.0.3)

THANX for all your help

Quote from: jarekn on July 27, 2004, 01:25:03 PM
K, I think I narrowed the issue down...

In displayimage.php I have added the following code to ensure that the user has logged into the system before being able to view full size image:

require('include/init.inc.php');

if (USER_ID){

} else {
{
$redirect = $redirect . "../forum/userlogin.php";
header("Location: $redirect");

exit();
}}


Now while this works fine on my system and many others, but there are systems that do not work with this code... Each time you try to view the page it doesn't know that you're logged in and redirects you to the login page...

Am I missing something??? How can I ensure that this will work on all browsers?

Is there another way I can ensure/force users to login before being able to access the displayimage.php page???

I have created test account : user:test password: test
Site is http://forum.nitelifeinfo.com/forum
or http://forum.nitelifeinfo.com/cpg

Please if you have access to multiple computers with different versions of IE please try it and see if it works... I think I am going to lose all my hair because of this....argh

Any help would be very much apreciated,

Thanx