Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

wpForo 1.x.x [Closed] Online Users Widget

9 Posts
3 Users
0 Reactions
3,789 Views
Posts: 533
Topic starter
(@central4allgmail-com)
Prominent Member
Joined: 7 years ago

I want to make some changes to the online users widget and I want to know which php files renders it. Basically add some colors to the different profile types, but I can't find that php file to edit for the widget! Is it a core wordpress file or a wpforo file?


8 Replies
Sofy
Posts: 5637
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Hi @central4allgmail-com,

You need to modify the wpForo_Widget_online_members class, it can be found in the wp-content/plugins/wpforo/wpf-includes/functions-template.php file. 

However, you'll need to keep these changes, in a case to not lose it during the upgrade process.


Posts: 533
Topic starter
(@central4allgmail-com)
Prominent Member
Joined: 7 years ago

Thanks!

Is there a way to create a folder with overrides so my changes aren't lost during an upgrade?


1 Reply
Robert
Admin
(@robert)
Joined: 10 years ago

Support Team
Posts: 10600
Posted by: CENTRAL4ALL

Thanks!

Is there a way to create a folder with overrides so my changes aren't lost during an upgrade?

You can not use both. wpForo loads either the core template file or your customized template file from the WordPress theme /wpforo/ folder.


Posts: 533
Topic starter
(@central4allgmail-com)
Prominent Member
Joined: 7 years ago

To update:

I know I can create overrides for theme files like this:

https://wpforo.com/docs/root/forum-themes/theme-customization/

 

But I want to create an override for other wpforo files like the above functions-template.php 


1 Reply
Robert
Admin
(@robert)
Joined: 10 years ago

Support Team
Posts: 10600
Posted by: CENTRAL4ALL

To update:

I know I can create overrides for theme files like this:

https://wpforo.com/docs/root/forum-themes/theme-customization/

But I want to create an override for other wpforo files like the above functions-template.php 

In this case you should use hooks to change something. This is a core file, this is not a template fie to customize.


Posts: 533
Topic starter
(@central4allgmail-com)
Prominent Member
Joined: 7 years ago

Thanks!


Page 1 / 2