|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
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. |
|
|
|
|
|
#2 |
|
Confirmed User
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 |
|
|
|
|
|
#3 |
|
Confirmed User
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! |
|
|
|