• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

adding forum entries in database manually

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i tried to insert a couple of forums into my database programmatically and i was surprised to see that the forums never showed up on the forum index page.

i added entries to the jforum_forums table and i have 5 rows in that table however the forum index page only shows 3 forums. the 2 rows that i added manually were not in the list.

can someone explain that please?
[originally posted on jforum.net by test895]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a couple of reasons this could occure.

First, for performance reasons, Jforum caches a lot of stuff in memory. Some of the caches are clearable via tha admin screen. However, there are a couple that only get cleared after the web app has been restarted/reloaded.

The other reason could be that the new forums don't have the correct security structures set up. So, jForum "knows" about them, but thinks that you don't have access to them.

Look thru the code on how jForum creates forums to see what default security stuff needs to be set up.
[originally posted on jforum.net by monroe]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!