i changed the following line in
includes/function.inc
$caption .= ($row['owner_id'] && $row['owner_name']) ? '<span class="thumb_title"><a href ="profile.php?uid='.$row['owner_id'].'">'.$row['owner_name'].'</a></span>' : '';
to
$caption .= ($row['owner_id'] && $row['owner_name']) ? '<span class="thumb_title">Posted by: <a href ="http://www.mastimagic.org/board/profile.php?mode=viewprofile&u='.$row['owner_id'].'">'.$row['owner_name'].'</a></span>' : '';
theres just one problem with the method above ...
when installing phpbb the first user that gets registered is Anonymous and
when installing coppermine the first user is the user name that we specify on installation
now when i cliked on my username in copper mine it took me to the profile of the first user thats Anonymous Undecided not my id
Pakistani1
the id number for Pakistani1 on coppermine is 1 and on phpbb is 2 ..
the above changes take me to the following link
me to the following link
http://www.mastimagic.org/board/profile.php?mode=viewprofile&u=1
it should take me to the following link
http://www.mastimagic.org/board/profile.php?mode=viewprofile&u=2
phpbb version 2.0.22
mxBB-Portal 2.7.7
Site name www.mastimagic.org
clik on the Gallery link from the portal page to go to coppermine
Please clarify what the bug is here.
Pakistani1 is refering to a customization request where I have come up with some code suggestion (see thread "PHPBB Integration Link to Profile (http://forum.coppermine-gallery.net/index.php?topic=44088.0)"). Clearly not a bug, but a PEBCAK issue. Shouting "bug" is just ignorant/invalid and will make supporters reluctant to look into your issues...
what should i do so that when i click on the link it should take me to the 2nd profile not first profile
Actual link to gallery: http://www.mastimagic.org/coppermine/index.php
Try arithmetics: $row['owner_id']+1 might solve your issue.
thanx for that i did another thing to solve the issue .. i reinstalled coppermine with another id first ...
then registered Pakistani1 as another id .. and then did the integration and now it works fine ..
thanx for all the help