Originally Posted by Yomar
True, but there are hacks and HACKS smile


A good suggestion for ubb.threads would be make all userdata available to all the templates, so you just have to modify templates to show whatever userdata you want.

I think the impact codewise and performance wise is minimal, and would things like this more like hacks instead of HACKS smile
Why the ability of editing templates from inside control panel when you still have to dive into code if you want to add a little extra data.

However, the hack I posted looks like a lot, but it's quite basic.

Step 1: Getting the data
Step 2: Let the smarty template know the data is there
Step 3: Let the smarty template display that new variable.

Not really something that hooks deepinto the code and would be difficult to redo for coming versions.


[Linked Image from siemons.org]