Forums

Revision points with TDOMF & CubePoints (4 posts)

  1. mexxr
    Member
    Posted 1 year ago #

    Hi ppl!

    I have a blog with many registered users and TDOMF&CubePoints on board. When users submit posts (with TDOMF) or comments they gain some points with CubePoints. But also i have second form in TDOMF that gives my users ability to change or supplement existing posts. And i want CubePoints to give some points to users every time they make a revision to existing post. How can i make it? :)

    Thanks for reading and answering ;)

  2. mexxr
    Member
    Posted 1 year ago #

    any help? o__O

  3. Petester
    Member
    Posted 1 year ago #

    You can always use one of the functions provided in CubePoints to give users points:

    cp_alterPoints( int $uid, int $points );

    $uid = user id
    $points = points to add

  4. mexxr
    Member
    Posted 1 year ago #

    Petester, thanks a lot! But can you give me another advice — where do i have to use this function? :) i tried to hack TDOMF plugin by including this function to it, but wordpress gives me an error: "Can't find function …" or something like that

Topic Closed

This topic has been closed to new replies.

About this Topic