![]() |
Homepage Thumbnail Preview in Member's Profile
******************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']"> Then find this:- Code:
<dl class="list_no_decoration" id="additional_contact_details"> And add above:- Code:
<!-- Homepage preview begins here --> 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/ ************************************************** ************************* ************************************************** ************************* |
hey this could be good thanks ;)
|
oh yess.. it is.. i hope you like it sir !!
|
Thanks it's interesting addon. Works ok. :)
|
oh yess.. thumbnail queue process would happen for just a minute or two and only once for a particular website!!!!
as the images then get cached onto their server !! |
just check it after few minutes.. and should be done !!
|
Nice and should be able to be applied to 3.6.8 PL2 as well
Thanx for the sharing! Jacquii. |
Quote:
|
Nice. Tagged fpr later.
|
Works great
|
You can use this and won't need to register anywhere,
Code:
<if condition="$prepared['homepage']"> |
Quote:
But the service of thumbshots.org is lacking in the following way:-
|
Switched to Shrinktheweb.com and Iagree it is indeed a better service,Thanks Vinayak :up:
|
glad to know you liked it unitedpunjab !! :)
|
Image quality on STW is also better than thumbshots.org.
Thanks for the code! |
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.
|
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 !!! |
Not bad at all.
|
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 |
well... this works for domains and sub-domains only like:-
edit: problem fixed |
ok - thank you. Super nice anyway... :)
|
Hey BWZ, found a solution for your problem !!...
Replace the <a href>.... </a> tag with this:- Code:
<a href="$prepared[homepage]" target="_blank"><img src="http://www.shrinktheweb.com/xino.php?embed=1&u=Your Secret Access Key&STWAccessKeyId=Your Access Key ID&inside=1&Size=lg&Url=$prepared[homepage]" width="175" height="125" align="left" border="0" style="border: 3px double #e3e3e3" alt="$prepared[username]'s Homepage" /></a> |
I just noticed that it was updated today. what changes took place?
|
Quote:
|
Quote:
|
glad you liked it BWJ !! and thanks for pointing out this problem.. I did not thought of it !! ;)
|
if in any case.. you face some troubles like getting error messages saying Thumbnail Queued for a long time, simply remove $inside=1 from the img tag.
|
you can also use the SNAP SHOTS ;)
|
SNAP SHOTS is quite different from STW..
It displays a preview of the URL on mouse hover whereas STW embeds the preview image of the URL. Both the services are unique !! and too good !... :up: |
IMPORTANT NOTE:-
okayyy.... so I just got to know.. that $inside=1 that enables capturing screens of inside URL's like http://www.domain.com/website/ OR http://www.domain.com/website/file.html is a Pro feature BUT is currently free till June 5th, 2008 after which you'll have to remove $inside=1 as it won't work anymore from then onwards for free. This means that URL's to DOMAINS/SUBDOMAINS would work fine and will remain free forever. |
What is the cost?
|
you may check it here
|
According to that it's free. Up to 250K requests per month.
|
yes... it is.. but not the INSIDE URL's feature ($inside=1)
This is the quote from the email I received from CEO of STW:- Quote:
UPDATE:- I have reverted the mod. back to 1.00 Only $inside=1 is removed from the IMG tag. |
Okay. Thank you. That chart is not laid out properly.
|
I'd like to make a suggestion.
Any way to have a popup dialog box ask the user if they'd like to submit their link into the links directory as well? Pressing yes would take them to the submit a link page on vbadvanced links directory. It would be really nice if the fields were already filled in based on what they filled out in the usercp. |
a fantastic addon. Thanks a lot :D
|
Thank you works great! :up:
Would it be possible to integrate this into the member list? I would like to show a thumbnail image of the URL instead of the WWW button. Thanks again |
won't be tough .. just requiring a simple edit of the memberlist_resultsbit template
find this:- Code:
<a href="$userinfo[homepage]" target="_blank"><img src="$stylevar[imgdir_button]/home.gif" alt="home.gif" title="<phrase 1="$userinfo[username]">$vbphrase[visit_xs_homepage]</phrase>" border="0" /></a> |
I've installed this but the website image says "invalid credentials"?
"Your Secret Access Key" - I used the long code it gave me. "Your Access Key ID" - I used my username What have I done wrong? :S |
All times are GMT. The time now is 05:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|