Не считаются клики по тумбам
Posted: Tue Dec 29, 2015 4:39 pm
здравствуйте, что не так?
index.php, rot_in.php, out.php, common.php - эти файлы в корне домена.
вид ссылок сабтамплейта индекса:
<a href="/gallery/<!--GALLERY_SLUG-->/index.html" rot_id='<!--THUMB_LINK-->' title="<!--ALT-->"><img src="<!--THUMB_URL-->" class="t_img" /></a>
код присутствует
на дефолтной странице админки есть пару сообщений:
You are behind proxy. This is not an error if you really use proxy. In other case check your SERVER settings. If you use nginx - check WIKI article 'nginx'
You do not use any modern cache engine - This is not an error. Everything will work, but default cache engine is filecache and it's a bit slow compared to Couchbase or Redis. It's a good idea to use them to improve your server's performance.
Mysql Table Engine: looks like mysql DB tables (rot_galleries, rot_gallery_stats) are not of InnoDB format. it's good idea to tune mysql and use innodb table format for rot_* tables. Please, read wiki for mysql tuning hints.
контент - custom_flv, сграбленный со своего туба
_____
Беда - не считаются клики по тумбам. Со всем остальным все ок.
Где рыться?
спасибо
index.php, rot_in.php, out.php, common.php - эти файлы в корне домена.
вид ссылок сабтамплейта индекса:
<a href="/gallery/<!--GALLERY_SLUG-->/index.html" rot_id='<!--THUMB_LINK-->' title="<!--ALT-->"><img src="<!--THUMB_URL-->" class="t_img" /></a>
код
Code: Select all
<script type="text/javascript" src="/scj/includes/js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('a[rot_id]').each(function(){
$(this).bind('click', function(){
if ($(this).attr('href').indexOf('?') == -1) $(this).attr('href', $(this).attr('href')+ '?' + $(this).attr('rot_id'));
});
});
});
</script>на дефолтной странице админки есть пару сообщений:
You are behind proxy. This is not an error if you really use proxy. In other case check your SERVER settings. If you use nginx - check WIKI article 'nginx'
You do not use any modern cache engine - This is not an error. Everything will work, but default cache engine is filecache and it's a bit slow compared to Couchbase or Redis. It's a good idea to use them to improve your server's performance.
Mysql Table Engine: looks like mysql DB tables (rot_galleries, rot_gallery_stats) are not of InnoDB format. it's good idea to tune mysql and use innodb table format for rot_* tables. Please, read wiki for mysql tuning hints.
контент - custom_flv, сграбленный со своего туба
_____
Беда - не считаются клики по тумбам. Со всем остальным все ок.
Где рыться?
спасибо