masterida
Forum Replies Created
-
Forum: Plugins
In reply to: [Front End Users] Users page does not show all feup usersSorry.
Forum: Plugins
In reply to: [Front End Users] Import from spreadsheet, bug?You’re welcome.
Forum: Plugins
In reply to: [Front End Users] Import from spreadsheet, bug?Your file does work indeed. But as soon as I add a new column with the label “Password”, then the import fails. The problem I guess is not in custom fields. It just happens if you add “core user info” like password, level, email confirmed and so on.
The message I get from wordpress is
WordPress-Database-Error: [Column count doesn't match value count at row 1] INSERT INTO wp6_EWD_FEUP_Users (Username,User_Password, User_Date_Created) VALUES ('jandoe\',\'$2y$13$a8e75601ef03f1cc5df34OvtJe2i/PMqB6A43cZrpk5LcAruk65Zi','2022-06-22 06:13:00')
There is an extra escape-character before the trailing single quote of the username and before the leading single quote of the password hash. I think, that they should not be escaped though.
- This reply was modified 2 years, 5 months ago by masterida.
Forum: Plugins
In reply to: [Front End Users] Notices and WarningsThat would be great.
- This reply was modified 7 years ago by masterida.
Forum: Plugins
In reply to: [reGenerate Thumbnails Advanced] Processing…Hi
I can confirm this bug. Seems to be an issue with some invalid ajax json result from the rta/regenerate script. I get the following error (Firefox Developer Tools > Network):
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 159 of the JSON data
The plain result is:
[a lot of white spaces] 0 0 0 0 0 0 [again many white spaces] {"offset":1,"error":[],"logstatus":"<br\/>WP_20170903_18_33_10_Pro.jpg - <b>Processed<\/b>","startTime":"1504711981750","fromTo":"15. August 2017-5. September 2017","type":"submit","period":"4"}
Note that I had to write that there are a lot of white spaces, because otherwise they would have been removed in this support forum. In reality, there are just a lot of white spaces. Any idea why?
Best regards
Forum: Plugins
In reply to: [Front End Users] not able to delete users from adminHi there
I can confirm that bug. If I try to delete a user on the “edit user” page, I get a javascript error:
TypeError: modal.modal is not a function
in/js/jquery.confirm.min.js:14:2103
.The same happens if I click on the red “Delete” link below a user on the “Users” tab.
WP: 4.8
FEUP: 3.1.6Forum: Plugins
In reply to: [Front End Users] Translations for some parts neededThanks.
Forum: Plugins
In reply to: [Front End Users] Custom Plugin: Select all FEUsers filtered by field valueOk.
Forum: Plugins
In reply to: [Front End Users] Custom Plugin: Select all FEUsers filtered by field valueYes, I have understood that. But the plugin I’d like to develop would be a backend plugin (only for administrators) which should be able to get a list of all feusers that are male (or female or whatever). So it is not a kind of showing or hiding or doing anything depending on the currently logged in feuser.
What I am after is something similar as you have in your plugin in UsersPage.php right at the beginning (ca. lines 20-33). But of course it would be much safer, if there would be a public function we can use.
Forum: Plugins
In reply to: [Front End Users] Custom Plugin: Select all FEUsers filtered by field valueThanks for your answer. So that means, I have to load all feusers (well a list of their ids) and then iterate over all of them and get the field value. If I have 5000 feusers, wouldn’t make that 5’001 sql queries only to get all feusers that are male?