| « Turing Test Plugin | Creative Commons plugin for b2evolution v1.8 » |
EDIT: this plugin has been updated to work with b2evolution v240-RC2 so there ya go!
Notice: Use of undefined constant linkurl - assumed 'linkurl' in /I_am/hiding_the/directory_name/html/plugins/acrolink_plugin/_acrolink.plugin.php on line 155
I am using the latest version with b2 v. 1.9.1 and it seems to be case sensitive. Is there an option I am missing to change that? If I try to set up 2 distinct entries in various cases, it does not display properly.
Aw crap you mean when it's rendering right? So like you can have case-insensitive keywords in your list but they don't work right in your blog? Aw crap.
Well... Here is what I set up:
Okay cool. Not cool in that it's not working for you, but I understand the issue a bit better now. It should be case-sensitive when matching keywords, and a fair amount of work went into actually allowing the user to provide multiple case situations for their keyword list. The plugin also sorts your keywords from shortest to longest so that it matches 'foo' before it matches the middle of 'erm foo baz'.
If you change this line (approx 364 ) from this :-
GOD DAM IT EVERYONE HAS A COOLER VISIGLYPH THAN ME AND THIS IS MY DAMNED DOMAIN NAME AND I PLAYED WITH SEEDS TILL I THOUGHT I HAD A COOL ONE - AND IT SUCKS!!! :evil:
I normally just steal Blueyeds regex and then bend them to my will :rolleyes:
Thanks guys,
Hey,
if( stristr( $content, '<code' ) !== false || stristr( $content, '<pre' ) !== false || stristr( $content, '<a' ) !== false) {
$content = callback_on_non_matching_blocks( $content, '~<(code|pre|a)[^>]*>.*?</\1>~is', array( & $this, 'ReplaceTagSafe' ) );
} else {
$content = $this->ReplaceTagSafe($content);
}
It works nicely when I make a post but when someone makes a comment it doesn't work. I wonder if this can be made to work with comments as well.
I hadn't thought of that, and I don't know if the hooks exist to do it, but for sure it would be way cool. I'm busy busy busy with webwork projects, but yeah this will be an important improvement when I find time to play with this again.Comments are closed for this post.