Triky
03-25-2007, 10:00 PM
[Monkey's Works] - User Profile Web Page
By Triky - Web City (http://www.web-city.it/forum/)
Hi there, monkeys! This template mod extend the standard vB users page field. This also require a new users field.
Ok, let's start with the modification!
Preview:
User Web Site in Profile [Preview] (https://vborg.vbsupport.ru/attachment.php?attachmentid=62327&stc=1&d=1174915609)
Modification:
Create a new field!
(AdminCp -> User Profile Fields -> Add New!)
Multiple Line Text Box
Title: Your Web Site Description
Description: Your web site description:
Display Page: Edit ProfileSave it.
(Remember the field number)
Note -> (1) and (2): Why? Oh, check this post (https://vborg.vbsupport.ru/showpost.php?p=1212770&postcount=3)!
1)------------------------------------------
Now replace the MEMBERINFO entire template code with this:
Download It! (https://vborg.vbsupport.ru/attachment.php?attachmentid=62329&stc=1&d=1174927429)
(Select all the code, and then copy it into your MEMBERINFO template)
Into the code, search for:
<strong>Description</strong>:<br />
$post[fieldX]And replace the X with your filed number.
------------------------------------------
2)------------------------------------------
In your MEMBERINFO template find:
<if condition="$show['homepage']">
<tr>
<td>
$vbphrase[home_page]:<br />
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
</if>
Delete it.
Now search for:
<td>$userinfo[skypeicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
</tr>
</if>
</if>
</table>
</fieldset>Below, add:
<!-- User Home Page Table -->
<if condition="$show['homepage']">
<fieldset class="fieldset">
<legend>$userinfo[username]'s Web Site Info</legend>
<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<strong>$vbphrase[home_page]</strong>:<br />
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
<tr>
<td>
<strong>Description</strong>:<br />
$post[field6]
</td>
</tr>
<tr>
<td>
<strong>Site Preview</strong>:<br /><br />
<a href="$userinfo[homepage]" target="_blank" alt="$userinfo[homepage]" dir="ltr"><img src="http://open.thumbshots.org/image.pxf?url=$userinfo[homepage]" /></a>
<br />
<p style="font-size:85%">(<a href="http://www.thumbshots.com" target="_blank" title="About Thumbshots Thumbnails!">Thumbnail provided by Thumbshots</a>)<br />
(If nothing shows up, then the requested URL is not listed)</p>
</td>
</tr>
</table>
</div>
</if>
</fieldset>
<!-- / User Home Page Table -->
Into the code above, search for:
<strong>Description</strong>:<br />
$post[fieldX]And replace the X with your filed number.
------------------------------------------
Done! :)
I hope you like it.
<!-- ------------------------------[Monkey's Works] - vBulletin.org Archive Releases---------------------------- -->
Thread simple Navbar below QuickReply (https://vborg.vbsupport.ru/showthread.php?t=142589) | Text Editor Toolbar Background (https://vborg.vbsupport.ru/showthread.php?t=142641)
<!-- / ----------------------------[Monkey's Works] - vBulletin.org Archive Releases---------------------------- -->
All the Best,
Triky
Monkey's Work - Web City Forum Online
http://www.web-city.it/
By Triky - Web City (http://www.web-city.it/forum/)
Hi there, monkeys! This template mod extend the standard vB users page field. This also require a new users field.
Ok, let's start with the modification!
Preview:
User Web Site in Profile [Preview] (https://vborg.vbsupport.ru/attachment.php?attachmentid=62327&stc=1&d=1174915609)
Modification:
Create a new field!
(AdminCp -> User Profile Fields -> Add New!)
Multiple Line Text Box
Title: Your Web Site Description
Description: Your web site description:
Display Page: Edit ProfileSave it.
(Remember the field number)
Note -> (1) and (2): Why? Oh, check this post (https://vborg.vbsupport.ru/showpost.php?p=1212770&postcount=3)!
1)------------------------------------------
Now replace the MEMBERINFO entire template code with this:
Download It! (https://vborg.vbsupport.ru/attachment.php?attachmentid=62329&stc=1&d=1174927429)
(Select all the code, and then copy it into your MEMBERINFO template)
Into the code, search for:
<strong>Description</strong>:<br />
$post[fieldX]And replace the X with your filed number.
------------------------------------------
2)------------------------------------------
In your MEMBERINFO template find:
<if condition="$show['homepage']">
<tr>
<td>
$vbphrase[home_page]:<br />
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
</if>
Delete it.
Now search for:
<td>$userinfo[skypeicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
</tr>
</if>
</if>
</table>
</fieldset>Below, add:
<!-- User Home Page Table -->
<if condition="$show['homepage']">
<fieldset class="fieldset">
<legend>$userinfo[username]'s Web Site Info</legend>
<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<strong>$vbphrase[home_page]</strong>:<br />
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
<tr>
<td>
<strong>Description</strong>:<br />
$post[field6]
</td>
</tr>
<tr>
<td>
<strong>Site Preview</strong>:<br /><br />
<a href="$userinfo[homepage]" target="_blank" alt="$userinfo[homepage]" dir="ltr"><img src="http://open.thumbshots.org/image.pxf?url=$userinfo[homepage]" /></a>
<br />
<p style="font-size:85%">(<a href="http://www.thumbshots.com" target="_blank" title="About Thumbshots Thumbnails!">Thumbnail provided by Thumbshots</a>)<br />
(If nothing shows up, then the requested URL is not listed)</p>
</td>
</tr>
</table>
</div>
</if>
</fieldset>
<!-- / User Home Page Table -->
Into the code above, search for:
<strong>Description</strong>:<br />
$post[fieldX]And replace the X with your filed number.
------------------------------------------
Done! :)
I hope you like it.
<!-- ------------------------------[Monkey's Works] - vBulletin.org Archive Releases---------------------------- -->
Thread simple Navbar below QuickReply (https://vborg.vbsupport.ru/showthread.php?t=142589) | Text Editor Toolbar Background (https://vborg.vbsupport.ru/showthread.php?t=142641)
<!-- / ----------------------------[Monkey's Works] - vBulletin.org Archive Releases---------------------------- -->
All the Best,
Triky
Monkey's Work - Web City Forum Online
http://www.web-city.it/