• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Moderation queue: Show forum the post/thread is in

CTXMedia

Formerly CyclingTribe
#1
Could anyone advise how I could query and display the forum name for posts and threads in the moderation queue template (moderation_queue_list), for example:

Thread: Test Thread
Posted: Moday at 16:34
Posted By: Shaun
Forum: [Forum/node name]
Message: ...

Cheers,
Shaun :D
 

CTXMedia

Formerly CyclingTribe
#3
I made an addon for this for someone...

I can't remember if the info is there or not.

Liam
Was the add-on a private commission for a customer?

I did have a look at the mod queue table and there was a date, thread/post content type, and an ID - that was is. So presumably there is a line in the template that uses this info to query the content and produce the thread/post links, but I'm not sure how I'd do it to generate the forum name (or if that's even possible from within the templates?).
 

Liam W

Well-known member
#4
Was the add-on a private commission for a customer?

I did have a look at the mod queue table and there was a date, thread/post content type, and an ID - that was is. So presumably there is a line in the template that uses this info to query the content and produce the thread/post links, but I'm not sure how I'd do it to generate the forum name (or if that's even possible from within the templates?).
Yes, it was :)

Yes, there was. You would probably need PHP access, as the node id is there, but the forum name isn't.

Liam