vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Torhead Embeddable Skill Calculator BBCode (https://vborg.vbsupport.ru/showthread.php?t=275353)

Dan 12-11-2011 11:00 PM

Torhead Embeddable Skill Calculator BBCode
 
1 Attachment(s)
Want to add BBCode to your forums so users can display skill trees from Star Wars: The Old Republic?

https://vborg.vbsupport.ru/

Torhead has you covered!

No files to upload or templates to modify, all you have to do is add a new BBCode.

Title: Torhead Embeddable Skill Calculator
BB Code Tag Name: skillcalc
Replacement:
HTML Code:

<script>var torhead_skillcalc = { "hash": "{param}" }</script><script src="http://tor.zamimg.com/skillcalc-embed.js"></script>
Example: [skillcalc]401.1[/skillcalc]
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 Torhead Tooltips and BBCode.

almty1 12-12-2011 01:55 AM

This works great, though one odd behavior. When you make a post with this BBcode it doesnt display until you refresh the page. This is a great mod thanks. Any plans for item tooltip bbcodes?

Dan 12-12-2011 02:00 AM

Quote:

Originally Posted by almty1 (Post 2276925)
This works great, though one odd behavior. When you make a post with this BBcode it doesnt display until you refresh the page. This is a great mod thanks. Any plans for item tooltip bbcodes?

I plan to do tooltips as soon as we implement XML/JSON at Torhead.

v123shine 12-12-2011 05:38 AM

Nice bbcode... like it :)

thomrrsw 12-12-2011 08:43 PM

Great Work! Up and Working on www.sithinquisitors.com

CnB 12-12-2011 10:15 PM

hmm i cant seem to get it to work for some reason.
Added the bbcode like explained.
But using the tags does not work.

I am assuming people need to put a link from a build between the tags.
Because i am not getting the 401.1 example

Dan 12-12-2011 10:24 PM

1 Attachment(s)
Quote:

Originally Posted by CnB (Post 2277152)
hmm i cant seem to get it to work for some reason.
Added the bbcode like explained.
But using the tags does not work.

I am assuming people need to put a link from a build between the tags.
Because i am not getting the 401.1 example

Are you sure you did it correctly? I've attached what the settings should look like exactly.

CnB 12-12-2011 10:40 PM

Quote:

Originally Posted by Dan (Post 2277154)
Are you sure you did it correctly? I've attached what the settings should look like exactly.

Exactly what i got on my screen.
can see the site under the replacement row.
But when i create a post, i am not getting any results.

Edit : My apologizes, seems my server was acting up. Which caused the code to not work.

Though could i ask for a explanation on the 401.1 example?
401.1 is a clear example, where do i see this code?

Dan 12-12-2011 11:01 PM

How are you trying to use it? To use it you need to take the hash tag at the end of the skill calculator's URL to display the same build on the forum.

So let's say (randomly built spec) http://www.torhead.com/skill-calc#300bcRRRdcdkqZrcoM.1 to use it on the forums I'd take everything after the # and put it in the middle of the BBCode tags.

PHP Code:

[skillcalc]300bcRRRdcdkqZrcoM.1[/skillcalc

And that will become http://f.cl.ly/items/3m0I3h2V2h3X3A0...00.56%20PM.png

CnB 12-12-2011 11:05 PM

Alright i got it now, my mind was a bit slow there haha.

Thanks allot, added on our guild site.

RiosJoe 12-15-2011 02:59 PM

Awesome job creating this! It's funny, just a couple of days ago I was looking to see if such existed yet, but I figured I'll have to wait for the games release. Very happy to use this on my guild forums! Can't wait for the other ones yet to come, keep up the good work!

Largo .//npc 12-17-2011 11:01 AM

Nice. Thanks.

almty1 12-20-2011 12:52 PM

This stopped working. Is there a problem on my side or Torhead? I checked tomrrssw's site too and his inst displaying either.

Dan 12-21-2011 01:40 AM

Quote:

Originally Posted by almty1 (Post 2279376)
This stopped working. Is there a problem on my side or Torhead? I checked tomrrssw's site too and his inst displaying either.

Yeah this was a problem with Torhead, it is fixed now though.

Chri5123 12-22-2011 12:24 PM

Awesome tool! Works great!

Got a question - if I want to link to quests and items so the little box from Torhead pops up with info - like how it used to do with wowhead - is these any mod for that?

Chris

Trady 12-31-2011 07:07 AM

Awesome... any tips on making it a widget for the cms page ?

T.

vrokar 02-04-2012 04:51 PM

All works great, would love to see some icons in the future though for quick replies and such.


All times are GMT. The time now is 04:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01191 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete