The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding more fields for Homepage URL?
I'd like my members to be able to list their websites on their profile pages that are hyperlinked.
A similiar field like the profile field Homepage URL. Example: My Websites Website 1 Website 1 Website 1 Website 1 How can I implement this? Is it possible for the links to have anchor text? If you could provide the exact code to replace/add I'd appreciate it as I'm editing challenged. |
#2
|
|||
|
|||
Question originally posted from http://www.vbulletin.com/forum/showthread.php?t=228240
Just edit two templates and repeat the information template = modifyprofile = phrase = home_page_url template = MEMBERINFO = phrase = home_page Find in red and repeat in template: modifyprofile Attachment 63789 Code:
<fieldset class="fieldset"> <legend><label for="tb_homepage">$vbphrase[home_page_url]</label></legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td>$vbphrase[let_other_visitors_know_url]</td> </tr> <tr> <td>$vbphrase[home_page_url]<br /><input type="text" class="bginput" name="homepage" id="tb_homepage" value="$bbuserinfo[homepage]" size="50" maxlength="200" dir="ltr" /></td> </tr> </table> </fieldset> Find in red and repeat in template: MEMBERINFO Attachment 63790 Code:
<if condition="$show['homepage']"> <tr> <td> $vbphrase[home_page]:<br /> <a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a> </td> </tr> |
#3
|
|||
|
|||
Ok, I think I followed the directions. However, when i entered different urls, they didn't change in the profile.
It just used the 1st url as the 2 others. |
#4
|
|||
|
|||
Doh! I hate doing things on the fly.. You have another option is
Admin CP => User Profile Fields => Add New User Profile Field |
#5
|
|||
|
|||
Quote:
Hmm.. |
#6
|
|||
|
|||
Have not used this, but you can ask the coder if it works on custom fields
https://vborg.vbsupport.ru/showthread.php?t=120833 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|