Page 1 of 1

PHPDN forum Mods?

Posted: Wed Apr 25, 2007 3:00 am
by afbase
In the creation of this forum, was there any modifications made so that the php code would look so pretty with the php BBcode tags?

I just got into Java programming (i prefer php :-) by a factor of x10) and I realized that there isn't a DN or DN equivalent. Yes, sun has a forum, but it just isn't that great.

How did the php tag for BBcode come into the phpDN forum, and how difficult would it be to incorporate it into a "JavaDN" forum?

I just want a phpDN equivalent for Java!

Posted: Wed Apr 25, 2007 3:16 am
by Chris Corbyn
Search for "phpBB GeSHi mod". GeSHi will highlight a good range of languages. See our [syntax ] tags :)

Code: Select all

import org.somepackage.Foo;

/**
 * Some DocBook comments here.
 */
class App
{
  /**
   * Comment blah blah.
   * @param String[] Command line arguments
   * @throws FooException If Foo doesn't like you.
   */
  public static void main(String[] args)
  {
    //Normal comment
    Foo foo = new Foo();
    foo.dispatch();
  }
}

thanks

Posted: Wed Apr 25, 2007 11:20 am
by afbase
i will look for the mod thanks

Posted: Wed Apr 25, 2007 11:30 am
by Chris Corbyn
If you're not going to use PHP then Enscript runs on command line afaik and you can just execute it at runtime. Trac does this and is written in Python. The highlighting is probably on-par with GeSHi.