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.

"Liked" Button Auto Reverting to "Like" After Page Refresh on Video

11 years 5 months ago
  • Steven's Avatar
    Topic Author
  • Steven
  • Offline
  • Fresh Boarder
  • Posts: 50
  • Thank you received: 3
Licenses:
JomSocial Active AdAgency Expired iSEO Expired Socialize Expired

ISSUE SUMMARY: "Liked" Button Auto Reverting to "Like" After Page Refresh on Video I have attached two images, showing the issue.

STEPS TO REPLICATE:
1. Go to My Videos page.
2. Click on video to watch it.
3. Click the "Like" button at bottom and see it change to "Liked"
4. Refresh page.
5. Button is still blue and selected but reverts from "Liked" to "Like".
RESULT: Button is still blue and selected but reverts from "Liked" to "Like".
EXPECTED RESULT: Button should still be "Liked", as it is everywhere else in Jomsocial.
BROWSER: Chrome.

Attachments:
11 years 5 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Steven,
This is bug.. thank you for reporting.

11 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

to fix it open this file components/com_community/templates/jomsocial/layouts/videos/single.php find this code :

echo JText::_('COM_COMMUNITY_LIKE'); ?><?php echo $likeCountHTML; ?></button>
replace to :
echo JText::_( $likeLiked ? 'COM_COMMUNITY_LIKED' : 'COM_COMMUNITY_LIKE'); ?><?php echo $likeCountHTML; ?></button>

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