Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-16-2009, 06:10 PM   #1
Si
Such Fun!
 
Industry Role:
Join Date: Feb 2008
Posts: 13,900
[possible longshot] Is there a way to do this with WP if using a social plugin?

i'm thinking of setting up a community type site using buddypress or something similar.

would it be possible to block certain content from being displayed by using some kind of plugin?

For example,

to block spam, urls and email addresses would get block or scrambled.

like: member types in http://www.somefuckingtypeofwebsite.com and the plugin sees this and changes the output to something like http://sijjoijwjeijjisjfidijfijisfjiajojfoaijfoi

to prevent any spamming.

Is this possible?

If not i'll just set it all to nofollow.
Si is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2009, 08:25 PM   #2
harvey
Confirmed User
 
harvey's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
of course it's possible, depending on the script you can use something like

Code:
if (!preg_match("/^(http?:\/\/+[\w\-]+\.[\w\-]+)/i", $some_value))
{
    $some_value = '';
}

that will leave $some_value (ie any URL) empty. Of course you may change to something else, but it will look better this way.


you'd also use preg_replace() or ereg() and play with regex if you want to asign some specific value, there are many ways to do it.

This being said, you're supposed to use NOFOLLOW anyway
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth
harvey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2009, 10:14 PM   #3
Simon_Spicecash
Confirmed User
 
Simon_Spicecash's Avatar
 
Join Date: Jun 2007
Location: Montreal
Posts: 524
Oh neat, I'd never heard of buddypress...definately going to look into that! Have a few blogs that have a great returning reader base, and putting some kind of community to them would be great

thanks for that!
Simon_Spicecash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.