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

Reply
 
Thread Tools
Torhead Tooltips and BBCode Details »»
Torhead Tooltips and BBCode
Version: 1.00, by Dan Dan is offline
Developer Last Online: May 2020 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.1.9 Rating:
Released: 12-20-2011 Last Update: Never Installs: 14
Template Edits
 
No support by the author.

Want to add BBCode to your forums so users can display abilities, items, missions, npcs, and schematics from Star Wars: The Old Republic?



Torhead has you covered!

One template edit is required:
In headinclude add the following to the very bottom.
HTML Code:
<script>var framehead_tooltips = { "colorlinks": true, "iconizelinks": true }</script><script src="http://tor.zamimg.com/tooltips.js"></script>
There are 5 different BBCodes you can add to make it easier to link to the respective pages on Torhead, this also allows tooltips to be displayed where appropriate.

Title: Torhead Ability Links
BB Code Tag Name: ability
Replacement:
HTML Code:
<a href="http://www.torhead.com/ability/{param}">{param}</a>
Example: [ability]XS Freighter Flyby[/ability]
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes

Title: Torhead Item Links
BB Code Tag Name: item
Replacement:
HTML Code:
<a href="http://www.torhead.com/item/{param}">{param}</a>
Example: [item]Ace in the Hole[/item]
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes

Title: Torhead Mission Links
BB Code Tag Name: mission
Replacement:
HTML Code:
<a href="http://www.torhead.com/mission/{param}">{param}</a>
Example: [mission]You Can't Spend Infamy[/mission]
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes

Title: Torhead Schematic Links
BB Code Tag Name: schematic
Replacement:
HTML Code:
<a href="http://www.torhead.com/schematic/{param}">{param}</a>
Example: [schematic]Zez-Kai Ell's Double-Bladed Lightsaber[/schematic]
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes

Title: Torhead NPC Links
BB Code Tag Name: npc
Replacement:
HTML Code:
<a href="http://www.torhead.com/npc/{param}">{param}</a>
Example: [npc]Annihilation Droid XRR-3[/npc]
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes


Want more from Torhead? Check out our Embeddable Skill Calculator BBCode.

Screenshots

File Type: png bbcodeabilities.png (48.7 KB, 0 views)
File Type: png bbcodeitems.png (55.4 KB, 0 views)
File Type: png bbcodemissions.png (43.9 KB, 0 views)
File Type: png bbcodeschematics.png (59.0 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 12-22-2011, 08:35 AM
RiosJoe RiosJoe is offline
 
Join Date: Aug 2004
Location: Long Beach, CA
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yay finally out ! I installed it but the tool-tips are not working and everything looks right.

But then I noticed that it said vB Version: 4.1.9, so I might have to upgrade in that case to get it to work?
Reply With Quote
  #3  
Old 12-22-2011, 12:51 PM
Chri5123 Chri5123 is offline
 
Join Date: Dec 2011
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks awesome!

You say:

"In headinclude add the following to the very bottom."

Where do I find the headinclude file?

Chris
Reply With Quote
  #4  
Old 12-22-2011, 12:55 PM
Gleedo Gleedo is offline
 
Join Date: Oct 2008
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chri5123 View Post
Looks awesome!

You say:

"In headinclude add the following to the very bottom."

Where do I find the headinclude file?

Chris
Its the template 'headinclude'

goto admincp > style manager > then style you want to edit > Edit Templates

Then look for headinclude in the list.

HTH
Reply With Quote
  #5  
Old 12-23-2011, 09:01 AM
thomrrsw thomrrsw is offline
 
Join Date: Mar 2011
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great work again Installed and in use on www.sithinquisitors.com
Reply With Quote
  #6  
Old 02-12-2012, 02:43 PM
CnB CnB is offline
 
Join Date: Jul 2005
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if its intended, i am assuming not.

But all i get is links to the site using those tags.

I am on latest Vb, not sure if its because of that.
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 01:08 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.04144 seconds
  • Memory Usage 2,279KB
  • Queries Executed 20 (?)
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
  • (6)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (4)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete