I work on integration jforum and other web application on Ruby.
I have access to forum DB schema, but then I change DB data I don�t see changes in interface.
For example, then I deleting permissions on some forum via SQL like
delete from jforum_role_values
select role_id from jforum_groups g
inner join jforum_roles r on g.group_id=r.group_id
where g.group_name='<group name>'
and role_value= < deleted forum id >
the changes are applied only after I restarted Tomcat.
I read about cache and how to disable it (https://coderanch.com/t/575990 #8451) but then I add follow:
posts.cache.enabled = false
topic.cache.enabled = false
security.cache.enabled = false
forum.cache.enabled = false in my SystemGlobals.properties or jforum-custom.conf the cache is not disabled.
It �s not disabled after restarting Tomcat also.
I can change DB but the interface is cached. I can see all forums on forum�s list but all data in jforum_forums tables deleted.
JForum 2.1.7 / (2.1.8 to)
I want to disable cache and make forum more interactive with database. [originally posted on jforum.net by Eugene.Ershov]
I'm afraid it won't be that easy, as a lot of stuff are always cached, without an option to disable. The best I can suggest is to use jforum actions via http requests (for example, to change permissions, call the page that does that, passing the expected parameters).
Rafael [originally posted on jforum.net by Rafael Steil]
Hi, I was just trying to figure out the same problem, so thank you very much :-) for the HTTP tip
1.- Any pointers on how I can authenticate myself when making the HTTP connection? I need to create forums and so I need administrator privileges.
2.- In which cases should code integration be used? I tried to make it work but could not get it right for creating forums from a different web application, because I had too many classloader issues and I think I left a lot of uninitialized objects (ForumRepository, DataAccessDriver).
Thanks in advance,
PS: I have completed the PrivateMessage attachment functionality, let me know if you want me to post it, send it or commit it. [originally posted on jforum.net by andune76]
I'm so happy! And I wish to make this tiny ad happy too: