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 ;)
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
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