Help Me With Cred System :(

Discussion in 'Gaming' started by AM Nielz, Sep 24, 2005.

  1. AM Nielz

    AM Nielz Well-Known Member

    Age:
    35
    Posts:
    3,887
    Likes Received:
    0
    Joined:
    Apr 22, 2005
    Location:
    Steenwijk, The Netherlands
    Hey,

    I have a cred system, and i got to the Admin CP, to make it say that people get 1 cred per post, but that doesn't work...

    Does anyone know it?

    One that can help me solving it gains 40 creds.
     
  2. Otaku23

    Otaku23 Well-Known Member

    Posts:
    1,115
    Likes Received:
    0
    Joined:
    Jul 3, 2005
    Location:
    canada
    Make sure it's aplied to work on all forums. I belive default is that it's disabled....
     
  3. XMasterX

    XMasterX Well-Known Member

    Age:
    40
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    lol, I didn't notice this, but I have the same problem..

    I'm using IPB 1.3.1, the IPBStore you have on here at the shop.

    What version of both are you ^ using?
     
  4. AM Nielz

    AM Nielz Well-Known Member

    Age:
    35
    Posts:
    3,887
    Likes Received:
    0
    Joined:
    Apr 22, 2005
    Location:
    Steenwijk, The Netherlands
    Im using 2.0

    *Thanks for the answer, ill look at it.

    How can i get it to work on all forums?
     
  5. XxDarkAcexX

    XxDarkAcexX Well-Known Member

    Posts:
    207
    Likes Received:
    0
    Joined:
    Aug 30, 2005
    Heres what i did :

    Open sources>lib>post_new_post.php and find:
    Code:
    
      //-----------------------------------------
      // If we are a member, lets update thier last post
      // date and increment their post count.
      //-----------------------------------------
      
      $this->class->pf_increment_user_post_count();
    Below that add (change the 1 to however many points you want to give):

    Code:
    // update members points!!
    $Perfect_Points=1;
    $DB->query("UPDATE ibf_members SET points=points+$Perfect_Points WHERE id='{$ibforums->member['id']}' ") or print mysql_error();
    -----------------------------------------------------
    Open sources>lib>post_reply_post.php and find:
    Code:
    
      //-----------------------------------------
      // If we are a member, lets update thier last post
      // date and increment their post count.
      //-----------------------------------------
      
      $this->class->pf_increment_user_post_count();
    Below that add (change the 1 to however many points you want to give):

    Code:
    // update members points!!
    $Perfect_Points=1;
    $DB->query("UPDATE ibf_members SET points=points+$Perfect_Points WHERE id='{$ibforums->member['id']}' ") or print mysql_error();
    -----------------------------------------------------
    Open sources>lib>post_poll.php and find:
    Code:
    
      //-----------------------------------------
      // If we are a member, lets update thier last post
      // date and increment their post count.
      //-----------------------------------------
      
      $this->class->pf_increment_user_post_count();
    Below that add (change the 1 to however many points you want to give):

    Code:
    // update members points!!
    $Perfect_Points=1;
    $DB->query("UPDATE ibf_members SET points=points+$Perfect_Points WHERE id='{$ibforums->member['id']}' ") or print mysql_error();
    This works with IBStore/IBShop and this is what i use on my site, and everything works fine.

    Hope this helps! Rep is much appreciated.
     
  6. XMasterX

    XMasterX Well-Known Member

    Age:
    40
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    i think you would have to do that with post_q_reply_post.php....
     
  7. XxDarkAcexX

    XxDarkAcexX Well-Known Member

    Posts:
    207
    Likes Received:
    0
    Joined:
    Aug 30, 2005
    Nope... i did this all ... nd mine works fine :)
     
  8. XMasterX

    XMasterX Well-Known Member

    Age:
    40
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    hmm, just when i put a new mod in, it told me to edit that file as well... it's the thing where you press 'quote' in the upper right of the user's post... did you try that?
     
  9. XxDarkAcexX

    XxDarkAcexX Well-Known Member

    Posts:
    207
    Likes Received:
    0
    Joined:
    Aug 30, 2005
    ...what board are you using??? Quote is just part of any board basically!
     
  10. XMasterX

    XMasterX Well-Known Member

    Age:
    40
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    im using IPB 1.3.1... maybe 2.0 just merged that into reply... i dunno
     
  11. XxDarkAcexX

    XxDarkAcexX Well-Known Member

    Posts:
    207
    Likes Received:
    0
    Joined:
    Aug 30, 2005
    Interesesting.... i thought that quote was in all boards... o well
     
  12. Otaku23

    Otaku23 Well-Known Member

    Posts:
    1,115
    Likes Received:
    0
    Joined:
    Jul 3, 2005
    Location:
    canada
    I'm not. I've just had experiance with it...
     
  13. AM Nielz

    AM Nielz Well-Known Member

    Age:
    35
    Posts:
    3,887
    Likes Received:
    0
    Joined:
    Apr 22, 2005
    Location:
    Steenwijk, The Netherlands
    Okay,

    I did what the guy said (thx for that)

    Now it works at Top Ten Richest Member (already did i thought)

    but still nothing when i post? And nothing left from the people posts...?
     
  14. aphex

    aphex AKA Zander

    Posts:
    2,567
    Likes Received:
    0
    Joined:
    Aug 13, 2004
    Did you turn it on?
     
  15. BurninH2O

    BurninH2O Senior Member

    Posts:
    1,163
    Likes Received:
    0
    Joined:
    Sep 16, 2005
    whats your forum name? can we visit it?
     

Share This Page