Why? because the imposter hack thinks you're an imposter if you forget and type your name in. Annoying eh? Worse still after calling you an imposter, it remembers you as "Imposter" so even after you go into shoutbox admin and modify the name, you still have to remember everytime to type your codename.
Here's how to fix it:
Now scroll up till you see this line:
// *BOB* --- Set the users nick and url in a cookie for next time:
replace the line after that with:
storeCookie($nick,$BSpattern0);
That's it. You're done.
WHAT THE CODE DOES:
The line you replaced is what tells shoutbox to store a cookie to remember a person so they dont have to type thier name an URL everytime. You replaced it to call the new function you added.
The function get's the nickname as would be displayed on the page not what the person entered. It also gets your codename. ie. what you enter so that your real "shoutbox name" is displayed.
It then checks to see if the person commenting is an imposter. If they are... then it doesnt store thier name. So that when you forget sometimes and you entered your name instead of your shoutbox name, at least you'll get an error next time you try to comment it'll be blank. Sort of a reminder about "last time".
If you entered your codename, it'll show the name you want to appear in shotbox alright, but it'll remember you codename so you dont have to type it again.
If it doesnt fit any of the two categories, that is, not an imposter nor is it you, then it treats it like normal and saves whoever is shouting's name.
NB: This script only works after you've installed the imposter hack script.
Author: Amit [Netahoy] Agarwal
Date/Time: February 18, 2003 6:30 PM
URL: http://www.netahoy.org
thxs man!
Trackback Pings Received count (0)