Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    Other extensions    Modules    Topic: How to make Jcomments put comments on Jdownloads items
Pages: [1]   Go Down
  Print  
Author Topic: How to make Jcomments put comments on Jdownloads items  (Read 4672 times)
0 Members and 1 Guest are viewing this topic.
Saber
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« on: June 11, 2012, 17:16:58 »

Hey there,
i'm trying everything but i can't select the category of Jdownloads as a page to put Jcomments on.
this is because i think it isn't a article. (simply put i want comments pages for every file uploaded)

 Embarrassedhere is where it is supposed to be





 Sad Sad the selection menu for articles where the (file) page doesn't appear:


« Last Edit: June 11, 2012, 17:35:37 by smart » Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #1 on: June 11, 2012, 17:33:59 »

You don't needed to select any category in JComments settings. You have to enable commenting in JDownloads and select JComments as commenting extension in JDownloads settings.

If you're want to comment categories (not files) you have to make small modification of JDownloads:

1. Open /components/com_jdownloads/jdownloads.html.php
2. Find code:
Code: (php)
    $footer =  makeFooter(true, false, true, $sum_pages, $limit, $limitstart, $site_aktuell, $pageNav, false, false);
        $html_cat .= $footer;
        
        // remove empty html tags
        if ($jlistConfig['remove.empty.tags']){
            $html_cat = removeEmptyTags($html_cat);
        }
and replace with:
Code: (php)
    $footer =  makeFooter(true, false, true, $sum_pages, $limit, $limitstart, $site_aktuell, $pageNav, false, false);

    if ($jlistConfig['jcomments.active']){
        $jcomments = $mainframe->getCfg('absolute_path') . '/components/com_jcomments/jcomments.php';
        if (file_exists($jcomments)) {
            require_once($jcomments);
            $obj_id = $cat[0]->cat_id;
            $obj_title = $cat[0]->cat_title;
            $html_cat .= JComments::showComments($obj_id, 'com_jdownloads_category', $obj_title);
        }    
    }
        $html_cat .= $footer;
        
        // remove empty html tags
        if ($jlistConfig['remove.empty.tags']){
            $html_cat = removeEmptyTags($html_cat);
        }

I haven't tested this modification but seems it should work Wink
So try to apply this modification and if comments form will show under category - I will explain what to do after this.
« Last Edit: June 11, 2012, 17:37:40 by smart » Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Saber
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #2 on: June 11, 2012, 17:43:43 »

so fast im impressed. ok i'm on it will let you know soon
Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #3 on: June 11, 2012, 19:09:58 »

If you want to comment files (not categories) you have not make any modification. Just go to JDownloads configuration, select Frontend tab and at the bottom of page will be settings for JComments integration. See screenshot.


* jdownloads-configuration.png (7.74 KB, 1374x148 - viewed 296 times.)
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Saber
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #4 on: June 11, 2012, 21:14:29 »

 Grin thanks it works
Logged
nick4sale
Newbie
*

Karma: 0
Offline Offline

Posts: 5


Email
« Reply #5 on: June 30, 2012, 07:36:55 »

I don't have the problem of wanting jcomment to show up on the category page, but I am having the problem of even getting it to show on the files page. I have the options checked to allow jdownload to work with jcomment (like shown in the picture above) I've even tried placing the {sum_jcomments} in the description field.

The page is at: http://lcrecipes.com/lcn/index.php/archives/2008-lcr-files-jds

I am using the short description versus the long description and do not know if that would be causing the problem. I've looked in the jdownload forum for some help there, but there doesn't seem to be much and I will post there as well.

I am very new to using jcomment in the first place, so it's not a component yet that I am familiar with.

Thank you for any help you can give.

Marian
« Last Edit: June 30, 2012, 07:52:18 by nick4sale » Logged
ABTOP
Sr. Member
****

Karma: 17
Offline Offline

Posts: 399



WWW
« Reply #6 on: June 30, 2012, 22:29:29 »

... I am having the problem ...
Your site crashed my FireFox, Nice going, bro!
Why don't you first fix all the network errors and then we'll talk about JComments.
Logged

No personal messages unless you are a friend or you have money for me.
nick4sale
Newbie
*

Karma: 0
Offline Offline

Posts: 5


Email
« Reply #7 on: June 30, 2012, 22:39:11 »

Perhaps your just having a bad browser day... I have opened that site now on all pc's, and an ipad with no crashing whatsoever in FF.. I'm not sure why you crashed, but I have a hard time thinking it's that url since there's nothing wrong network wise with that site at the moment. I'm sorry you crashed, but how do you expect me to fix network errors I have no control over. It's just on a host, it's not like I know how to do it any other way.
Logged
ABTOP
Sr. Member
****

Karma: 17
Offline Offline

Posts: 399



WWW
« Reply #8 on: June 30, 2012, 23:35:59 »

Perhaps your just having a bad browser day...
Perhaps. Strange though, that my 'bad browser day' started when I opened your site, eh?
Perhaps it's the FireBug that crashed the FireFox because your site is flooding it with so many errors that FireBug can't even show them all.

Any more ideas?
Logged

No personal messages unless you are a friend or you have money for me.
nick4sale
Newbie
*

Karma: 0
Offline Offline

Posts: 5


Email
« Reply #9 on: July 01, 2012, 05:13:58 »

well I guess I'll go install firebug, but even if I do, it's not like I know how to fix network errors.
Logged
nick4sale
Newbie
*

Karma: 0
Offline Offline

Posts: 5


Email
« Reply #10 on: July 01, 2012, 05:41:04 »

ok, so I installed it in FF 13.01 I can see 2 problems on my main page, which I think were put there this morning when I installed a module, but I'll go check that out by disabling it here in a moment, but that module is only on home page. On the page I gave the url for tho, those 2 problems don't exist, and I'm not getting any problems shown by firebug on that page.



* fb-errors.jpg (498.72 KB, 1133x627 - viewed 288 times.)
Logged
nick4sale
Newbie
*

Karma: 0
Offline Offline

Posts: 5


Email
« Reply #11 on: July 01, 2012, 06:14:12 »

ok, I finally figured out some of these problems. I have gotten rid of the k2 and 2 modules that show as problems in the firebug console (I'll work those out later) as I need this issue resolved with jcomment and jdownload. I do still find one network error with the jdownload script, but I can't uninstall that since it is the error I probably need to fix. Hope those issues I have hopefully fixed won't make you crash now.

Good lesson for me tho.. appreciate it Smiley

Marian
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    Other extensions    Modules    Topic: How to make Jcomments put comments on Jdownloads items
 
Jump to: