Не работает ротация категорий на индексе. Какой день уже смотрю - категории на одном месте.
В темплейте так:
<category order=clicks num=1 min_gallery_count=45><div style="position:absolute; left:0; top:0;"><a href="/teen-porn/<!--GALLERY_SLUG-->/" rot_id='<!--THUMB_LINK-->'><h2><!--CATEGORY_CUSTOM_NAME--></h2><img src="<!--EXTRA_THUMB_URL-->"></a></div></category>
<category order=clicks num=2 min_gallery_count=45><div style="position:absolute; left:310px; top:0;"><a href="/teen-porn/<!--GALLERY_SLUG-->/" rot_id='<!--THUMB_LINK-->'"><h2><!--CATEGORY_CUSTOM_NAME--></h2><img src="<!--EXTRA_THUMB_URL-->"></a></div></category>
<category order=clicks num=3 min_gallery_count=45><div style="position:absolute; left:620px; top:0;"><a class="link" href="/teen-porn/<!--GALLERY_SLUG-->/" rot_id='<!--THUMB_LINK-->'><h2><!--CATEGORY_CUSTOM_NAME--></h2><img src="<!--EXTRA_THUMB_URL-->"></a></div></category>
и т.д.
субтемплейт:
<a href="/teen-porn/<!--GALLERY_SLUG-->/" rot_id='<!--THUMB_LINK-->'><img src=<!--THUMB_URL--> ></a>
Кстате, <!--THUMB_URL--> в субтемплейте без скобок. Как должно быть не знаю icon_redface.gif
Build 201501121623
П.С. Если в лист тумбс посмотреть на тумбы категорий, то там кликов ноль. Есть пара тумб с кликами 1. А показы есть. Сиджу неделя.
Ну, собственно, и на тумбах внутри категории клики - 0, только показы.
Субтемплейт внутри категорий:
<li><a href="/gal/<!--GALLERY_SLUG-->/" rot_id='<!--THUMB_LINK-->'><img src="<!--THUMB_URL-->"/></a></li> Есть кавычки у <!--THUMB_URL-->
Реврайт:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]{2})/(.*)$ $2?force_lng=$1&%{QUERY_STRING} [L]
RewriteRule ^teen-porn/([^/]+)/$ /ypp/cgi/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=ctr&%{QUERY_STRING} [L]
RewriteRule ^teen-porn/([^/]+)/([^/]+)/([^/]+)/$ /ypp/cgi/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=$2&page=$3&%{QUERY_STRING} [L]
#slug galleries
RewriteRule ^gal/([^/]+)/$ /ypp/cgi/out.php?url=content&slug=$1&%{QUERY_STRING} [L]
RewriteRule ^gal/([^/]+)/([0-9]{1,2}).html$ /ypp/cgi/out.php?url=content&slug=$1&item_id=$2&%{QUERY_STRING} [L]
#tags
RewriteRule ^tag/([^/]+)/([^/]+)/([^/]+)/$ /ypp/tube/index.php?tag=$1&page=$3&order=$2&%{QUERY_STRING} [L]
RewriteRule ^tag/([^/]+)/([^/]+)/$ /ypp/tube/index.php?tag=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule ^tag/([^/]+)/$ /ypp/tube/index.php?tag=$1&%{QUERY_STRING} [L]
#model galleries
RewriteRule ^model_galleries/([^/]+)/$ /ypp/tube/?model_slug=$1&force_template=model_galleries [L]
RewriteRule ^model_galleries/([^/]+)/([^/]+)/$ /ypp/tube/?model_slug=$1&page=$2&force_template=model_galleries [L]
RewriteRule ^model/([^/]+)/$ /ypp/tube/?model_slug=$1&force_template=model_galleries&%{QUERY_STRING} [L]
RewriteRule ^model/([^/]+)/([^/]+)/([^/]+)/$ /ypp/tube/?model_slug=$1&force_template=model_galleries&order=$2&page=$3&%{QUERY_STRING} [L]
RewriteRule ^search/([^/]+)/([^/]+)/$ /ypp/tube/index.php?search=$1&page=$2&%{QUERY_STRING}
RewriteRule ^search/([^/]+)/([^/]+)/([^/]+)/$ /ypp/tube/index.php?search=$1&order=$2&page=$3&%{QUERY_STRING}
Линки выглядят так domain.com/teen-porn/category_name/ после клика появляется параметр ротации ?1x1x123
Скрипт установлен в папку yyp
Клики не считаются.
Re: Клики не считаются.
У вас проблема в реврайтами.
Нет link= нигде
Возьмите деофлтные, убедитесь что они работают, и потом начинайте переделывать.
Если в какой-то момент перестанет считать - вы будете знать что вы только что изменили.
Нет link= нигде
Возьмите деофлтные, убедитесь что они работают, и потом начинайте переделывать.
Если в какой-то момент перестанет считать - вы будете знать что вы только что изменили.
Don't forget to run script update
Re: Клики не считаются.
Так это дефолтный реврайт с TCMS Я только директорию скрипта сменил и заменил category и gallery
Re: Клики не считаются.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]{2})/(.*)$ $2?force_lng=$1&%{QUERY_STRING} [L]
RewriteRule ^teen-porn/([^/]+)/$ /ypp/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=ctr&%{QUERY_STRING} [L]
RewriteRule ^teen-porn/([^/]+)/([^/]+)/([^/]+)/$ /ypp/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=$2&page=$3&%{QUERY_STRING} [L]
#slug galleries
RewriteRule ^gal/([^/]+)/$ /ypp/cgi/out.php?link=images/%{QUERY_STRING}&url=content&slug=$1&%{QUERY_STRING} [L]
RewriteRule ^gal/([^/]+)/([0-9]{1,2}).html$ /ypp/cgi/out.php?link=images/%{QUERY_STRING}&url=content&slug=$1&item_id=$2&%{QUERY_STRING} [L]
#tags
RewriteRule ^tag/([^/]+)/([^/]+)/([^/]+)/$ /ypp/tube/index.php?tag=$1&page=$3&order=$2&%{QUERY_STRING} [L]
RewriteRule ^tag/([^/]+)/([^/]+)/$ /ypp/tube/index.php?tag=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule ^tag/([^/]+)/$ /ypp/tube/index.php?tag=$1&%{QUERY_STRING} [L]
#model galleries
RewriteRule ^model_galleries/([^/]+)/$ /ypp/tube/?model_slug=$1&force_template=model_galleries [L]
RewriteRule ^model_galleries/([^/]+)/([^/]+)/$ /ypp/tube/?model_slug=$1&page=$2&force_template=model_galleries [L]
RewriteRule ^model/([^/]+)/$ /ypp/tube/?model_slug=$1&force_template=model_galleries&%{QUERY_STRING} [L]
RewriteRule ^model/([^/]+)/([^/]+)/([^/]+)/$ /ypp/tube/?model_slug=$1&force_template=model_galleries&order=$2&page=$3&%{QUERY_STRING} [L]
RewriteRule ^search/([^/]+)/([^/]+)/$ /ypp/tube/index.php?search=$1&page=$2&%{QUERY_STRING}
RewriteRule ^search/([^/]+)/([^/]+)/([^/]+)/$ /ypp/tube/index.php?search=$1&order=$2&page=$3&%{QUERY_STRING}
так должно быть?)
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]{2})/(.*)$ $2?force_lng=$1&%{QUERY_STRING} [L]
RewriteRule ^teen-porn/([^/]+)/$ /ypp/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=ctr&%{QUERY_STRING} [L]
RewriteRule ^teen-porn/([^/]+)/([^/]+)/([^/]+)/$ /ypp/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=$2&page=$3&%{QUERY_STRING} [L]
#slug galleries
RewriteRule ^gal/([^/]+)/$ /ypp/cgi/out.php?link=images/%{QUERY_STRING}&url=content&slug=$1&%{QUERY_STRING} [L]
RewriteRule ^gal/([^/]+)/([0-9]{1,2}).html$ /ypp/cgi/out.php?link=images/%{QUERY_STRING}&url=content&slug=$1&item_id=$2&%{QUERY_STRING} [L]
#tags
RewriteRule ^tag/([^/]+)/([^/]+)/([^/]+)/$ /ypp/tube/index.php?tag=$1&page=$3&order=$2&%{QUERY_STRING} [L]
RewriteRule ^tag/([^/]+)/([^/]+)/$ /ypp/tube/index.php?tag=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule ^tag/([^/]+)/$ /ypp/tube/index.php?tag=$1&%{QUERY_STRING} [L]
#model galleries
RewriteRule ^model_galleries/([^/]+)/$ /ypp/tube/?model_slug=$1&force_template=model_galleries [L]
RewriteRule ^model_galleries/([^/]+)/([^/]+)/$ /ypp/tube/?model_slug=$1&page=$2&force_template=model_galleries [L]
RewriteRule ^model/([^/]+)/$ /ypp/tube/?model_slug=$1&force_template=model_galleries&%{QUERY_STRING} [L]
RewriteRule ^model/([^/]+)/([^/]+)/([^/]+)/$ /ypp/tube/?model_slug=$1&force_template=model_galleries&order=$2&page=$3&%{QUERY_STRING} [L]
RewriteRule ^search/([^/]+)/([^/]+)/$ /ypp/tube/index.php?search=$1&page=$2&%{QUERY_STRING}
RewriteRule ^search/([^/]+)/([^/]+)/([^/]+)/$ /ypp/tube/index.php?search=$1&order=$2&page=$3&%{QUERY_STRING}
так должно быть?)
Re: Клики не считаются.
сделайте в темплейте галеры или content_list
<?php print_r($_GET); ?>
должна быть строка вида
link => images/4x2x678
<?php print_r($_GET); ?>
должна быть строка вида
link => images/4x2x678
Don't forget to run script update
Re: Клики не считаются.
есть [link] => images/4x10x2555
Re: Клики не считаются.
1100 показов и 0 кликов.
Re: Клики не считаются.
Ок, включайте debug out и показывайте хедер клика
Don't forget to run script update
Re: Клики не считаются.
Сейчас С Лемом решаем эту проблему на мастере. Чтобы не дублировать, решим там, а причину потом выложу здесь.
А хедер такой:
http://domain.com/teen-porn/pussy/?4x1x681
GET /teen-porn/pussy/?4x1x681 HTTP/1.1
Host: domain.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://domain.com/
Cookie: PHPSESSID=9631c5d8bc084bd826764cda000e1b55; tw_tabs2=tabs2-12; UI_rot_sponsor_edit__windowX=196; UI_rot_sponsor_edit__windowY=128; scj_preload_group=0; scj_preload_sponsor=19; scj_view_thumb_size=400; scj_preload_group_separation=true; scj_use_editarea=1; f7ddd28048f32d1a040d686a0c618799=noref; scj_trade_stat=ext; UI_rot_edit__windowX=6; UI_rot_edit__windowY=5; UI_trade_stats__windowX=6; UI_trade_stats__windowY=5; UI_h_details_domain__windowX=28; UI_h_details_domain__windowY=27; sum_checked[2015-05-24]=1; tw_tabs_tr_edit=tabs_tr_edit-5; UI_trade_edit__windowX=5; UI_trade_edit__windowY=4; prod_base=uni; scj_admin_sort=active_traders_tbl_header2.12.down; sum_checked[2015-05-29]=1; a90a3ebcc514e212e75942e827697892=noref; 685b4c48c607ac4d9026c761321f82f4=1433253011; 16518e860ce43f74fb579e03941750c7=noref%7C%9E%8A%DE; 31c0cdd88bdf531e446e9b7c5eae9f87=1; 191faa5105ebd65ed651d8d455f13cef=1; b46f74724b1ace242ae5fb3df0851bdb=%7Curl%7Chotteenspussy.com%7Csexyoungporn.com%7Curl%7Curl%7Cteenpicspussy.com%7Curl%7Curl%7Curl%7Cnudeteensporn.com%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl; 201da0e88cc07eaaf0e33d9f7b3c7474=content; from=noref; lfrom=noref; idcheck=1433249052; vs=noref%7C%9E%8A%DE; index_page=1; rot_in=1; last_url=content; UI_rot_view_thumbs__windowX=0; UI_rot_view_thumbs__windowY=0
Connection: keep-alive
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 02 Jun 2015 14:08:43 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.2.17
X-Cookie-engine: cookie_md5
Current-Click: 21
X-Current-Trader: noref
Set-Cookie: b46f74724b1ace242ae5fb3df0851bdb=%7Curl%7Chotteenspussy.com%7Csexyoungporn.com%7Curl%7Curl%7Cteenpicspussy.com%7Curl%7Curl%7Curl%7Cnudeteensporn.com%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl; expires=Wed, 03-Jun-2015 14:08:43 GMT; path=/
Set-Cookie: 201da0e88cc07eaaf0e33d9f7b3c7474=content; expires=Wed, 03-Jun-2015 14:08:43 GMT; path=/
Set-Cookie: 191faa5105ebd65ed651d8d455f13cef=1; expires=Wed, 03-Jun-2015 14:08:43 GMT; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Encoding: gzip
А хедер такой:
http://domain.com/teen-porn/pussy/?4x1x681
GET /teen-porn/pussy/?4x1x681 HTTP/1.1
Host: domain.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://domain.com/
Cookie: PHPSESSID=9631c5d8bc084bd826764cda000e1b55; tw_tabs2=tabs2-12; UI_rot_sponsor_edit__windowX=196; UI_rot_sponsor_edit__windowY=128; scj_preload_group=0; scj_preload_sponsor=19; scj_view_thumb_size=400; scj_preload_group_separation=true; scj_use_editarea=1; f7ddd28048f32d1a040d686a0c618799=noref; scj_trade_stat=ext; UI_rot_edit__windowX=6; UI_rot_edit__windowY=5; UI_trade_stats__windowX=6; UI_trade_stats__windowY=5; UI_h_details_domain__windowX=28; UI_h_details_domain__windowY=27; sum_checked[2015-05-24]=1; tw_tabs_tr_edit=tabs_tr_edit-5; UI_trade_edit__windowX=5; UI_trade_edit__windowY=4; prod_base=uni; scj_admin_sort=active_traders_tbl_header2.12.down; sum_checked[2015-05-29]=1; a90a3ebcc514e212e75942e827697892=noref; 685b4c48c607ac4d9026c761321f82f4=1433253011; 16518e860ce43f74fb579e03941750c7=noref%7C%9E%8A%DE; 31c0cdd88bdf531e446e9b7c5eae9f87=1; 191faa5105ebd65ed651d8d455f13cef=1; b46f74724b1ace242ae5fb3df0851bdb=%7Curl%7Chotteenspussy.com%7Csexyoungporn.com%7Curl%7Curl%7Cteenpicspussy.com%7Curl%7Curl%7Curl%7Cnudeteensporn.com%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl; 201da0e88cc07eaaf0e33d9f7b3c7474=content; from=noref; lfrom=noref; idcheck=1433249052; vs=noref%7C%9E%8A%DE; index_page=1; rot_in=1; last_url=content; UI_rot_view_thumbs__windowX=0; UI_rot_view_thumbs__windowY=0
Connection: keep-alive
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 02 Jun 2015 14:08:43 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.2.17
X-Cookie-engine: cookie_md5
Current-Click: 21
X-Current-Trader: noref
Set-Cookie: b46f74724b1ace242ae5fb3df0851bdb=%7Curl%7Chotteenspussy.com%7Csexyoungporn.com%7Curl%7Curl%7Cteenpicspussy.com%7Curl%7Curl%7Curl%7Cnudeteensporn.com%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl%7Curl; expires=Wed, 03-Jun-2015 14:08:43 GMT; path=/
Set-Cookie: 201da0e88cc07eaaf0e33d9f7b3c7474=content; expires=Wed, 03-Jun-2015 14:08:43 GMT; path=/
Set-Cookie: 191faa5105ebd65ed651d8d455f13cef=1; expires=Wed, 03-Jun-2015 14:08:43 GMT; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Encoding: gzip







