Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Karma?

  1. #1
    Pligg Donor dollars5's Avatar
    Joined
    Dec 2006
    Posts
    1,960
    Thanks
    Received:0
    Given: 0

    Karma?

    How to make karma auto update - it seems to update only when I manually run/call /libs/karma.php

    TIA.

  2. #2
    Pligg Developer/Coder/Designer ChuckRoast's Avatar
    Joined
    Dec 2005
    Location
    Pliggville USA
    Posts
    9,118
    Thanks
    Received:396
    Given: 73
    Version
    SVN Build
    Site
    http://Pligg.com/chuckroast
    Quote Originally Posted by dollars5 View Post
    How to make karma auto update - it seems to update only when I manually run/call /libs/karma.php

    TIA.
    It should work if you run karma.php as a cron job.
    Help Keep ChuckRoast Home
    Today's Pligg Blog Post


  3. #3
    Pligg Donor dollars5's Avatar
    Joined
    Dec 2006
    Posts
    1,960
    Thanks
    Received:0
    Given: 0
    hmmm, that too is possible, I was thinking if it is possible to update on each user actions.

  4. #4
    Pligg Developer/Coder/Designer ChuckRoast's Avatar
    Joined
    Dec 2005
    Location
    Pliggville USA
    Posts
    9,118
    Thanks
    Received:396
    Given: 73
    Version
    SVN Build
    Site
    http://Pligg.com/chuckroast
    Quote Originally Posted by dollars5 View Post
    hmmm, that too is possible, I was thinking if it is possible to update on each user actions.
    Personally I would just set the cron to run once each minute. Really that should be sufficient enough.
    Anything more is really going to add a load to your server.
    Help Keep ChuckRoast Home
    Today's Pligg Blog Post


  5. #5
    Pligg Donor dollars5's Avatar
    Joined
    Dec 2006
    Posts
    1,960
    Thanks
    Received:0
    Given: 0
    hmmm, will make that change as suggested by you. Thanks Chuck.

  6. #6
    New Pligger fsdave's Avatar
    Joined
    Jun 2007
    Posts
    8
    Thanks
    Received:0
    Given: 0

    Ever thought about adding a config editor option for this?

    It seems very strange to me that you have to run some commands to get this to work.

    Would it not be a good idea to have "karma" listing in the configuration menu and have options like "how often to run the update"; "how much karma to award for this"; "how much karma to award for that"; "does karma affect bury", "...and by how much"; "does karma affect votes", "...and by how much"; etc.

    ?

    I hope this is integrated soon.

  7. #7
    Pligg Donor phalcon's Avatar
    Joined
    Jun 2007
    Posts
    61
    Thanks
    Received:0
    Given: 0
    I've never run a cron.

    I can set one up using my host control panel. The main field reads: command to run.

    What do I write in "command" to run?

  8. #8
    Pligg Donor phalcon's Avatar
    Joined
    Jun 2007
    Posts
    61
    Thanks
    Received:0
    Given: 0
    command in "noob" mode on my server, hostmonster: input full server path to php file. checkboxes for time intervals.

  9. #9
    Pligg Donor phalcon's Avatar
    Joined
    Jun 2007
    Posts
    61
    Thanks
    Received:0
    Given: 0
    Another question about cron: I get permission denied on my command. What is the safest permissions for karma.php?

  10. #10
    Pligg Donor phalcon's Avatar
    Joined
    Jun 2007
    Posts
    61
    Thanks
    Received:0
    Given: 0

    Unhappy

    Well, I have permissions done ok but now I get all these errors:

    /home/ilovemyt/public_html/randomegg/libs/karma.php: line 1: ?php
    : No such file or directory
    /home/ilovemyt/public_html/randomegg/libs/karma.php: line 2: syntax error near unexpected token `'../config.php''
    /home/ilovemyt/public_html/randomegg/libs/karma.php: line 2: `include('../config.php');

    Any idea how to proceed?

Page 1 of 2 12 LastLast

Similar Threads

  1. ESP, Karma?
    By linkcitypro in forum Questions & Comments
    Replies: 2
    Last Post: 11-24-2009, 04:33 PM
  2. Karma
    By Geoserv in forum Questions & Comments
    Replies: 3
    Last Post: 05-12-2008, 05:06 AM
  3. About karma...uh, where is it?
    By Quintox in forum Questions & Comments
    Replies: 4
    Last Post: 07-27-2007, 06:54 PM
  4. What does karma do?
    By Pligga in forum Questions & Comments
    Replies: 3
    Last Post: 07-18-2007, 01:01 AM
  5. Karma
    By Geoserv in forum Questions & Comments
    Replies: 0
    Last Post: 05-05-2007, 09:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg