The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do you get a script to run in CMS?????
This is the script I would like to use:
<!-- START Worden Top Gainers and Losers Ticker Widget --> <script src="http://widgets.freestockcharts.com/js/jquery-1.3.1.min.js" type="text/javascript"></script> <script src="http://widgets.freestockcharts.com/script/WBIHorizontalTicker2.js?ver=12334" type="text/javascript"></script> <link href="http://widgets.freestockcharts.com/WidgetServer/WBITickerblue.css" rel="stylesheet" type="text/css" /> <script> var gainerTicker = new WBIHorizontalTicker('gainers'); var lossTicker = new WBIHorizontalTicker('losers'); gainerTicker.animate = false; gainerTicker.animationHost = lossTicker; gainerTicker.start(); lossTicker.alsoMove = gainerTicker; lossTicker.start(); </script> <!-- End Scrolling Ticker Widget --> If someone could walk me through the process I would appreciate it. New to vbulletin. Thanks. --------------- Added [DATE]1381097424[/DATE] at [TIME]1381097424[/TIME] --------------- I noticed on the default cms page (installed at time of vbulletin) that has video games the three youtube boxes on the right side are NOT working??? |
#2
|
||||
|
||||
ACP --> vBulletin CMS --> Widgets --> Create New Widget
Widget Type: Static HTML Title: What ever you want to call it Description: What ever you want Then click on Save. On the screen you are directed to, find the new widget, and click on Configure. In the popup box add the code you provided, then click on Save. Now you need to add the widget to your layout. Go to Layout Manager, choose your layout and click on Edit. Find the widget name in the scroll container named, Widgets and highlight it, then click on the arrow to add it to your page. You can drag it to different columns if you want, then click on Save. |
#3
|
||||
|
||||
Quote:
I did all that and it does not work... --------------- Added [DATE]1381098290[/DATE] at [TIME]1381098290[/TIME] --------------- I had a friend help me set up permissions on the forums, could that be causing an issue? Hell, I don't even see anything in the tool bar to embed a youtube video. All that shows is a link... |
#4
|
||||
|
||||
I just did it on my site and it showed up no problem, you may have not added it to the correct layout.
|
#5
|
||||
|
||||
I redid it again and still a blank box. Youtube videos don't show, etc.. help...
--------------- Added [DATE]1381099249[/DATE] at [TIME]1381099249[/TIME] --------------- Even default widgets are not working... |
#6
|
||||
|
||||
Youtube videos???? The code you posted was for a stock ticker.
|
#7
|
||||
|
||||
Yes, all of the above is not working. The code for the widget I posted does not work, default widgets do not work - blank boxes. Even youtube videos are not working...
|
#8
|
||||
|
||||
Is this a fresh install of vBulletin, or is this a existing install?
|
#9
|
||||
|
||||
fresh install. I do have a custom template.
|
#10
|
||||
|
||||
Since it is new, I would re install the site like you did from the beginning, and see if the widgets work then. I have installed the vB4 series about 100 times and have never seen the widgets not work at all.
And test everything out before you start adding mods / styles to the site to ensure it is working right first. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|