293971
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



293972
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.



293973
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.



293974
Wayne
Re: Forum: Post new thread button doesn't work
  • 2002/6/23 19:42

  • Wayne

  • Just popping in

  • Posts: 35

  • Since: 2002/2/13


Thank you very much sir. It is much, much appreciated. I also want to thank you for having the "changes" file reflect the individual code changes. It'll help me keep up when I upgrade without wiping out all my little mods.

Wayne



293975
jctsup1
Re: Email Issues
  • 2002/6/23 18:51

  • jctsup1

  • Not too shy to talk

  • Posts: 146

  • Since: 2002/5/23


onokazu -

You are the man -

Problem fixed & emails are being delivered!

Thanks




293976
onokazu
Re: Forum: Post new thread button doesn't work
  • 2002/6/23 18:04

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


File: modules/newbb/page_header.php
Line 68, 83

change

echo "";

to

myTextForm(XOOPS_URL."/modules/newbb/newtopic.php?forum=".$forum."", _MD_POSTNEW);


Or if you prefer, you can just use tag

echo "
"._MD_POSTNEW."";


Alternatively, you can still use the old way which displays the "New Topic" image.

echo ""._MD_POSTNEW."";



293977
onokazu
Re: Email Issues
  • 2002/6/23 17:51

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


In class/xoopsmailer.php find the following codes on line 100

$this->LE ="\n";

then change this to

$this->LE ="\r\n";

and on line 187

change

$this->body = str_replace("\r", $this->LE, $this->body);

to

$this->body = str_replace("\n", $this->LE, $this->body);

Please try if this works out your problem.



293978
Anonymous
Re: Email Issues
  • 2002/6/23 17:26

  • Anonymous

  • Posts: 0

  • Since:


bump



293979
Wayne
Re: Forum: Post new thread button doesn't work
  • 2002/6/23 17:01

  • Wayne

  • Just popping in

  • Posts: 35

  • Since: 2002/2/13


Thanks for the reply. Javascript is enabled in all browsers displaying the problem. Seems to be browser specific code. Unfortunately I can't really wait for the next release version. I would absolutely hate to walk away from such a great package out of necessity though.

Is there any chance you should shoot out a fix and paste the code here? I (and my 2100+ users) really, really need it.



293980
onokazu
Re: Forum: Post new thread button doesn't work
  • 2002/6/23 16:49

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


Please check if javascript is enabled on the browser. We will change this to non-javascript button in the next version, but it should work on most of the browsers.
Worked fine using Opera6/IE6/Mozilla1.0 under WinXP and NN6.2/IE6 on Win 2000.







Login

Who's Online

645 user(s) are online (541 user(s) are browsing Support Forums)


Members: 0


Guests: 645


more...

Donat-O-Meter

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

Latest GitHub Commits