The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Homepage Thumbnail Preview in Member's Profile Details »» | |||||||||||||||||||||||||||
Homepage Thumbnail Preview in Member's Profile
Developer Last Online: Nov 2023
******************veenuisthebest******************
*****************Visit 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 !! Template Edit: 1 Member Info Templates/memberinfo_block_contactinfo PLEASE NOTE:- This is not actually a product but a service by www.shrinktheweb.com. You must register 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 register at www.shrinktheweb.com and note Your Access Key ID from STW 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&STWAccessKeyId=Your Access Key ID&Size=lg&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 MARK AS INSTALLED 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 &stwu=Secret Key has been removed from the code. Source: http://tech6.com/f51/homepage-thumbn...-profile-t587/ ************************************************** ************************* ************************************************** ************************* Show Your Support
|
Comments |
#12
|
|||
|
|||
You can use this and won't need to register anywhere,
Code:
<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"> <a href="$prepared[homepage]" target="_blank"><img src="http://open.thumbshots.org/image.pxf?url=$prepared[homepage]" width="120" height="90" align="left" border="0" style="border: 3px double #e3e3e3" alt="$prepared[username]'s Homepage" /></a> </ul></div></fieldset> </if> |
#13
|
||||
|
||||
Quote:
But the service of thumbshots.org is lacking in the following way:-
|
#14
|
|||
|
|||
Switched to Shrinktheweb.com and Iagree it is indeed a better service,Thanks Vinayak :up:
|
#15
|
||||
|
||||
glad to know you liked it unitedpunjab !!
|
#16
|
|||
|
|||
Image quality on STW is also better than thumbshots.org.
Thanks for the code! |
#17
|
|||
|
|||
Does look very good, but does this have any problems with members that enter in their homepage without the http:// or without the www etc. because i've seen past ones do some funny things when they leave out that.
|
#18
|
||||
|
||||
this one's got no problem sir and by the way.. this problem has nothing to do with this mod, homepage field is handled/validated by vB and not by this mod.
and plzzzzz, do not forget to mark as installed !!! |
#19
|
||||
|
||||
Not bad at all.
|
#20
|
|||
|
|||
Super nice!
It works perfectly... but do you know what to with the following. Example: www.domain.com/website Some users have their website as a subpage for another domain which is not their own. What is showed is the thumbnail for www.domain.com |
#21
|
||||
|
||||
well... this works for domains and sub-domains only like:-
edit: problem fixed |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|