The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Last poster info on forumhome
Hi all.
I try to get additional information about last posters on forum home without performing new query. On forum thread lists I used hooks and JOIN some db requests to append needed data into $thread. But on forum home there is no such variable like $thread or db query where I can add my JOINs query. So, is there any possibility to get needed data about last poster on forumhome without new db request? |
#2
|
||||
|
||||
The last poster info is actually stored in the datastore table all together so it is easily accessible. You would need to actually modify the query that saves that information when a post is made.
|
#3
|
|||
|
|||
Thanks, I checked this table and queries which save data to this table. But datastore doesn't store needed data (maybe I misunderstood something). Sorry, I’ll make more clear explanation about what exactly I want to achieve.
In user table I have two additional columns: xperience and post_thanks_thanked_times. I wanna use these data on forumhome in $lastpostinfo variable to display them in forumhome_lastpostby template. Of course, I can hook into lastpostby, make query, but I try to find another way with adding JOIN to existed query (because some data about last poster already retrieved on forumhome) |
#4
|
||||
|
||||
Look at the datastore table where title=forumcache (yes, it is all serialized) and you will see where all that information is saved. You need to put your information into there also.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|