Win a copy of Functional Design and Architecture this week in the Functional programming forum!
  • 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
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic