coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: nukeworker on July 07, 2004, 04:14:02 PM

Title: Better SMF profile integration
Post by: nukeworker on July 07, 2004, 04:14:02 PM
I have CPG 1.3 with the SMF (Beta 6) bridge.

When a person clicks on a users name in the gallery, it takes them to a cpg profile page (Which is barren).  I think it should take them to the forum profile page (Which is not barren).

I would like to know where to change the software to do this.  

Basically, I neet the link to go here: http://www.nukeworker.com/forum/index.php?action=profile;u=2730

Instead of here: http://www.nukeworker.com/pictures/profile.php?uid=2730

Further down the list would be integration of some links into the SMF profile that shows that users latest uploads, and personal gallery, if one exhists.

I think CPG is a great piece of software, and I would love to see it integrated more with SMF.
Title: Re: Better SMF profile integration
Post by: Casper on July 07, 2004, 10:31:16 PM
I agree, a combining of the 2 would be ideal.  I asked on the SMF forum some time ago, how to link the users pics to the SMF user profile, and that is fairly easy.  It should also be easy to redirect to the SMF user profile from coppermine.  I'll look into it, although Jack would be the best person to do this, I expect.

SMF beta 6 is not available to us without payment to become a charter member, so I can only look into beta5.
Also, I will only look into the bridge file supplied with coppermine, not the SMF version, which I believe is also only available to charter members.  (I beleive Jack wrote that as well, so it should be similar, if not identical)
Title: Re: Better SMF profile integration
Post by: kegobeer on July 07, 2004, 11:04:18 PM
@nukeworker: A quick search of coppermine shows profile.php?uid= in a bunch of files.  I think most of what you want is in functions.inc.php, however.  The quick way would be to replace every profile.php?uid= with something like
../forum/index.php?action=profile;u=

[edit]
I made those changes to functions.inc.php on my site and got the desired result.
[/edit]
Title: Re: Better SMF profile integration
Post by: nukeworker on July 08, 2004, 01:29:38 AM
That worked with the following additions:

I changed the suggested file, "displayimage.php" , "usermgr.php" and my "theme.php"

NOW everything is grand...

Title: Re: Better SMF profile integration
Post by: Joachim Müller on July 08, 2004, 07:17:25 AM
suggestion to Jack or Casper: let's add some vars to the bridge files (at least the ones we know the bbs) that stores the relative path inside the bbs to the profile page, the memberlist page etc. and incorporate this into coppermine.

GauGau
Title: Re: Better SMF profile integration
Post by: Percherie on July 21, 2004, 04:04:52 PM
how you integrer your album with SMF has?
Title: Re: Better SMF profile integration
Post by: Joachim Müller on July 21, 2004, 04:44:21 PM
@Percherie: I don't understand your question - this may be a language issue. Anyway, you have posted on another thread (http://forum.coppermine-gallery.net/index.php?topic=8147.0) as well. Make sure not to double-post nor cross-post. If your question here is not related to the one you posted on the other thread, describe in more details what your actual problem is.

GauGau
Title: Re: Better SMF profile integration
Post by: radianation on August 30, 2004, 12:54:02 AM
Any update on whether or not this feature will be added to SMF bridge instead of manually editing the files? Just curious.
Title: Re: Better SMF profile integration
Post by: kegobeer on August 30, 2004, 04:11:50 AM
I just finished making changes for the profile variable, but haven't tested it yet.  Also haven't done anything for the memberlist variable yet.

Should be available as a mod in a few days, maybe earlier.


1.3.2 already has this.