View Full Version : maybe a hard question....
AN-net
09-04-2004, 04:26 PM
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
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?
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:)
$userinfo comes from online.php. Use notepad search.
Yeah, you'd need to edit init.php in order to have j => journalid
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.