Topic-icon activity stream is not supporting with js 2.4

  • rich-hi-rich
  • rich-hi-rich's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
26 Nov 2011 05:44 #8364 by rich-hi-rich
activity stream is not supporting with js 2.4 was created 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 &#x2022; <a id=\"like_id119\" href=\"#unlike\" onclick=\"jax.call(\'community\',\'system,ajaxStreamUnlike\', \'119\');return false;\">Unlike</a> &#x2022; <a href=\"javascript:void(0);\" onclick=\"joms.miniwall.show(\'119\');return false;\">Comment</a> <div id=\"clr\"></div> </div> <div> 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\'); }); <div id=\"wall-cocs\" id=\"wall-cmt-119\"> <div id=\"cComment wallinfo wallicon-like\"> <a onclick=\"jax.call(\'community\',\'system,ajaxStreamShowLikes\', \'119\');return false;\" href=\"#showLikes\">2 people like this</a> </div> <div id=\"cComment wallinfo wallform wallnone\"> <div id=\"wall-coc-form-actions\"> <a id=\"wall-coc-form-action cancel\" onclick=\"joms.miniwall.cancel(\'119\');return false;\" href=\"#cancelPostinComment\">Cancel</a> Post Comment </div> <div id=\"clr\"></div> <a href=\"javascript:void(0);\" onclick=\"joms.miniwall.show(\'119\')\" >Reply</a> </div> </div> </div> </div> </div></div>';

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

More
27 Nov 2011 01:57 #8371 by nordmograph
Replied by nordmograph on topic activity stream is not supporting with js 2.4
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.

  • rich-hi-rich
  • rich-hi-rich's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
02 Dec 2011 04:57 #8419 by rich-hi-rich
Replied by rich-hi-rich on topic activity stream is not supporting with js 2.4
any updates on this?

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

More
02 Dec 2011 09:18 #8423 by nordmograph
Replied by nordmograph on topic activity stream is not supporting with js 2.4
Only solution I found is to remove that piece of code. It can not show on a Gmap.

open defaut.php
find
$activity_text = strip_tags($activity_text,'<a><div><img>');
Before this , add:
$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.

  • rich-hi-rich
  • rich-hi-rich's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
05 Dec 2011 11:32 #8463 by rich-hi-rich
Replied by rich-hi-rich on topic activity stream is not supporting with js 2.4
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.

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.
Copyright © 2020 Nordmograph - Joomla extensions. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License.
Browser of the future