activity stream is not supporting with js 2.4

More
12 years 4 months ago #8364 by rich-hi-rich
hello

activity streammodule is not working properly with js 2.4

the problem is when loged in at that time it shows comment, like, dislike feature but gives error . below is the html coming in the activity stream showing it as it is

<div id=\"newsfeed-content\"> <div id=\"newsfeed-content-top\"> <div id=\"newsfeed-content-actor\"><a id=\"actor-link\" href=\"/index.php?option=com_community&amp;view=profile&amp;userid=100&amp;Itemid=11\">tester</a></div>hi </div> <div id=\"newsfeed-meta-small\"> <img src=\" indyacentral.com/components/com_communit...favicon/default.png\ " id=\"newsfeed-icon profile-icon\" alt=\"profile\" /> 143 days ago • UnlikeComment
joms.jQuery(document).ready(function(){ var p = joms.jQuery(\"button.wall-coc-form-action.add.button\").outerHeight() + joms.jQuery(\"button.wall-coc-form-action.add.button\").height(); joms.jQuery(\"a.wall-coc-form-action.cancel\").css(\'line-height\', p+\'px\'); });
';

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #8371 by nordmograph
Thanks for reporting
I'll give it a look as soon as I'm back from hollidays, by the very beginning of december.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
The following user(s) said Thank You: rich-hi-rich

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #8419 by rich-hi-rich
any updates on this?

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #8423 by nordmograph
Only solution I found is to remove that piece of code. It can not show on a Gmap.

open defaut.php
find
Code:
$activity_text = strip_tags($activity_text,'<a><div><img>');
Before this , add:
Code:
$avt = explode("joms.jQuery(document)", $activity_text); $activity_text = $avt[0];

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
The following user(s) said Thank You: rich-hi-rich

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #8463 by rich-hi-rich
this works fine actually i was using the older version of gmap activity stream,

Actually when the user is loged in at that time it shows with all the activity url, i think in JS 2.4 they have done changes with activty stream.

actually i found a code for like and dislike option in com_community\frontend\view\system file, while trying this code in geommunity module with userhtml variable it crashes the whole html code. it returns the like dislike thumb and url but it gives <span> id due to this it gives error in html. i was not able to fix this bug with userhtml variable, so i didnt used this in userhtml.

Please Log in or Create an account to join the conversation.

Time to create page: 0.338 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.