vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   parentlist field question (https://vborg.vbsupport.ru/showthread.php?t=38106)

TECK 05-01-2002 06:11 AM

parentlist field question
 
parentlist -> [high]2[/high],[high]1[/high],[high]-1[/high]
what those highlighted values stand for? thanks.

Admin 05-01-2002 09:46 AM

2 = the forum's ID
1 = the forum's parent's ID
-1 = the forum's parent's parent's ID
And so on. (-1 stands for no parent, so you will always have -1 at the end)

TECK 05-01-2002 03:30 PM

thanks firefly for the clear answer.
in other order of ideas, if i do a clean install on my test board and i want to add a forum that will already be private (viewable only to admins and mods), could i do it olny by editing the install.php? or i have to edit the permissions after in CP? i wonder if there is a way to have it set from the install file.

i ask all this because i want to have a modified backup copy of my forums. the only backup that i would do will be the users and posts. so if i want to upgrade, all i have to do i run my "clean" install file and add to the database the users and posts. in this way, i can compare it with araxis merge first, insert the new code, then run the installer and bingo my forums have a new fresh updated version with all the hacks and html code updated automatically.

Scott MacVicar 05-01-2002 03:43 PM

You could just insert two rows allowing the mods and admins to see the forums, its in forumperms table.

TECK 05-01-2002 03:48 PM

thanks scott. the problem is i still learn the proper usage of tables. VB is a good learning tool for me. could you give me an example? thanks alot.


All times are GMT. The time now is 08:58 PM.

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.01236 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