Coppermine - add a button in Forum

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Coppermine - add a button in Forum
real1
CZ Newbie
real1 has been a member for over 20 year's 20 Year Member
portugal.gif
Age: 48
Gender: Male
Website:
Status: Offline
Joined: Oct 15, 2004
0.00 posts per day
Posts: 9
Points: 1,472
   
Hi,i would like to have a button, in my Forum post, that link's to a user's personal gallery on coppermine.

I've been asking in cpg nuke, but they say i have to install cpgnuke or else they don't do support to phpnuke.

I have nuke7.0 my site is [ Register or login to view links on this board. ]

If you can help me, please, in only one of this two requests:

1 - A button in the Forum post, below the signature (where there's a "Send PM" button), that link's to the user's private gallery

OR

2 - A link below the user's Avatar in the Forum post, that links to the user's Private gallery

The coppermine i renamed to portuguese "Álbum de fotografias online!"

Please help with this, Thanks! icon_biggrin.gif

Paulo



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
I have never used the coppermine for "user's private gallery" so I am not sure how it works. What user_id does coppermine use? Do they give you a new one or do they use the nuke one?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Coppermine - add a button in Forum
real1
CZ Newbie
real1 has been a member for over 20 year's 20 Year Member
portugal.gif
Age: 48
Gender: Male
Website:
Status: Offline
Joined: Oct 15, 2004
0.00 posts per day
Posts: 9
Points: 1,472
   
For example see this topic at cpgnuke [ Register or login to view links on this board.]

The user as a "Gallery" button below his signature, that button link's to the user's gallery on coppermine (this user as the nick "djdevon3" so it only goes to "djdevon3" gallery)

that's what im looking for, or only a link under the Avatar (on forum post)



Originally posted by Telli:

What user_id does coppermine use? Do they give you a new one or do they use the nuke one?

The link in the button is
http://www.cpgnuke.com/coppermine/cat=11405.html


thanks! icon_biggrin.gif


Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Right ok it looks like it uses the user_id and adds a 1 before it. What you want to do is edit the viewtopic.php and add the url to the photogallery along with the user_id variable with a 1 in front it. If your not using one of the other buttons just edit that one.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: Coppermine - add a button in Forum
real1
CZ Newbie
real1 has been a member for over 20 year's 20 Year Member
portugal.gif
Age: 48
Gender: Male
Website:
Status: Offline
Joined: Oct 15, 2004
0.00 posts per day
Posts: 9
Points: 1,472
   
Telli, thanks for your help, but i cant change it, i'm a bit begginer at phpnuke! icon_redface.gif
i tried to edit the Yim button link, but it get all messed up!

can you please explain in detail? like step for step ?

Thanks so much for your time.

icon_razz.gif icon_biggrin.gif



Back to top Reply with quote
#6   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Post the code you tryed to alter in here please.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   re: Coppermine - add a button in Forum
real1
CZ Newbie
real1 has been a member for over 20 year's 20 Year Member
portugal.gif
Age: 48
Gender: Male
Website:
Status: Offline
Joined: Oct 15, 2004
0.00 posts per day
Posts: 9
Points: 1,472
   
Hi Telli, here is my mess up! icon_wink.gif

this was inserted down the page, the code is the first lines

                $yim_img = ( $postrow[$i]['user_yim'] ) ? 'http://wolf.alojamentos.org/aikido/modules.php?name=coppermine/cat=1' . $postrow[$i]['user_yim'] . '&amp;.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['GALERIA'] . '" title="' . $lang['GALERIA'] . '" border="0" /></a>' : '';
                $yim = ( $postrow[$i]['user_yim'] ) ? 'http://wolf.alojamentos.org/aikido/modules.php?name=coppermine/cat=1' . $postrow[$i]['user_yim'] . '&amp;.src=pg">' . $lang['GALERIA'] . '</a>' : '';
        }
        else
        {
                $profile_img = '';
                $profile = '';
                $pm_img = '';
                $pm = '';
                $email_img = '';
                $email = '';
                $www_img = '';
                $www = '';
                $icq_status_img = '';
                $icq_img = '';
                $icq = '';
                $aim_img = '';
                $aim = '';
                $msn_img = '';
                $msn = '';
                $yim_img = '';
                $yim = '';

I also changed this ---> $lang['GALERIA'] and inserted the word GALERIA wich means Gallery in portuguese


Back to top Reply with quote
#8   re: Coppermine - add a button in Forum
real1
CZ Newbie
real1 has been a member for over 20 year's 20 Year Member
portugal.gif
Age: 48
Gender: Male
Website:
Status: Offline
Joined: Oct 15, 2004
0.00 posts per day
Posts: 9
Points: 1,472
   
Bump?



Back to top Reply with quote
#9   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Sorry ok can you post the link to the site after you made these changes so I cann see the error please.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#10   re: Coppermine - add a button in Forum
real1
CZ Newbie
real1 has been a member for over 20 year's 20 Year Member
portugal.gif
Age: 48
Gender: Male
Website:
Status: Offline
Joined: Oct 15, 2004
0.00 posts per day
Posts: 9
Points: 1,472
   
Hi telli, i made a backup of my file, so now it's back to normal, im not at home right now.

Here is my site adress, the Forum is in the link on top of the homepage

[ Register or login to view links on this board.]

It all looks normal at this moment, but take a look also at [ Register or login to view links on this board.] ---> This is the coppermine in my website

---> the forum is here: [ Register or login to view links on this board.]

Tanks! CU



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum