Back to vBulletin 3.8 Template Modifications

Homepage Thumbnail Preview in Member's Profile
Mod Version: 1.6, by veenuisthebest

vB Version: 3.8.x Rating: (2 votes - 5.00 average) Installs: 23
Released: 24 Feb 2009 Last Update: Never Downloads: 1
Not Supported Template Edits External Content  

******************veenuisthebest******************
*****************Visit http://www.tech6.com****************

Homepage Thumbnail Preview in Member's Profile

Difficulty: Very Easy

Q. What does it do ??

A. If a user fills in the Homepage field, a linked thumbnail preview is generated and replaced by his Homepage text link.

Q. Do I need this ??

A. Yes.

Q. Does it work in different browsers ??

A. Tested in IE, Firefox and Chrome. Works perfect !!

Q. vBulletin Versions ??

A. Works in 3.7.x and 3.8.x

Template Edit: 1
Member Info Templates/memberinfo_block_contactinfo

PLEASE NOTE:- This is not actually a product but a service by http://www.shrinktheweb.com. You must http://www.shrinktheweb.com/index.php?view=join before using this as they provide you with a unique key ID that you have to enter in the code below. Its worth registering !! Its 100% free. As they say, the thumbnails are refreshed monthly.

Begins here:-

1. First http://www.shrinktheweb.com/index.php?view=join at http://www.shrinktheweb.com and note Your Access Key ID from http://www.shrinktheweb.com/index.php?view=lobby.

2. Open memberinfo_block_contactinfo template:-

Find and delete this:-

Code:
<if condition="$prepared['homepage']">
    <dt class="shade">$vbphrase[home_page]</dt>
        <dd><a href="$prepared[homepage]" target="_blank">$prepared[homepage]</a></dd>
    </if>


Then find this:-

Code:
<dl class="list_no_decoration" id="additional_contact_details">


And add above:-


Code:
<!-- Homepage preview begins here -->
<if condition="$prepared['homepage']">
    <fieldset>
<legend>$vbphrase[home_page] of $prepared[username] (<a href="$prepared[homepage]" target="_blank">$prepared[homepage]</a>)</legend>
<div class="fieldset_padding floatcontainer">
<ul class="list_no_decoration">
<li><a href="$prepared[homepage]" target="_blank"><img src="http://www.shrinktheweb.com/xino.php?embed=1&amp;STWAccessKeyId=Your Access Key ID&amp;Size=lg&amp;stwUrl=$prepared[homepage]" width="175" height="125" align="left" border="0" style="border: 3px double #e3e3e3" alt="$prepared[username]'s Homepage" /></a></li>
</ul></div></fieldset>
    </if>
<!-- /Homepage -->

You'll have to enter Your Access Key ID within the IMG tag in the above code.


You may edit the above code according to your requirements like setting the width, height, border color, Size=lg for large and sm for small.

Hope you like this sweet little mod, very simple but really useful and cool. I am sure, you are definitely going to use this..

Pleaseee if you find it useful !!

Critical Changes in 1.5:-
1. XHTML valid now.
2. STW has announced changes in URL parameters that would be mandatory soon:-
u -> stwu
Url -> stwUrl

Change in 1.6:-
1. You do not need "Your Secret Access Key" in the URL anymore. It will work with/without it, but removing it is preferred, as now it makes sense of it being "secret". SO, just &amp;stwu=Secret Key has been removed from the code.


Source: http://tech6.com/f51/homepage-thumbnail-preview-members-profile-t587/

***************************************************************************
***************************************************************************

Download

No files for download.

Screenshots

Click image for larger version
Name:	preview.JPG
Views:	925
Size:	64.4 KB
ID:	95427  

Similar Mods

Profile Enhancements Homepage Thumbnail Preview in Member's Profile vBulletin 3.7 Template Modifications
Profile Enhancements Pop-Up Warning Before Visiting Member's Homepage vBulletin 3.6 Template Modifications
Thumbshots - Thumbnail of your homepage vBulletin 3.5 Template Modifications
'Hide' member's Homepage URL vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024