1
whiteout
Question About the Extended Profiles Mod in 2.2.3
  • 2006/4/1 9:47

  • whiteout

  • Just popping in

  • Posts: 19

  • Since: 2006/3/12


I am using XOOPS 2.2.3 with the Extended Profiles modules that comes with it. In the email and website fields the info is displayed, but only as plain text, not as a mailto: tag or a link. How can I change it to use these tags?

2
jdseymour
Re: Question About the Extended Profiles Mod in 2.2.3

Make sure you are using the "View Profile" all mailto links should be available there. If you are viewing "Edit Profile" they will be in plain text.

3
whiteout
Re: Question About the Extended Profiles Mod in 2.2.3
  • 2006/4/2 10:35

  • whiteout

  • Just popping in

  • Posts: 19

  • Since: 2006/3/12


Yes, I'm not great at this stuff, but I'm not that bad lol.

Here's what I'm talking about:

Resized Image

As you can see, the fields only contain plain text and not clickable links.

4
whiteout
Re: Question About the Extended Profiles Mod in 2.2.3
  • 2006/4/4 8:53

  • whiteout

  • Just popping in

  • Posts: 19

  • Since: 2006/3/12


No ideas at all?

5
exbanious
Re: Question About the Extended Profiles Mod in 2.2.3
  • 2006/4/4 10:23

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


one way to do this is to edit userinfo.php


for the email find this code:
if ($email != "") {
    
$categories[0]['fields'][] = array('title' => _PROFILE_MA_EMAIL'value' => $email);
    
$weights[0][] = 0;
}



change it to this:
if ($email != "") {
    
$categories[0]['fields'][] = array('title' => _PROFILE_MA_EMAIL'value' => '<a href="mailto:'.$email.'">'.$email);
    
$weights[0][] = 0;
}


as far as adding the link code to the url field... not sure.
sorry.

Login

Who's Online

191 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits