The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
using jquery instead of yui
Hello,
I'm in process of finishing a mod (hopefully) and for all the ajax functions within the mod I've decided to use jquery library as I'm more familiar with it's syntax than Yahoo UI library As far as I can see there are no conflicts between two, however I was wondering if I can exclude YUI libraries on my mods The only vbulletin built-in javascript code I use is WYSIWYG editor (which probably uses a separate vbulletin-editor.js file), I can't think of anything else that I use By default, when {vb:raw headinclude} is executed in the templates, it includes vbulletin-core.js along with yui-connector and yui-min I think, would it be OK to remove them? and actually is there anyway to do that? |
#2
|
|||
|
|||
I think.. vbulletin-core.js needs the yui lib.. and also the init in footer is bound to check for it...
(not sure.. but check it out.. do a fetch_object(some id) in your code.. (that uses the main vbulletin js..) if that works after removing the yui then you can do it. PS i wouldnt.. check out the yahoo dev pages.. there is a simple beginner tutorial for the ajax stuff. IMHO its easier to read through 3 pages, that to mess around with the vbulletin core stuff..) F. |
#3
|
|||
|
|||
No, you can't remove them.
vBulletin is using the yui library on many parts! I'm using both of them and having no problems |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|