Nick submitted a new resource:
User Manager - User Manager
Read more about this resource...
I keep getting the following warnings when trying to killspam a user while the Add to StopForumSpam.com box is checked
Warning: file() [function.file]: URL file-access is disabled in the server configuration in /content/plugins/stop_spam/libs/StopSpam.php on line 102
Warning: file(http://...@sellandrenback.co.ukapi_key=g25FFdUsSNvb6A) [function.file]: failed to open stream: no suitable wrapper could be found in /content/plugins/stop_spam/libs/StopSpam.php on line 102
Warning: implode() [function.implode]: Invalid arguments passed in /content/plugins/stop_spam/libs/StopSpam.php on line 102
Update it looks like its my shared hosting not allowing file_get_contents function??? Is this whats causing this error!
Also, it would be nice to have an option to "select all"l displayed users after apply one of the filters, this will make it easier to"select all" users in instead of doing it manually, i this can also be added to the post manager.
Yes, almost definitely. If this is a common problem, 'll look into alternative methods.
Several people posted alternative methods to the file_get_contents() method on the PHP.net forums. This link might help for when/if you investigate further:
It does require cURL, which I know is sometimes disabled on servers, but hey, you can't win em all. I'm sure there are many alternatives to file_get_contents(), so if that one I linked doesn't work for everyone, maybe there are more.
What I would suggest is use the HTTPRequest class ( \libs\extensions\SWCMS\class.httprequest.php )instead of file () on line 102 of \content\plugins\stop_spam\libs\StopSpam.php.
You can see how it's used on line 604 of \content\plugins\submit\libs\Post.php
Also, I would recommend replacing HTTPRequest with http://www.phpfour.com/blog/2008/01/php-http-class/ as it is cleaner code and allows cURL to be used it desired.
Thanks Damon, I will do just that! I did notice that file_get_contents is used in numerous places in Hotaru, including the ezSQL core, so maybe angolanmade's problem isn't file_get_contents after all. Either way, I'll aim to have these changes put in Hotaru 0.9.
Updated: v.0.9 2010/03/17 - Nick - New page for creating users, sending new passwords and email validation requests
nice. please add reserved username
and may be, bad username ?
You can add any username you don't want people to use to your blocked list (Admin -> Blocked List). If you want to use them in the future, just remove them from the list.
Good stuff, however I have a question. I've looked through all the files and I can't seem to find it. Where can we edit the email templates? I want to change the wording of the email that is sent to new users that are created.
You can change the wording for email validation requests in user_signin_language.php. The language for forgotten password emails is in main_language.php.
When setting up User Manager 1.2 on Hotaru 1.3, iam getting this error
Fatal error: Call to undefined method Hotaru::getRoles() in /home8/samachar/public_html/indiasoc/content/plugins/user_manager/user_manager_settings.php on line 99
Sorry, but the getRoles function was added in Hotaru 1.4.
Released version 1.4 - Bug Fix Update : Fixed bug that prevented the deletion of a user and showing a wrong message when doing so.
I have few suggestions for this plugin :
1. To show number of posts for each users.
2. Date of Last login
Currently my site have 400 users, but i couldn't track which users are inactives. So this features might be recommended.. Thanks
Those are some pretty good suggestions, I believe the user plug-in already shows the "date of last login" if you go to plugin settings - user manager and click on a register user you should be able to see their last login date.
Maybe we can extended the user rankings plugin to also show the total amount of post.
Yes, I noticed that, however I got to click each user one by one to check. 400 users means 400 clicks.. >.<
It would be better to have another column for last login date which we can sort them up.
You can sort the users by "Last Visited" from the "Filter" form.
Yes, noticed that, but we could not see when were their last login date.
Separate names with a comma.