MyBB Community Forums

Full Version: Does anybody know how to 'Fake' the total posts of your forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

Is there a plugin or a way of faking the total posts, I just need it to show somebody else then I can change it back.

NOT A PERMANENT CHANGE!

~Hostpro
Just make a load of posts on a new thread, then delete the thread when your done.
Sure, just go into your Index > index_boardstats template, then replace {$lang->stats_posts_threads} with:

Our members have made a total of 1,234,653,345 posts in 2 threads.

Just replace the numbers with whatever you want.
(2012-06-09, 06:06 PM)Eric J. Wrote: [ -> ]Sure, just go into your Index > index_boardstats template, then replace {$lang->stats_posts_threads} with:

Our members have made a total of 1,234,653,345 posts in 2 threads.

Just replace the numbers with whatever you want.

Just done it, thanks

But now when somebody makes a new post it won't add another one on, does anybody know how to make it still say:

{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}

but maybe with a start of 10,00 or something, so it's 10,000 + stats_post_threads or something,

~Hostpro
You could do something like this with jQuery:

var newthreads = {$stats['numthreads']} + 10000;
var newposts = {$stats['numposts']} + 10000;
$('.new_count').text("Our members have made a total of " + newposts + " posts in " + newthreads + " threads.";

and replace {$lang->stats_posts_threads} with <span class="new_count"></span>.

Didn't test it though.