PDA

View Full Version : Adding data to $post variable from a plugin


4x4 Mecca
09 Jul 2007, 01:35
I'm trying to expose more data to postbit_legacy inside of the $post variable. I thought I could do this from the fetch_postinfo call, putting the following code


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


But it doesn't work. I'm obviously not understanding the $post template system. Where can I add information to this from a plugin?

Thanks!

Got it! I put it in show_thread_postbit instead