The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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 |
#2
|
||||
|
||||
![]()
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:
|
#3
|
||||
|
||||
![]()
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 ... ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|