

![]() |
| | Thread Tools |
Pligg Update Notifier | |||||
|
Developed by Yankidank Developer Last Online: Feb 2012
About the Pligg Update Module Brief Description: This module will notify you from the admin panel if a new version of Pligg is out. ![]() Pligg stores your version number in your MySQL database. Each time you upgrade Pligg CMS it will update this number to match the version of Pligg that you are upgrading to. This module takes that number and compares it to the current version number that Pligg places on the official download page (http://www.pligg.com/download.php). If the version number on the download page is greater than the number installed it will add a notice to the Pligg admin panel (see image above). To reduce the number of times that this module calls out to pligg.com I have added a cache function to it so that it will only check for updates once a day. This way it won't be pinging pligg.com every time you visit an admin panel page. cURL Requirement This module was written for users who have cURL installed on their server. If you don't have cURL installed see the "Curl Installation Tutorials" section of this post for resources to help you out. If you don't know if you have cURL installed I've provided a test PHP file that you can run from your web browser that will tell you whether cURL and if the function file_get_contents is enabled. To test for cURL upload the module and then visit /modules/pligg_update/curl_test.php from your web browser. Curl Installation In some cases cURL will be preconfigured and installed on your server, but it might be disabled from your php.ini file. If you find that cURL is not enabled on your server you should first check if the line below exists in your php.ini configuration file. If you find that line with a semicolon in front of it, remove the semicolon, save the file, restart Apache and try the curl_test.php file again. Code: extension=php_curl.dll Download Now
License Agreement Creative Commons Attribution-Noncommercial-Share Alike LicenseYou are free to Share and Remix this work under the following conditions: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). You may not use this work for commercial purposes. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. Show Your Support
|
Similar Downloads | ||||
| Download | Developer | Category | Replies | Last Post |
| Social bookmark module update | urbn | Free Modules | 3 | 10:17 PM 01-03-2011 |
| Comments |
![]() |
| Tags |
| update |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pligg integration with SMF Forum | autoinc | Questions and Comments | 66 | 08-27-2010 04:04 AM |
| Pligg 1.0 Thai Translation (ภาษาไทยสำหรับ Pligg 1.0) | Techkr | Questions and Comments | 4 | 04-19-2010 12:42 PM |
| Pligg Donation Drive 2009 | chuckroast | Questions and Comments | 0 | 03-23-2009 05:42 PM |