vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   creating forum (https://vborg.vbsupport.ru/showthread.php?t=186260)

sturdevk 07-24-2008 07:13 PM

creating forum
 
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.


All times are GMT. The time now is 01:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00943 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete