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
  #2 (permalink)  
Old 04-03-2009, 12:42 PM
New Pligger
Pligg Version: 9.9
 
Join Date: May 2008
Posts: 5
nice nice...

but whats about this ?

everyone can have a look into the rss import modul!

Geordies Newcastle United Breaking News / RSS Importer

its a big problem..you know it?
Reply With Quote
  #3 (permalink)  
Old 04-03-2009, 12:49 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 pluggfreak View Post
nice nice...

but whats about this ?

everyone can have a look into the rss import modul!

Geordies Newcastle United Breaking News / RSS Importer

its a big problem..you know it?
No, I can't read minds. I have no idea what you are talking about. You need to provide details.


Download the full Pligg Module Pack





Reply With Quote
  #4 (permalink)  
Old 04-17-2009, 05:40 AM
oobie11's Avatar
Constant Pligger
Pligg Version: 1.0
Pligg Template: Custom, wistie
 
Join Date: Apr 2009
Location: Monterey, CA
Posts: 148
is there any way to make it import in less than six hours?
Reply With Quote
  #5 (permalink)  
Old 04-21-2009, 07:59 PM
New Pligger
Pligg Version: 1.0
 
Join Date: Mar 2009
Posts: 11
How does NixCron work? Do I need to be logged in for it to work? What is the trigger?

I'd prefer to use cron but can't seem to get:
/usr/local/bin/php rss_import/import.php

to work

I get the ../smarty.class.php can't be found error.

Help with either is appreciated.
Reply With Quote
  #6 (permalink)  
Old 04-21-2009, 09:26 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 fjrussell View Post
How does NixCron work? Do I need to be logged in for it to work? What is the trigger?

I'd prefer to use cron but can't seem to get:
/usr/local/bin/php rss_import/import.php

to work

I get the ../smarty.class.php can't be found error.

Help with either is appreciated.
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);

?>


Download the full Pligg Module Pack





Reply With Quote
  #7 (permalink)  
Old 04-21-2009, 10:35 PM
oobie11's Avatar
Constant Pligger
Pligg Version: 1.0
Pligg Template: Custom, wistie
 
Join Date: Apr 2009
Location: Monterey, CA
Posts: 148
Thanks for that php script. I have been trying for weeks now to get my cron working, but it wouldnt. I instaled nixcron and then set up a cron for the script above and it works like a charm now. Thanks
Reply With Quote
  #8 (permalink)  
Old 05-10-2009, 03:49 AM
Donor
Pligg Version: 1.0
Pligg Template: magazeen
Donation Level 2 
 
Join Date: Mar 2009
Location: London
Posts: 97
I am probably doing something stupid but I get this error when I install and activate the nixcron module.

Code:
 RSS Importer

Warning: Table 'episode_pligg.pligg_feeds' doesn't exist in /home/episode/public_html/libs/db.php on line 241
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/episode/public_html/cache/templates_c/c_9144b43d6e125a2d7320222aac2223cd.php on line 13

Warning: include() [function.include]: Failed opening '/libs/karma.php' for inclusion (include_path='.') in /home/episode/public_html/cache/templates_c/c_9144b43d6e125a2d7320222aac2223cd.php on line 13
I am not making use of any RSS imports for my pligg site - would this be the problem?

What does it mean, I haven't setup feeds. I have RSS feeds for every single category and this is done automatically by pligg.
Reply With Quote
  #9 (permalink)  
Old 05-11-2009, 09:43 AM
Banned
Pligg Version: 1.0
 
Join Date: Apr 2009
Posts: 117
Can nixcron load all rssfeeds every hour? than when i sleep i have to load every hour rss feeds. Can nixcron take this job and load the feeds every hour? So yes i buy it.

When not i will not buy it than i can login and go to admin rssimport and load all the feeds i want and that every minuut i will. So why must i than buy nixcron?

So dear coder an answer please.
MarioF
Reply With Quote
  #10 (permalink)  
Old 05-11-2009, 01:15 PM
Constant Pligger
 
Join Date: Jan 2009
Posts: 216
So would I need this in order to update the karma points?
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