Travis641
06-17-2002, 10:35 PM
How would I go about changing a User posts everytime he posts?
I was thinking something like:
if ($post[username] == "Name")
{ $post[message] = "Whatever goes into the post"; }
But it doesn't work. Can someone help me, or make it work? :)
heretic
06-17-2002, 11:58 PM
you could modify the "ultimate ignore" hack
Logician
06-18-2002, 08:55 AM
And the point will be? :confused:
Xenon
06-18-2002, 03:51 PM
can't see the effect why you want to do it, but here's how:
open newreply.php
find$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconi d','$visible')");
just before add:
if($bbuserinfo[userid]==xxx) $message="Blavbla";
do the same to newthread.php
Travis641
06-19-2002, 08:18 PM
Thanks!
It's more of a gag thing, like FireFly's "Insert name into post". Also I guess you could use it on a spammer, if you really didn't want to ban. I dunno.
I thought it would be kinda funny to see people's reactions to it.
Xenon
06-19-2002, 08:48 PM
hehe, please tell us the best pms you recieved ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.