Firefox PHP

Module: Social Media Sharing

Posted by rtetzloff 
Re: Module: Social Media Sharing
March 25, 2013 12:37PM
there is a smiley replaced in the twitter code and that breaks it.


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Module: Social Media Sharing
March 27, 2013 08:25AM
How do i fix it?
Re: Module: Social Media Sharing
March 27, 2013 08:43AM
Don't use smileys in the subject (e.g. disallow them in the module) or get someone to fix the module (probably not easy to do).


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Module: Social Media Sharing
August 01, 2014 04:49AM
Sorry to come back to a question that was asked more than one year ago.

You can remove the smiley in the subject by using regular expressions. In the file social_share.php, look for the function social_share_mod_thread. After the line
$subject = $message['subject'];
add the following one
$subject = preg_replace("/<img[^>]+\>/i", " ", $subject);
The twitter code is then properly created.
Re: Module: Social Media Sharing
November 06, 2016 07:20PM
I installed this module, but instead of individual posts, I always get a link (in Facebook) to the entire list of topics.

The forum read view is set to "threaded".
I made the required changes in read_threads.tpl, but still, I get the entire list of topics.

Can anybody help, please?

Andrej
Sorry, only registered users may post in this forum.

Click here to login