Joomla

CloudFlare Review | Better Speed & Security | Better Bounce Rate & Pageviews | Free CDN (Content Delivery Network) | HostGator

Before I get into my review. Here is an overview is what CloudFlare is about:

CloudFlare protects and accelerates any website online. Once your website is a part of the CloudFlare community, its web traffic is routed through our intelligent global network. We automatically optimize the delivery of your web pages so your visitors get the fastest page load times and best performance. We also block threats and limit abusive bots and crawlers from wasting your bandwidth and server resources. The result: CloudFlare-powered websites see a significant improvement in performance and a decrease in spam and other attacks. | More information about CloudFlare can be found here.

Best of all it is FREE! You get a a lot of features on the free version as well. There is a pro version if you interested in that. But I don’t see a need to upgrade to the pro version currently. But who knows maybe down the road I might.

CloudFlare will cache static files such as images, css and js files. So if your site is dynamic it will run exactly as before but with a key difference. It’s dramatically speed up and protected from the evil doers of the web. I have CloudFlare enabled on several WordPress installs and a Joomla install as well. No issues on any of them whatsoever.

The website speed difference is night and day. With CF (CloudFlare) enabled it was loading within a couple seconds. Here is a 3rd party test I did on a page where the content rarely changes:

(continue reading…)


[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
/components/com_s2framework/s2framework/dispatcher.php

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']) &&
($_SERVER['HTTP_X_REQUESTED_WITH'] == ‘XMLHttpRequest’));
}

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.

^(ftp|http|https)+(:\/\/)+[a-z0-9_-]+\.+[a-z0-9_-]

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:

/components/com_jreviews/jreviews/controllers/listings_controller.php

Search for this text:

The listing was successfully saved

Here is the original

                if($listing['Listing']['state']) 
                {
                    App::import('Helper','routes','jreviews');
                    $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\');
                        $parentForm.scrollTo({duration:400,offset:-100});
                        $parentForm.s2ShowUpdate('.$jsonObject.');                                                       
                    ';
                    return $this->makeJS($response);
                }
            }

Modified with AlphaUserPoints Integration:

(continue reading…)


Friends List Count Inaccurate | JomSocial | Joomla

If your having an issue with your JomSocial friend count showing inaccurate numbers. Run this in your phpMyAdmin when site traffic is low. Be sure to back up your database before you run this just in case.

UPDATE jos_community_users SET
friendcount =  (SELECT COUNT(*) FROM jos_community_connection AS a
INNER JOIN jos_users AS b ON a.connect_to = b.id
WHERE a.connect_from = jos_community_users.userid
AND a.STATUS = 1);

Thanks to the support guys at Jomsocial for helping me correct this.


  • RSS SlySpyder Reviews

  • Categories

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