PDA

View Full Version : creating forum


sturdevk
07-24-2008, 07:13 PM
Hi,

I have to create a forum from my java application(by inserting a record into forum db). For creating a forum what are the table records I need to insert?.

Thanks in advance

Dismounted
07-25-2008, 06:43 AM
Track what happens when vBulletin creates a forum - it will use the forum data manager (class_dm_forum.php). I believe there is more than just a query when creating forums.

sturdevk
07-25-2008, 04:22 PM
I am completely new to php, let me look into that.

Thanks for the reply.

sturdevk
07-29-2008, 07:10 PM
I am not completly understanding how data manager is working at the time of forum creation. When I tried to create forum through vB, I could not see any other table updated other than forum and I could able to see the forum online. I am not able to see the forum online if I insert a record into forum, I got a message 'you do not have permission to see this forum'. Looks I am missing something at permissions part. With vB 1.1 we used to insert a record into forumpermission table, that way permissions are defined but vB 3.6 is entirely different, Here you folks looks good at PHP, please help me to solve this problem.

Thanks,

Marco van Herwaarden
07-30-2008, 09:40 AM
Instead of trying to duplicate the actions in Java, it might be easier if you create a small php-script, using the datamanagers to insert the new forum, and call this php-script from your Java application.

PS Yes more tables are involved beside the 'forum' table.