xoops forums

Wayne

Just popping in
Posted on: 2002/6/25 13:51
Wayne
Wayne (Show more)
Just popping in
Posts: 35
Since: 2002/2/13
#1

desperately need help tracking and banning trolls.

Hi guys,

I need your help. It seems I've inherited a troll. He is now misusing my system to post child porn images in protest to announcements by the company which makes the Amiga computer.

Since the Ban stuff inside XOOPS has apparently been abandoned, I am in desperate need of help getting rid of this "human".

Specifically, I have the site set up to send me e-mails whenever a user registers. I need that e-mail to include the IP address that the user is using.

I've tracked it down to register.php, line 204

$xoopsMailer->setBody(sprintf(_US_HASJUSTREG,$uname));

but I do not know how to modify that line to include the IP address that was used when registering. Once I can get the IP address, I can add it to my .htaccess ban file.

Also! If I could, I would love very much to be able to remove the ability inside the forums and comments for a user to insert an img tag (using bbcode) but have no idea where to begin working with that.

Please help if you have any ideas what I could do to stop this guy from his childish efforts to offend people.

onokazu

XOOPS Founder
Posted on: 2002/6/25 17:27
onokazu
onokazu (Show more)
XOOPS Founder
Posts: 617
Since: 2001/12/13
#2

Re: desperately need help tracking and banning trolls.

You can change the line in register.php like this

$mailbody = sprintf(_US_HASJUSTREG,$uname)."\nIP:".$REMOTE_ADDR;
$xoopsMailer->setBody($mailbody);

The notify mail should now include the IP address of the new user.


And yes, we will be adding an enable/disable switch for the img tag feature in user posts.

Wayne

Just popping in
Posted on: 2002/6/25 18:03
Wayne
Wayne (Show more)
Just popping in
Posts: 35
Since: 2002/2/13
#3

Re: desperately need help tracking and banning trolls.

Thank you so much. You're always on the ball.

Wayne Hunt

mramell

Just popping in
Posted on: 2002/7/13 1:57
mramell
mramell (Show more)
Just popping in
Posts: 2
Since: 2002/6/6 1
#4

Re: desperately need help tracking and banning trolls.

Good luck with it Wayne. I run a drug recovery site and get the same types of childish fools and it's a daily battle to keep them at bay.

netwize

Just popping in
Posted on: 2003/5/27 4:49
netwize
netwize (Show more)
Just popping in
Posts: 89
Since: 2002/1/20
#5

Re: desperately need help tracking and banning trolls.

how to accomplish this in 2.x?????

netwize

Just popping in
Posted on: 2003/6/1 10:25
netwize
netwize (Show more)
Just popping in
Posts: 89
Since: 2002/1/20
#6

Re: desperately need help tracking and banning trolls.

bump

malexandria

Quite a regular
Posted on: 2003/6/1 13:50
malexandria
malexandria (Show more)
Quite a regular
Posts: 281
Since: 2001/12/23
#7

Re: desperately need help tracking and banning trolls.

Can't you just use the built in Ban IP function to effectively block folks?

El_Jordo

Just popping in
Posted on: 2003/6/1 14:26
El_Jordo
El_Jordo (Show more)
Just popping in
Posts: 64
Since: 2003/4/23
#8

Re: desperately need help tracking and banning trolls.

But where do you find the IP to block?

(I refer to the forum module, not the news comments.)

TIA

malexandria

Quite a regular
Posted on: 2003/6/1 14:49
malexandria
malexandria (Show more)
Quite a regular
Posts: 281
Since: 2001/12/23
#9

Re: desperately need help tracking and banning trolls.

hmmm...thats interesting in X2 it no longer has an option to display the IP address. So I'm not sure how you would go about it now. Maybe you can ping the person's domain name once you get the ip for the domain that they are using then you can block it in the system admin/edit preferences screen.

the problem with this approach is you could accidently block out a lot of users that you didn't intend on.

El_Jordo

Just popping in
Posted on: 2003/6/1 15:14
El_Jordo
El_Jordo (Show more)
Just popping in
Posts: 64
Since: 2003/4/23
#10

Re: desperately need help tracking and banning trolls.

Quote:

malexandria wrote:
hmmm...thats interesting in X2 it no longer has an option to display the IP address. So I'm not sure how you would go about it now.

OK, good... I'm not just imagining it.

Is there any reason this is implemented in the news comments, but not in the Forum module? It seems like a necessity to me.