Hi.
I have WP-phpbb working nicely - thank you!
However, the avatar images in the forums (i understand these are essentially hotlinks to files in the WP installation) are sized at 50x50. How does this work - what determines this size? Can we choose a different size?
thanks!
Image sizes
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Image sizes
hello!
There is option into plugin admin
Last Forums Topics Widget avatar's dimension
change into a value you want.
the custom wild way:
assuming you're using widget last topics, then you'll open the file
/wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_last_topics.php
or any of the files within this folder, if using any other to output shortcodes etc.
search for these lines of code (and may read inline hints):
for example change into
if you want 100px img output.
If you like to customize these files inside the folder
/wp-content/plugins/wp-w3all-phpbb-integration/views/
then may consider to use custom files, as suggested on admin plugin option:
Use custom files to display Last Topics Widgets, Login Widget or Last Topics Shortcode content
All files customized and placed on custom folder as suggested will not be overwritten on plugin update.
Consider that all these files will be updated presumably before 2.0.0 plugin release.
Do not copy/paste the config.php file into the custom folder.
There is option into plugin admin
Last Forums Topics Widget avatar's dimension
change into a value you want.
the custom wild way:
assuming you're using widget last topics, then you'll open the file
/wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_last_topics.php
or any of the files within this folder, if using any other to output shortcodes etc.
search for these lines of code (and may read inline hints):
Code: Select all
get_avatar(0, $w3all_last_t_avatar_dim);
Code: Select all
get_avatar(0, 100);
If you like to customize these files inside the folder
/wp-content/plugins/wp-w3all-phpbb-integration/views/
then may consider to use custom files, as suggested on admin plugin option:
Use custom files to display Last Topics Widgets, Login Widget or Last Topics Shortcode content
All files customized and placed on custom folder as suggested will not be overwritten on plugin update.
Consider that all these files will be updated presumably before 2.0.0 plugin release.
Do not copy/paste the config.php file into the custom folder.