Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Wikipedia reference-link BBCode Details »»
Wikipedia reference-link BBCode
Version: 1.00, by Patria Patria is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.0 Beta 2 Rating:
Released: 06-20-2006 Last Update: 06-24-2006 Installs: 121
Additional Files  
No support by the author.

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>
Example:
Code:
[wikipedia]Vbulletin[/wikipedia]
Use {option}: No
Button Image (Optional): images/misc/wikipedia.gif

--

Syntax:
Code:
[wikipedia]Keyword[/wikipedia]
Simple but useful.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-21-2006, 11:03 AM
thedvs thedvs is offline
 
Join Date: May 2002
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks alot, very handy, works in vb3.5.4 too
Reply With Quote
  #3  
Old 06-21-2006, 03:27 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works a treat...clicked install
Reply With Quote
  #4  
Old 06-21-2006, 04:21 PM
Patria Patria is offline
 
Join Date: Apr 2005
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe I add a yellow popup layer, that show the first part of the wikipedia article, in future.
Reply With Quote
  #5  
Old 06-21-2006, 05:07 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea.
Reply With Quote
  #6  
Old 06-22-2006, 05:29 PM
Patria Patria is offline
 
Join Date: Apr 2005
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



The first 500 chars of the wiki article.
Reply With Quote
  #7  
Old 06-23-2006, 06:46 AM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/>
Reply With Quote
  #8  
Old 06-23-2006, 08:46 AM
Patria Patria is offline
 
Join Date: Apr 2005
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Neal-UK
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%...lletin<br%20/>
Did your replacement code exactly look like this
PHP 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
and the tag in the post like this?
PHP Code:
[wikipedia]vbulletin[/wikipedia
Its currently only a link, the popup layer is a feature I work at present.
Reply With Quote
  #9  
Old 06-23-2006, 04:48 PM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 07-05-2006, 09:54 AM
Red Matrix Red Matrix is offline
 
Join Date: Jun 2006
Location: Texas
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, but I have modified it for my dark skin.

example post
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05661 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete