vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   maybe a hard question.... (https://vborg.vbsupport.ru/showthread.php?t=69085)

AN-net 09-04-2004 04:26 PM

maybe a hard question....
 
where is $wol_thread, $wol_post and other such values called for construct_online_bit?

and how does it get the thread's title etc. for WOL?

Dean C 09-04-2004 04:33 PM

Questions about modifying vBulletin's default behaviour and asking about modifications in general, should be posted in General vBulletin Questions. Please read the forum descriptions more carefully in future. I've moved your thread there for you :)

Thanks,
- Dean

rake 09-04-2004 07:41 PM

look in functions_online.php, convert_ids_to_titles() function. ;)

AN-net 09-04-2004 07:50 PM

ok i see $threadids and $postids but where are they coming from?

rake 09-04-2004 08:54 PM

is it really that hard? I thought you would have figured it after poinging you to that function. Take a look here:

functions_online.php in process_online_location:

if (!empty($values['searchid']))
{
$userinfo['searchid'] = intval($values['searchid']);
$searchids .= ',' . $userinfo['searchid'];
}

if (!empty($values['threadid']))
{
$userinfo['threadid'] = intval($values['threadid']);
$threadids .= ',' . $userinfo['threadid'];
}
....
....

nexialys 09-04-2004 09:00 PM

looks like AN-net forgot how to code.. lol

(or a newbie stealed his account.. lol)

AN-net 09-04-2004 09:38 PM

i know how to code its just i have never really dealt with functions_online.php, i guess i should look harder next time, anyways back to hell boy:)

AN-net 09-04-2004 10:30 PM

ok but where is $userinfo coming from? in process_online_location() ?

im confused is $userinfo like $bbuserinfo? and is where do the post ids and thread ids come from? im just so confused>_<

someone explain, im soooo confused!!

AN-net 09-06-2004 12:42 AM

bump cause i have no clue how to do this:)

would i need to edit init.php to change j into journalid?

AN-net 09-06-2004 09:46 PM

bump:D this is like the last thing i need for journal, please im so confused:)


All times are GMT. The time now is 02:03 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.00946 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete