2014-06-02, 02:25 AM
Pages: 1 2
2014-06-02, 02:33 AM
(2014-06-02, 02:25 AM)dthiago Wrote: [ -> ]Like XenForo a option to easily change latest jquery source...
From....
GoogleCDN
JQuery CDN
Microsoft CDN
CDNJS
A personal CDN
possible yes or no...
will depend on it https://github.com/mybb/mybb/pull/64
2014-06-02, 07:34 PM
You can change this in the templates.
Admin CP -> Templates & Style -> Templates -> *Template set* -> Ungrouped templates -> headerinclude
Replace:
@martec's link allows all your content (images, css, js) to be served from your own personal CDN. However this is still a work in progress. Hopefully it will be introduced in BETA 2...
Admin CP -> Templates & Style -> Templates -> *Template set* -> Ungrouped templates -> headerinclude
Replace:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js?ver=1800"></script>
With:<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
@martec's link allows all your content (images, css, js) to be served from your own personal CDN. However this is still a work in progress. Hopefully it will be introduced in BETA 2...
2014-06-02, 09:17 PM
(2014-06-02, 07:34 PM)JordanMussi Wrote: [ -> ]You can change this in the templates.
Admin CP -> Templates & Style -> Templates -> *Template set* -> Ungrouped templates -> headerinclude
Replace:
With:<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js?ver=1800"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
@martec's link allows all your content (images, css, js) to be served from your own personal CDN. However this is still a work in progress. Hopefully it will be introduced in BETA 2...
I hope so too
2014-06-03, 03:57 PM
The community is waiting for you Euan.
2014-06-03, 04:06 PM
* Wildcard grabs a pitchfork and lights a torch
2014-06-04, 04:05 AM
(2014-06-03, 04:06 PM)Wildcard Wrote: [ -> ]* Wildcard grabs a pitchfork and lights a torch
* Josh H. grabs his pitchfork and lights his torch from Wildcard's flame.
2014-06-05, 11:04 PM
(2014-06-02, 07:34 PM)JordanMussi Wrote: [ -> ]You can change this in the templates.
Admin CP -> Templates & Style -> Templates -> *Template set* -> Ungrouped templates -> headerinclude
Replace:
With:<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js?ver=1800"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
@martec's link allows all your content (images, css, js) to be served from your own personal CDN. However this is still a work in progress. Hopefully it will be introduced in BETA 2...
It´s easy but it´s not what i want to talk. I wish to handle all kind of *.js just change a options on ACP.
Some website use jquery.js other use some others like cookie.js and GOogle CDN don´t have cookie.js but CDNJS and jsDelivr exist.
Automatically check Google CDN on ACP my jquery change to google CDN but if i use cookie.js my link still untouched cause Google CDN doesn´t have a cookie.js maybe i need to change manually.
Or better if a option to include all *js used by my side including added by plugins and etcetera.
of course i can search on themes .js and change manually.
On default theme with clean install is more easy to know.
sry for my english...i can try to explain again.
2014-06-06, 07:29 AM
Jquery should be the only file that is available from a CDN therefor you only have to change one template.
2015-10-18, 05:54 AM
so what happened with this project?
Pages: 1 2