by axew3 » Tue Apr 17, 2018 6:18 pm
... do not lose changes on plugin update.
To style your widgets and shortcodes to look like your theme, you may wish to edit files that output the html code: you can check for all these files into folder
/wp-content/plugins/wp-w3all-phpbb-integration/views
they are quite self explained on their names:
phpbb_last_topics.php (output last topics on widgets)
phpbb_last_topics_output_shortcode.php (output last topics shortcode)
phpbb_last_topics_forums_ids_shortcode.php (output last topics shortcode by forums IDS)
login_form_include_noiframe_mode_links.php (output login form widget when links are not set to point to iframed page)
login_form_include_iframe_mode_links.php (output login form widget when links are set to point to iframed page)
if you go to edit these files and you do not want they are overwritten on plugin update, then you
can copy/paste these five files into the custom folder you'll go to create
/wp-content/plugins/wp-w3all-config
or that you may already manually created, if you chosen to include/use the custom phpBB config.php file.
If not, create it and to activate the use of these files, activate the related option into
WP_w3all admin config page -> Use custom files to display Last Topics Widgets, Login Widget or Last Topics Shortcode content
custom modifications done into these files, aren't overwritten when plugin update.
NOTE IMPORTANT: if you activate this option, it is mandatory that you copy/paste all files (exclude config.php!) you'll go to use, into the custom folder
/wp-content/plugins/wp-w3all-config
[size=150][b]... do not lose changes on plugin update.[/b][/size]
To style your widgets and shortcodes to look like your theme, you may wish to edit files that output the html code: you can check for all these files into folder
[i]/wp-content/plugins/wp-w3all-phpbb-integration[b]/views[/b][/i]
they are quite self explained on their names:
[b]phpbb_last_topics.php[/b] (output last topics on widgets)
[b]phpbb_last_topics_output_shortcode.php[/b] (output last topics shortcode)
[b]phpbb_last_topics_forums_ids_shortcode.php[/b] (output last topics shortcode by forums IDS)
[b]login_form_include_noiframe_mode_links.php[/b] (output login form widget when links are not set to point to iframed page)
[b]login_form_include_iframe_mode_links.php[/b] (output login form widget when links are set to point to iframed page)
[color=#0000BF][size=120][b]if you go to edit these files and you do not want they are overwritten on plugin update[/b][/size][/color], then you
can copy/paste these five files into the custom folder you'll go to create
[i]/wp-content/plugins[b]/wp-w3all-config[/b][/i]
or that you may already manually created, if you chosen to include/use the custom phpBB [i]config.php[/i] file.
If not, create it and to activate the use of these files, activate the related option into
WP_w3all admin config page -> [b]Use custom files to display Last Topics Widgets, Login Widget or Last Topics Shortcode content[/b]
custom modifications done into these files, aren't overwritten when plugin update.
[color=#0000BF]
[b][size=130]NOTE IMPORTANT:[/size][/b][/color] if you activate this option, it is mandatory that you copy/paste all files [color=#FF0000][size=150](exclude config.php!)[/size][/color] you'll go to use, into the custom folder
[i]/wp-content/plugins[b]/wp-w3all-config[/b][/i]