Yeah, that's what I thought.
And that's also the problem: I want to use the value for the person that did the posting in most cases. I also want it to update itself if the person changes that value.
Thus it seems like it isn't available in most places by default. Is there any way that I can drop the in? Could I do it with some form of plugin?
--------------- Added [DATE]1294162617[/DATE] at [TIME]1294162617[/TIME] ---------------
Okay, so I've made a bit of progress.
I've figured out I can make a plugin which will preRegister the values I need. I can then go in to each template and make it use the value.
Now, the tricky part which I could use some guidance on. Obviously each thing needs a different variable converted. Is there any way to get that variable out of the template into my plugin?
For example, forumhome_forumbit_level2_post has a variable forum.lastpostinfo which contains the username. I'd like to get this variable and then either replace it by preRegistering another variable, or even better, just replacing the value in this variable.
I tried creating a new template for this (using vB_Template::create), but it had no registered variables.
Is there a way to do this? The alternative would be to figure out the query for each thing and put in the proper data, but that would be quite a hassle.
Thanks.
|