2 afwas Oct 12, 2007 16:09

Thanks Afwas. It's amazing what one can do with Regular Expressions.
I've taken your suggestion, that would be line 80. When I a little free time, I'll update the package.
It is a great plugin indeed and thanks for it.
@Afwas, try as I can I cannot get your class= trick to work with 2.0.2 !!
John wrote:
@Afwas, try as I can I cannot get your class= trick to work with 2.0.2 !!
It works in 2.0.2, see my [url=http://blog.hemminga.net/index.php?blog=9]testblog[/url]. The line in the plugin you want to change is line 80, as Austriaco pointed out and the style goes into your skin's css file (or better, in one of the all skins css files at ../blogs/rsc/css/) and looks similar to:
a.wikilink {
background: transparent url(../../img/wikipedia.png) center right no-repeat;
padding-right: 18px;
color: green;
}
a.wikilink:visited {
color: lightseagreen;
}
Good luck
Yep, I've seen your working example and I do have 2.0.2.... it just doesn't want to play :)
John wrote:
Yep, I've seen your working example and I do have 2.0.2.... it just doesn't want to play :)
What's the source of your output? Only thing I can imagine is an error there.
Good luck
It doesn't render the class="wikilink" at all.
I did a direct cut n paste of your posted line
.'\" class=\"wikilink\">'
I'll give it a spin today.... Could be the issue
Total uninstall and reinstall worked :)
John wrote:
Total uninstall and reinstall worked :)
Nice to hear you got it running :p
Well done
I have released a new and improved version of this plugins, for all of those who are compulsive wikipedia linkers :)
[url=http://forums.b2evolution.net/viewtopic.php?p=61189#61189]Read the updated initial post for the details[/url] or [url=http://cronicaslinuxeras.com/actualizada-ext-enlaces-wikipedia-b2evol#wlinkup_en]Go to my blog and read the gory details of the affair between Wikipedia Links and Smilies plugin[/url]
This is a very beatiful plugin that hasn't gotten the attention it deserves. I am very fond of preg_replace statements like yours:
(and it is more beatiful if phpBB didn't delete the alpha part :p )
One suggestion. I changed the line:
in
so I am able to style the links, like making them green.
Thanks.