forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Fking on October 12, 2004, 04:45:37 pm

Title: does someone finally solved generaly the logging problem when integrated with vb
Post by: Fking on October 12, 2004, 04:45:37 pm
I was searching the forum, and found many many people with the same problem
they try to integrate cpg1.3 with vb3, but you can't log in cpg, it just redirects to the vb page, you log-in, but still aren't loged in the cpg....

i think few have solved the problems for them, but this does not work for all

can someone post general solution for this problem?
Title: Re: does someone finally solved generaly the logging problem when integrated with vb
Post by: Fking on October 12, 2004, 05:13:48 pm
wow seems like i just found a solution!

if nothing else works (table prefix, cookie prefix, path and etc )
that problem may be in this line
  if (md5($USER_DATA['password'] . VB_CUST_NO) == $bbpassword)

i guess that for some reason it does not compare correct these things
just reaplace this line with something like that which is always true and will execute the if function
like:

  if (1== 1)
Title: Re: does someone finally solved generaly the logging problem when integrated with vb
Post by: Nibbler on October 12, 2004, 07:33:19 pm
Then your license number was probably incorrect. What you have done with that change is to disable password checking completely.