Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 2013 Abuse adslight AntiHarvesting AntiMalUser AntiSpam API Australia Ban banner Beats billige black Blocks blue Captcha cell Christmas chronolabs content Conversion database demo docek download Dresses editor evden eve facebook Federated floor free Gateway herre Honeypot Human IP jQuery kantor lamps Legal log logger mobile module modules Monster MyAlbum-p Networks newbb news Notices online PageRank pdf Permissions pink Plugin portal Prevention profile project Protector publisher release Rights rmcommon Room sale security SERIAL Server site Smarty Spam statistics stem Studio tag tags tdmcreate template Theme themes userlog website Whitepaper XML XooLaT xoops Xoopspoll Xortify xthemes Yolande ZendFramework

New Users

Registering user

# 136015

handrick12

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post

(1) 2 3 »


#1 Posted on: 2002/6/25 8:51 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.


Top

Wayne
Just popping in
Just popping in
Joined:
2002/2/13 12:36
Group:
Registered Users
Posts: 35
(Show More) (Show Less)


#2 Posted on: 2002/6/25 12:27 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.

Top

onokazu
XOOPS Founder
XOOPS Founder
Joined:
2001/12/13 8:30
From Tokyo
Group:
Registered Users
Posts: 326
(Show More) (Show Less)


#3 Posted on: 2002/6/25 13:03 Re: desperately need help tracking and banning trolls.
Thank you so much. You're always on the ball.

Wayne Hunt

Top

Wayne
Just popping in
Just popping in
Joined:
2002/2/13 12:36
Group:
Registered Users
Posts: 35
(Show More) (Show Less)


#4 Posted on: 2002/7/12 20:57 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.



Top

mramell
Just popping in
Just popping in
Joined:
2002/6/6 8:18
From You can't get there from here! Really..
Group:
Registered Users
Posts: 2
(Show More) (Show Less)


#5 Posted on: 2003/5/26 23:49 Re: desperately need help tracking and banning trolls.
how to accomplish this in 2.x?????

Top

netwize
Just popping in
Just popping in
Joined:
2002/1/19 19:05
From Me Dum Dum
Group:
Registered Users
Posts: 89
(Show More) (Show Less)


#6 Posted on: 2003/6/1 5:25 Re: desperately need help tracking and banning trolls.
bump

Top

netwize
Just popping in
Just popping in
Joined:
2002/1/19 19:05
From Me Dum Dum
Group:
Registered Users
Posts: 89
(Show More) (Show Less)


#7 Posted on: 2003/6/1 8:50 Re: desperately need help tracking and banning trolls.
Can't you just use the built in Ban IP function to effectively block folks?

Top

malexandria
Quite a regular
Quite a regular
Joined:
2001/12/23 7:39
Group:
Registered Users
Posts: 238
(Show More) (Show Less)


#8 Posted on: 2003/6/1 9:26 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

Top

El_Jordo
Just popping in
Just popping in
Joined:
2003/4/23 14:27
Group:
Registered Users
Posts: 61
(Show More) (Show Less)


#9 Posted on: 2003/6/1 9:49 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.

Top

malexandria
Quite a regular
Quite a regular
Joined:
2001/12/23 7:39
Group:
Registered Users
Posts: 238
(Show More) (Show Less)


#10 Posted on: 2003/6/1 10:14 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.

Top

El_Jordo
Just popping in
Just popping in
Joined:
2003/4/23 14:27
Group:
Registered Users
Posts: 61
(Show More) (Show Less)




(1) 2 3 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]