Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 10 Years, 8 Months, 2 Weeks ago [How To?] make Total User and Total Post
#1
Solved: 10 Years, 8 Months, 2 Weeks ago
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
#2
Solved: 10 Years, 8 Months, 2 Weeks ago
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?
#3
Solved: 10 Years, 8 Months, 2 Weeks ago
index page bro Tomm
#4
Solved: 10 Years, 8 Months, 2 Weeks ago
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.
#5
Solved: 10 Years, 8 Months, 2 Weeks ago
ok i'w try this thx for great and fast respond


Forum Jump:


Users browsing this thread: 1 Guest(s)