vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   File structure on server - where do I find threads (https://vborg.vbsupport.ru/showthread.php?t=329393)

K-fab 11-23-2022 04:50 PM

File structure on server - where do I find threads
 
Yes, I've searched....

I'm trying to find, on my server, the location of threads.

Where would I look to find this thread, as an example?
http://www.minibuggy.net/forum/proje...fab-style.html

Thanks in advance.

twistsol 11-27-2022 12:40 AM

You should find it in the database in the table "NODE"

If you look at the link you provided,
HTML Code:

http://www.minibuggy.net/forum/projects-progress/19848-mini-raptor-k-fab-style.html
The number in the link to your thread 19848 is the nodeid for the first post in the thread.
Subsequent posts are also in the node table where the the parentid field in the node table = nodeid from your link above.

To get the first post
Code:

select * from node where nodeid = 19848;
To get the subsequent posts
Code:

Select * from node where parentid = 19848;
Note that this is based on VB5. I don't remember if VB4 or VB3 were different. Too old to remember and too lazy to look it up.

K-fab 11-27-2022 01:23 AM

Thanks for that - now, where exactly will I find this? I'm seeing a coding that you're supplying. Where am I inserting this line to find the code? In my Forum Manager?

I'm (ignorantly) hoping that I can find the directory or the lead to the directory on the server.
Unfortunately I'm going to be shutting down my forum (thanks Facebook!) and want to save a few of the threads that are there.

Totally appreciate the last sentence.

Dead Eddie 11-27-2022 05:08 PM

Quote:

Originally Posted by K-fab (Post 2609048)
I'm (ignorantly) hoping that I can find the directory or the lead to the directory on the server.

Threads are stored in the database, not the file system. There's no file to download. You'll have to query the database, or save the page from the browser window.

K-fab 11-27-2022 10:23 PM

Ah, that makes sense.

No user friendly way to save threads... Darned.

Hostboard 11-28-2022 10:50 AM

Quote:

Originally Posted by K-fab (Post 2609053)
Ah, that makes sense.

No user friendly way to save threads... Darned.

Yes, you can.
View the link you provided.
Right side on top of thread you have "Thread Tools"
Click on this and select "Show Printable Version"
Now in your browser window you can either right click the mouse button and select print to print to your printer OR select the print option from the drop-down menu of your browser.
Now in the printer list, you can select; "Save as PDF" (if you have at least Adobe Reader DC installed (free), "Microsoft XPS Document Writer", "Microsoft Print to PDF" and save the file locally.

You can also select "View Page Source" on the printable page and save the HTML file locally, then view from your browser


All times are GMT. The time now is 07:28 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.00959 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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