![]() |
Wikipedia reference-link BBCode
Wikipedia reference-link BBCode
Install instructions 1) Upload wikipedia.gif to /images/misc 2) Login into your AdminCP 3) Custom BB Codes, Add New BB Code Title: Wikipedia reference-link Replacement: Code:
<span style="background-color: White; border: 1px dashed Blue; padding: 3px; text-decoration: none;"><img src="images/misc/wikipedia.gif" alt="Wikipedia reference-link" align="absmiddle" border="0"><a href="http://en.wikipedia.org/wiki/{param}" target="new">{param}</a></span> Code:
[wikipedia]Vbulletin[/wikipedia] Button Image (Optional): images/misc/wikipedia.gif -- Syntax: Code:
[wikipedia]Keyword[/wikipedia] |
thanks alot, very handy, works in vb3.5.4 too :)
|
works a treat...clicked install
|
Maybe I add a yellow popup layer, that show the first part of the wikipedia article, in future. ;)
|
Nice idea. :)
|
|
I just get the word as a link with the W above but when I click it it says invalid page and what not.
UPDATE: Showing this in my link: http://en.wikipedia.org/wiki/%20<br%20/>vbulletin<br%20/> |
Quote:
PHP Code:
PHP Code:
|
Yes, all done exactly as the instructions stated. I'm using vb 3.6.0 Beta 3.
It was me not putting wikipedia in the Tag area when adding a new BB code. I put in [wikipedia][/wikipedia] by mistake and not just wikipedia, working fine now thankyou Might be a good idea to mention that in first post as some noobs like me will probably make a mistake. |
|
Quote:
Only one comment - you might want to choose a more neutral color for the default link background, which will work for either white or black based styles. I'm using Gray, which works in all my styles. -- hugh |
Quote:
Quote:
|
Quote:
Maybe a cron job which runs thru your table once a day and refreshes the data? On the flat file vs database, personally I would vastly prefer a database table. If you need anyone to help with development or testing, I'd be more than happy to help out in any way I can. -- hugh |
Hi, I had a wiki installed in my site and I'll use surely this mod.
But there's a way to make it automatic, like a glossary? |
Quote:
|
If you press Editor Mode (in advanced mode) something is wrong.Can you check it ?
Thanks |
Quote:
|
Is it possible to let the users select wich language they want to refer to?
Like a dropdown list or something (after you pressed the BB-code-button) ..Maybe like the smiley button in the post-editor? |
Quote:
|
Quote:
(I just asked since I can't figure out where the code for the smileybutton is) And yes, I might not have made myself clear, but i did actually mean the possibility to choose (in the same way as you choose smileys from a drop-down) between different BB-codes. Why? Because a button for each one would simply just take up too much space -_- |
Excellent mod for referencing Wikipedia articles on a separate line! We do this all the time.
Would also love to have the flexibility to have a slightly less obvious version that looks like a standard html link (like the Wikipedia BBcode hack provided for 3.0.x). This is a minor request, though. Second request would be for the preview popup you mentioned on the first page. Great hack! |
@Luggruff, silurius
I will see what I could do ... ;) Quote:
PHP Code:
|
Quote:
|
*bump*
|
Quote:
|
My Wikipedia has stopped working in 3.6.4 in firefox browser 1.5.0.8
It mall formats the actual link. You can see an axample at the beginning of an existing post at http://www.physiobob.com/forum/showthread.php?t=3510 The first word was a link working perfectly until a recent upgrade. This might be a firefox issue or it might be a vbulletin issue. This is because I also have now seen that my plugin which does the same thing for adding utube plugins is also asking to install a plug to make it work! I attach a screen shot of that as well for you interest in case it help to work out where the issue might be coming from |
Looks like a Firefox issue. I visited your page some minutes ago and it worked well. :)
|
Quote:
Code:
<span style="background-color: #F5F5FF; border: 1px Blue; padding: 1px; text-decoration: none;"><img src="images/misc/wikipedia.gif" alt="Wikipedia reference-link" align="absmiddle" border="0"><a href="http://en.wikipedia.org/wiki/{param}" target="new">{param}</a></span> If you want to omit the "W", just use this: Code:
<span style="background-color: #F5F5FF; border: 1px Blue; padding: 1px; text-decoration: none;"><a href="http://en.wikipedia.org/wiki/{param}" target="new">{param}</a></span> |
Quick question. Does this mod reference Wikipedia only?
If our web site has it's own wiki, would I be able to tie it into this site? |
Quote:
Quote:
You could use [wikipedia] and [wiki] to differentiate the two. |
very cool!
Thanks for the info. |
Very nice.... thank you ... :)
A pop up kind of "balloon" thing would be a nice option.... Regards, Badger |
Quote:
|
This seems not to be valid html and it wasn't working at me.
|
It works fine for me. Check for typos.
|
this is a great mod! i used this, but changed the wiki websit to my own, and now i can link my forums up with my wiki!
downloaded! |
Hi!
great Mod, installed. Thanx |
All times are GMT. The time now is 01:59 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|