We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] URL In Mini Profile
Topic Started: Jan 10 2014, 07:56 PM (307 Views)
its kimi
Member
[ * ]
So I used this code by Cory:
Code:
 
<script type="text/javascript">
$('dl.user_profile dd').each(function () {
$(this).html($(this).html().replace(/\[url=(.+?)\](.+?)\[\/url\]/gi, '<a href="$1" target="_blank">$2</a>').replace(/\[br\]/gi, '<br />'));
});
</script>


And I used the following code in the Custom Profile Field:
Code:
 
[url=URL]Title[/url]


Yet it turns out like this:
Posted Image

Where the first clickable link directs me somewhere on the Zetaboards site, and the second one directs me to the place that I actually would like to be directed to. Anyone know what I've done wrong?
Offline Profile Goto Top
 
Ferby
Member Avatar
Developer
[ *  *  *  *  * ]
Because of the recent ZB update, you'll no longer require this code. ZB now offers a URL option in profile fields which does the same as this code. Try it out :)
Offline Profile Goto Top
 
Moonface
Member Avatar


Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic