PDA

View Full Version : Plugin Creating Variables for Postbit?


Cryo
06-21-2009, 07:57 PM
Basically I want to create an additional box that goes in the signature area which pulls information from a database to parse various user information. I have all of the variables properly setup to gather the user information ($this->post, etc) and have the design the way I want it, however I cannot get the finished product to display in the postbit.

I've attempted to set $this->post[variable] to the output HTML as below...

$this->post[test] = "<a href="#">Information.</a>"

Now when I call $post[test] in the template, nothing happens. I know the code is running because if I cause an error it displays one error for every post in the thread. Any idea what I may be doing wrong? Thanks for any assistance in advance.

--------------- Added 1245618195 at 1245618195 ---------------

Nevermind, this is resolved. $this->post[test] is not the same as $post[test]. ;)