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.

Like Button not working on 3.2.0.6

12 years 4 months ago
  • Marc's Avatar
    Topic Author
  • Marc
  • Offline
  • Fresh Boarder
  • Posts: 39
  • Thank you received: 13
Licenses:
JomSocial Active

After update to 3.2.0.6 the "like" button on stream does no longer work. Behavior is like a jump to top of page.

12 years 4 months ago
Licenses:

Hi, Marc.

I assign developer to this thread.


- 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
12 years 4 months ago
Licenses:

Hi Marc,

could you please try to re-install the jomsocial component? from extention manager without uninstall anythings.
if the issue still exist, I need your FTP and Cpanel access detail. i need that for make local copy
debugging from local copy it's more safe then directly at your live site because can damaging your site in temporary hour.

if can't provide me cpanel access you can install Akeeba Backup component. I can download your site using that component.

FYI: please put any credential information at Site Info Form, by editing your first post at this topic.

Regards,
Albert

12 years 4 months ago
  • Marc's Avatar
    Topic Author
  • Marc
  • Offline
  • Fresh Boarder
  • Posts: 39
  • Thank you received: 13
Licenses:
JomSocial Active

Hi Albertus,

I did the reinstall trough extension manager but still the same issue.

I installed the Akeeba Backup component and did a backup. You can download the file.

Many thanks,
Marc

12 years 4 months ago
  • Marc's Avatar
    Topic Author
  • Marc
  • Offline
  • Fresh Boarder
  • Posts: 39
  • Thank you received: 13
Licenses:
JomSocial Active

Can you download the file via back-end or do you need ftp access?
Regards

12 years 4 months ago
Licenses:

Hi Marc,

yes I can download it. rightnow i'm still try figure it out your issue.
no need FTP access :)

Regards,
Albert

12 years 4 months ago
Licenses:

Hi Marc,

after I disabling plugins:
- System - Language Filter
- System - Jomsocial Redirect

The like button works properly. I think there is problem with your server restriction, you need to asking your server support to figure it out. Because your site at my local copy, no problem even both plugin enabled.

Regards,
Albert

12 years 4 months ago
  • Marc's Avatar
    Topic Author
  • Marc
  • Offline
  • Fresh Boarder
  • Posts: 39
  • Thank you received: 13
Licenses:
JomSocial Active

Hi, I am glad you found the issue.
Can you please tell me which server restriction you think is concerned? I have sites on different servers and hosters and all have the same issue.

Thanks

12 years 4 months ago
  • Marc's Avatar
    Topic Author
  • Marc
  • Offline
  • Fresh Boarder
  • Posts: 39
  • Thank you received: 13
Licenses:
JomSocial Active

I see that another user has a similar problem:
www.jomsocial.com/forum/installation/178...ity-stream-is-broken

The following user(s) said Thank You: Craig Luecke
12 years 4 months ago
Licenses:

Hi, Marc.

No, this issue has a different cause... I checked Albertus solution and it don't work for that user...


- 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
12 years 4 months ago
Licenses:

Hi Marc,

about server restriction, mostly about security things. "Like" button using AJAX request. for exactly to know what happen with your server. Must asking your server support.

Regards,
Albert

12 years 4 months ago
  • Marc's Avatar
    Topic Author
  • Marc
  • Offline
  • Fresh Boarder
  • Posts: 39
  • Thank you received: 13
Licenses:
JomSocial Active

Well Albertus this doesn't help me at all.

Michal, I applied the fix you provided for the other topic and guess what: the fix also works for me.
So the topics are very well related which is good to know for all of us,

Can you please take a look into this fix and make sure it's not again "forgotten" in the next version or provide a viable solution?

I leave the topic to not fixed until I get a confirmation.

Thanks
Marc

The following user(s) said Thank You: Matt
12 years 3 months ago
Licenses:

Hi Marc,

Yes it will. this fixes will be have at our next realease.

/components/com_community/views/views.php

remove this code at line 1598:

$app = JFactory::getApplication();

// only load within community component
if ($app->isSite() && ($app->input->get('option') == 'com_community' || JVERSION < 3.2)) {
    $js = 'assets/stream.js';
    CFactory::attach($js, 'js');

    // $map = 'https://maps.googleapis.com/maps/api/js?libraries=places&sensor=false';
    // $doc = JFactory::getDocument();
    // $doc->addScript($map);
}

and add this code at line 614 (below $document->addCustomTag($js); ):
CFactory::attach('assets/stream.js', 'js');

Regards,
Albert

The following user(s) said Thank You: Marc
12 years 3 months ago
  • Marc's Avatar
    Topic Author
  • Marc
  • Offline
  • Fresh Boarder
  • Posts: 39
  • Thank you received: 13
Licenses:
JomSocial Active

Hi Albertus,

I modified the original files (core.php and views.php) as you told and it woks fine now.

Regards,
Marc

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