View Full Version : Here's an Easy One - Links on Member Profile
October 27th, 2010, 10:53 AM
I want the icq, aim, yahoo etc fields on the Member Profile to return links like the home page field does. I went through the member template and php looking for how it was done to the home page field (so I could duplicate the method on the other fields) and couldn't find it....
October 27th, 2010, 12:15 PM
what do you really mean here about links. A home page is a url thats why it is a link.
So there really is not an easy thing for what your saying. You see when we parse the homepage link we look say a url and urls are clickable as they should be.
You can not make a yahoo id a url link because it is not. Do you understand what I mean here.
October 27th, 2010, 01:02 PM
Yeah, I know yahoo isn't a *link* - I got rid of the icq, yahoo, and aim labels because they're not relevant to our community - changed them to facebook, twitter, and something else... things that have links.
Its ok if they can't be easily changed into links. At least they can cut and paste.
I was hoping it was just a little code copying from what is done to the home page field...
October 27th, 2010, 01:34 PM
well I really cant comment on code hacking to any large extent since it is not supported but you would need to try and possibly find the code below in member.php
$interests = convert_returns(convert_markups($interests));
$bio = convert_returns(convert_markups($bio));
You could try adding below lines like this
$icq = convert_markups($icq);
$aim = convert_markups($aim);
$yahoo = convert_markups($yahoo);
October 27th, 2010, 02:03 PM
I see where its going... thank you so much :)
I went live today. The users LOVE it. So far nothing but compliments on your product.
October 27th, 2010, 02:25 PM
okay enjoy glad to help
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.