MyBB Hacks

Full Version: Cool Codes (Syntax Highlighter)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
I created a forum for a group taking a java class, but I can't figure out if this plugin supports java syntax hilighting, and if yes, how do I write The tags? Cuz [code=java] doesnt work

Java Code
public int blah() {
  return 1;
}

Java Code
for(boolean helpful = true; helpful == true;){
System.out.println("Thank you");
}


also why does yours have a select option, when mine doesn't?
Likely a bug related to quick reply.  Might only apply to MyBB 1.4.
its maybe a late question but i've installed this plugin, but how do i get those line numbers before the code?
The code on my forum is nicely changed , but the line numbers i don't see.
By default, it only shows line numbers if there are >5 lines in the box.
You can change this by editing this:

PHP Code:
$lines >= 5

Thx
nevermind

[\bat]
[\sql]
[\c]

these are the ones for the example on syntax highlight.
How im cane use this code ?
Examples are given in the link in the first post.
Pages: 1 2 3 4 5 6 7 8 9 10
Reference URL's