J.D. Grimes
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPoints] Reset or edit points manually from admin@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
andpoints/includes/shortcodes.php
).Forum: Plugins
In reply to: [WordPoints] Reset or edit points manually from adminAnother 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.
Forum: Plugins
In reply to: [WordPoints] Reset or edit points manually from adminim 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.
Forum: Plugins
In reply to: [WordPoints] Reset or edit points manually from adminHere 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’sfunctions.php
file. If you need moredo_action()
andapply_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.Forum: Plugins
In reply to: [WordPoints] Reset or edit points manually from admin@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.
Forum: Plugins
In reply to: [WordPoints] Reset or edit points manually from adminCyrillic 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.
Forum: Plugins
In reply to: [WordPoints] Reset or edit points manually from adminOne 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.
Forum: Plugins
In reply to: [WordPoints] Reset or edit points manually from adminHi @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.
Forum: Plugins
In reply to: [WordPoints] Customize Widget to allow coding@jenniferep — I’ve just released version 1.5.0, which makes this possible. You need to add the following code in a custom plugin or your child theme:
remove_filter( 'wordpoints_points_widget_text', 'esc_html', 20 );
Forum: Plugins
In reply to: [SECURE] Dangerous PHP functionsI’m getting the same thing. I think this part of the plugin may be broken.
Forum: Plugins
In reply to: [WordPoints] Customize Widget to allow codingI an unable to reproduce the bug with the shrinking images in the widget. What version of Chrome are you using? And what theme is active on your site? It is also possible that other plugins you have installed could be causing it.
Also, a note about your original request. I think you can already do what you want using the Text widget that WordPress provides, and using the WordPoints shortcodes, if you install this plugin that lets you use shortcodes in the Text widgets: https://www.ads-software.com/plugins/shortcodes-in-sidebar-widgets/
Forum: Plugins
In reply to: [WordPoints] Customize Widget to allow codingHi @jenniferep,
I will consider adding an option to enable HTML in the widget in the next version of WordPoints. Thank you for the feedback.
Forum: Localhost Installs
In reply to: Installing a WP site to a local host from a downloaded backupDo you have the backup of the database? You need to import it using phpMyAdmin.
Forum: Plugins
In reply to: [Add IDs to Header Tags] Not adding IDsAh, I’ve found the problem. I was expecting it to work on pages, but because it uses
is_single()
, it only works for posts. The solution is to switchis_single()
foris_singular()
, or if attachments should be excluded, just add|| is_page()
;Forum: Plugins
In reply to: [Add IDs to Header Tags] Not adding IDsI’m also experiencing issues. I think it added the IDs sometimes before, but most of the time it doesn’t. I’ll see if I can get to the bottom of it.