MyBB Community Forums

Full Version: Removing jscripts help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi in my Headerinclude template there are lots of jscript are added i dont know what works of that, i simply want to know which is required in mybb forum and what is other unnecessary.
please see below

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.cookie.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>

<script type="text/javascript">
<!--
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>


are both required by mybb.

The jquery library and cookie is not mybb core and may cause issues if you are not using no conflict. I would definitely load them AFTER Prototype and general js.
should i remove that library and cookie ? this is in GOMobile template.
It depends; there is something in your theme that requires jQuery? Are you using my alerts or another plugin that requires jquery? If you list your plugins we could help further. A board url / member login is MOST useful.
I am using MyShoutbox in defult template not in gomobile template.
And i am not using anything in GoMobile Template except Announcement Bars, Hide URL From Guest, Who was online today, Google Seo.

All listed plugins...

Shadow Text (1.0)
Displays all text ShadowText.
Created by Edson Ordaz	Deactivate	 
Attach Link (1.2)
Attach simple links to seem just like normal files attached in your forum .
Created by Ahmad Badkoubehei	Deactivate	Uninstall
Avatar Gallery Manager (1.0)
Allows you to manage the avatar gallery from your Admin CP.
Created by Starpaul20	Deactivate	 
Contact Form (3.2)
Creates a contact form for members and guests.
Created by Jesse Labrocca	Deactivate	Uninstall
BBCode in Custom Profile Fields (1.0)
A plugin that allows users to use BBCode in custom profile fields.
Created by DragonFever	Deactivate	 
Date of Birth on Registration (1.0)
Adds option to add your date of birth in the registration form.
Created by Matt Rogowski	Deactivate	 
ezGallery Lite (1.0.10)
Simple photo gallery plugin for MyBB
Created by vbgamer45	Deactivate	Uninstall
Forum Icons (3.0)
Adds icons to forums on index.
Created by Jesse Labrocca	Deactivate	Uninstall
Game Section (1.2.3-1)
Makes a powerfull system for playing games on your MyBB board.
Created by Paretje	Deactivate	Uninstall
NewPoints plugin for the "Game Section" (1.0)
This plugin allows users to receive money from high scores and for being a champion of a game.
Created by Pirata Nervo	Activate	 
MyBB GoMobile (1.1)
The free mobile MyBB solution.
Created by MyBB GoMobile	Deactivate	Uninstall
Google SEO (1.6.8)
Google Search Engine Optimization as described in the official Google's SEO starter guide. Please see the documentation for details.
URL is disabled. (Configure)
Redirect enabled, but URL disabled. This is fine for redirecting stock MyBB URLs (showthread.php?tid=x) to MyBB search engine friendly URLs (thread-x.html) or vice versa. If you want to redirect stock MyBB URLs to Google SEO URLs or vice versa, please enable URL as well.
404, Meta, Redirect and Sitemap are enabled. (Configure)

Created by Andreas Klauer	Deactivate	Uninstall
Hello PluginLibrary! (hello_pl.php)
A sample plugin for developers that demonstrates the features of the PluginLibrary.
Created by Andreas Klauer	Install & Activate
Hide Links to Guests (1.0)
Show a message to guests instead of links.
Created by DragonFever	Deactivate	 
* imei Page Optimizer! (1.0.1)
This Plugin makes your page smaller and faster with deletting comments and garbrages sections of HTML codes.try it!
Created by imei Addmimistrator	Deactivate	 
Index Top Posters (1.0.1)
Show Todays/Weekly/Monthly/Forum Top Posters in Index
Created by Pars, MyBBIran.com	Deactivate	 
Post Restrictor (1.0)
Allows you to set posting restrictions on your forum

Created by Janota	Deactivate	 
ModCP Rules (1.0)
Allows you to add general rules box to all moderators visible in ModCP.
Created by Pratik Unadkat (crazy4cs)	Activate	 
move text (1.0)
this lets you move text.. to use do [move]SEARCH[/move]
Created by KingDeath360	Deactivate	 
My Ad Manager (1.2)
The Ultimate Mybb Ad Management System
Created by Jesse Labrocca	Deactivate	Uninstall
MyBBpublisher (3.4.0)
Publishes selected MyBB content to several social media sites.
Created by CommunityPlugins.com	Deactivate	Uninstall
MyFacebook Connect (2.0.1)
Integrates MyBB with Facebook, featuring login and registration.
Created by Shade	Deactivate	Uninstall
MyShoutbox (1.7)
A powerful AJAX shoutbox for MyBB.
Created by Pirata Nervo	Deactivate	Uninstall
MyTwitter Connect (2.0.1)
Integrates MyBB with Twitter, featuring login and registration.
Created by Shade	Deactivate	Uninstall
NewPoints (2.0)
NewPoints is a complex but efficient points system for MyBB.
Created by Pirata Nervo	Deactivate	Uninstall
PM on Thread Move (1.0)
This plugin will sends an PM to thread author when his / her thread moves freom one forum to another.
Created by Shahaab	Activate	 
Notify Replies (1.0)
Send an alert notification to the user as when someone replies to your topic.
Created by Edson Ordaz	Deactivate	Uninstall
Show the users that has been online today (2.0)
Shows the users that has been online within 24 hours.
Created by CraKteR	Deactivate	 
OUGC Announcement Bars (1.1)
This plugin will allow administrators to manage announcement bars.
Created by Omar G.	Deactivate	Uninstall
OUGC Awards (1.0.7)
This plugin will allow you to give awards to users and show them in posts and profile.
Created by Omar Gonzalez	Deactivate	Uninstall
PluginLibrary (12)
A collection of useful functions for other plugins.
Created by Andreas Klauer	Install & Activate
PM Report System (1.0)
Allow Users to Report an PM.
Created by Shahaab	Deactivate	 
Private Messages Admin (2.4.3)
Gives admins the ability to look through their forums private messages.
Created by Aaron	Deactivate	 
Preparser Cache (1.11)
A simple, dynamic pre-parser cache to speed up forum script processing.
Created by ZiNgA BuRgA	Deactivate	Uninstall
Quick Thread (1.0)
The quickest way to make a thread.
Created by Shahaab	Deactivate	 
Quick Reply PM (1.3)
Adds a quick reply to private messages.
Created by Pirata Nervo	Deactivate	 
Registration Security Question (1.2)
[Manage Questions]
Adds a randomly selected security question on registration page.PayPal - The safer, easier way to pay online! 
Created by - G33K -	Deactivate	Uninstall
Require Thread Prefixes (1.1)
Allows board admins to specify certain forums which require all new threads to have a prefix.
Created by fizz	Deactivate	Uninstall
SCEditor WYSIWYG editor (1.4.0.3)
A lightweight WYSIWYG BBCode editor
Created by Sam Clarke	Deactivate	Uninstall
Side Boxes plus! (2.1.5)
Additional boxes on the right side of your pages.
Plugin Developer: 007combatant
Created by Zaher1988	Deactivate	 
Slots (1.0)
Adds a fun slot machine to your site using MYPS.
Created by Jesse Labrocca	Deactivate	 
Simple TagCloud (beta) (0.9a)
Plugin adds tags to your forum.
Add Tags to all threads
Make tags from searchlogs (max. 200 tags will be added per click)
Delete Searchlogs tags

Created by Watt / Kupo	Deactivate	 
Trash Can Forum (2.0)
Deleted Threads Will Automatically be moved to this forum
Created by CraKteR	Deactivate	 
My Ultimate Ad Suite (1.0 )
Its an ultimate and complete ad suite for webmasters. It will show your ads on 9 different places across the forum.
Created by ghazal and Regentronique	Activate	 
Welcome PM/Email (1.1)
[Configure Settings]
Sends a PM/Email to new users welcoming them to the forum.
Created by - G33K -	Deactivate	 
yAnnouncement Pro (1.0)
Show announcement in forum index with category style
Created by NoFear	Deactivate	Uninstall
If you are not using SCE Editor in GOMobile you can probably remove jquery. That is a LOT of plugins though, and I cannot know for sure how many are depending on JQuery. Do you have a sidebox on your main pages made with jquery? If you are not using that in GoMobile you can probably remove the cookie.js as well.

For any further issues I need a site url; its easier to check.
Thanks, i remove that jscripts from gomobile and everything is fine