SmartFAQ is developed by The SmartFactory (, a division of InBox Solutions (

How do I ban a user?
There may come a time when you wish to ban a user. The most common reason would be because they post innapropriate content in your forums. In System Admin -> Preferences -> General Settings there are two settings to enable in order to ban a user by his IP address. The first is to "Enable IP bans" - if this is set to yes, the subsequent text area ("Enter IP addresses that should be banned from the site") is evaluated for IP's to ban. Separate each IP with a | for multiple IP's. How to identify the IP of a user: Using recent release of forums NewBB and CBB There are a number of modules which do show you IP. If you want to ban a user it is ususally because he/she made some comment in Forum board. Newbb 2 and CBB have a setting to show an IP for moderators. Go to your Preferences for the forum module: Look for 'Show user IP' Setting 'YES' will show users IP to moderators If you don't use NewBB or CBB: There is the XMembers stats module but this shows the IP of a visitor when he/she is online only. Most of the times the last 2-3 digits are hidden. XMemberStats only shows the IP address of people who are currently online and can't tell you whether the person's IP changes. There is also PHP Stats: This is supported by an Italian site but this is this link to a Google English Translation The latest version can be downloaded from here (Suggestion submitted by McDonald) Using phpmyadmin If you can't find the option to switch on IP addresses, or you don't have it, you can look up the IP directly from the database if you have phpMyAdmin installed (which I think most people do). Just go to the database in which xoops is installed and look at the table called xoops_bb_posts. You can use SQL to find all the posts by a particular user. First find out their uid with SELECT * FROM xoops_users WHERE uname='' Then make a note of their uid and do SELECT * FROM xoops_bb_posts WHERE uid='' That will list all the posts by that user. You can see quite easily what their IP address is, and whether it changes a lot. If it changes (they have a dynamic IP), there's not much point banning them. (Suggestion submitted by tmb_ayebe)

The comments are owned by the author. We aren't responsible for their content.

 How do I ban a user?

Ban user by IP address is not active in most times because many users have dynamic IP addresses.

I think Bannig by username more powerful and this happen by deactivate his/her account for limited days or for long life


 Re: How do I ban a user?

+1 on the above statement. In addition to the Dynamic IP issue, there are also thousands of free proxy hosts that malicious users can use to change their IP rather quickly.

An effective way to ban a user is to change their password and email account. For example, give them a 15 character password that is insanely complex, likew !rh%<X/!7~}>m] then change their email to a dummy address like nobody@nodomain.tld. You can also append a message like username[banned] to their username, but this will be publically viewable by all.


 Re: How do I ban a user?

a better way is assgin the ban user to No group or a "ban group".
one benefit is the ban user cant register with the email again.
here is the TIP:



Who's Online

127 user(s) are online (1 user(s) are browsing XOOPS FAQ)

Members: 0

Guests: 127



Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

Style sheets can be interpreted easily here ...

Random question

What is the difference between View Account and Edit Account?