Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Facebook post to facebook / jomsocial tagging

7 years 3 months ago
  • Lee's Avatar
    Topic Author
  • Lee
  • Offline
  • Fresh Boarder
  • Posts: 80
  • Thank you received: 1
Licenses:
JomSocial Active Socialize Expired

Facebook "post to facebook" enabled, when posting status update in jomsocial wall, everything works fine, but the post to facebook shows this
With @427:contact:NAME + message

7 years 3 months ago
Licenses:

HI, Lee.

Thank you for contacting us.
I assign developer to investigate this issue further.
Actually he's on holidays and will contact you at Monday


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
7 years 3 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Lee,

Interensting, not sure this is valid bug or not, or maybe we can sort it or not, but this issue already be added on our bug list.

thank you

7 years 3 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Lee,

Would you mind provide me sample profile on your site or screenshoot of this issue, please? because on your current FB app, seems your app dont have permission to post from jomsocial to facebook

thank you!

7 years 3 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Lee,

For fixing this issue open this file components/com_community/events/profile.trigger.php, add this code :

 						//remove tagged user syntax, display name only
 						preg_match_all("/@\[\[\d+:\w+:[\w\s]+\]\]/", $newMessage, $tagged);
 
 						if (count($tagged[0]) > 0) {
 							foreach ($tagged[0] as $user) {
 								if (!empty($user)) {
 									$newMessage = str_replace($user, preg_replace("/(\d)+:(\w)+:/", "", preg_replace("/[@\[\]]/", "", $user)), $newMessage);
 								}
 							}
 						}

above this code :
$result = $facebook->postStatus( $newMessage );

thank you!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW