Help customising My Cred Plugin

Hi there, are you guys able to help in some customisation of the My Cred points plugin?

I'm trying to add a point system to http://www.thedreamfactory.net using My Cred which does have a tutorial on how to add a custom message to the transfer. This is important feature so members can acknowledge each others skills.

There is a tutorial available for adding a custom message available here:
http://mycred.me/support/tutorials/add-transfer-messages/#req

I've tried to go through all the steps, but i've not managed to get it to work as don't quiet know where it all goes.

If you can help please let me know, it would be great if you can.

Daniel

  • Daniel

    Hi Vinod, thanks for the quick response.

    It's not really custom work, its following instructions given by the plugin creator, but it involves adding scripts to areas I don't understand, hence asking for help first.

    Here are some of my questions maybe you can help with from the tutorial http://mycred.me/support/tutorials/add-transfer-messages/#req

    Where is the themes js folder?
    I've gone into the Cpanel file manager

    I've been able to find the file in the plugins/mycred/addons/transfer/js/

    I just placed it in the themes normal folder as can't see a js one.


    When changing default scripts:

    "replace the default script with our own. For this, we will hook into the mycred_front_enqueue action "

    Do i just add the script given into the main mycred.php file?

    Where do replace a template tag?
    Next we hook into the mycred_add filter and replace this template tag

    If you can help with any of that, Id appreciate it.

    Daniel

  • Vinod Dalvi

    Hi Daniel,

    Thank you for your detailed reply.

    Where is the themes js folder?
    I've gone into the Cpanel file manager

    I've been able to find the file in the plugins/mycred/addons/transfer/js/

    I just placed it in the themes normal folder as can't see a js one.

    If there isn't any js folder in the theme folder then create one in the theme folder and copy transfer.js file in it.

    When changing default scripts:
    "replace the default script with our own. For this, we will hook into the mycred_front_enqueue action "

    Do i just add the script given into the main mycred.php file?

    You should add it in functions.php file of your theme.

    Where do replace a template tag?
    Next we hook into the mycred_add filter and replace this template tag

    You have to use the code presented on the page just below the quoted sentence "Next we hook into the mycred_add filter and replace this template tag" in functions.php file of your theme.

    Best Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.