funyoo
06-22-2016, 10:46 AM
Hello everybody,
In the attachment table, we have the userid column.
We can get it in the attachmentbit template with
{vb:raw attachment.userid}
But the username column doesn't exist in the attachment table. I want to display the username of an attachment uploader.
How can I get the username from the userid in the template (for example by using the user table which has userid and username columns) ?
In the attachment table, we have the userid column.
We can get it in the attachmentbit template with
{vb:raw attachment.userid}
But the username column doesn't exist in the attachment table. I want to display the username of an attachment uploader.
How can I get the username from the userid in the template (for example by using the user table which has userid and username columns) ?