zardos
10-07-2010, 10:44 AM
Hey I'm looking to acomplish something like this:
I want to fill an array with data in showthread and then I want to fetch data from this array in every post that belongs to this thread:
#Thread - create array
--Postbit in thread - fetch data from array
--Postbit in thread - fetch data from array
and so on. Any suggestions on how I could do this? What hooks should I use.
Tried creating the array in showthread_start and then fetch data from the array in postbit_display_start (where I would output to $template_hook[postbit_signature_end] but didn't success with this - The array I created in showthread_start couldn't be reached by postbit_display_start.
Thankfull for input.
I want to fill an array with data in showthread and then I want to fetch data from this array in every post that belongs to this thread:
#Thread - create array
--Postbit in thread - fetch data from array
--Postbit in thread - fetch data from array
and so on. Any suggestions on how I could do this? What hooks should I use.
Tried creating the array in showthread_start and then fetch data from the array in postbit_display_start (where I would output to $template_hook[postbit_signature_end] but didn't success with this - The array I created in showthread_start couldn't be reached by postbit_display_start.
Thankfull for input.