This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
addons:site_stats:start [2012/12/28 23:49] jpark created |
addons:site_stats:start [2015/01/14 23:07] (current) geojames [Tags With Variables] |
||
|---|---|---|---|
| Line 48: | Line 48: | ||
| These tags have one or more variables that can be passed in to affect the data returned. | These tags have one or more variables that can be passed in to affect the data returned. | ||
| - | **{addon author=' | + | **{addon author=' |
| - | * days (optional) - This must be numerical. If any other value type is passed in all listings placed within the last 24hrs will be polled. | + | |
| * listing_type (optional) - If ' | * listing_type (optional) - If ' | ||
| Line 61: | Line 60: | ||
| * days (optional) - This must be numerical. If any other value type is passed in all registrants logging into the site within the last 24 hours will be returned. | * days (optional) - This must be numerical. If any other value type is passed in all registrants logging into the site within the last 24 hours will be returned. | ||
| * listing_type (optional) - If ' | * listing_type (optional) - If ' | ||
| + | |||
| + | **{addon author=' | ||
| + | * region (required) - This must be numerical. This returns the number of listings within this region and sub-regions. | ||
| + | * category (required) - This must be numerical. This returns the number of listings within this category and sub-categories. | ||
| + | * listing_type (optional) - If ' | ||
| + | |||
| + | **{addon author=' | ||
| + | * category (required) - This must be numerical. This returns the number of listings within this category and sub-categories. | ||
| + | * listing_type (required) - If ' | ||
| ===== Example Usage Within templates ===== | ===== Example Usage Within templates ===== | ||
| Line 66: | Line 74: | ||
| <code html> | <code html> | ||
| number of registrants in last 24 hours: {addon author=' | number of registrants in last 24 hours: {addon author=' | ||
| - | number of registrants who have placed classifieds in the last 5 days: addon author=' | + | number of registrants who have placed classifieds in the last 5 days: {addon author=' |
| number of unique logins the last 12 days: {addon author=' | number of unique logins the last 12 days: {addon author=' | ||
| number of registrants in the last 12 hours: {addon author=' | number of registrants in the last 12 hours: {addon author=' | ||
| - | total views on the site: {addon author=' | + | total views on the site: {addon author=' |
| </ | </ | ||