![]() |
custom table variable in postbit
Hello,
i looked everywhere for it but just cant find it. i got an custom table in my database called info there i got two fields: 1. userid 2. points i want to show the points in the postbit... i need to find a way to display every users points in the postbit below his name. and yes i know how can i add and custom field, but its not just custom field its an custom table. so i be glad if anyone can show me how can i get that points variable and register it in the postbit template for every user. thanks :) |
Create a new plugin using hook location showthread_query and this code:
Code:
$hook_query_fields .= ", info.points"; Then in the postbit template you should be able to use {vb:raw post.points}. |
thanks man!!! you are great :P
works like a charm! |
All times are GMT. The time now is 07:01 PM. |
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:
|