iso
10 Mar 2017
the issue is that even if i use the rebuild global variables tool(which works at100% if I edit the original "forumdisplay_thread" template) it don't load the global one
Tac
12 Mar 2017
Love this plugin concept, but I've never been able to get it working. Am I missing a step? I installed the plugin on a stock local board, and none of my stylesheets load. All I have when the plugin is active are two new blank stylesheets. None of my jscripts are loaded either.
Can you provide a test board @
Tac? I will look into it for eventual issues.
Tac
23 Mar 2017
I’ll try to make this brief, since my last post was accidentally closed :/
Here is a rundown of the current problems I ran into with beta 4.
- Forced to “Rebuilding global variables” after each template modification to see changes.
- Inline css is cached on normal refresh, then used between pjax pages. This is especially problematic, as I have member profile backgrounds. All user’s have the first user’s profile background.
- Javascript sources have a prefix of “/min/?f=jscripts/”, but fail to load with a 403 forbidden error. Screenshot from Chrome console:
https://u.nya.is/czxjdu.png
- Past this, plugins which depend on javascript such as Rin Editor are a disaster…
- After initially selecting an option in “Minify resources” Both options can’t be enabled or disabled at once.
https://u.nya.is/wgamzg.mp4
- Pjax is broken over SSL (At least for me).
- Lazy load takes a very long time to load images, and seems inconsistent overall. I had to disable it.
- The loading line usually begins after a page has been loaded. If possible, start the loading line as soon as a link is clicked and finish loading on the next page like on Youtube.
- I use “DirectoryIndex forumdisplay.php?fid=215” in my htaccess to make my home page that forum, for some reason pjax doesn’t load the forum.
- <br> tags don’t seem to load.
Most of the problems you are experiencing are most likely linked to JavaScript not loading properly. I might have a look at your board personally to see what is faulting and what can be changed in the logic. (Even lazy loading images is powered by JS so if an element in the load chain breaks, subsequent JS is not ran).
Tac
28 Mar 2017
I'd be fine with that, however my board is a bit of a mess/work in progress. No where near default MyBB. If this change won't suffice, I'll send you the url. I changed Line 457 from
$prefix = ($minifyResources['scripts'] and strpos($script['external'], 'http') === false) ? $mybb->settings['bburl'] . '/min/?f=' : '';
to
$prefix = ($minifyResources['scripts'] and strpos($script['external'], 'http') === false) ? $mybb->settings['bburl'] . '/' : '';
and stored all scripts is the /jscripts folder. Javascript is loaded fine now, and I disabled "Merge stylesheets", so stylsheets are loading as normally. Will this change cause any problems?
I believe the problem comes from the "/min/?f=" prefix. Is this necessary? None of my scripts are in /min/
ThunderBoard comes with Minify, a php script designed to cache and minify scripts on demand. You don't need to store scripts there, as TB will make a copy and store them gzipped in /cache/ThunderBoard.
I will check your board out as soon as possible.
Hi @
Shade ThunderBoard not work propellery on localhost.
Console: Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost/css.php?v=1.0".
You have some issues with your MyBB installation not caching stylesheets properly. Solve them before trying to use ThunderBoard.
How can I now make it compatible with the javascript. I do not understand. In my forum is now not much if I activate thunderboard or the privileges of the groups. I'm too stupid for it.