coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: IIIBradIII on March 20, 2008, 07:50:44 PM

Title: [Solved]: Possible to have CPG profiles work the way they did in 1.3.x?
Post by: IIIBradIII on March 20, 2008, 07:50:44 PM
Back when we ran 1.3.x we could use use the CPG user profiles (where things like most recent uploads and comments were), but now on the 1.4.x platform the profile.php page always redirects to the forum profile.  Is there a way to get that functionality back?

Thank you!
Title: Re: Possible to have CPG profiles work the way they did in 1.3.x?
Post by: Nibbler on March 20, 2008, 08:12:12 PM
IPB right?

Edit the bridge file, look for


function logout_page()
{
$this->redirect("/index.php?act=Login&CODE=03");
}


add after that


function view_profile() {}


Which will revert to Coppermine's profile page, which may or may not work.
Title: Re: Possible to have CPG profiles work the way they did in 1.3.x?
Post by: IIIBradIII on March 20, 2008, 09:32:47 PM
Bingo!  Worked great, except there are no longer any of the previous features (latest uploads, latest comments, etc).  Were these removed altogether in 1.4 or will they just not show up in bridged mode anymore?  These used to work in 1.3.x.

And yes, IPB - I should have mentioned that!
Title: Re: Possible to have CPG profiles work the way they did in 1.3.x?
Post by: Nibbler on March 20, 2008, 09:42:48 PM
Looks ok to me. Make sure you are looking at someone who actually has pictures and/or comments.
Title: Re: Possible to have CPG profiles work the way they did in 1.3.x?
Post by: IIIBradIII on March 20, 2008, 09:56:59 PM
Ahh that was it - he had uploads but they were not yet approved.

Thanks for the swift help - you guys should consider reinstating that feature or making it an option.  My members weren't at all happy about its demise!  ;D