PDA

View Full Version : post thanks


cabledr
11-28-2009, 03:16 AM
i have made my own tempory thanks button but it runs semi seperate to vb4 how can i call it to show amount in post legacy like post account ? do i need to add a vb:phrase the reason i ask is not sure how to call amount from database to display it

--------------- Added 1259431441 at 1259431441 ---------------

i can call amount but not sure how to display the amount in posbit legacy under posts if anyone has an idea it would be great

toonysnn
11-30-2009, 04:16 AM
You've provided no information on how you've created this button, how it's setup, etc.

Assuming you have `post_thanks` and `post_thanked` under the `user` table, you could just do:
Thanks Given: {vb:raw post.post_thanks}<br />
Thanked Posts: {vb:raw post.post_thanked}

cabledr
12-01-2009, 04:58 PM
The reason i didnt give to much info is i have created my own php code and a simple thanks hack to tide over for a little while as im hoping ades will be back the best thank mod for any platform im still learning the coding and .php and i belive my issue is with registering the template first