How to get numbers of total topics?
3 posters
Page 1 of 1
How to get numbers of total topics?
Hi,
How to get numbers of total topisc in statistics... Like : Total Post / Messages, Total Users...
Thanks In Advance!
Regards & Respect!
How to get numbers of total topisc in statistics... Like : Total Post / Messages, Total Users...
Thanks In Advance!
Regards & Respect!
smejker- Forumember
- Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian
Re: How to get numbers of total topics?
Hi,
To understand that you want the HTML variables to the total number of members/posts/topics ? If so, I will list below the desired variables:
For the number of users:
To understand that you want the HTML variables to the total number of members/posts/topics ? If so, I will list below the desired variables:
For the number of users:
- Code:
{FORUMCOUNTUSER}
- Code:
{FORUMCOUNTPOST}
- Code:
{FORUMCOUNTOPIC}
Guest- Guest
Re: How to get numbers of total topics?
Not is that... When I put
I Have This:
But, Thanks anyway!
- Code:
{FORUMCOUNTOPIC}
I Have This:
- Code:
<li class="board_statistics"><b>Total Posts:</b> {TOTAL_POSTS}</li>
<br> <li class="board_statistics"><b>Total Users:</b> {TOTAL_USERS}</li>
<br> <li class="board_statistics"><b>Total Topics:</b> {FORUMCOUNTOPIC}</li>
<br> <li class="board_statistics"><b>New User:</b> {NEWEST_USER}</li>
But, Thanks anyway!
smejker- Forumember
- Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian
Re: How to get numbers of total topics?
You can see all the variables here
https://help.forumotion.com/t48637-list-of-variables#313984
https://help.forumotion.com/t48637-list-of-variables#313984
Guest- Guest
Re: How to get numbers of total topics?
Yes, I see... but I can't find solution of my question...
I can't get number of total topics with:
Pls HELP!!!
I can't get number of total topics with:
- Code:
{FORUMCOUNTOPIC}
- Code:
{TOTAL_TOPIC} & {TOTAL_TOPICS}
Pls HELP!!!
smejker- Forumember
- Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian
Re: How to get numbers of total topics?
Where are you adding this information?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to get numbers of total topics?
I want to add in a statistics of home page!
smejker- Forumember
- Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian
smejker- Forumember
- Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian
Re: How to get numbers of total topics?
Second Reminder:smejker wrote:BUMP!!!
Please don't use bold or color and keep to the default text. This is reserved for the staff for moderation.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to get numbers of total topics?
OK My mistake, sorry!
Pls forumotionmembers, forumotionstaff Help!
Pls forumotionmembers, forumotionstaff Help!
smejker- Forumember
- Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian
Re: How to get numbers of total topics?
It should already show the number of messages/posts in the legend of your homepage.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to get numbers of total topics?
Yes, I see and I know that... but I want to get number of total topics of Forum... of course, if it's possible.
smejker- Forumember
- Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian
Re: How to get numbers of total topics?
Hi smejker,
Do you use forum widgets ? If so, you can create a widget with the following content :
After this, you can get the topic count via JS :
To apply it, you just need to add an element in your template with an id, such as this :
Then we just modify the script to add the value to this element :
Do you use forum widgets ? If so, you can create a widget with the following content :
- Code:
<div style="display:none" id="getTopicCount">{FORUMCOUNTOPIC}</div>
After this, you can get the topic count via JS :
- Code:
$(function() {
var sujets = document.getElementById('getTopicCount');
if (sujets) sujets.innerHTML; // topic count
});
To apply it, you just need to add an element in your template with an id, such as this :
- Code:
<span id="statsTopics">0</span>
Then we just modify the script to add the value to this element :
- Code:
$(function() {
var sujets = document.getElementById('getTopicCount'), target = document.getElementById('statsTopics');
if (sujets && target) target.innerHTML = sujets.innerHTML; // apply topic count
});
Similar topics
» Total online time
» Plus 1 Total
» Total Music Forum
» add the total number of views.
» Miscalculated total of messages
» Plus 1 Total
» Total Music Forum
» add the total number of views.
» Miscalculated total of messages
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum