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: ad a butoon to comments  (Read 3626 times)

0 Members and 1 Guest are viewing this topic.

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
ad a butoon to comments
« on: September 11, 2006, 02:06:34 am »

Hello,

I would like to be able to add a (show me all users work) button.

which basically will, when you recieve a comment u will be able to click on this button and see all of the work uploaded by the person who left the comment.

So first I will need to know how to place any old link in the comment bar.

then I will need to know how to grab the user id of the current commentor.

Then I can stick that user id on the end of this:

http://www.amateurillustrator.com/galleries/thumbnails.php?album=lastupby&uid=

Any help on how to do this would be much apreciated.

All the best, Nick
« Last Edit: September 11, 2006, 06:25:16 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: ad a butoon to comments
« Reply #1 on: September 11, 2006, 07:31:48 am »

Asking for support on a board that is clearly labelled "General discussion (no support!)" is not a bright idea. You're running cpg1.4.8, so I'm moving your thread accordingly. In the future, please respect board rules.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: ad a butoon to comments
« Reply #2 on: September 11, 2006, 07:36:03 am »

What I did in the modpack was making the username next to comments clickable. That click opens that users profile -> voilà

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
Re: ad a butoon to comments
« Reply #3 on: September 11, 2006, 01:15:27 pm »

sorry GauGau, I kinda looked at where to put it, I thought the best place would be under Mods --> Comments, but that section seems to be locked to any new posts, so I stuck it in general.

But ah well another Karma point down, you are too kind :)

not sure what you mean by the modpack but I'll do a little search first...I am bridged so not sure how it will work with me trying to open their profile...but I'll give it a shot.
Logged

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
Re: ad a butoon to comments
« Reply #4 on: September 11, 2006, 01:53:09 pm »

cool, your modpack looks great, I'll give it a try today...I like the comments notification system too...I'll see if I can get that working as well.

Cheers

Nick
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.