Hello everyone, just wondering if it is just me having this problem or if others are experiencing the same bug.
When a user is logged in, and clicks the "My Profile" link, it is bringing them directly to my member listing page not their profile. When I mouse over, this is the link it displays; (../gallery/profile.php?op=edit_profile) , however, after clicking, it takes them to this URL; (../boards/memberlist.php?mode=viewprofile)
Any idea on what is causing it to go the member listing on the BBS as opposed to the users profile page?
Thanks in advance.
Chris
I just went back in and the link that gets displayed in phpBB to display the users profile should be; (.../boards/profile.php?mode=viewprofile) however CM is defaulting it to (../boards/memberlist.php?mode=viewprofile).
Any thoughts?
Chris
You can easily adjust the link, take a look at the bridge file.
search for :
// Pages to redirect to
$this->page = array(
'register' => '/ucp.php?mode=register',
'editusers' => '/memberlist.php',
'edituserprofile' => "/memberlist.php?mode=viewprofile&u=",
);
replace edituserprofile with:
'edituserprofile' => "/profile.php?op=edit_profile&u=",
Thanks xplicit,
Any idea on what page that code is on?
Alta.
Either bridge/phpbb.inc.php or bridge/php2018.inc.php depending on what version you are running.
Nevermind, I think I found it, 'coppermine.inc.php'
Alta.
ok that didn't work, I changed them all one at a time and tested. The one that made any difference was 'bridge/phpbb.inc.php' however, once I update it, all it did was redirect to the main index page of PhpBB not the users page.
Any thoughts?
Chris
ok guys, played with it for a bit, this is what I came up with;
Supplied code by xplicit;
'edituserprofile' => "/profile.php?op=edit_profile&u=",
That one didn't work. It just took me to the main index page of the boards.
Then I changed it to the following;
'edituserprofile' => "/profile.php?mode=viewprofile&u=",
Now it brings me to the users profile page on phpBB. However, this doesn't allow users to Edit their profiles. Just view them. Not too sure if this is the right operation or not of the button in coppermine, perhaps one of you can let me know if this is the right operation for the button purpose in a bridged CM gallery?
I am no PHP wiz at all, just trying to take make it work, so if what I have above looks wrong, please do not hesitate to let me know.
Chris
Hmm. Should it be taking users to their profile page in coppermine or the phpbb profile page? Something is telling me it should be the profile page in coppermine, can anyone confirm this for me?
Thank you.
Chris