Counter plugin
counter.rb
Access counter plugin for tDiary.
Download
This plugin is included in tDiary standard plugins.
Usage
First, set the preference in the configuration page.
Then, describe these plugins in Header/Footer.
counter(figure, filetype = "")-
Show number of all visitors.
- figure: a figure
- filetype: jpg, gif, png ... .
counter_today(figure, filetype = "")-
Show number of visitors for today.
- figure: a figure
- filetype: jpg, gif, png ... .
counter_today(figure, filetype = "")-
Show number of visitors for yesterday.
- figure: a figure
- filetype: jpg, gif, png ... .
kiriban- Kiriban is the memorial numbers which you defines. When the counter number is one of the Kiriban, Show kiriban messages which set in the configuration page.
<%= counter %> <%= counter 3 %> <%= coutner 3, "jpg" %> <%= counter_today 4, "jpg" %> <%= counter_yesterday %> <%= kiriban %>
About CSS
counter- whole of the counter
counter-today- whole of the counter for today.
counter-yesterday- whole of the counter for yesterday.
counter-0, ...counter-num-0, ... 9- A number face.
counter-kiriban- A number face for kiriban
counter-kiriban-today- A number face for today's kiriban
ChangeLog
- 2006-01-26 Update to 2.0 - Masao
- 2003-11-15 Translate to English - Masao
Keyword(s):
References:[YotaLab Storage]