I'm trying to modify the Mod CP queue to link to the direct banning page when a user's name is displayed in the list. However, I'm having trouble getting the UID from the user who made the post that is in the Mod CP queue. If I use:
It shows the UID of the user logged in which is not what I want.
The template is currently using this to list the username of the user:
But I've been unable to extract the UID from it.
This is the template I'm editing: modcp_modqueue_threads_thread
So what I want to accomplish in the end should look like this:
Thread | Author | Date
--------------------------------
Spam Thread | Spammer [clickable link to ban them rather than take you to their profile] | Date
Appreciate any help.
{$mybb->user['uid']}
It shows the UID of the user logged in which is not what I want.
The template is currently using this to list the username of the user:
{$profile_link}
But I've been unable to extract the UID from it.
This is the template I'm editing: modcp_modqueue_threads_thread
So what I want to accomplish in the end should look like this:
Thread | Author | Date
--------------------------------
Spam Thread | Spammer [clickable link to ban them rather than take you to their profile] | Date
Appreciate any help.
Join this Gaming Forum