NixCron - Cronless updating for your Pligg site

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools
NixCron - Cronless updating for your Pligg site
Developed by chuckroast chuckroast is offline
Developer Last Online: Mar 2010 Show Printable Version Email this Page
Designed for: Gold 1.0.0
Released: 03-29-2009
Last Update: Never
Installs: 16
Uses Module System
Template Edits Not Required
Includes Files to Upload
In Beta Stage
Not Supported by Author
NixCron - Cronless updating for your Pligg site.


This module makes it easy to process updates to your pligg site without the use of setting up a cron.
The NixCron module will process and scheduled RSS Imports and recalculate Karma once every six hours when the "god" user is logged into your site.

Installation instructions:

Unzip NixCron-Module.zip
Upload nixcron.php to your pligg root.
Upload modules/nixcron/ folder to yoursite/modules/
CHMOD 666 yoursite/modules/nixcron/lastcron.txt
Go to module management in your pligg administration panel and activate the module.
Please support this developer by making a contribution.

Download Now

File Type: zip Nixcron-Module.zip (3.9 KB, 244 views)

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

Comments
  #12 (permalink)  
Old 05-11-2009, 02:18 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Galleria
 
Join Date: Jun 2006
Posts: 3,835
Quote:
Originally Posted by gjrb29 View Post
So would I need this in order to update the karma points?
No, you can set up a cron job to run libs/karma.php once per day, or just visit yoursite/libs/karma.php to update the scores manually.


Download the full Pligg Module Pack





Reply With Quote
  #13 (permalink)  
Old 05-12-2009, 12:33 AM
Constant Pligger
 
Join Date: Jan 2009
Posts: 216
I receive this error at the top of the page when enabling this module:

You have not setup any feeds yet!
Go back and add a feed.

Warning: include(/libs/karma.php) [function.include]: failed to open stream: No such file or directory in /home/mypliggsite/public_html/cache/templates_c/c_e3b58b40a7fd35a704a6ce357a543ff8.php on line 14

Warning: include() [function.include]: Failed opening '/libs/karma.php' for inclusion (include_path='.') in /home/mypliggsite/public_html/cache/templates_c/c_e3b58b40a7fd35a704a6ce357a543ff8.php on line 14


The strange thing about it is that it doesn't show all the time just sometimes.
Reply With Quote
  #14 (permalink)  
Old 05-13-2009, 08:15 AM
Constant Pligger
 
Join Date: Jan 2009
Posts: 216
Quote:
Originally Posted by gjrb29 View Post
I receive this error at the top of the page when enabling this module:

You have not setup any feeds yet!
Go back and add a feed.

Warning: include(/libs/karma.php) [function.include]: failed to open stream: No such file or directory in /home/mypliggsite/public_html/cache/templates_c/c_e3b58b40a7fd35a704a6ce357a543ff8.php on line 14

Warning: include() [function.include]: Failed opening '/libs/karma.php' for inclusion (include_path='.') in /home/mypliggsite/public_html/cache/templates_c/c_e3b58b40a7fd35a704a6ce357a543ff8.php on line 14


The strange thing about it is that it doesn't show all the time just sometimes.
Is there anything I can do about this error message I keep receiving?
Reply With Quote
  #15 (permalink)  
Old 05-13-2009, 10:44 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Galleria
 
Join Date: Jun 2006
Posts: 3,835
Quote:
Originally Posted by gjrb29 View Post
Is there anything I can do about this error message I keep receiving?
Disable the module. You really shouldn't be using this module anyway. If you don't have any feeds to import, the module is kind of useless to you.


Download the full Pligg Module Pack





Reply With Quote
  #16 (permalink)  
Old 05-13-2009, 10:55 AM
Constant Pligger
 
Join Date: Jan 2009
Posts: 216
Does this mean I have to update the point manually? if so how do I do that?
Reply With Quote
  #17 (permalink)  
Old 05-13-2009, 11:00 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Galleria
 
Join Date: Jun 2006
Posts: 3,835
Quote:
Originally Posted by gjrb29 View Post
Does this mean I have to update the point manually? if so how do I do that?
You can either point your browser to yoursite/libs/karma.php
or set up a cron to run yoursite/libs/karma.php once per day.


Download the full Pligg Module Pack





Reply With Quote
  #18 (permalink)  
Old 05-13-2009, 12:47 PM
Constant Pligger
 
Join Date: Jan 2009
Posts: 216
Quote:
Originally Posted by chuckroast View Post
You can either point your browser to yoursite/libs/karma.php
or set up a cron to run yoursite/libs/karma.php once per day.
And how would I point my browser to yoursite/libs/karma.php or set up a cron to run once a day?
Reply With Quote
  #19 (permalink)  
Old 05-13-2009, 01:06 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Galleria
 
Join Date: Jun 2006
Posts: 3,835
Quote:
Originally Posted by gjrb29 View Post
And how would I point my browser to yoursite/libs/karma.php or set up a cron to run once a day?
Simply type your domain-name.com/libs/karma.php in the browser text field and press the enter key on your keyboard. This is quite possibly the easiest thing in the world to do.

Setting up a cron job is different on most hosts. Contact your web host support and ask them.


Download the full Pligg Module Pack





Reply With Quote
  #20 (permalink)  
Old 06-29-2009, 12:13 PM
New Pligger
 
Join Date: Nov 2008
Posts: 9
I saw this script 2nd times and so?? This is doesn't work. Do not post this script it helpless.

Quote:
Originally Posted by chuckroast View Post
If you want to make a php file to put in your pligg root folder and trigger it when needed you can use the following:
Code:
<?php

if (strpos($_SERVER['SCRIPT_NAME'], 'rss_import') > 1){
    die('nixcron rssimport error.');
}

include_once('Smarty.class.php');
$main_smarty = new Smarty;

        include_once('config.php');        
        include_once(mnminclude.'html1.php');
        include_once(mnminclude.'link.php');
        include_once(mnminclude.'tags.php');
        include_once(mnminclude.'smartyvariables.php');
        
    include_once('modules/rss_import/rss_import_settings.php');
    include_once('modules/rss_import/rss_import_main.php');
    
    rss_import_do_import(false);

?>
Reply With Quote
  #21 (permalink)  
Old 06-29-2009, 03:17 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 3,804
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Quote:
Originally Posted by alexnews View Post
I saw this script 2nd times and so?? This is doesn't work. Do not post this script it helpless.
Please treat other forum members with respect. Just because the module does not work for you doesn't mean that it's not helping others. Your post doesn't seem to make any sense, if you are not a native English speaker, or are unable to speak English fluently, please post in your own language along with your English version so that we can try to understand you.

Now Available: Facebook Connect Module !
Reply With Quote
Reply

Tags
cron, importing, karma, rss

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg Donation Drive 2009 chuckroast Questions and Comments 0 03-23-2009 04:42 PM
URGENT: Have 80% Pligg Design Done, Need Experienced Programmer/Designer to finish it anothercollegestudent Questions and Comments 3 11-07-2007 01:39 AM
WANTED: Incorporate Pligg with Custom template into my site, attractive compensation recordbreaker Questions and Comments 1 07-21-2007 10:35 AM
Can't submit new items to my pligg site cswank Questions and Comments 3 03-28-2006 06:26 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