Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

JForum Extension Point ?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm a Java developper which would like to add support for new tag in jforum. In fact, it's for a World of Wracraft guild site, and I would like to support WoW object reference such as Itemstats do for many PHP site/forum engine.

I want to know if theire is any "extension" mechanism in JForum which authorize me to do it by simply put my jar in classpath, and some class d�claration line in a file ?

Or I have to take the JForum source and directly plug me in ?

Regards,
SegFault.
[originally posted on jforum.net by SegFault]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By tag, do you mean a new BB Code tag, e.g. [xxx]yyy[/xxx]?

If so, you might be able to do this via the bb_config.xml file. This lets you add tags and do substitutions based on Regular Expression replacements. Just update the XML in this file with your substitution requirements, restart the server, and you've got a new BB tag.

If you want to add it as a more visible option in the editor, you can do that by modifying the templates.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Monroe,

Yes by tag I mean [xxx]yyyy[/xxx] ; thanks of your answer. It's a good start point for me

But, I need more than regexp replacement. I have to fetch information from another site, parse it, and do the replacement.
I'll take a look at the xml tonight anyway. Thanks again
[originally posted on jforum.net by SegFault]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic