I'm adding a photo banner to my site. The problem is it is using a lesser version of jquery than vB does. Is there a work around for this, so it uses vB's jquery?
HTML5 Banner Rotator
Collapse
X
-
HTML5 Banner Rotator
adktramping ~ my happy place.
"Whoever said practice makes perfect was an idiot. Humans can't be perfect because we're not machines." ~ Sam Gardner.
Vote for your favorite feature requests and the bugs you want to see fixed.Tags: None -
MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.com -
Update the code in the banner rotator. Remove the link for the old jQuery, then use the console in the dev environment to see where the problems are. It usually requires little effort to update the code. If there is a function jquery is complaining about, do a search for the function on the jquery site and it usually shows the code as deprecated and gives a link for the replacement. If there are too many issues, you can probably find another rotator that uses current code.
👍 1Comment
-
I've helped the OP personally and duplicate jQuery wasn't the issue. The banner rotator script is using the same jQuery version that vB5 is using. The issue was it was loading jQuery twice. I had to include the banner script separately from the HTML module. I had to create a template hook to be able to include the banner plugin at the bottom of the page after jQuery is included.
There should be an AdminCP option to include jQuery in the <head> so that modules that have jQuery plugin and require jQuery library immediately would be able to initialize the plugin right away.👍 1Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment