File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes Added documentation for code integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Added documentation for code integration" Watch "Added documentation for code integration" New topic
Author

Added documentation for code integration

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I just wrote the documentation about integrating JForum to your Java code. It is available at http://www.jforum.net/doc/ExecutionContext

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Is this just for JForum 3 eg SSO? Or does it apply to v 2.1.8 too?

cheers,

David

[originally posted on jforum.net by redcoat]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
2.1.8

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
really helpful. I tried it quickly and came across following questions/issues.

I tried creating forums programatically.

I have a web application which create the community pages on the fly and provides forums on the page.

The WebRequest object takes HttpServletRequest and HttpServletResponse as params.

and internally parse the Request object to update the module/action parameters.

As per my understanding, i need to be an admin to peroform this operation.

How can authenticate myself as an admin through the request?

Also, I need to create the forums automatically when user logs in to my web page(which is generated automatically) and my URI doesnt contain module and action parameters.


Can you suggest any workaround for creating the JForumContext()?

Cheers
[originally posted on jforum.net by steel]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi steel,

How can authenticate myself as an admin through the request?


I think you can use PermissionControl for authentication... something like this

but i am not sure
jForum codes is really clear i like that

[originally posted on jforum.net by omidp]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
can i not just access the forum with a url.?

i want to link to more than one forum from my site.?

is it possible to configure jforum so only the forum i am linking to is visible.?
i will need to skin each forum diffeently.

or do i need to run two instances of jforum.?

read through the docs and ahd a look at the admin panel but i still having got a clue how to use this software.



[originally posted on jforum.net by pfcit]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Added documentation for code integration
 
Similar Threads
Running 1.5 from CVS?
User Documentation
Integrating Jforum with 3rd party applications
Documentation of custom integration
Upgrading from 2.1.4 to 2.1.5