Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+7 votes
in Plugins by
edited by

Dear all,

I am referring to this post: http://www.question2answer.org/qa/65788/bonus-points-needs-some-improvements

I have coded on q2a 1.7.5 and it seems everything goes well. You also test it and share your comments. Suggestions are welcome.



Q2A version: 1.8 customized

2 Answers

0 votes

This is cool plugin - but how user will receive "note" about bonusing? Can You write more about functionality?
BTW. Well done, great - new plugins are extremely needed to set q2a to "live" state again... :)
This plugin has written from admin perspective.

You can add a custom widget or page based on this plugin using plugin's functiıons such as

function q2a_bonusplus_reasonname($reasonid)

function q2a_bonusplus_receiver_history($userid)

function q2a_bonusplus_bonuser_history($userid)

These function are already described in plugins plugin.php file.
0 votes
It is a cool plugin, actually.

How can I add page to this plugin to show bonus point history of a user ?
use this function q2a_bonusplus_receiver_history($userid).
It retrieves an array of {bonuserid, receiverid, amount, reasonid, bonusnote, bonustime}.

And using this function q2a_bonusplus_reasonname($reasonid), you can convert reasonid to reasonname.