vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Profile Enhancements - Homepage Thumbnail Preview in Member's Profile (https://vborg.vbsupport.ru/showthread.php?t=178530)

unitedpunjab 05-08-2008 07:57 PM

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>


veenuisthebest 05-08-2008 08:34 PM

Quote:

Originally Posted by unitedpunjab (Post 1513030)
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>


this has already been posted here, thanks anyway
But the service of thumbshots.org is lacking in the following way:-
  • They are lacking in browser compatibility as discussed here.
  • I have just applied your thumbshots.org code on my testboard, and its over 15 minutes, my thumbnail isn't updated its still showing this. Shrinktheweb.com takes not more than 1-2 minutes for thumbnail generation:-
  • I find shrinktheweb.com's service to be better than the two after checking/testing them both.

unitedpunjab 05-09-2008 12:22 AM

Switched to Shrinktheweb.com and Iagree it is indeed a better service,Thanks Vinayak :up:

veenuisthebest 05-09-2008 01:08 AM

glad to know you liked it unitedpunjab !! :)

dancue 05-09-2008 02:50 AM

Image quality on STW is also better than thumbshots.org.

Thanks for the code!

Hornstar 05-09-2008 08:58 PM

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.

veenuisthebest 05-09-2008 09:15 PM

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.
  • Have checked just now with/without http:// , no problem occurs.
  • However, if a user does not write WWW, vB doesn't save the URL..
SOO, no chances of problems !! :)

and plzzzzz, do not forget to mark as installed !!!

Big Boss 05-10-2008 01:18 PM

Not bad at all.

BWJ 05-10-2008 09:35 PM

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

veenuisthebest 05-10-2008 11:48 PM

well... this works for domains and sub-domains only like:-

edit: problem fixed


All times are GMT. The time now is 02:54 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
  • Page Generation 0.01131 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete