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.

Approving a pending invitation friend

11 years 4 weeks ago
  • Arnaud's Avatar
    Topic Author
  • Arnaud
  • Visitor
  • Thank you received: 0
Licenses:

Hello,

Is it normal when from popup notification or from pending page when approving, there's no message or something to notice user has accepted a friend invitation

Users think it doesn't work but the invitation has been accepted

And when clicking twice on approve button, then we have a message COM_COMMUNITY_FRIENDS_NOT_YOUR_REQUEST

It's our request but yet accepted but has we don't know that the user has been accepted it's stange

See attached file

Problem on jommla v2.5 and jomsocial v3.1.1
I gave you test server access but try with new users not mine.

best regards

11 years 3 weeks ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi There,

I dont see any error there, but seems the callback aftar AJAX is not applied to the dialogbox. Anyway, I think this issue caused by your template modification/override, I suggest you try with the original from Jomsocial itself.. I am sure it will work fine, because in my end by using default template everything is working fine.

Thank you

11 years 3 weeks ago
  • Arnaud's Avatar
    Topic Author
  • Arnaud
  • Visitor
  • Thank you received: 0
Licenses:

hello,

So on my test server, i disable all extensions i used on jomsocial pages
I disabled my template to beez template one
I enabled jomsocial default template

And approving a friend always gives me that error in Chrome :
Uncaught SyntaxError: Unexpected identifier ajax_1.5.pack.js:1
Jax.processResponse ajax_1.5.pack.js:1
xmlhttp.onreadystatechange

check on my test server ONLY

best regards

11 years 3 weeks ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

I just fix this, by editing this file components/com_community/controllers/friends.php, and replace this code :

JText::sprintf('COM_COMMUNITY_FRIEND_REQUEST_ACCEPTED', $friend->getDisplayName(), $friendUrl)

to :
addslashes(JText::sprintf('COM_COMMUNITY_FRIEND_REQUEST_ACCEPTED', $friend->getDisplayName(), $friendUrl))

11 years 3 weeks ago
  • Arnaud's Avatar
    Topic Author
  • Arnaud
  • Visitor
  • Thank you received: 0
Licenses:

hello Dimas, thnk you it work fine now !

So it was a jomsocial bug ? Will it be in next release or do i have to replace it for my website ?

best regards

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