BBcode for displaying finviz charts

Get help developing custom BBCodes or request one.
Post Reply
Adam_Nox
Registered User
Posts: 26
Joined: Thu Oct 17, 2013 5:44 pm

BBcode for displaying finviz charts

Post by Adam_Nox »

I am trying to make a bbcode where you put [chart]AAPL[/chart] for example, and the result would be

Code: Select all

<img src="http://finviz.com/chart.ashx?t=AAPL&ty=c&ta=1&p=d&s=l"></img>
Any help with this appreciated. Or a guide to creating custom BBcodes, or a mod that allows openness for admins in creating custom bbcodes through the ACP. Yes, I understand the risks. However, using {SIMPLETEXT} screen as part of a url to an image does not create a security issue.

I've tried reading through about a dozen topics here and elsewhere, tried editing bbcode.php and bbcode.html, and have gotten nowhere.
User avatar
Lumpy Burgertushie
Registered User
Posts: 67986
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: BBcode for displaying finviz charts

Post by Lumpy Burgertushie »

is this going to always be the same link:
http://finviz.com/chart.ashx?t=AAPL&ty=c&ta=1&p=d&s=l
or will it change? and if it will change, what part of it will change?


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
Adam_Nox
Registered User
Posts: 26
Joined: Thu Oct 17, 2013 5:44 pm

Re: BBcode for displaying finviz charts

Post by Adam_Nox »

the part that says AAPL is the only part that will change.

So like:

Code: Select all

 http://finviz.com/chart.ashx?t={SIMPLETEXT}&ty=c&ta=1&p=d&s=l
User avatar
Lumpy Burgertushie
Registered User
Posts: 67986
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: BBcode for displaying finviz charts

Post by Lumpy Burgertushie »

Adam_Nox wrote:the part that says AAPL is the only part that will change.

So like:

Code: Select all

 http://finviz.com/chart.ashx?t={SIMPLETEXT}&ty=c&ta=1&p=d&s=l
ok, so then this is how you make that bbcode:

bbcode:

Code: Select all

 [chart]{SIMPLETEXT}[/chart]
html replacement:

Code: Select all

<img src="http://finviz.com/chart.ashx?t={SIMPLETEXT}&ty=c&ta=1&p=d&s=l"></img>
help line:

Code: Select all

example:[chart]AAPL[/chart]
check to show on posting page


which means that you put your ticker symbol in between the bbcode tags and it should show that chart.
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
Adam_Nox
Registered User
Posts: 26
Joined: Thu Oct 17, 2013 5:44 pm

Re: BBcode for displaying finviz charts

Post by Adam_Nox »

for some reason I didn't think you could do html with things like href or img etc since they already had bbcodes due to some earlier tests trying to make links that would open in a new window.

Thank you.
Post Reply

Return to “Custom BBCode Development and Requests”