PHPDN forum Mods?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
afbase
Forum Contributor
Posts: 113
Joined: Tue Aug 15, 2006 1:29 pm
Location: SoCAL!!!!

PHPDN forum Mods?

Post 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!
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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();
  }
}
afbase
Forum Contributor
Posts: 113
Joined: Tue Aug 15, 2006 1:29 pm
Location: SoCAL!!!!

thanks

Post by afbase »

i will look for the mod thanks
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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.
Post Reply