Better SMF profile integration Better SMF profile integration
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Better SMF profile integration

Started by nukeworker, July 07, 2004, 04:14:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nukeworker

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.

Casper

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)
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

kegobeer

@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]
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

nukeworker

#3
That worked with the following additions:

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

NOW everything is grand...


Joachim Müller

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

Percherie

how you integrer your album with SMF has?

Joachim Müller

@Percherie: I don't understand your question - this may be a language issue. Anyway, you have posted on another thread 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

radianation

Any update on whether or not this feature will be added to SMF bridge instead of manually editing the files? Just curious.

kegobeer

#8
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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots