How to show users website linked in the profile? How to show users website linked in the profile?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How to show users website linked in the profile?

Started by Hagane, December 17, 2007, 07:04:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hagane

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!

Hagane

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! :)

Nibbler

Look for the second occurrence of

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

and change it to

'user_profile3' => make_clickable($user_data['user_profile3']),

Hagane

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! ^_^