×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Activity stream comments link to wrong place

Activity stream comments link to wrong place 14 years 5 months ago #10002

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
I have a simple problem, I just don't know where to edit it. Here is the example:

The original article is at this link -

gamersnexus.net/news/379-driver-san-francisco-coming-soon

But when a user commented on it, and the comment appeared in the activity stream, the link is here -

gamersnexus.net/component/content/article/379#josc225

Notice it is the wrong link, and as such messes up my modules. Any info? It works fine in myblog though, which I fixed btw :)

Activity stream comments link to wrong place 14 years 5 months ago #10003

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Steve, why are you telling me this now, after I have released it :)
I'll try to fix it by the end of the day.

Activity stream comments link to wrong place 14 years 5 months ago #10006

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
open administrator/components/com_comment/plugin/com_content/jos_com_content.class.php and go to line 234
if ($appl->scope == 'mod_comments' || $josctask  == 'ajax_search' ) {
and change it to this
if ($appl->scope == 'mod_comments' || $josctask  == 'ajax_search' || $josctask  == 'ajax_insert') {

I hate those SEF urls. I think that sef is wrong - they should be called human urls....

I will have to rethink the whole link function...

Activity stream comments link to wrong place 14 years 5 months ago #10007

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Sorry! I could never get the activity stream working on my site pre-release... no idea why, but when you released it I could get it working :?

I'll try your fixes, thanks!

Activity stream comments link to wrong place 14 years 5 months ago #10008

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
It worked! How are you such a beast? :D
  • Page:
  • 1
Time to create page: 0.106 seconds