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.


All times are GMT. The time now is 02:13 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
  • Page Generation 0.01104 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete