Hi,
I'm back and i was wondering if a Who's Online Widget is on the design table? I'm using a standard WP Who's Online Widget but i have avatar problems ( the avatars are synced with WP instead of PHPBB, so i see plain wp user avatars by the users who are online.
Hoping to hear from you !
Greetings !
Future Request
- Lantern
- User www
- Posts: 66
- Joined: Fri Sep 09, 2016 12:07 pm
- Location: The Netherlands
- Contact:
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Future Request
Hi! yes, into next release all should be more comfortable about widgets styles
But i've not understand what happen with
But i've not understand what happen with
if these users have an avatar in phpBB than you should see their avatars ... it is not?the avatars are synced with WP instead of PHPBB, so i see plain wp user avatars by the users who are online
- Lantern
- User www
- Posts: 66
- Joined: Fri Sep 09, 2016 12:07 pm
- Location: The Netherlands
- Contact:
Re: Future Request
Hi,
Now i use: https://wordpress.org/plugins/wp-whos-online/ - this plugin and is not capable to sync with PHPBB so it looks into de WP db users table and avatars - the widget shows :
The users with avatar are manually added in WP - but i like to have a phpbb sync so no manual actions are needed.
Now i use: https://wordpress.org/plugins/wp-whos-online/ - this plugin and is not capable to sync with PHPBB so it looks into de WP db users table and avatars - the widget shows :
The users with avatar are manually added in WP - but i like to have a phpbb sync so no manual actions are needed.
- Attachments
-
- who's online.png (9.79 KiB) Viewed 3779 times
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Future Request
ah ok! now is clear.
In effect it is impossible to pass phpBB avatars to another plugin and render the same result without passing values.
It is possible to guess that are passed, activating before or after the call on wp_w3all?
I do not know, i should see. But you can try to open class.wp.w3all-phpbb.php
search for this line:
change into:
as you see i've change value 10 into 8.
this parameter indicate when the filter need to be executed. The question is: will work as expected? Need to fire also before? Try 6 than.
To execute after so, increase instead the value into 12 or more ...
Try out and let know.
In effect it is impossible to pass phpBB avatars to another plugin and render the same result without passing values.
It is possible to guess that are passed, activating before or after the call on wp_w3all?
I do not know, i should see. But you can try to open class.wp.w3all-phpbb.php
search for this line:
Code: Select all
add_filter( 'get_avatar', array( 'WP_w3all_phpbb', 'wp_w3all_phpbb_custom_avatar' ), 10 , 5 );
Code: Select all
add_filter( 'get_avatar', array( 'WP_w3all_phpbb', 'wp_w3all_phpbb_custom_avatar' ), 8 , 5 );
this parameter indicate when the filter need to be executed. The question is: will work as expected? Need to fire also before? Try 6 than.
To execute after so, increase instead the value into 12 or more ...
Try out and let know.
- Lantern
- User www
- Posts: 66
- Joined: Fri Sep 09, 2016 12:07 pm
- Location: The Netherlands
- Contact:
Re: Future Request
Bummer this doesn't work
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Future Request
It should, if coded as i was hoping, so perhaps it isn't. As you can see on WP default, avatars for users on posts are replaced.Bummer this doesn't work
So i've suppose, the plugin you use, should also.
This maybe mean nothing but i see this plugin you use report:
This plugin hasn’t been updated in over 2 years.