XF 1.3 Hide links to guests

There I have:
(You have insufficient privileges to reply here.)
I try change regexp because I think that the problem is in it.

I changed 19 line in HideLinks.php:
Code:
  $message['messageHtml'] = preg_replace("!<a[^>]*>(.*)</a>!siU", $options->liens_message, $message['messageHtml']);
to
Code:
  $message['messageHtml'] = preg_replace("!<a[^>]* class=\"externalLink\ (.*)>(.*)</a>!siU", $options->liens_message, $message['messageHtml']);
Now it does not hide links in goto url (when someone quotes messege).

Currently hiding probably works well, example: http://gsmx.co/tematy/nowy-skrypt-forum.59631/


If you have some better suggestions for regular expressions - please write in this topic;)
In my forum I use Favicon for links and Proxy Links and it all works properly with HideLinks by Cobra :)
 
Probably most people won't be using an add-on that was archived and generated back in 2011 and the last post was in 2012. If it was still being supported the author would have migrated it to the resources. Odds are the author (who was last on in 03/12) isn't around to support it here. There have been enough changes in XenForo since then that I'm surprised that it even works.
 
Top Bottom