![]() |
$foruminfo with new field ?
Well, I added a new field type_post in my forum's table, but when I want to use it in the newthread.php (for example)
$foruminfo[type_post] contains nothing :ermm: How to use this field without adding a new query ? It's perhaps very esay, but I don't find it Thanks by advance |
This is due to how the forum cache mechanism works.
PHP Code:
If you modified it to be: PHP Code:
Unfortunantly I don't know of the correct work around, I haven't messed with the forum table much in vB3. It seems in functions_forumlist.php: PHP Code:
|
Thank you Velocd, I've searched in the global.php and functions.php, I found this function to fetch forum's informations but found nothing concerning extra fields as we could do in vB2 :(
I think I'll have to add an extra query to select what I want :-/ Using bitfields should be an other solution but if I do that, I'll have to use the forum.php to update informations for this field and I don' want to do that Thanks for you answer ;) If someone has the solution ... :p |
All times are GMT. The time now is 03:07 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:
|