x00
MVPx00 MVP
Reactions
-
Re: Parentheses in a URL break the link
note %20 for space and the escaping \( and \) (View Post)1 -
Re: Freelancers available to upgrade an existing theme?
You could make a plugin that annotates a discussion with profile pics( such as adjacent to the comment), where mentions occur. The simplest way would be with javascript. (View Post)2 -
Re: I can't get PremHide to work
the idea of this: $context = preg_replace($pattern, '\1', $context); is it strips the tags #<prem>(.*?)</prem>#is The first parenthesis matches .*?, so \1 will be the result of … (View Post)1 -
Re: I can't get PremHide to work
Yes you are not pre-parsing it correctly, so it will be stripped by HtmLawed as an invalid tag. However you are using a hook which is before the main formatting, so if you get the pattern matching ri… (View Post)2 -
Re: I can't get PremHide to work
The general principle would be $LoginStr = "Please <a href='".SignInUrl($this->SelfUrl)."'>Login </a>To See Premium Content"; if ($Session->IsValid()){… (View Post)3
