Support » Plugin: WordPoints » Reset or edit points manually from admin

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author J.D. Grimes

    (@jdgrimes)

    Hi @joyspark,

    There is not a feature to automatically reset points, however, you can manually edit a user’s points by visiting their profile in the admin panel. Here is a tutorial on how to do this, from the WordPoints user guide.

    I’ll consider adding the feature to automatically reset users’ points in the future.

    joyspark

    (@joyspark)

    Thanks that was easy. what i needed perfect. No need to reset points automatically

    joyspark

    (@joyspark)

    One more question. I cant translate some text in point log page. Post %name% pulished <— this one. Im editing .po file.

    Plugin Author J.D. Grimes

    (@jdgrimes)

    One more question. I cant translate some text in point log page. Post %name% pulished <— this one. Im editing .po file.

    You are probably translating it correctly, but you are still seeing the untranslated version in the older logs. The logs are not generated dynamically, so you will still see the old version in logs from before you added the translation. If you trigger the Post Publish hook to fire again, you should see the translated version for the new log.

    It is possible to regenerate the logs, which would cause the old logs to be updated to the translated version. If you’d like to do this, let me know and I will create a module that will do this for you.

    joyspark

    (@joyspark)

    Ok that would be great. Cyrillic titles in my log page showing ??????????? symbols. Also translation text ?????

    Plugin Author J.D. Grimes

    (@jdgrimes)

    Cyrillic titles in my log page showing ??????????? symbols. Also translation text ?????

    Thanks for the report. I’ve been able reproduce this issue on my own site, and I’ll be releasing an update to the plugin that will fix this issue. It will probably be ready in a few days.

    Plugin Author J.D. Grimes

    (@jdgrimes)

    @joyspark, I have fixed the problems with the Cyrillic characters in the points logs. If you update to 1.5.1, the characters should display correctly in new points logs. I will post a link to the module to regenerate the old points logs when it is ready.

    i did few modification in plugin files and css. So i want to update manually. Can u tell me wich files should i replace or update?

    Plugin Author J.D. Grimes

    (@jdgrimes)

    Here is a list of the files changed:

    components/points/includes/functions.php
    components/points/includes/hooks/abstracts/post-type.php
    components/points/includes/hooks/comment-removed.php
    components/points/includes/hooks/comment.php
    components/points/includes/update.php
    components/points/install.php
    components/points/points.php
    includes/constants.php
    includes/functions.php
    readme.txt
    wordpoints.php

    However, it isn’t good practice to edit plugin files, because it makes it difficult to update. For the CSS, you can add styles to your child theme’s style.css. If you are making changes in the PHP, those should be moved to a custom plugin, or to your child theme’s functions.php file. If you need more do_action() and apply_filters() hooks added to WordPoints so that you can accomplish what you want, let me know and I can add them to a future release.

    im just adding some class names in table. Im using bootstrap in my project so it will look more pretty.

    Plugin Author J.D. Grimes

    (@jdgrimes)

    im just adding some class names in table. Im using bootstrap in my project so it will look more pretty.

    Okay, I might add a filter for the table classes in the next version. If I do, I’ll post back here with the details of how it would work.

    Here is a link to the module to regenerate the points logs. Here is a guide on how to install it.

    The module adds a button to the WordPoints ยป Points Logs administration screen, which will cause the points logs to be regenerated when clicked. Note that all of the logs for a site will be regenerated at once, not just those of one points type.

    Plugin Author J.D. Grimes

    (@jdgrimes)

    Another note on adding the classes to the tables: you could also add the classes with JavaScript, which wouldn’t require you to edit the plugin files.

    Plugin Author J.D. Grimes

    (@jdgrimes)

    @joyspark, I’ve release 1.6.0, which lets you filter the table classes. You’ll find the filters in same files as the tables are in (points/includes/logs.php and points/includes/shortcodes.php).

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Reset or edit points manually from admin’ is closed to new replies.