![]() |
If it works, it works! :p I do not have a copy of vBulletin in front of me right now, so I am not sure if it is the best way. However, there is no need for a product as you have edited the files directly - products deal with plugins, phrases and templates.
|
Quote:
|
Something must have gone wrong (corrupted cache, maybe). Remove your custom code, and rebuild the cache (Admin CP > Maintenance > Update Counters).
|
I tried to update the counters without removing my code and it didn't seem to help. The query (when I copy it to a query analyzer) runs fine and brings back all the right information as far as lastpostid and all other forum db info.
When I disable my 'plugin code' it works fine... so something has to be happening with my query addition. I am just not sure why yet. |
Post your snippet of code so I can take a look.
|
This is the functions.php file code that I added. Quite simple, really, and I highlighted the additions so you can see them quickly:
Code:
$hook_query_fields = $hook_query_joins = $hook_query_where = ''; It's that simple in the functions file. My plugin is pretty simple too: Code:
$hook_query_fields = ",`ForumDetails`.`Details_UID`, However - all the stats seem to disappear. They are there and when the query is joined I can see all the same information as I do without the plugin. I ran both queries in an analyzer and the same data is returned in both queries :( |
I figured it out. It was a query issue. I had 2 forumid's in there and the forumcache script got confused.
Thanks for all your help. |
I thought since this thread is mine... and the next step is pretty similar... I would just continue the post here :)
Anyway - Now that my homepage is up to date with the proper information.. I want each FORUM to have specific information as well. I can't, for the life of me, find where to add these same query joins there. Any pointers? |
bumpity bump bump :)
|
All times are GMT. The time now is 03:58 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:
|