Notifications
Clear all

wpForo 1.x.x [Closed] Randomize Number of Current Active users - more than there is

2 Posts
2 Users
0 Reactions
1,895 Views
Posts: 5
Topic starter
(@not_a_npc)
Active Member
Joined: 6 years ago

Is there a way to change # of Online Users to a random number + current active users? I'm trying to make my forum more popular than it is in the starting stages. I have users joining and see no one is online so they look around and leave

Β 

Any help would be greatly appreciated!

1 Reply
Sofy
Posts: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

HiΒ @not_a_npc,

Please read this doc for wpForo custumazation.Β  https://wpforo.com/docs/root/forum-themes/theme-customization/

You need toΒ customize the footer.php file in wp-content/plugins/wpforo/wpf-themes/classic/ folder.

Remove the code on 45 line and put the following one instead of it:Β 

<span class="wpf-stat-value"><?php echo wpforo_print_number($stat['online_members_count']) + ceil( rand(2, 22) ) ?></span>