Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Better SMF profile integration  (Read 5464 times)

0 Members and 1 Guest are viewing this topic.

nukeworker

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Visit NukeWorker.com
    • Nuclear Jobs
Better SMF profile integration
« 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.

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Better SMF profile integration
« Reply #1 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)
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Better SMF profile integration
« Reply #2 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
Code: [Select]
../forum/index.php?action=profile;u=
[edit]
I made those changes to functions.inc.php on my site and got the desired result.
[/edit]
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Visit NukeWorker.com
    • Nuclear Jobs
Re: Better SMF profile integration
« Reply #3 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...

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Better SMF profile integration
« Reply #4 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
Logged

Percherie

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Better SMF profile integration
« Reply #5 on: July 21, 2004, 04:04:52 pm »

how you integrer your album with SMF has?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Better SMF profile integration
« Reply #6 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 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
Logged

radianation

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 79
    • Radianation
Re: Better SMF profile integration
« Reply #7 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.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Better SMF profile integration
« Reply #8 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.
« Last Edit: August 30, 2004, 05:28:25 am by kegobeer »
Logged
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
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.