The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[how-to] Cache some table
How to cache a table and insert it into datastore table or in datastor file?
like forumcache thanks in advance |
#2
|
|||
|
|||
Are you asking how to store a table's fields in a php variable? as $vbulletin->userinfo stores the user table?
|
#3
|
||||
|
||||
No
Something like $vbulletin->cacheforum |
#4
|
|||
|
|||
Sorry, I'm not quite sure what you're referring to. Maybe someone else will know.
|
#5
|
||||
|
||||
$vbulletin->forumcache exactly
thank you |
#6
|
|||
|
|||
What do you want to cache? A mysql table (as you said in your first post) or a forum?
|
#7
|
||||
|
||||
Now I'm working on a hack for vBulletin and I want to cache my categories to deal easily with them.
Of course categories are in new table |
#8
|
|||
|
|||
In that case you use php code like this:
PHP Code:
If you need anymore help let me know. |
#9
|
||||
|
||||
Dear
This isn't caching, caching makes you avoid this query, I think. thank you |
#10
|
|||
|
|||
Ohh, well I don't know then, sorry.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|