![]() |
Adding a variable fetch_post_info()
I am trying to get a row from a custom table included in the $post array. (ie, the array used in templates that has all the post info in).
So i went in functions.php, found the fetch_post_info($postid) function and edited like this: Code:
$postcache["$postid"] = $vbulletin->db->query_first(" |
Try this query:
PHP Code:
|
no change, $post[userdiv] is still empty when used in the postbit template :(
The SQL query definately works, i added this to check it: Code:
if (!isset($postcache["$postid"])) |
All times are GMT. The time now is 08:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|