permaculture playing cards*
The moose likes JForum and the fly likes Topic handmade or by admin panel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Topic handmade or by admin panel" Watch "Topic handmade or by admin panel" New topic
Author

Topic handmade or by admin panel

anto schir
Greenhorn

Joined: Mar 03, 2014
Posts: 5
Hi,
why if i create a topic form administrator panel it will be visible in other case, if i create it into database by query it will not be visible...?

Thanks.
Antonio
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
I don't understand what creating topics has to do with the admin panel. Please provide more details what you're doing manually, and what you're doing by SQL, and how each of those does or does not work as you expected.


Ping & DNS - my free Android networking tools app
anto schir
Greenhorn

Joined: Mar 03, 2014
Posts: 5
i have a dump of an old installation of my forum, after first installation i want transfer categories, posts, topic and users into the new database with a sql script, users are loaded ok, topics, categories and posts are correctly into db but im not able to watch their into the forum...

eg:
--> this is from original dump inserted during installation INSERT INTO jforum_categories VALUES (1,'Category Test',1,0);

my adds:
INSERT INTO jforum_categories VALUES (2,'ONLINE',2,0);
INSERT INTO jforum_categories VALUES (4,'MERCATO ',6,0);
INSERT INTO jforum_categories VALUES (5,'AREA UTENTI',4,0);
INSERT INTO jforum_categories VALUES (6,'AREA STAFF',8,0);
INSERT INTO jforum_categories VALUES (7,'STAGIONE ',7,0);
INSERT INTO jforum_categories VALUES (8,'AREA PRIVATA STAFF',9,0);

when i open admin panel i not able to watch this categories..

Maybe i had to add these lines into file mysql_data_dump.sql before start installation ?!

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
There seems to be more to creating categories than just an entry in that table. Note how you need to set access permissions when you create a new category through the admin panel? That information needs to be stored somewhere, and I suspect if it's missing things don't work. I don't know where it's stored, though.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30390
    
150

If you look at the admin panel for groups, you can see that you have to give each group permission to access the categories. Otherwise, nobody has permission and they stay hidden.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Topic handmade or by admin panel