user account modifide Hi, How a member change his/her own account setting . any plugin req. ?? RSS Like This Log Out My Profile Notifications
URL to account: /index.php?page=account Required Plugin: Users 2.2 http://forums.hotarucms.org/showthread.php?77-Users-2.2
shibuya246 updated User Manager with a new update entry: Version 1.5 Read the rest of this update entry...
Depending on how many good users you have, it might be easier to single those out and then execute an SQL statement using multiple values. For example, if out of your entire user table, only user_id 3 and 4 were valid users (and everyone else was spam), you could select those records like this: Code: SELECT * FROM hotaru_users WHERE user_id NOT IN (3,4) Assuming you verify that these were the all the spam users, you could execute this: Code: DELETE FROM hotaru_users WHERE user_id NOT IN (3,4) Be aware that this will only delete the users. If those users have also created posts, you could do something similar, like: Code: DELETE FROM hotaru_posts WHERE post_author NOT IN (3,4) For comments, you could do: Code: DELETE FROM hotaru_comments WHERE comment_user_id NOT IN (3,4) However, whenever you are executing manual SQL statements on your database, I always suggest making a backup of the entire database first. I've learned many hard lessons from not doing this.
Thank you valMETNG for posting this fix. To ENABLE the Select All Check Boxes function, just follow these simple steps.. (RECOMMEND USING NOTEPAD++) OPEN /content/plugins/user_manager/javascript/usermanager.js FIND: Code: //ko.applyBindings(new UserManagerViewModel()); AFTER add: Code: $(function () { $('#checkall').click(function () { $(':checkbox').not(this).prop('checked', this.checked); }); }); SAVE and UPLOAD replacing the file. NEXT, OPEN /public_html/content/plugins/user_manager/user_manager.php FIND at around Line 10: Code: * hooks: hotaru_header, install_plugin, admin_header_include, admin_plugin_settings, admin_sidebar_plugin_settings, post_manager_user_name, comment_manager_user_name, submit_edit_end, admin_sidebar_users REPLACE with: Code: * hooks: hotaru_header, install_plugin, admin_header_include, admin_plugin_settings, admin_sidebar_plugin_settings, admin_sidebar_users, post_manager_user_name, comment_manager_user_name, submit_edit_end[COLOR="#FF0000"], header_include[/COLOR] FIND at line 50 to 52 Code: /** * Add link to user at bottom of Submit Edit Post */ AFTER add: Code: public function header_include($h) { if ($h->currentUser->getPermission('can_access_admin') != 'yes') { return false; } $h->includeJs(); } SAVE and UPLOAD replacing the file. CLEAR the cache and then navigate to your user manager area. The Check All function now works. AGAIN, Thank you valMETNG for posting this fix.
I cant see the "Check All Box" on the User Manager page. Can you upload a screenshot showing it ? thanks
Here you go. You'll see the top row has ID Role Username (click for details) Joined Account Permissions It is the Check Box next to that top Permissions. I hope this helps.
are you trying to delete all the users who are tagged as spam or pending or something? if so there might be a quicker way
one idea is to look in the browser address bar and find the query like this http://YOURDOMAIN.com/admin_index.p...7fc8dab20590beba926ba3f9dc23f867461689e210f15 the csrf token will be from your own site dial the um_limit part up to 5000 um_limit=5000
i have made a quick update here to fix the "check all" button and add some more filter options for result sizes http://forums.hotarucms.org/resources/user-manager.38/
Yeah, I tried that. Can't go any higher than 75 Code: Request-URI Too Long The requested URL's length exceeds the capacity limit for this server. Additionally, a 414 Request-URI Too Long error was encountered while trying to use an ErrorDocument to handle the request. I run the server, but I can't find the settings to adjust that.
Normally a default for this might be 8190 chars or higher We could change it to a post request which might be better. Will check How did you end up with so much spam in the first place? Are you using spam plugins?
ok, understood. Have you tried the spam plugins though. They do stop quite a bite of spam getting through