vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   how do i get live tickers to appear in article's? (https://vborg.vbsupport.ru/showthread.php?t=293025)

exploraforum 12-16-2012 12:01 PM

how do i get live tickers to appear in article's?
 
thanks for all that help.

on my article page I would like to insert tickers I found here...

http://oil-price.net/dashboard.php?lang=en

a sample of the code they provide is as follows.

I turned on external javascript, not sure it that was needed but it didnt make do anything.

<script type="text/javascript"
src="http://www.oil-price.net/TABLE2/gen.php?lang=en">
</script>
<noscript> To get the WTI <a href="http://www.oil-price.net/dashboard.php?lang=en#TABLE2">oil price</a>, please enable Javascript.
</noscript>

kh99 12-16-2012 02:20 PM

The external javascript setting doesn't have anything to do with that. But hwere are you inserting that javascript code, and what happens when you do? If you're seeing the code in your article, it means html isn't allowed. In that case you either need to enable html, or else create a bbcode for inserting a ticker. (It isn't recommended to enable html in a forum where the public can post, but only you can post there then it might be OK).

exploraforum 12-16-2012 04:14 PM

I found a video on inserting youtube video using a bb code. I applied it and its working well. could I use the sam steps to post these tickers?

kh99 12-16-2012 04:24 PM

Yeah, should be pretty easy. If there's more than one ticker then you could make that part a parameter or an option, or else make one bbcode per ticker, whichever seems easier to you.


All times are GMT. The time now is 11:13 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.01063 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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