1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

User Manager 1.6

User Manager

  1. Nick

    Nick Well-Known Member

    Nick submitted a new resource:

    User Manager - User Manager

    Read more about this resource...
     
    Last edited by a moderator: Oct 17, 2014
    hangbowl and davidshq like this.
  2. angolanmade

    angolanmade Well-Known Member

    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

    Any suggestions!

    Update it looks like its my shared hosting not allowing file_get_contents function??? Is this whats causing this error!
     
    Last edited: Dec 1, 2009
  3. angolanmade

    angolanmade Well-Known Member

    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.
     
  4. Nick

    Nick Well-Known Member

    Yes, almost definitely. If this is a common problem, 'll look into alternative methods.

    Yeah, I wanted to, but it requires some fiddly JavaScript which I'm not too hot at. If you or anybody else wants to try and add it, go ahead. I don't think I'll need the feature myself. Here's a reference.
     
  5. rushnp774

    rushnp774 New Member

    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:

    http://www.php.net/manual/en/function.file-get-contents.php#82255

    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.
     
  6. DamonW

    DamonW New Member

    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.
     
  7. Nick

    Nick Well-Known Member

    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.
     
  8. Nick

    Nick Well-Known Member

    Updated: v.0.9 2010/03/17 - Nick - New page for creating users, sending new passwords and email validation requests
     
    Gunaxin likes this.
  9. hangbowl

    hangbowl New Member

    nice. please add reserved username :D
    and may be, bad username ?
     
  10. Nick

    Nick Well-Known Member

    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.
     
  11. Gunaxin

    Gunaxin Well-Known Member

    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.
     
  12. Nick

    Nick Well-Known Member

    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.
     
  13. alla.chandra

    alla.chandra New Member

    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

    help me
     
  14. Nick

    Nick Well-Known Member

    Sorry, but the getRoles function was added in Hotaru 1.4.
     
  15. petsagouris

    petsagouris Design & Development

  16. rpermana

    rpermana Donor Donor

    Hi there,

    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 :D
     
  17. angolanmade

    angolanmade Well-Known Member

    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.
     
  18. rpermana

    rpermana Donor Donor

    Hi Angolanmade,

    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.
     
  19. Nick

    Nick Well-Known Member

    You can sort the users by "Last Visited" from the "Filter" form.
     
  20. rpermana

    rpermana Donor Donor

    Yes, noticed that, but we could not see when were their last login date.
     

Share This Page