Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS 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

Steps to integrate JForum with your web application.

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

Following are the steps I followed to integration.

1) Created a MyUserSSO class which implements SSO and compiled it.

2) Created JForum.jar with all JForum compiled classes. Copied JForum.jar and other remaining jar files which are in JForum lib folder, into my application's lib folder.

3) Copied JForum's web.xml file contents into my appliction's web.xml file.

4) Copied ..\JForum\images\avatar, .\smiles folders and .\transp.gif files into my application's images folder.

5) Copied templates and upgrade folders from JForum to my application root folder (into the same folder where my WEB-INF is located)

6) Copied Config folder, dwr-forum.xml and log4j.xml from JForum\WEB-INF to my application's WEB-INF folder.

7) Modified SystemGlobals.properties as below.

commented : #sso.implementation = net.jforum.sso.RemoteUserSSO
added : sso.implementation = net.jforum.sso.MyUserSSO

commented : #authentication.type = default
added : authentication.type=sso

(If you dont use MyUserSSO, no need to modify the above contents in SystemGlobals.properties)

put a link in my application's leftpane to ./forums/list.page and also a link from JForum (header) to my application's home page.

Now its working fine.

*****************************************************************
[originally posted on jforum.net by sridharmnj]
 
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
This seems just a link between the two applications. What I would really like to see is the ability to embed/integrate jForum in my existing application so it can take on my applications motif yet give my clients the best discussion capabilities.


[originally posted on jforum.net by Lou]
 
When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic