If you're going to do it, do it properly or not at all.fractal wrote:ignore the script, embrace the idea. sure there's a better way to do itashley wrote:Please learn2sql.ryan_p wrote:you don't need to release the ip. just have a feature that shows other accounts the user has accessed from the same ip. phpbb records ip addresses by default so all it takes is a simple query.
SELECT username FROM phpbb_users WHERE user_ip = (SELECT user_ip FROM phpbb_users WHERE username = 'ryan_p');
Don't use a sub select when you can join.
Slowing down forum trolls and cowards
-
- Permanent Vacation
- Posts: 9591
- Joined: Tue May 08, 2007 1:00 pm
- Location: CHAT ▄▄█▀▀ █▬█ █ ▀█▀ GET BANGED
- Contact:
Re: Slowing down forum trolls and cowards
-
- Posts: 22980
- Joined: Tue Oct 24, 2006 3:41 am
- Location: MURRICA
Re: Slowing down forum trolls and cowards
ashley wrote:If you're going to do it, do it properly or not at all.fractal wrote:ignore the script, embrace the idea. sure there's a better way to do itashley wrote:Please learn2sql.ryan_p wrote:you don't need to release the ip. just have a feature that shows other accounts the user has accessed from the same ip. phpbb records ip addresses by default so all it takes is a simple query.
SELECT username FROM phpbb_users WHERE user_ip = (SELECT user_ip FROM phpbb_users WHERE username = 'ryan_p');
Don't use a sub select when you can join.

- hellfire machina
- Posts: 1437
- Joined: Tue May 26, 2009 8:16 pm
- Location: New York City
- Contact:
Re: Slowing down forum trolls and cowards
Ashley - slightly off topic but are you a serious script writer?
Re: Slowing down forum trolls and cowards
i got sent some weak ass script from a guy called clit bang or summat? it was jokes, had to unlink my e-mail after that tho 

sub.wise:.
slow down
slow down
epochalypso wrote:man dun no bout da 'nuum
Re: Slowing down forum trolls and cowards
clit bang is bass hertz!!fractal wrote:i got sent some weak ass script from a guy called clit bang or summat? it was jokes, had to unlink my e-mail after that tho
hahhhhahhahah.... SNAPPED!!!
SHAME ON A NIQQA!!!
!!chea
http://www.dubstepforum.com/viewtopic.p ... 8&start=20
DSF TUNE BATTLE ROYALE 2!!! starts 11-03-11 @ 23:59GMT
DSF TUNE BATTLE ROYALE 2!!! starts 11-03-11 @ 23:59GMT
Re: Slowing down forum trolls and cowards
just for you honeyashley wrote:If you're going to do it, do it properly or not at all.fractal wrote:ignore the script, embrace the idea. sure there's a better way to do itashley wrote:Please learn2sql.ryan_p wrote:you don't need to release the ip. just have a feature that shows other accounts the user has accessed from the same ip. phpbb records ip addresses by default so all it takes is a simple query.
SELECT username FROM phpbb_users WHERE user_ip = (SELECT user_ip FROM phpbb_users WHERE username = 'ryan_p');
Don't use a sub select when you can join.
SELECT u1.username FROM phpbb_users AS u1 LEFT JOIN phpbb_users AS u2 ON u1.user_ip = u2.user_ip WHERE u2.username = 'ryan_p'
dubstep.com | twitter.com/dubstepcom
-
- Permanent Vacation
- Posts: 9591
- Joined: Tue May 08, 2007 1:00 pm
- Location: CHAT ▄▄█▀▀ █▬█ █ ▀█▀ GET BANGED
- Contact:
Re: Slowing down forum trolls and cowards
You're special.ryan_p wrote:just for you honeyashley wrote:If you're going to do it, do it properly or not at all.fractal wrote:ignore the script, embrace the idea. sure there's a better way to do itashley wrote:Please learn2sql.ryan_p wrote:you don't need to release the ip. just have a feature that shows other accounts the user has accessed from the same ip. phpbb records ip addresses by default so all it takes is a simple query.
SELECT username FROM phpbb_users WHERE user_ip = (SELECT user_ip FROM phpbb_users WHERE username = 'ryan_p');
Don't use a sub select when you can join.
SELECT u1.username FROM phpbb_users AS u1 LEFT JOIN phpbb_users AS u2 ON u1.user_ip = u2.user_ip WHERE u2.username = 'ryan_p'
-
- Permanent Vacation
- Posts: 9591
- Joined: Tue May 08, 2007 1:00 pm
- Location: CHAT ▄▄█▀▀ █▬█ █ ▀█▀ GET BANGED
- Contact:
Re: Slowing down forum trolls and cowards
I can write all sorts of shit.hellfire machina wrote:Ashley - slightly off topic but are you a serious script writer?
I'm sure certain people here can tell you all sorts of stories.
If you need to ask me something I'm sure you can find me on AIM or by email.
- hellfire machina
- Posts: 1437
- Joined: Tue May 26, 2009 8:16 pm
- Location: New York City
- Contact:
Re: Slowing down forum trolls and cowards
wow if only our governments were run more like this website 

Re: Slowing down forum trolls and cowards
DRTY wrote:Why not just delete people's second accounts?
- hellfire machina
- Posts: 1437
- Joined: Tue May 26, 2009 8:16 pm
- Location: New York City
- Contact:
Re: Slowing down forum trolls and cowards
It was addressed earlier in the thread that deleting 2nd accounts won't work because there are legit reasons for having them, label/party promo etc.
Who is online
Users browsing this forum: No registered users and 0 guests