spinner0205
Jr. Member

Karma: 0
Offline
Posts: 11
|
 |
« on: September 12, 2010, 02:37:39 » |
|
I have both the mod_jcomments displayed on the front page of my site, and the Latest Comments tab for JComments on every users Community Builder profile. But neither link correctly to the comment that was made. It is integrated with JoomGallery and VideoFlow. For example, with JoomGallery when clicking the 'More...' link on a profile for the specific comment it takes you to the gallery page rather than the individual picture detail page the comment was made on, same for the mod_jcomments module on the home page. Also, for VideoFlow it does not do anything at all when clicking and justs stays on the same page. Is there any way to correct these so that they link to the page the comment was made on correctly?  Link to a user profile: http://thatsactuallyfunny.webege.com/index.php/component/comprofiler/userprofile/LillieClick on Latest Comments tab and try clicking on any comment to view it. You will see what I mean. Some link to the gallery page because it was a comment made within com_joomgallery and some do not link anywhere because it was made in com_videoflow. Thanks in advance.
|
|
|
|
« Last Edit: September 15, 2010, 04:35:59 by spinner0205 »
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #1 on: September 12, 2010, 02:57:03 » |
|
JComments doesn't store link to commented objects but build them on the fly by using special plugins (see /components/com_jcomments/plugins). If some link generated wrong it means what some plugin needs to be corrected.
I couldn't check all plugins with all supported extensions. When I've made plugin for JoomGallery it worked fine for me. But may be with some of new versions of JoomGallery it might conflict. Give me more detailed information about used version of JoomGallery.
Regarding VideoFlow... I did't remember such extension and seems JComments hasn't plugin for it. All nessesary information about creation of such plugins is available on our site (see section for developers in right menu).
|
|
|
|
|
Logged
|
|
|
|
spinner0205
Jr. Member

Karma: 0
Offline
Posts: 11
|
 |
« Reply #2 on: September 12, 2010, 03:09:58 » |
|
Joomla version 1.5 in Legacy 1.0 mode JComments version 2.2.0.0 JoomGallery version 1.5.5.2
Is there any way to request a plugin creation for a certain component that hasn't been done yet? Also, for JoomGallery what might I need to do to fix the plugin file?
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #3 on: September 12, 2010, 03:20:26 » |
|
Joomla version 1.5 in Legacy 1.0 mode JComments version 2.2.0.0 JoomGallery version 1.5.5.2 Ok, I'll check with 1.5.5.2... BTW, I suggest you to update JComments 2.2.0.0 to 2.2.0.1 Is there any way to request a plugin creation for a certain component that hasn't been done yet? Of course. For that I need name of extension, version and link where it could be downloaded. And as I'll have free time I'll make such plugin.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
smart
|
 |
« Reply #5 on: September 12, 2010, 03:32:37 » |
|
It already has such plugin, see here: JComments Plugin. And in plugin description where is information where it must be placed.
|
|
|
|
|
Logged
|
|
|
|
spinner0205
Jr. Member

Karma: 0
Offline
Posts: 11
|
 |
« Reply #6 on: September 12, 2010, 03:36:24 » |
|
Cool thanks, works perfect now, and if you can, just let me know on the JoomGallery conflict. Thanks for the help.
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #7 on: September 14, 2010, 00:22:38 » |
|
I've found the solution for JoomGallery 1.5.5.2... 1. Open file /components/com_jcomments/plugins/com_joomgallery.plugin.php 2. Find code: $link = JoomlaTuneRoute::_('index.php?option=com_joomgallery&func=detail&id=' . $id . '&Itemid=' . $_Itemid); and replace with: $link = JRoute::_('index.php?option=com_joomgallery&view=detail&id=' . $id . '&Itemid=' . $_Itemid); Thats all!
|
|
|
|
|
Logged
|
|
|
|
spinner0205
Jr. Member

Karma: 0
Offline
Posts: 11
|
 |
« Reply #8 on: September 14, 2010, 02:41:07 » |
|
Cool works great now but have a new problem it seems. Now nobody can post comments, (this started before you fix by the way). It shows the comment field and BB Code buttons properly but pressing the send button does nothing. I uninstalled and installed version 2.2.0.2 and still the same thing.
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #9 on: September 14, 2010, 03:02:42 » |
|
It sounds you've some problems with JavaScript... Make sure that all JComments scritps are loaded properly. Or give me a link to the page where comments are enabled and I'll check it myself.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
smart
|
 |
« Reply #11 on: September 14, 2010, 14:24:53 » |
|
Sorry but you site is offline and I couldn't check...
|
|
|
|
|
Logged
|
|
|
|
spinner0205
Jr. Member

Karma: 0
Offline
Posts: 11
|
 |
« Reply #12 on: September 14, 2010, 17:46:32 » |
|
There you go, sorry bout that forgot to leave it online.
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #13 on: September 14, 2010, 20:14:42 » |
|
It looks like you've conflict with some compression software. The source code of page is compressed and it is too hard to me to detect if JComments Javascripts properly included. But browser reports JavaScript error that 'jcomments is not defined' - this is occurs when we've problems with including JComments' scripts. Try to disable compression extension.
|
|
|
|
« Last Edit: September 14, 2010, 21:04:46 by smart »
|
Logged
|
|
|
|
spinner0205
Jr. Member

Karma: 0
Offline
Posts: 11
|
 |
« Reply #14 on: September 15, 2010, 04:27:54 » |
|
EDIT: Didn't notice you edited your post to include what to do. Exactly right, I recall changing a setting in JCHOptimize to include all plugins and modules in its compression of files. Guess that's what messed it up. Thanks for all the awesome help. We can call this a solved problem!  Okay I completed uninstalled it again and removed all associated modules and plug ins, and made sure there was nothing left over in FTP.
Re-downloaded latest version of component and everything that goes with it (avatar plug in, CB profile plug in etc.) but only installed the component first. As expected it was still not functioning (send button just shoots you back to the top of the page and doesn't post the comment).
I noticed that it was retaining my configuration settings from before I uninstalled it, this tells me its not being completely removed, any idea where the files are hiding at that I need to remove manually by FTP?
|
|
|
|
« Last Edit: September 15, 2010, 04:33:24 by spinner0205 »
|
Logged
|
|
|
|
|