Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to filter links in about-me in profile page?

+2 votes
195 views
asked Apr 24, 2013 in Q2A Core by q2apro
edited Apr 24, 2013 by q2apro
As Scott mentioned once, if your site grows more and more spam accounts are created.

For this, I removed the field "website" and left only "about me".

However, still in those fields the spam-guys post their "For ... visit http://www..."

I would like to filter those links.

I could use jquery but if they turn off javascript they still can post...

1 Answer

+2 votes
answered May 1, 2013 by q2apro

FYI, I solved it differently.

I just DO NOT display about-me, name, and living place if the user has less than x points.

Core hack for this:

1. open qa-page-user.php

2. go to line: foreach ($userfields as $userfield) {

3. enclose the entire foreach with:

        if($userpoints['points']>20) {
            foreach ($userfields as $userfield) {    
               ...
            }
        } // end anti-spam

 

Done!

commented May 1, 2013 by sama55
It is nice idea. Privacy plugin for limiting the open range of user's personal information may be necessity.
...