Links Attribute
By default all links internal and external are nofollow.
Is it possible to make selected links (but not all links) dofollow and if so, how?
0
By default all links internal and external are nofollow.
Is it possible to make selected links (but not all links) dofollow and if so, how?
Comments
Maybe you can get a few ideas from this plugin:
The relevant code is quite simple:
public function base_beforeCommentBody_handler($sender, $args) { Gdn_Format::$DisplayNoFollow = false; }Inspecting the $args array you should be able to find the user ID and modify
$displayNoFollowaccordingly....if you are not using the new rich editor.
In case you are using the rich editor, you will have to extend the formatting using Reflection (check the plugin code). Related pull request:
https://github.com/vanilla/vanilla/pull/9860
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS