Jump to content
MakeWebGames

Recommended Posts

Posted

or come visit my site crimegame.info .gov, .edu, .me, .mobi. com.co, and etc. there as soo many types of domain endings its not even funny. unless you add every ending for a domain possible then it wont stop people from sending links in the mailbox and dont forget to remove https: as some people use that also

Posted

really no point in this as what if there is a sig maker on the game, they have to upload it to like photobucket or imageshack, they will need

.com or .us

if you think about it lol.

best is just to do a system where you can only send 1 message every like 1 minute or whatever.

so you can catch and fed them quickly without them over flowing the mail logs with their game link.

 

also this looks like Extermination's modification lol

Posted

With the doubt of people advoiding this, im my personal view, a better way to do this is:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Then the problem would be,

It matches

google.com

http://www.google.com/

https://www.blah.com/

https://blah.com

http://www.blah.com

http://blah.com

But fails obviously on http:// www . google .com

Which wouldn't be a problem if you encode it first as all links with spaces would be encoded like

http://www.site.tld/no%20links%20allowed/

which would match.

Regex(p) source Gskinner Community

Posted

There are several ways this can be done, but you're not going to solve the problems, you'll just make it harder for someone to insert a URL.

I'd use both Nicholas' idea and the OP's idea, limit how often they can send mails and just make it harder for them to do a URL in a message :D

Posted
There are several ways this can be done, but you're not going to solve the problems, you'll just make it harder for someone to insert a URL.

I'd use both Nicholas' idea and the OP's idea, limit how often they can send mails and just make it harder for them to do a URL in a message :D

yeh because when advertisers come to the game, they dont want to sit there for 10 minutes just to send 10 random players 1 message.

they get annoyed of waiting and get bored so they leave, well most of them anyways haha.

Posted

Good point Alan im thinking maybe a little simple filter for some really bad words (P*do) but im considering allowing moderate swearing and the posting of links (i will obviously do a simply filter preventing it slightly but can't prevent it entirely but if i do try then i can't be held responsible).

Posted

Why don't you, detect if the link is not to do with your game, if it is, then put it in a database with the user who put it there, if it occurs in the database more than X amount of times, you'll know they have "targeted" your game for advertisement.

  • 2 weeks later...
Posted
bladewolf a few people have done that lol

I know a-load of people that have done it too, there are a few on this forum. lol

This is no simple str_replace/str_ireplace, your going to have to use regex; And no, no stupid ones. -.-

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...