Ask your own question, for FREE!
OpenStudy Feedback 19 Online
OpenStudy (dumbsearch2):

OpenStudy still has some issues regarding the chat pods on this site, particularly those pertaining to spamming, language and flooding. I've decided to program and contribute a couple of scripts, that I hope you could use. Most of it is coded in PHP. The only extra code needed is the part to call the PHP script through the AJAX, but I decided not to code that part due to the fact that it's fairly easy to do, and it appears that this site has a special way of doing it and I think it would be wise to be consistent. So here are the PHP scripts I programmed. Hope they will be fairly easy to cut+paste. (: The admins could use it if they wished (:

OpenStudy (dumbsearch2):

The following is programmed to allow an easy system to objectionable words from the chat. Should be more effective then the current system. $texttofilter = htmlspecialchars($_GET[q]); $badwords = "[put all the bad words you want to filter here, and derivatives, here, separated by a comma]"; $badwords = explode($badwords, ","); forreach($badwords as $filterword){ str_replace($texttofilter, $filterword, "flutter"); } echo $texttofilter;

OpenStudy (dumbsearch2):

The following block all kinds of flooding in the chat. Call the following script via AJAX after every chat submitted. $texttofilter = htmlspecialchars($_GET[q]); set_cookie("lastchat", $currenttime); Call the folllowing script via AJAX if ($_COOKIE[lastchat] === $currenttime){ echo "true"; } else { echo "false"; } (if the answer is true, grey out the chat box until the most recent call is false, in other words, the next 2 seconds).

OpenStudy (dumbsearch2):

Sorry. There was a little error in the first script of the flooding filter. Here's a revision. $texttofilter = htmlspecialchars($_GET[q]); setcookie("lastchat", $currenttime);

OpenStudy (anonymous):

Thank you @dumbsearch2!

OpenStudy (dumbsearch2):

NP (: My pleasure to try to contribute to this amazing site!

OpenStudy (anonymous):

If the mods actually gave a shiz, they would have taken care of it long ago. Obviously they don't.

OpenStudy (koikkara):

@KatieWilliams19 @dumbsearch2 If chat works well, then when will u study?? like......., once ur stomach is full, y to eat again?

OpenStudy (aravindg):

Good work dumbsearch .This adds to the pending list of wonderful ideas you have suggested for improvement of the site .I wonder why its taking long for admins to actually start implementing those .

OpenStudy (dumbsearch2):

They. Are. Rather. Lazy.

OpenStudy (dumbsearch2):

Thank you @AravindG ^_^

OpenStudy (dumbsearch2):

@Agent_Sniffles If you hate this site so much, if you keep using lang about how horrible it is, maybe you should just leave it. The best we can do as a community is to contribute and help. Your part of the community. So if your not going to be a good part of it, you might as well leave. The site has maybe problems. The admins aren't doing enough. But you keep hating the site as the whole...

OpenStudy (anonymous):

I hate the site as a whole because it sucks lol Didn't I make that clear? And I did leave, but, gotta keep coming back. Someone has to talk crap about the site.

OpenStudy (dumbsearch2):

Your not explaining why it sucks. It's continually been helpful for my homework problems. And besides, if it sucks so much, why don't you stop being hypocritical and leave it ?

OpenStudy (anonymous):

I don't have to explain, it's actually painfully obvious. And I just said "I did leave", or can you not read properly?

OpenStudy (dumbsearch2):

Unless if my eyes are tricking me, you're currently using it right now.

OpenStudy (dumbsearch2):

You've been using it for the past days.

OpenStudy (anonymous):

I've actually been gone for about 3 days. And I also just said "gotta keep coming back. Someone has to talk crap about the site."

OpenStudy (dumbsearch2):

And I said: "Your not explaining why it sucks. It's continually been helpful for my homework problems. And besides, if it sucks so much, why don't you stop being hypocritical and leave it ?"

OpenStudy (anonymous):

http://media.tumblr.com/tumblr_memz3v3ulZ1r4wepx.jpg Stop commenting. You lower the IQ of the entire site. Which, seeing stuff people have posted, they don't have much to lose.

OpenStudy (dumbsearch2):

you really justify your accusations.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!