1
Cavan
Banned user name hack available anywhere?
  • 2005/4/5 4:06

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Is there a hack that allows admins to ban user names (specific words or phrases), similar to the built-in one for newbb forum posts?

2
brash
Re: Banned user name hack available anywhere?
  • 2005/4/5 4:14

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Go into your XOOPS admin area and goto Preferences Main »» User Info Settings and you should be able to specify a list of banned usernames at the bottom.

3
Cavan
Re: Banned user name hack available anywhere?
  • 2005/4/5 4:16

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Doh!! :)

Is it necessary to use the arrow when separating words?

webmaster|^xoops|^admin| <---like the default settings

4
brash
Re: Banned user name hack available anywhere?
  • 2005/4/5 4:24

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


It uses regex for pattern matching, so you'll need to perhaps spend 10~15 minutes familiarising yourself with regex. But no, you don't need the arrow. have a look at this site;

http://www.regular-expressions.info/

5
Cavan
Re: Banned user name hack available anywhere?
  • 2005/4/5 4:39

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Great link, and a world of information I wasn't aware of at all. Thanks so much.

(told ya I'm a newbie...or is it noobie?)

6
Dave_L
Re: Banned user name hack available anywhere?
  • 2005/4/5 9:50

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The caret (^) anchors the pattern to the beginning of the search string. So "^xoops" would match "xoops1" and "xoops2" but not "1xoops", while "xoops" would match all three.

Login

Who's Online

388 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 388


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits