vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   session database table (https://vborg.vbsupport.ru/showthread.php?t=67242)

AN-net 07-16-2004 03:03 PM

session database table
 
i was wondering how inforum,inthread, etc. were updated/added to the session's table in the database. I searched heavily through the files and i found nothing:(

anyone know?

nexialys 07-16-2004 03:42 PM

they are part of the array on the content of the session...

AN-net 07-16-2004 03:46 PM

would u know what file i could find them in?

nexialys 07-16-2004 04:09 PM

function exec_shut_down() in includes/functions.php ... we set the session when shutting down the process...

AN-net 07-16-2004 05:07 PM

thanks:)

AN-net 07-16-2004 06:34 PM

hmmm i changed it the shutdown query replaces in /includes/functions.php but it still doesnt update the session table with the journal_id:( anyone know y? am i not passing the variable on? or what?

AN-net 07-17-2004 03:27 PM

bump wumpy everyone :D

AN-net 07-18-2004 04:47 PM

comeon, anyone?
anyone from vb team know?

Brad 07-18-2004 04:59 PM

Make sure you make whatever you are using for the journal_id a global:

PHP Code:

global $bbuserinfo$session$foruminfo$threadinfo$calendarinfo$permissions$vboptions

Would become:

PHP Code:

global $bbuserinfo$session$foruminfo$threadinfo$calendarinfo$journalinfo$permissions$vboptions

for example.

AN-net 07-18-2004 05:25 PM

kool thanks brad :D i will reply back if it helps solve da problem;)


All times are GMT. The time now is 01:33 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.01000 seconds
  • Memory Usage 1,722KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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