Ok first thing is the java script is not compressed. Vbulletin follows the standard of compressing all of its java script and there is no reason to not follow suit for your modification.
Second issue, duplication of java script? I have not actually read through the code by is it possible to use the java script calls already done by vbulletin to insert smilies, color picker etc?
Third there are just to many java script files. Most browser clients only make 2 connections to the server for each HTTP request, there is 6 java script files. That is 3 more requests the server and the client needs to make. These really need to be in one java script file.
Fourth, please follow the standards of vbulletin and put java script and css files where they belong. I know its easier to keep your files in one directory but for those who optimize their vbulletin having to hack the shoutbox code is just another step I know I would personally rather avoid. I personally compress all my java script and css into single files to reduce load times/server overhead. By keeping this in the standard directories I can one shot compress it into one file and save my clients load time overall.
Following these standards can help improve the speed of the shoutbox.
Second issue, duplication of java script? I have not actually read through the code by is it possible to use the java script calls already done by vbulletin to insert smilies, color picker etc?
Third there are just to many java script files. Most browser clients only make 2 connections to the server for each HTTP request, there is 6 java script files. That is 3 more requests the server and the client needs to make. These really need to be in one java script file.
Fourth, please follow the standards of vbulletin and put java script and css files where they belong. I know its easier to keep your files in one directory but for those who optimize their vbulletin having to hack the shoutbox code is just another step I know I would personally rather avoid. I personally compress all my java script and css into single files to reduce load times/server overhead. By keeping this in the standard directories I can one shot compress it into one file and save my clients load time overall.
Following these standards can help improve the speed of the shoutbox.