1
Wayne
desperately need help tracking and banning trolls.
  • 2002/6/25 13:51

  • Wayne

  • Just popping in

  • Posts: 35

  • Since: 2002/2/13


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.

2
onokazu
Re: desperately need help tracking and banning trolls.
  • 2002/6/25 17:27

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


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.

3
Wayne
Re: desperately need help tracking and banning trolls.
  • 2002/6/25 18:03

  • Wayne

  • Just popping in

  • Posts: 35

  • Since: 2002/2/13


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

Wayne Hunt

4
mramell
Re: desperately need help tracking and banning trolls.
  • 2002/7/13 1:57

  • mramell

  • Just popping in

  • Posts: 2

  • Since: 2002/6/6 1


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.


5
netwize
Re: desperately need help tracking and banning trolls.
  • 2003/5/27 4:49

  • netwize

  • Just popping in

  • Posts: 89

  • Since: 2002/1/20


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

6
netwize
Re: desperately need help tracking and banning trolls.
  • 2003/6/1 10:25

  • netwize

  • Just popping in

  • Posts: 89

  • Since: 2002/1/20


bump

7
malexandria
Re: desperately need help tracking and banning trolls.

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

8
El_Jordo
Re: desperately need help tracking and banning trolls.
  • 2003/6/1 14:26

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


But where do you find the IP to block?

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

TIA

9
malexandria
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.

10
El_Jordo
Re: desperately need help tracking and banning trolls.
  • 2003/6/1 15:14

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


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.

Login

Who's Online

269 user(s) are online (176 user(s) are browsing Support Forums)


Members: 0


Guests: 269


more...

Donat-O-Meter

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

Latest GitHub Commits