Tag: JReviews

[Update] Fix for Ajax Issues with JReviews | Joomla | HTTP_X_REQUESTED_WITH key

If you are having problems with Ajax in the admin menu of JReviews. Try this fix and see if it fixes your issue.

Go to this file

Add this code

if($_REQUEST['xajax']==1) return true; // Fix for SERVER loss of HTTP_X_REQUESTED_WITH key

Before the change:

* Detects jQuery ajax request
function isAjax()
return (isset($_SERVER['HTTP_X_REQUESTED_WITH']) &&

After the change:

(continue reading…)

Fix for JReviews Website Field Error – “You must fill in a valid value for Website”

Go to your Fields Manager in the JReviews backend and find your website field.

Click on “[Click here for Advanced Options]

In the “Regex pattern for input validation:” field put this code in below and save.


That should do it.

AlphaUserPoints Integration for JReviews Guide | AUP API | Joomla

First you’ll need go Components > AlphaUserPoints then click on Plugins. Then you’ll unzip the files below which contain a .xml file. Then you upload 2 different .xml files. One is for creating points upon a new review listing. The other is for reviewing a existing item.


Next you’ll need to edit 3 files. Which sadly you’ll have to do every time you upgrade JReviews. So this is reference for me as well. This also prevents people from getting points just for editing a listing or review as well. First up is this file:


Search for this text:

The listing was successfully saved

Here is the original

                    $Routes = new RoutesHelper();
                    $Routes->params = $this->params;
                    $url = cmsFramework::route($Routes->content('',$listing,array(),'',false));
                    $update_text = $isNew ? __t("Thank you for your submission.",true,true) : __t("The listing was successfully saved.",true,true);
                    $update_html = "<a href=\"{$url}\">".__t("Click here to view the listing",true)."</a>";
                    $jsonObject = json_encode(compact('target_id','update_text','update_html'));
                    $response[] = '
                        var $parentForm = '.$parentFrame.'.jQuery(\'#jr_listingForm\');
                    return $this->makeJS($response);

Modified with AlphaUserPoints Integration:

(continue reading…)

  • RSS SlySpyder Reviews

  • Categories

  • Copyright © 1996-2010 SlySpyder Blog. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress