Please or Register to create posts and topics.

Add social networks sharing

PreviousPage 3 of 3

Can you please activate the debug log and check for some errors:
https://help.dreamhost.com/hc/en-us/articles/360029327771-Enabling-the-WordPress-Debug-log

Where exactly did you insert this code?

Can you please also try do change the do_shortcode function with just a text:

function my_share_buttons() {
    echo 'Test';
}
add_action('asgarosforum_topic_custom_content_bottom', 'my_share_buttons');

 

Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.

The code is at the end of fonction.php in child theme.

“Test” is at the bottom of the forum topic.

 

Uploaded files:
  • test.JPG

Debug has 2 messages at the beginning:

Deprecated: WPSEO_Utils::get_title_separator est obsolète depuis la version WPSEO 15.2 ! Utilisez Yoast\WP\SEO\Helpers\Options_Helper::get_title_separator à la place. in /home/clients/…/web/wp-includes/functions.php on line 4859

Deprecated: WPSEO_Utils::get_title_separator est obsolète depuis la version WPSEO 15.2 ! Utilisez Yoast\WP\SEO\Helpers\Options_Helper::get_title_separator à la place. in /home/clients/…/web/wp-includes/functions.php on line 4859

and 3 messages at the end of the pages :

Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/…/web/wp-includes/functions.php on line 4755

Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/…/web/wp-includes/functions.php on line 4755

Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/…/web/wp-content/plugins/really-simple-ssl/class-mixed-content-fixer.php on line 110

https://www.rythmes-croises.org/forum-de-discussions/topic/nouvelle-creation-de-lensemble-mze-shina-elesa-chimere-polyphonique-de-georgie/?part=1#postid-53

 

 

@sylvsteph

And what happens if you add the do_shortcode?

It could be related to really simple ssl. Please try to deactivate it for testing the shortcode.

Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.

@qualmy91

I desactivated Really simple ssl but nothing happens.

Hi,

I upgraded to wordpress 5.7, changed my theme and created a new child theme with

/* Pour afficher le bouton partager dans le forum asgaros */

function my_share_buttons() {
echo do_shortcode(‘[jpshare]’);
}
add_action(‘asgarosforum_topic_custom_content_bottom’, ‘my_share_buttons’);

I have now the share buttons a the end of the forums pages and at the end of each subject pages.

Thanks a lot for your help.

 

 

 

qualmy91 has reacted to this post.
qualmy91

Hey @sylvsteph,

with the latest update of Asgaros Forum, it’s also compatible with Sassy Social Share.

 

sylvsteph has reacted to this post.
sylvsteph
Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.
PreviousPage 3 of 3