1 austriaco Oct 04, 2007 16:38
3 austriaco Oct 12, 2007 16:14
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.
4 john Oct 17, 2007 13:47
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 !!
5 afwas Oct 17, 2007 16:08
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
6 john Oct 17, 2007 22:07
Yep, I've seen your working example and I do have 2.0.2.... it just doesn't want to play :)
7 afwas Oct 17, 2007 22:16
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
8 john Oct 17, 2007 22:32
It doesn't render the class="wikilink" at all.
I did a direct cut n paste of your posted line
.'\" class=\"wikilink\">'
9 afwas Oct 17, 2007 22:35
10 john Oct 17, 2007 22:39
I'll give it a spin today.... Could be the issue
11 john Oct 17, 2007 23:31
Total uninstall and reinstall worked :)
12 afwas Oct 17, 2007 23:40
John wrote:
Total uninstall and reinstall worked :)
Nice to hear you got it running :p
Well done
13 austriaco Feb 29, 2008 15:18
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.