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

Reject All - Users awaiting approval

Discussion in 'XenForo Suggestions' started by ShadyX, Aug 9, 2013.

  1. ShadyX

    ShadyX Well-Known Member

    I have a problem, TONS of spam users are registering on my forum and are being placed in the approval thing. I upgraded my forum to 1.2 a couple of days ago and already 274 users have been put on this list, A way to reject and delete all would be useful.

    Cyb3r, Fufu, soloarquitectura and 9 others like this.
  2. Alfa1

    Alfa1 Well-Known Member

    Yes, same here. Hundreds of bad registrations.
  3. snoopy5

    snoopy5 Well-Known Member

    yes please
  4. AndyB

    AndyB Well-Known Member

    I suggest adding a Q&A to eliminate 95% of your spam registrations.
    Khaleal likes this.
  5. Freddie Agricola

    Freddie Agricola Active Member

    You can also use batch update on them.
    Donny likes this.
  6. VtoX

    VtoX Member

    Guys, this doesn't change the fact that there should be a "select all" option. It's basic interweb 101.
    Vilandra likes this.
  7. Russ

    Russ Well-Known Member

    Nice suggestion, on a side note those are some fantastic looking counters :D, nice job
    Donny, JordanH and Adam Howard like this.
  8. Deriel

    Deriel Well-Known Member

    Please - I second this suggestion

    Sometimes spammers get in, and we need the tools to deal with it. My forum, soon to be migrated from vB to XF, has some 7k moderated spammers to deal with.
  9. Rodolfo

    Rodolfo Member

    If you want to mass reject them all you can go to the Users Awaiting Approval page, open your browser console (F12 in Windows) and then paste this:

    $(":checkbox").prop("checked", false);
    Then hit the Enter key. Once you do that the form will be populated to reject all the users in the form and the form will be submitted. When the page reload simply re-open your console and press the arrow key up in yor keyboard and hit the Enter key again.

    Hope it helps.

    P.S. Bath Update Users "works" but I still see those 4500 users awaiting approval in the header and in the Users Awaiting Approval page. Idk if is a bug or the system works like that.
  10. Digital Doctor

    Digital Doctor Well-Known Member

    Robru and ShadyX like this.
  11. longanh

    longanh Member

    goood for me , thank
  12. Adam Howard

    Adam Howard Well-Known Member

    I'd also like a "accept all" option.
  13. The Forum Heroes

    The Forum Heroes Well-Known Member

    $(":checkbox").prop("checked", false);
    SneakyDave likes this.
  14. Brandon515

    Brandon515 Member

    Thanks for this.
  15. Dysphoria

    Dysphoria New Member

    Its been 3 years and xenforo still has no bulk action for this??
    Seriously, it's no fun to do this for 400+ Users every week.

    Thanks to Rodolfo anyway. Not user-friendly, but really safes a lot of time :)
  16. Rodolfo

    Rodolfo Member

    You can add that javascript code as a bookmarklet, simply create a new bookmark entry with this as the target URL.

    javascript:<code goes here>
    So to reject all:

    javascript:$("input[value=reject]").click();$(":checkbox").prop("checked", false);$("form[action='admin.php?users/moderated/update']").submit();
    At least it will be like a button in your bookmarks bar.
    Last edited: Jul 23, 2016
    Donny and ShadyX like this.
  17. billybatz9

    billybatz9 Active Member

    This helped a lot. thanks

Share This Page