#basket
New messages Members Forum rules Search RSS
  • Page 1 of 1
  • 1
Statistic Script
UndisPutedDate: Friday, 22.02.2013, 02:29 | Message # 1
Group: Verified
Posts: 245
Awards: 4
Status: Offline
http://jldesign.at.ua/di-VJAV.jpg

1. adding counter
go to your blocks add the code $COUNTER$ and you will get the uCoz counter.

2. list of online users
add this after the $COUNTER$ code:

Code
<a onclick="$('#uonline').slideToggle('slow');" href="javascript://" style="text-decoration:none"><b>List of online users</b></a>
  <div  id="uonline" style="display:none;padding-left:6px;text-decoration:none;">$ONLINE_USERS_LIST$</div>


3. Creating Informers:

USERS VISITED TODAY:
1. go to CP ---> Informers ---> create --> Users who have visited the site for the current day ---> Entries ---> User's name ---> Columns.

2. go to informer template and paste this in there:
Code
<a href="$PROFILE_URL$" class="$CLASS$">$USERNAME$</a>,


FILES STORED AND FORUM STATS:
1. go to CP ---> Informers --> Create ---> Per module entry counters ----> Entries.

2. go to informer template and paste this:
Code
<span style="font-family: Tahoma;font-size: 9pt;"><b><u>Files Stored</u></b>
  </font><br>
  <span style="font-size: 8pt;"><b>In database:</b> $LOAD$<br>
  <b>Comments posted:</b> $COMMENTS$</span>
  <hr>
  <span style="font-family: Tahoma;font-size: 9pt;"><b><u>Forum</u></b></span>
  <br>
  <span style="font-size: 8pt;"><b>Forum threads:</b> $FORUM_T$<br>
  <b>Forum posts:</b> $FORUM_P$</span>


MEMBER STATISTICS:
1.
go to CP ---> Informers ---> Create ---> Counters for users · Entries · all, by groups, by gender, by zodiac, by days (today, yesterday, 7 days, 30 days)

2. go to informer template and paste this:
Code
<span style="font-family: Tahoma;font-size: 9pt;"><b><u>Members</u></b></span>
   
<span style="font-size: 8pt;">
<b>We have:</b> $ALL_USERS$<br>
<b>New today:</b> $TODAY$<br>
<b>Yesterday:</b> $YESTERDAY$<br>
<b>Verified:</b> $GROUP_2$<br>
<b>Uploaders:</b> $GROUP_6$<br>
<b>Male:</b> $GENDER_1$ <img src="image icon" border="0" align="absmiddle" /><br>
<b>Women:</b> $GENDER_2$ <img src="image icon" border="0" align="absmiddle" /><br> </span>


4. placing informers
go to your blocks again and find:
Code
<a onclick="$('#uonline').slideToggle('slow');" href="javascript://" style="text-decoration:none"><b>List of online users</b></a>
  <div  id="uonline" style="display:none;padding-left:6px;text-decoration:none;">$ONLINE_USERS_LIST$</div>


then paste this after it:
Code
<a onclick="$('#useroffline').slideToggle('slow');" href="javascript://" style="text-decoration:none"><b>User's visited today</b></a>
  <div  id="useroffline" style="display: none;padding-left:6px;text-decoration:none">$MYINF_3$</div>
  $MYINF_5$
      <hr />
  $MYINF_4$
      <hr />


 
  • Page 1 of 1
  • 1
Search: