Screenshot Questions

charliebrown

New Member
Hello, im setting up my new toplist, and im adding a site of my own. However the screenshot turns out pretty badly, i have a slider thing on top of the page that needs some loading, but the site takes screenshot before that have loaded, so it kinda leaves a blank space. Also the cropping of the site is kinda bad, much of the content area is left out. Is there a way to manually change screenshot?

On my server i see the screenshot in 3 sizes, i manually made new ones in the same sizes and overwrote the old ones, this worked fine, but will these screenshots remain in the long run, or does the script automaticly re-make screenshots now and then on its own?

Also on the details page, where the medium sized screen shot is, i could use a even larger screenshot there than the current one, how do i do that? Must i manually make the _med.jpg file to the size i want it?
 

Mark

Administrator
Staff member
those screenshots will not be overwritten unless you manually regenerate that specifc site, so you should be all set.

The screenshot rendering already waits about 5 seconds to give the page a chance to load, so if your site has not fully loaded you might want to optimize that site to load a bit faster.

You can load a the full size image on your details page, untested but this should get you in the right direction

find:
Code:
  $TMPL['screenshot_url'] = $screenshot_url.'_med.jpg';
replace with:
Code:
  $TMPL['screenshot_url'] = $screenshot_url.'.png';
 

Basti

Administrator
Staff member
That is not the standart way anymore.

On ftp open up plugins/ScreenShots/
1) In that folder create a folder named "child" ( without quotes )
2) copy the file details_layout.html
3) paste that file into the child folder and edit it
3.1) replace the image code src path
Code:
screens/{$screenshot_url}
to the following
Code:
{$screenshot_path}.png
 

kapearl

Member
I'm trying to load the full size screenshot using Basti's instructions above but only a broken ".png" image is loaded onto the page. My child details_layout.html file looks like this:

HTML:
<div class="right screenshot"><a href="{$url}" onclick="out(this,'{$username}');" rel="nofollow"><img src="{$screenshot_path}.png" alt="{$title}"/></a></div>
.

Ultimately, I'd like a 600px width screenshot on stats/profile page. I can use css to expand it but it doesn't look as good so would rather use css to shrink the full size image.
 

Basti

Administrator
Staff member
Does that screenshot exist? easy way to check, edit member in admin, should show some img there at the right.

As for screenshots not existing, can you check if your screens folder has a file named none.png? Which would be needed for this. I think we not published that png file yet, so properbly not.
As the full sized images are all in png format, and _med and _small are jpg. Prior to what i posted in my post, this was never a requirement so none.jpg was used there, which is a bit redundant now with this

I think this is whats happening for you

Its attached so pls upload that one into /screens/ and let me know
 

Attachments

kapearl

Member
Thanks! Yes the screenshot is there. I was able to get it working by putting my code from my previous post directly into my stats template page. Maybe not be best but it worked!
 
My screenschots are not showing up, I upgraded to 1.4, when I go to view the admin, of the 403 error.
ERROR 403 - FORBIDDEN
 

Basti

Administrator
Staff member
403 error has nothing to do with VisioList, that error is an access denied, triggered server side.
Usually either bad file permissions ( unlikely if it worked before ) or htaccess issues ( which are not even included in upgrade bundle )
Placed a htaccess file into public_html/admin/ to disallow all but your ip?
Something else regarding access in public_html/.htaccess ?
Would also help looking in your server error logs

Regarding screenshots, those are handled by Mark, if you already recieved the api key from him, please PM him or wait till he replies here.
 
I have already received my key and the same has already been activated.
Before was worked, she stopped after the upgrade.
What would be the correct permissions for folders and files.
 
Options +FollowSymLinks -Indexes
RewriteEngine on

################ Require ending trailing slash
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
RewriteRule ^(.*)$ %{REQUEST_URI}/ [R=301,L]

################ Beautify dynamic url sets

RewriteRule ^join/ index.php?a=join [L]
RewriteRule ^user_cpl/ index.php?a=user_cpl [L]
RewriteRule ^details/(.*)/ index.php?a=details&u=$1 [L]
RewriteRule ^overall-stats/ index.php?a=details [L]
RewriteRule ^review/(.*)/ index.php?a=rate&u=$1 [L]
RewriteRule ^reviews/(.*)/ index.php?a=details&u=$1&all_reviews=1 [L]
RewriteRule ^overall-stats/ index.php?a=details [L]
RewriteRule ^category/(.*)/ index.php?cat=$1 [L]
RewriteRule ^rank/(.*)/(.*)/category/(.*)/ index.php?start=$1&method=$2&cat=$3 [L]
RewriteRule ^rank/(.*)/category/(.*)/ index.php?method=$1&cat=$2 [L]
RewriteRule ^rank/(.*)/(.*)/ index.php?start=$1&method=$2 [L]
RewriteRule ^rank/(.*)/ index.php?method=$1 [L]
RewriteRule ^search/(.*)/(.*)/ index.php?a=search&start=$1&q=$2 [L]
RewriteRule ^search/(.*)/ index.php?a=search&q=$1 [L]
RewriteRule ^search/ index.php?a=search [L]
RewriteRule ^page/(.*)/ index.php?a=page&id=$1 [L]

###############################
## User Blog Plugin
###############################
RewriteRule ^blog/author/(.*)/ index.php?a=blog&author=$1 [L]
RewriteRule ^blog/search/(.*)/ index.php?a=blog&search=$1 [L]
RewriteRule ^blog/tag/(.*)/ index.php?a=blog&tag=$1 [L]
RewriteRule ^blog/(.*)/preview/ index.php?a=blog&name=$1&ub_preview=1 [L]
RewriteRule ^blog/(.*)/ index.php?a=blog&name=$1 [L]
RewriteRule ^blog/ index.php?a=blog [L]


################################
## PERFORMANCE TUNING
## OFF BY DEFAULT

<FilesMatch ".(ico|pdf|flv)$">
#Header set Cache-Control "max-age=29030400, public"
</FilesMatch>
# 1 WEEK
<FilesMatch ".(jpg|jpeg|png|gif|swf)$">
#Header set Cache-Control "max-age=604800, public"
</FilesMatch>
# 2 DAYS
<FilesMatch ".(xml|txt|css|js)$">
#Header set Cache-Control "max-age=172800, proxy-revalidate"
</FilesMatch>
# 1 MIN
<FilesMatch ".(html|htm|php)$">
#Header set Cache-Control "max-age=60, private, proxy-revalidate"
</FilesMatch>

<filesMatch "\.(js|css)$">
#Header set Content-Encoding x-deflate
# Header set Content-Encoding compress
# Header set Content-Encoding x-gzip
</filesMatch>
 
Log:

[Mon Jul 13 09:53:08 2015] [error] [client 104.237.130.128] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://theunexplainedmysteries.com/
[Mon Jul 13 09:53:03 2015] [error] [client 217.23.233.106] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://www.northern-ghost-investigations.com/haunted-uk/north-east/lumley-castle.html
[Mon Jul 13 09:53:03 2015] [error] [client 100.43.85.20] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/index.php"
[Mon Jul 13 09:53:03 2015] [error] [client 141.0.12.248] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://theconspiracyzone.podcastpeople.com/posts/37873
[Mon Jul 13 09:53:03 2015] [error] [client 141.0.12.248] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/posts/37873
[Mon Jul 13 09:53:01 2015] [error] [client 104.237.130.128] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://theunexplainedmysteries.com/
[Mon Jul 13 09:52:58 2015] [error] [client 93.93.219.250] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://theconspiracyzone.podcastpeople.com/posts/59274
[Mon Jul 13 09:52:55 2015] [error] [client 66.249.79.45] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/cutstat.com/index.php"
[Mon Jul 13 09:52:54 2015] [error] [client 93.93.219.250] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://theconspiracyzone.podcastpeople.com/posts/59274
[Mon Jul 13 09:52:54 2015] [error] [client 93.93.219.250] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/posts/59274
[Mon Jul 13 09:52:52 2015] [error] [client 85.17.172.161] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://haunted.gotop100.com/index.php
[Mon Jul 13 09:52:47 2015] [error] [client 87.186.112.97] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/index.php", referer: http://topparanormalsites.com/
[Mon Jul 13 09:52:46 2015] [error] [client 179.211.82.88] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:52:43 2015] [error] [client 198.41.234.27] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/index.php"
[Mon Jul 13 09:52:36 2015] [error] [client 198.101.28.227] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://astraltest.com/extrasensory/clairvoyance.php
[Mon Jul 13 09:52:32 2015] [error] [client 100.43.85.20] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/index.php"
[Mon Jul 13 09:52:31 2015] [error] [client 82.145.217.40] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/posts/27710
[Mon Jul 13 09:52:31 2015] [error] [client 82.145.217.40] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://theconspiracyzone.podcastpeople.com/posts/27710
[Mon Jul 13 09:52:29 2015] [error] [client 84.3.176.163] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2014/08/a-spiritualis-ebredes-tunetei-51-pontban.html
[Mon Jul 13 09:52:27 2015] [error] [client 84.3.176.163] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2014/08/a-spiritualis-ebredes-tunetei-51-pontban.html
[Mon Jul 13 09:52:26 2015] [error] [client 180.211.165.112] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php"
[Mon Jul 13 09:52:24 2015] [error] [client 82.145.217.40] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/posts/27710
[Mon Jul 13 09:52:24 2015] [error] [client 82.145.217.40] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://theconspiracyzone.podcastpeople.com/posts/27710
[Mon Jul 13 09:52:23 2015] [error] [client 179.211.82.88] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:52:20 2015] [error] [client 66.249.83.149] SoftException in Application.cpp:641: Could not execute script "/home/andth368/public_html/topparanormalsites.com/button.php", referer: http://astateofmind.eu/2011/08/05/8-rules-of-safe-spiritual-work/
[Mon Jul 13 09:52:20 2015] [error] [client 66.249.83.143] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://astateofmind.eu/2011/08/05/8-rules-of-safe-spiritual-work/
[Mon Jul 13 09:52:18 2015] [error] [client 66.249.83.146] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://astateofmind.eu/2011/08/05/8-rules-of-safe-spiritual-work/
[Mon Jul 13 09:52:12 2015] [error] [client 84.1.97.154] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2015/07/az-elengedes-muveszete-sedona-modszer.html
[Mon Jul 13 09:52:10 2015] [error] [client 187.10.27.168] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:52:10 2015] [error] [client 178.41.165.113] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2013/02/erdekessegek-fak-gyogyereje.html
[Mon Jul 13 09:52:09 2015] [error] [client 84.1.97.154] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2015/07/az-elengedes-muveszete-sedona-modszer.html
[Mon Jul 13 09:52:01 2015] [error] [client 187.10.27.168] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:51:58 2015] [error] [client 24.119.43.2] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/posts/60630
[Mon Jul 13 09:51:53 2015] [error] [client 84.1.97.154] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/
[Mon Jul 13 09:51:48 2015] [error] [client 84.1.97.154] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/
[Mon Jul 13 09:51:45 2015] [error] [client 166.216.157.21] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/posts/32979
[Mon Jul 13 09:51:26 2015] [error] [client 187.10.27.168] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/2014/09/planeta-gigante-invisivel-pode-explicar.html
[Mon Jul 13 09:51:22 2015] [error] [client 187.10.27.168] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/2014/09/planeta-gigante-invisivel-pode-explicar.html
[Mon Jul 13 09:51:03 2015] [error] [client 177.45.83.169] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/2014/03/marte-o-misterio-da-nave-alienigena.html
[Mon Jul 13 09:51:02 2015] [error] [client 109.166.240.18] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2013/11/a-galaktikus-foderacio-es-spiritualis.html
[Mon Jul 13 09:50:58 2015] [error] [client 62.1.196.30] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/
[Mon Jul 13 09:50:57 2015] [error] [client 186.241.24.141] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/2015/01/alerta-2015-alinhamento-planetario.html
[Mon Jul 13 09:50:50 2015] [error] [client 201.92.165.212] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/2013/06/conheca-o-projeto-blue-beam-seria-este.html
[Mon Jul 13 09:50:46 2015] [error] [client 178.238.46.23] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif
[Mon Jul 13 09:50:46 2015] [error] [client 91.83.192.191] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2015/07/az-elengedes-muveszete-sedona-modszer.html
[Mon Jul 13 09:50:45 2015] [error] [client 91.83.192.191] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2015/07/az-elengedes-muveszete-sedona-modszer.html
[Mon Jul 13 09:50:44 2015] [error] [client 186.241.24.141] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/2015/01/alerta-2015-alinhamento-planetario.html
[Mon Jul 13 09:50:42 2015] [error] [client 91.83.192.191] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2015/07/az-elengedes-muveszete-sedona-modszer.html
[Mon Jul 13 09:50:42 2015] [error] [client 91.83.192.191] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2015/07/az-elengedes-muveszete-sedona-modszer.html
[Mon Jul 13 09:50:40 2015] [error] [client 177.183.181.87] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:50:40 2015] [error] [client 177.45.83.169] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/2014/03/marte-o-misterio-da-nave-alienigena.html
[Mon Jul 13 09:50:38 2015] [error] [client 177.183.181.87] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:50:37 2015] [error] [client 78.13.111.148] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.it/
[Mon Jul 13 09:50:37 2015] [error] [client 201.92.165.212] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/2013/06/conheca-o-projeto-blue-beam-seria-este.html
[Mon Jul 13 09:50:35 2015] [error] [client 177.183.181.87] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:50:29 2015] [error] [client 1.39.96.83] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/posts/35278
[Mon Jul 13 09:50:23 2015] [error] [client 83.81.30.156] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/posts/48020
[Mon Jul 13 09:50:21 2015] [error] [client 109.166.240.18] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/
[Mon Jul 13 09:50:16 2015] [error] [client 121.215.38.143] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/posts/56505
[Mon Jul 13 09:50:06 2015] [error] [client 89.133.65.190] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2013/10/chemtrail-tamadas-alatt-megint_6.html
[Mon Jul 13 09:49:59 2015] [error] [client 85.121.206.237] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2014/11/grigorij-grabovoj-szamsorok-szervezet.html
[Mon Jul 13 09:49:58 2015] [error] [client 89.133.65.190] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2013/10/chemtrail-tamadas-alatt-megint_6.html
[Mon Jul 13 09:49:31 2015] [error] [client 187.10.27.168] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:49:27 2015] [error] [client 186.222.7.71] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:49:23 2015] [error] [client 186.222.7.71] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:49:21 2015] [error] [client 187.10.27.168] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:49:19 2015] [error] [client 186.222.7.71] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/
[Mon Jul 13 09:49:08 2015] [error] [client 37.220.133.137] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://www.fenyorveny.hu/2014/09/hogyan-programozd-at-az-agyad.html
[Mon Jul 13 09:48:49 2015] [error] [client 24.231.59.6] File does not exist: /home/andth368/public_html/topparanormalsites.com/images/tps_label.gif, referer: http://theconspiracyzone.podcastpeople.com/posts/27710
[Mon Jul 13 09:48:42 2015] [error] [client 201.24.28.1] File does not exist: /home/andth368/public_html/topparanormalsites.com/review_stats, referer: http://ufosonline.blogspot.com.br/2015/07/estamos-sendo-controlados-pela-lua.html
[Mon Jul 13 09:48:32 2015] [error] [client 91.200.12.47] File does not exist: /home/andth368/public_html/topparanormalsites.com/xmlrpc.php
 

Mark

Administrator
Staff member
The upgrade should not have any effect on screenshots.


Dear,

So far I have not received any support, and my website is still without running the screenshot.

:(
its been only a few hours since you posted... I see you have also sent an email and started a private conversation with me all the same duplicate requests. I will address your issue in the private conversation.
 

Basti

Administrator
Staff member
I have already received my key and the same has already been activated.
Before was worked, she stopped after the upgrade.
Screenshots, nothing changed at all in code, nothing. So VL 1.4 can be taken out as culprit. Seeing those errors from your log, i suspect something server side.

SoftException in Application.cpp:641:
This looks typical "hostgator webhost" like, can this be? If so, most likely you are hitting some server limits. A talk to the host might be worth it.

Alternatively i can offer you to investigate, but for that i would need ftp info and admin login via private message
 

Mark

Administrator
Staff member
it looks like the issue with the screenshot server, I am working to resolve now.
 
Top