vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   autoclose autoprune (https://vborg.vbsupport.ru/showthread.php?t=317965)

AScherff 03-25-2015 03:59 PM

autoclose autoprune
 
Autoclose

in table "node" are the fields "open" and "showopen". If these are "0" thread may closed.

The field "routeid" shows to channel (routenew, there in "arguments" is some channel)

Unfortunately in the table "node" there are more then one records for one thread. One difference is "contentypeid". Is there anywhere a documentation for "contentypeid"?

20 seems the text and shows to table "text".
23 seems to bee picture
22 Text (difference to 20?)
24 answer ?

Now to close a threat, only set all "open" to 0 or only some (contenttypeid) ?

Autoprune

Which records i must delete to prune a threat?

The records in "node".
Records in "text" withe the correspondenting "nodeid" to node
Other records, files ? (Attachments, Bilder).

Did someone investigated these things ?

thanks
Alfred

kh99 03-25-2015 04:17 PM

Quote:

Originally Posted by AScherff (Post 2541511)
Is there anywhere a documentation for "contentypeid"?

Look at the db table contenttype.

AScherff 03-25-2015 05:03 PM

Quote:

Originally Posted by kh99 (Post 2541512)
Look at the db table contenttype.

yeah :)

kh99 03-25-2015 06:06 PM

Oh, sorry, I didn't notice that this was a vb5 question, so I don't even know if there is a contenttype table. :o

AScherff 03-25-2015 08:43 PM

Quote:

Originally Posted by kh99 (Post 2541526)
Oh, sorry, I didn't notice that this was a vb5 question, so I don't even know if there is a contenttype table. :o

Well, the table can be from VB3, because it seems that tables are not been truncated or deleted during update to VB5 ...


All times are GMT. The time now is 09:03 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.01026 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_quote_printable
  • (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