PDA

View Full Version : [Monkey's Works] - User Profile Web Page


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/

oldfan
03-26-2007, 02:55 PM
Very useful, thanks

I've got other mods in my MEMBERINFO template, I really don't wanna replace the whole thing.

bashy
03-26-2007, 03:06 PM
Yes, i would assume many have a modified memberinfo already, please could you supply the edits?

Triky
03-26-2007, 03:27 PM
Ok, guys. Give me a second.. I will update the first post.

Triky
03-26-2007, 03:48 PM
Done. :)
Check the first post.

Triky
03-28-2007, 09:09 AM
Nobody else? ^___^

Gizmo5h1t3
03-28-2007, 11:21 AM
installed, but if thumbshots doesnt list your site, then the thumbnail image dont show up

Triky
03-28-2007, 11:29 AM
Yes, this is the only problem.

Gizmo5h1t3
03-28-2007, 11:41 AM
....and u gotta wonder how many vb sites are listed on that site....

in which case, havin it as an added graphical tweak in your profile is a bit of a waste of time...lol
unless that is, your fav site is one other than a vb site.

good idea tho...