thanks people, yes i'm currently utilizing many of the the print_ functions within adminfunctions.php but for several of the mods I'm currently writing, I have found that the existing functions are insufficient.
For instance, one of my mods shows thumbnails of file attachments from within the admincp, and I was looking to call template postbit_attachmentthumbnail to display them. as many of us know, there's no such type of vbulletin function in existence.
I've got around the limitation by assigning the html to a var, and using the var within print_description_row() which is fine, but coding it would have been so much easier if I were able to just eval the template. You can see what I did in attachment.
Marco, that's a good reason i suppose why jelsoft doesn't currently eval anyt templates in admincp, I never thought of that possibility, but it certainly makes sense.
|