Welcome, Guest. Please Login or Register.
May 05, 2024, 01:32:10 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Deleted users « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Deleted users  (Read 2295 times)
Thomas
Full Member
***
Posts: 203


WWW
Deleted users
« on: November 30, 2003, 11:27:09 PM »
Reply with quote

Hei

I'm not sure if ther is a mod that is my solution, but I ask the question here anyway.

I have deleted a user at my board, and then his posts remain but he is registered as a guest. The problem is that his real email is also shown in the html code, and now he wants me to get rid of this because of this neing a possible spam source.

Is there a way of doing that easy.
One of his posts can be seen as the first one here.

/Thomas
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Deleted users
« Reply #1 on: December 01, 2003, 01:55:18 AM »
Reply with quote

UPDATE yabbse_messages
SET posterEmail = ''
WHERE posterEmail = '[email protected]';

-[Unknown]
Logged
Thomas
Full Member
***
Posts: 203


WWW
Re:Deleted users
« Reply #2 on: December 01, 2003, 07:41:11 AM »
Reply with quote

Thanks Unknown.

Is there possible to run this from a php file?

/Thomas
Logged
FaSan
Jr. Member
**
Posts: 67


Re:Deleted users
« Reply #3 on: December 02, 2003, 09:07:28 PM »
Reply with quote

http://www.yabbse.org/community/index.php?thread=18386/0



;)
Logged
Thomas
Full Member
***
Posts: 203


WWW
Re:Deleted users
« Reply #4 on: December 10, 2003, 02:20:23 PM »
Reply with quote

Unknown or others:Can you bee so kind to put this in a php file for me.

/Thomas
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Deleted users
« Reply #5 on: December 10, 2003, 03:49:28 PM »
Reply with quote

<?php

include('Settings.php');
mysql_connect($db_server, $db_user, $db_passwd);
mysql_select_db($db_name);

mysql_query("
  UPDATE {$db_prefix}messages
  SET posterEmail = ''
  WHERE posterEmail = '[email protected]'");

?>

-[Unknown]
Logged
Thomas
Full Member
***
Posts: 203


WWW
Re:Deleted users
« Reply #6 on: December 10, 2003, 10:30:15 PM »
Reply with quote

Thanks Unknown :)

/Thomas
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Deleted users « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.030 seconds with 19 queries.