mybb

Adding jQuery to a MyBB board can be really difficult task if you do not know what you are doing.  Even if you are an experienced webmaster it can still be pretty tricky as there a few more steps you have to take in order to make it compatible.

jQuery is a nice Javascript library which was created by jQuery.  It reduces the amount of code needed to make a script therefore making your site slightly faster.  I like jQuery typically because of the web 2.0 feel it can add to your site.

You can either choose to host the jQuery libary yourself or you could have Google or the jQuery website to host it for you.  I recommend you let Google host it for performance issues.

For the tutorial I am going to show you how too add jQuery when it’s hosted by Google.

The Process

  1. Locate the jQuery script you wish to use.  The scripts can be found here on the jQuery website or Google.
  2. Log into your admin cp on your forum.  Click on “templates and style” then click on templates.
  3. Next you want to expand the template group you are currently using with your theme.
  4. Scroll down to the bottom of the list  and expand “Ungrouped Templates”
  5. Find the “headerinclude” file and click on the options button (which is in the same row) and then click “Full Edit”
  6. You should now see the file contents of “headerinclude” open in front of you.
  7. Copy and paste this code:
  8.  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

    This is the Google hosted version of jQuery and is known to give you good performance. You can self host jQuery by downloading it from the jQuery website and uploading it to your server.

  9. The last part invloves you adding the code to the script you have created:
    jQuery.noConflict();
  10. This stops the script colliding with the Javascript Library MyBB currently uses, ProtoType.  You need to add that to the beginning of every jQuery script you create.  This step is really important.  Note: You don’t put it into the actual jQuery library.

So There We Have It

How to Add jQuery to MyBB for Newbies, seems simple enough. You can’t forget to do step 9 or the jQuery script you have will not work.

{ 0 comments }

MyBB V1.6 is Released..Oh Yeah!

by James on May 19, 2010

Finally, after a long excited  wait, on the 15th of may MyBB Group launched the newest version to their product V1.6

Come over and Test MyBB V1.6 Out

I have the newest version, MyBB V1.6 Beta set up on a sub directory.  It can be found at MyBB Group V1.6 Demo.

Come over talk MyBB, create some posts, create some forums, try out the new features.  Everyone is getting Admin privileges so that you get access to the ACP to test out the new features.

Just be civil.  Don’t delete other peoples tests or projects.

What I Like About It

After me roaming about it for a few hours last night there was a few things that stood out.

New Permissions System

MyBB have created a new permissions system for MyBB V1.6.  It seems to be all AJAX controled and you just drag simple permissions such as create post into the allowed column and that is the permission set.  You can also create custom permission as always.

Thread Prefixes

This is something that should be implemented into every forum.  There is 101 uses for thread prefixes but I usually use them mainly on support forums.  It’s good to see them implemented into the core of the project.

If you are a MyBB user come along and check it out. It looks great. Again, it can be found at MyBB Group V1.6 Demo

If you liked this post, then try these...

Forum Software Review - PHPBB3 by James

Guest Post by James

Forum Software Review - IBP by James

{ 0 comments }

MyBB Group Needs Your Help!

May 1, 2010

Mybb Group is currently in peruse of the domain name mybb.com and needs your help. Mybb.com is owned by another party who do not use this domain name. MyBB group have made numerous attempts to buying the domain but have always been out of reach. Myself, I have been a MyBB user for years and [...]

Read the full article →