coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Hagane on December 17, 2007, 07:04:26 AM

Title: How to show users website linked in the profile?
Post by: Hagane on December 17, 2007, 07:04:26 AM
Hello everyone! :)
First of all, I'd like to thank the Coppermine developers, since I'm using it from a few days and it works like a charm!
Second, I have a small problem... I searched in all the Forum but I cannot find an answer, I think this could be the right section for posting my question.
When I open the profile of a registered user that provided his website url, I can read for example: "Website: http://www.websiteurl", but it's displayed as a simple text, not as a link.
So I'd simply like to know if it's possible to have the website linked in profiles.
I guess I should edit the profile.php file, but I don't know where and how... there are only a few lines of code that I understand.
Could you please help me or give me some hints/suggestions?
Thanks anyway! ;)
Bye!
Title: Re: How to show users website linked in the profile?
Post by: Hagane on December 18, 2007, 10:19:20 PM
Did I ask something stupid or unsolvable, or that requires too much time? ???
Or maybe my post was too much confused?
If so, please let me know.
Have a nice day! :)
Title: Re: How to show users website linked in the profile?
Post by: Nibbler on December 19, 2007, 12:10:27 AM
Look for the second occurrence of

'user_profile3' => $user_data['user_profile3'],

and change it to

'user_profile3' => make_clickable($user_data['user_profile3']),
Title: Re: How to show users website linked in the profile?
Post by: Hagane on December 19, 2007, 02:06:20 AM
Thank you so much!
It worked perfectly, the link became clickable.
I'm so happy, my gallery is perfect now. :D
Thanks a lot again, have a great day! ^_^