Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

adding forum entries in database manually

 
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 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic