![]() |
Custom profile field help
Is it possible to make a profile field a clickable URL ?
I have made some profile fields show up in the postbit_legay and 1 of them is where members can post the URL to their own site, Can i make this clickable ? If so how ? Cheers in advance --------------- Added [DATE]1283885222[/DATE] at [TIME]1283885222[/TIME] --------------- Anyone ? --------------- Added [DATE]1283887203[/DATE] at [TIME]1283887203[/TIME] --------------- Anyone ? |
Anyone help with this ?
Is it possible ? Cheers |
Code:
<a href="{vb:raw post.field21}">{vb:raw post.field21}</a> Let me know how it goes.. |
Where would i enter this ?
I have created a user profile field and made our users fill this in via their account settings This then show in the postbit_legacy But where would i put this code ? cheers |
Post your current code in the postbit_legacy and post what the current output is. Then, tell us what you want the output to look like and we can tell you how to modify your current code to get that.
|
Code:
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}"> |
I'm guessing field5, field9, and field10 are the fields you are talking about? And what do you want the output to look like? Right now you have "{vb:raw post.field5}", so why don't you just put "<a href="link.php">{vb:raw post.field5}</a>" (and why are you editing the template instead of using the template_hook right there?)
|
Many thanks Lynne, You are a god send to vbulletin
They should have a rep system on here But the other fields are just for text only The 1 extra i needed was the only 1 i wanted clickable I am no coder and do not understand most of it, but i try.lol I can use this for 3 mods i have where the link can be clickable as i have 1 in the postbit_legacy, 1 in the signature and 1 in the profile tabs |
All times are GMT. The time now is 11:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|