Pligg Update Notifier

Register an Account
Reply
 
Thread Tools
Pligg Update Notifier
Developed by Yankidank Yankidank is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page
Designed for: Gold 1.0.0
License: Creative Commons Attribution-Noncommercial-Share
Released: 07-22-2009
Last Update: Never
Installs: 3
Uses Module System
Template Edits Not Required
Can Reuse Source Code
Includes Files to Upload
Translations Accepted
Not Supported by Author
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
If you find that cURL has not been installed on your server you can use the links below to attempt to install it on your own. You could also try contacting a server administrator or your hosting company for support.

Download Now

File Type: zip pligg_update_notifier_0.2.zip (6.4 KB, 69 views)

License Agreement

Creative Commons Attribution-Noncommercial-Share Alike License
You 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

  • If you like this download support the author by donating.
  • This download may not be copied, reproduced or published elsewhere without author's permission.

Similar Downloads
Download Developer Category Replies Last Post
Social bookmark module update urbn Free Modules 3 10:17 PM 01-03-2011

Comments
  #2 (permalink)  
Old 01-16-2010, 01:17 PM
New Pligger
 
Join Date: Jan 2010
Posts: 6
Do you offer a 1 click installation upgrade of Pligg , when you release a new version?
Reply With Quote
Reply

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


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development