MyBB Community Forums

Full Version: make Total User and Total Post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,


How Can I make this :
- Total register member and total post

i want to make disable Board Statistics and make information Total register member and total post on header
Hi kurniawan,

Are you wanting to make this so that total members and total posts appear all the time on your forum, or just the index page?
index page bro Tomm
That's good news. The only issue is that you'll need to make a manual edit to the index.php file in your forum's folder.

Find:

eval("\$forumstats = \"".$templates->get("index_stats")."\";");

and replace it with

// eval("\$forumstats = \"".$templates->get("index_stats")."\";");

Now, in the the index template (ACP -> Templates & Style -> Templates (on the left) -> (affected template set) -> Index Templates -> index) you're able to use any of the stats that are in the board statistics. Have a look in the index_stats template for the language strings.

We can't add them into the header template directly without more manual edits because the header template is parsed well before the board statistics. It will be much easier making a plugin that continuing with manual edits.
ok i'w try this thx for great and fast respond