How to add nofollow to posted links in Vbulletin? I have edited class_bbcode.php function handle_bbcode_url($text, $link) will return return "<a rel=\"nofollow\" href=\"$rightlink\" target=\"_blank\">$text</a>"; But nothing changed on the forum. When I comment out that function, I got no error, so that function is not running. I see that cache is disabled. Could vbseo be the problem?
When you say "nothing changed" are you looking at posts already made or are you making a new one ? remember all your posts are stored in a database, so you would need to make a new test post to check your script edits.
I've added new post and the link is do follow. I just got this forum, it is an old one and was full of spam. I have removed over 300 spam posts. I want to have do follow in signatures only (those will be displayed after the 10th post and only if they write over 100 characters). EDIT: I just checked my DB. Links are stored with bbcodes, not html, so, the content is rendered on view.
Apparently this is done in the vbseo control panel and it converts older posts upon loading to the page. http://www.vbseo.com/f2/adding-nofollow-links-41618/
Yep, I know, but that will add nofollow to ALL outgoing links, including their signature, and I want to keep the signatures do follow.
I guess that would only make sense, so sorry for the confussion. Ok so how about this one then: http://www.vbseo.com/f2/remove-signature-links-41674/#post260184 http://www.vbulletin.org/forum/showthread.php?t=97685
I already have that mod installed, it is the one that sets the min postcount to show sig. It does not have an option to remove nofollow tags added by the previous mod (vbseo).
Ok well getting back to your first assumption, vbseo must have its own file dealing with bbcodes, you probable need to search deeper within your directory structure for that file, sorry I'm not much help... I don't have VB
Why is the input $link and your returning $rightlink - is their something where missing? - perhaps post the whole function...
the paid vbseo product will take care of all this for you, or there is a mod at the org that will convert all links to nofollow. no PHP knowledge is needed