PDA

View Full Version : Ticker Code




Razmear
05-04-2011, 11:01 PM
Stolen from source of RPF...



<!-- START TICKER -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="459" height="188" id="ticker" align="middle">
<param name="movie" value="http://rp4.us/ticker.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />

<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="always" />
<param name="FlashVars" value="loadDataURL=http://www.ronpaul2012.com/wp-content/themes/ronpaul2012/tp.php&barLimit=2" />

<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.ronpaul2012.com/wp-content/themes/ronpaul2012/ticker.swf" width="459" height="188">

<param name="movie" value="http://rp4.us/ticker.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />

<param name="salign" value="" />
<param name="allowScriptAccess" value="always" />
<param name="FlashVars" value="loadDataURL=http://www.ronpaul2012.com/wp-content/themes/ronpaul2012/tp.php&barLimit=2" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>

<!--<![endif]-->
</object>
<br />
<a href="http://ronpaul2012.com/">DONATE NOW!</a>
<!-- END TICKER -->

RachelFaith
05-04-2011, 11:05 PM
Nice

Jeremy
05-04-2011, 11:11 PM
Ya but I'm still looking for someone to host the swf http://www.ronpaul2012.com/wp-content/themes/ronpaul2012/ticker.swf for the day so we don't use too much of their bandwidth. Anyone?

Razmear
05-04-2011, 11:13 PM
Tell me what I need to do and I'll stick it on RP4.US.

eb

Jeremy
05-04-2011, 11:14 PM
Tell me what I need to do and I'll stick it on RP4.US.

eb
Are you sure you have enough bandwidth? If so, just download this: http://www.ronpaul2012.com/wp-content/themes/ronpaul2012/ticker.swf

and link me up

The file is over 100kb and A LOT of people view RPF. But it would be just for the day.

Razmear
05-04-2011, 11:15 PM
I have unlimited bandwidth with 1and1.com hosting.
Give me a couple of minutes.

eb

UtahApocalypse
05-04-2011, 11:19 PM
Hopefully someone can figure a way to pull the data every 10 mins and create a graph or even just a spread sheet

Jeremy
05-04-2011, 11:19 PM
Hopefully someone can figure a way to pull the data every 10 mins and create a graph or even just a spread sheet

https://spreadsheets.google.com/spreadsheet/oimg?key=0AiTCYm2O-biedHZTYlIyaDhTSkFGOFRuMmJwbzhvclE&oid=6&zx=7o1nfvf6iv3w

CaseyJones
05-04-2011, 11:21 PM
can you guys hash up a graphs?

[Edit] Oh Sweet

Razmear
05-04-2011, 11:22 PM
updated the ticker code with the new web address.

eb

Jeremy
05-04-2011, 11:23 PM
added

UtahApocalypse
05-04-2011, 11:25 PM
https://spreadsheets.google.com/spreadsheet/oimg?key=0AiTCYm2O-biedHZTYlIyaDhTSkFGOFRuMmJwbzhvclE&oid=6&zx=7o1nfvf6iv3w

Yeah..... we did it for the last bomb. I just dont know where to pull data from or how

Jeremy
05-04-2011, 11:26 PM
Yeah..... we did it for the last bomb. I just dont know where to pull data from or how

well this is the where: http://www.ronpaul2012.com/wp-content/themes/ronpaul2012/tp.php

Razmear
05-04-2011, 11:30 PM
well this is the where: http://www.ronpaul2012.com/wp-content/themes/ronpaul2012/tp.php

I don't see any usable data in that file.

Edit: got it now, think you changed the link after I downloaded the first one.

mCsenget
05-04-2011, 11:30 PM
the first line has the dollar amount and the last bit has the timestamp....



{"total_amount":"143067.38","total_amount_goal":"0.00","recent_donors":[{"first_name":"","last_name":"","address":"Austin, TX"},{"first_name":"","last_name":"","address":"Jacksboro, TX"},{"first_name":"","last_name":"","address":"Braselton, GA"},{"first_name":"","last_name":"","address":"Scottsdale, AZ"},{"first_name":"","last_name":"","address":"Watertown, NY"},{"first_name":"","last_name":"","address":"Helena, MT"},{"first_name":"","last_name":"","address":"Aberdeen, WA"},{"first_name":"","last_name":"","address":"Hialeah, FL"},{"first_name":"","last_name":"","address":"Sarasota, FL"},{"first_name":"","last_name":"","address":"Holiday, FL"}],"loop":29,"timestamp":1304573373}

RachelFaith
05-04-2011, 11:30 PM
https://spreadsheets.google.com/spreadsheet/oimg?key=0AiTCYm2O-biedHZTYlIyaDhTSkFGOFRuMmJwbzhvclE&oid=6&zx=7o1nfvf6iv3w

That's not a graph! It looks like the flight plan for a rocket!

Sentinelrv
05-04-2011, 11:42 PM
The ticker on the forum says "Donation info not available" for me. It displays no dollar amount.

Jeremy
05-04-2011, 11:42 PM
The ticker on the forum says "Donation info not available" for me. It displays no dollar amount.

what browser?

edit: does it work now?

Jeremy
05-04-2011, 11:45 PM
Edited the code and the code in your post, Razmear. I'm assuming that fixed it.

Razmear
05-04-2011, 11:52 PM
Edited the code and the code in your post, Razmear. I'm assuming that fixed it.

is the <!--[if !IE]>--> section still pulling from the ronpaul2012 site?

Sentinelrv
05-04-2011, 11:58 PM
Yes it is fixed now.

Jeremy
05-05-2011, 12:10 AM
is the <!--[if !IE]>--> section still pulling from the ronpaul2012 site?

Whoops. Should be fixed now.

nayjevin
05-05-2011, 06:52 AM
http://www.ronpaulforums.com/showthread.php?291041-Updating-realtime-graph-of-Ron-Paul-Debate-Day-Moneybomb-May-5

Made a thread for the graph... thanks Jeremy :)

terryhamel
05-05-2011, 04:04 PM
I'd like to see a line graph of cash vs time overlaid with RP's 2008 money bombs, which would reveal averaged dollar per minute.