coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: sql on January 10, 2004, 05:33:46 AM

Title: misleading link in user album
Post by: sql on January 10, 2004, 05:33:46 AM
http://gallery.maiyeuem.net/index.php?cat=1

There are 3 users who upload pix to the site and if you go to that link, scroll down, in the middle, there are three link that exactly the same --> ...cat=10000

you guy know where in the code to fix this??

what did i change to the code??

.. i alter the code that when login,  it will look in the Invisionboard forum's member table in the database .. and everywhere ...  it will look member info in db, it will look the invb's member table.

Thank you for your help.
btw, i using v1.2
Title: misleading link in user album
Post by: Joachim Müller on January 10, 2004, 11:45:37 AM
do you use the bridge files or did you modify the code of login.php?
Currently, it seems to me you're using login.php that comes with coppermine (you can't just specify some other user table in the db, there's more to authentification.
Actually, it seems you have over-modified the code where you shouldn't have, the navigation inside user galleries doesn't show up at all.
As it's dificult to say what you did, it's rather impossible to help.

GauGau
Title: misleading link in user album
Post by: sql on January 10, 2004, 10:47:43 PM
.. yeah ..i modified the code in login.php and some other pages that do the queries to members table (invb members table) .. so it impossible to fix this ??  :(
Title: misleading link in user album
Post by: Joachim Müller on January 11, 2004, 12:45:58 AM
as we can't know what you modified we can't give support on this - you should have done it the recommended way (using a bridge file) - this will also make upgrading to future versions of coppermine much easier.

I guess you have two options:
Title: misleading link in user album
Post by: sql on January 11, 2004, 03:49:59 AM
the reason i did not use the bridge file because the forum is in forum.domain.com and coppermine is in gallery.domain.com :)

heeehe  :D .. it's ok though .. i'll see what i can do,

Thank,  :roll: