Page 1 of 1

template index question

Posted: Tue Mar 15, 2016 9:50 pm
by erosmembers
What is the right code to use all scj functions in templates?

<!--SCJ_COUNT_VIEWS-->
<img src="/scj/cgi/rot_in.php?crc=<!--PAGE_CRC-->" border=0 width=0 height=0 style="position: absolute; top: -100; left: -100">

Do I have to insert both lines?
Thank you in advance.

Re: template index question

Posted: Wed Mar 16, 2016 5:41 am
by admin
Just

<!--SCJ_COUNT_VIEWS-->

rot_in is an old style, we want to make it as simple as possible.

Re: template index question

Posted: Sat Mar 19, 2016 5:03 pm
by erosmembers
I see in /scj/admin/?operation=rotation&sub=rot_tube following hint:
Make sure all of your templates have scj include <!--SCJ_INCLUDE--> and <!--SCJ_ROTIN-->

Is this an old information?
Or do I have to include more than <!--SCJ_COUNT_VIEWS--> ?

Re: template index question

Posted: Mon Mar 21, 2016 7:45 am
by admin
Make sure all of your templates have scj include <!--SCJ_INCLUDE--> (to count hits) and <!--SCJ_COUNT_VIEWS--> (to count thumb views)


You can run update 51 to change that line in admin area.

Re: template index question

Posted: Mon Mar 21, 2016 7:57 am
by erosmembers
If I try to update, then I get following message: Your script is up to date

Re: template index question

Posted: Tue Mar 22, 2016 11:36 am
by admin
add 51 at the end of the update command