jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Topic started by: ibrahim on 27.12.2021 22:36:41

Title: Integrate JLex Review instead of jDownloads rating! Please Help
Post by: ibrahim on 27.12.2021 22:36:41
Hello! I need some help to integrate JLex Review instead of jDownloads rating, below is the instructions could anyone help to modify to work on jDownloads items as Rating and Review:

Integration Into Other Extensions
Same as popular components like as JLex Comment, JComment, Komento... JLex Review allow you integrate it to your component. It contain two parts:

Mini-star Icon
Using to display average rating (or criterias) of item

<?php
$loader 
JPATH_ROOT '/components/com_jlexreview/load.php';
if (
file_exists $loader )) {
    require_once 
$loader;
    echo 
JLexReviewLoad::quick_init $extension$id );
}



Parameters:

$extension: (type:string) - name of component (without com_ prefix) : k2, virtuemart or easyblog ....
$id: (type:integer} - ID of item (maybe is article, blog item...)
Example:

<?php
$loader 
JPATH_ROOT '/components/com_jlexreview/load.php';
if (
file_exists $loader )) {
    require_once 
$loader;
    echo 
JLexReviewLoad::quick_init 'k2'$item->id);
}



Review Body
Put code bellow where you want show review body.
<?php
$loader 
JPATH_ROOT '/components/com_jlexreview/load.php';
if (
file_exists $loader )) {
    require_once 
$loader;
    echo 
JLexReviewLoad::init $title$extension$id $section_id );
}




Parameters:

1. $title (type:string) - name of reviewed item. If this param is blank, the JLex Review will find title automatically
2. $extension (type:string) - name of component (without com_ prefix) : k2, virtuemart or easyblog ....
3. $id (type:integer} - ID of item (maybe is article, blog item...)
4. $section_id (type:integer | default:0} - Use it if you want create multiple different review/commenting systems

Example:

<?php
$loader 
JPATH_ROOT '/components/com_jlexreview/load.php';
if (
file_exists $loader )) {
    require_once 
$loader;
    echo 
JLexReviewLoad::init $this->item->title'k2'$this->item->id $this->item->category->id );
}




I really appreciate the help and support you've given me.

Referance: https://www.jlexart.com/articles/jlex-review-documentation-1ps#use-2

Thank You :)  :)
Title: Re: Integrate JLex Review instead of jDownloads rating! Please Help
Post by: Arno on 28.12.2021 21:24:06
Hi,
I will try it in the next days.
Title: Re: Integrate JLex Review instead of jDownloads rating! Please Help
Post by: Arno on 03.01.2022 12:47:07
Hi,
I'm not sure that I have the time to try this. Maybe should you contact the jlexreview developer to start a request for a jDownloads plugin. Sorry.
Title: Re: Integrate JLex Review instead of jDownloads rating! Please Help
Post by: ibrahim on 03.01.2022 17:04:04
Dear Arno, Thanks for the answer! Otherwise, ist possible to use Disqus instead of comments.
There is a plugin that works great on contents
https://extensions.joomla.org/extension/disqus-comments/
Title: Re: Integrate JLex Review instead of jDownloads rating! Please Help
Post by: Arno on 06.01.2022 23:02:52
We must check this.  ::)
Title: Re: Integrate JLex Review instead of jDownloads rating! Please Help
Post by: ibrahim on 10.01.2022 01:04:02
Hello Arno! I really appreciate the help, time, assistance support you've given to do this.
I had contacted jlexreview developer and they will check it out, but after testing Disqus is much better to use instead of jComments. I wish you can do this as soon as you can.  :)
Title: Re: Integrate JLex Review instead of jDownloads rating! Please Help
Post by: ColinM on 14.01.2022 13:14:04
Hi
I have had a brief look at Disqus.  Seems to me that if you use the free version then you suffer adverts :(
JComments is free and does allow simple comments OK.  So could you please advise what you find is lacking in JComments.
Also have you seen the articlehttps://fatfrogmedia.com/delete-disqus-comments-wordpress/
Colin
Title: Re: Integrate JLex Review instead of jDownloads rating! Please Help
Post by: ibrahim on 15.01.2022 04:52:21
Dear ColinM! Thanks for your advice, it was very nice of you for sharing the article about Disqus.
JComments works but Disqus or jlexreview have more features and a better look. I will move to jlexreview for commenting and rating of Jdownloads.