![]() |
Hi Menewsha,
Many thanks for creating this add-in, and for sharing it with us. I have combined my .js files recently myself, but I didn't know how to combine my two .css files. I just installed your add-in, configured it to minify and combine only .css, and tested it. It worked! Now, instead of two .css files, when I check my source I only see one. I'm very much grateful to you for this! However, I run my site via a CDN (Content Delivery Network), and I need to find a way to change the URL from: Code:
www.example.com/cache/ to: Code:
cdn.example.com/cache/ The method I use for changing URLs of other static content doesn't seem to work for the .css file generated by your product. For other static content (.js, .jpg, .gif, and even my old .css files), I simply created a Replacement Variable in the Replacement Variable Manager, but creating one for www.example.com/cache/ ---> cdn.example.com/cache/ doesn't change the www to cdn. Maybe the combineit.php should be edited somehow to address my specific requirement? I still want the plug-in to save the combined .css to the same directory ( www.example.com/cache/ ), but I need the URL in the html of my page to be cdn.example.com/cache/ Any assistance with this would be greatly appreciated. Kind regards, Marvin |
I solved the above CDN-related issue by editing the line 101 of the combineit.php as follows:
Code:
$buffer = str_replace($first, '<link type="text/css" rel="stylesheet" href="'.'http://cdn.example.com'.'/cache/'.$hash.'.css" />'."\n", $buffer); However, I came across an issue with WYSIWYG editor and FireFox web browser. When css files, including inline css, are combined, the WYSIWYG editor is not styled in FireFox (the background is gray instead of white, and fonts are different, too). I think if it were possible to exclude individual css file(s) from being combined, this issue could perhaps be corrected by excluding vbulletin_editor.css. But I don't know if it would at all be possible to modify this product to exclude individual css files like it is possible to exclude js files. Any feedback would be much appreciated. |
I have found the above mentioned issue, which causes FireFox not to style the reply box, to be related to hosting CSS on a CDN. So this issue is not the fault of this product. This product, as far as I can see, works flawlessly, combining .css files with not a single issue so far on my forum. This product is an unnoticed gem! I can't believe only 43 people marked it as installed to this day!
I may look into using it to also combine my .js files, even though I already combined some of them myself a while ago. I briefly enabled the .js feature, but while it did combine them all, and my pages displayed in my browser just fine, I did notice a yellow exclamation mark in the Internet Explorer's status bar notifying me of errors. This may be related to incompatibility of my own modifications though, so I may look into this at a later date. For now, I'm just very glad I can use it at least for the .css files. Is anyone using this product successfully for combining .js files? Would you mind sharing your URL, or tell us if it worked for you with or w/out any modification(s) needed? |
Yeah I just found this too. Can't believe not more people are wanting such a feature working on their sites.
I will trial this in a little bit and fingers cross it works. |
After 6 weeks of using this add-on to combine just .CSS, I decided to use it also for combining .JS. (Previously I combined my .JS myself, but the way I was doing it wasn't as nice as using this add-in.)
It works. The only slight issue I observed was related to an add-in I use (Geek Auto Linker), but that was easily solved by adding the name of the javascript for Geek Auto Linker (gal.js) as a "stop word" in Combine IT. So, as a conclusion I can say, Combine IT works, and it works very well. For many (most?) vBulletin installations Combine IT will likely work right out of the box. |
I seem to be having issues where members can't click on any quick reply options. Are others experiencing any issues with the quick reply?
|
By "Quick Reply options" do you mean the formatting options such as bold, italic, underline, enter hyperlink, add image, etc? I haven't noticed these issues, and I just tested them on my forum.
To ID the cause if the issue, I'd start by first trying to find out if a .css or a .js file is causing it. Disable .js combining, and test your forum. Let us know. |
Yes, those are the options I was referring to. It seems that the issue is resolved once I disable .js combining. However, what to do if you want to combine .js?
|
You can (should?) specify in Combine It options that you want to combine only files from the same host.
Let is know if that helps. |
I gave your suggestion a shot but unfortunately the issue remains with those settings in place.
|
The next step would be to determine which .js file causes the issue. One by one, place the names of the .js files, which load when you access your thread pages, to the list of Combine It stop words, till the issue goes away. My guess is that the .js file is related to some add-on you have. Let us know.
|
How can I find the names of the .js files to test?
|
One way to find out which .js files load when a page opens is to 1. Open the page in a web browser, 2. View the source code by clicking View > Source on the menu bar of your web browser, and 3. Search (Ctrl+F) the source page for instances of .js
|
Thank you
|
when I enable this plugin, my website doesnt load, any help is appreciated.
Regards... |
Now I get this :
Quote:
|
Ali, try to disable the combining of .js (combine just .css). See if that works. If yes, then the next step will be to find out which .js file is causing problems. Likely it will be one of an add-on, or something that doesn't originate from vBulleting itself. You will be able to place such file(s) on the "do not combine" list.
|
oh, thanks for the tip marvin, I am gonna go for it.
regards. |
Work for vb 4 ?
|
We need this for vb4.. Anything extra we can use to optimize.. we need!
|
Agreed. Bumps
|
vb4 compatible?
|
*push*
vB 4? |
vbulletin 4 ????? Update coming up or /?? ?
|
Bump, I'd like to see a similar addon for vb4.
|
i've made a v4x version of this addon.
gonna upload it at some point. added cdn integration feature (rewrites urls inside css) |
well. ive used the idea from his script, but the code is written from scratch.
dont think i need a premission to post script written by me. or if so, i'll ask him. i dont think thats gonna be a problem. |
tanx dude
|
I am sorry to say, but this is one if the most disapointing mods I have seen on here! First thing when I ran this, just running my CMP_INDEX.PHP page, I got 500 bytes of JS CACHE! and the page was running 100 times slower! I used it for 2 hours, checking and checking! Never ever seen a mod with so less power, and so much damage!
But the Idea is totally great, I am just disapointed that it does not work for me! Keep up the good job! |
does not work properly unfortunately.
This would be great to have for vbulletin 4, so I'm putting in a mod request (unpaid). Unfortunately, this mod author hasn't logged in since 2013. One glaring problem is that it seems to create multiple css files (perhaps one per unique visitor?) in the cache folder. This should be changed to have only one css per template/style to rule them all instead of winding up with thousands of css files. Plus it also seemed to mess up with some css, disfiguring the appearance. |
All times are GMT. The time now is 10:11 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|