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

XF 1.2 How to add "go to thread" button in moderation queue list ?

Discussion in 'Styling and Customization Questions' started by maxicep, Oct 21, 2013.

  1. maxicep

    maxicep Active Member

    Hello everybody

    In the moderation queue page, all moderated threads show with these infos

    Thread name ( as text, no link)
    Thread start time
    Thread starter
    Post (as text)

    And action buttons below ( delete, approve .. )

    But, i need the "go to thread / go to post" button in this page which all waiting moderate.

    Is possible to add go to thread (if it is thread) and go to post (if it is post) buttons or Links in this page. Because i cant direct to thread or thread category without approve them. I want to see thread or forum of thread before approve or delete.

    Thank you
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    That would require an add-on.

    A suggestion has been made for it.
     
    maxicep likes this.
  3. maxicep

    maxicep Active Member

    Where is the this suggestion ? And are there any ready add-on for this at this time ?
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

  5. Maik

    Maik Member

    Hi,
    I use this short template modification:

    In the template moderation_queue_list add the red lines:

    Code:
                    <dl class="ctrlUnit">
                        <dt><label for="ctrl_{$entry.content_type}_{$entry.content_id}_title">{$entry.content.contentTypeTitle}:</label></dt>
                        <dd>
                            <xen:if is="{$entry.content.titleEdit}">
                                <input type="text" name="queue[{$entry.content_type}][{$entry.content_id}][title]" value="{$entry.content.title}" class="textCtrl"
                                    id="ctrl_{$entry.content_type}_{$entry.content_id}_title"
                                />
                            <xen:else />
                                <a href="{$entry.content.link}">{xen:escape $entry.content.title, false}</a>
                            </xen:if>
                        </dd>
                    </dl>
                
                    <xen:if is="{$entry.content.titleEdit}">
                        <dl class="ctrlUnit">
                            <dt><label for="ctrl_{$entry.content_type}_{$entry.content_id}_title">{$entry.content.contentTypeTitle}:</label></dt>
                            <dd><a href="{$entry.content.link}">{xen:escape $entry.content.title, false}</a></dd>
                        </dl>
                    </xen:if>
                
                    <dl class="ctrlUnit">
                        <dt>{xen:phrase posted}:</dt>
                        <dd><xen:datetime time="$entry.content_date" /></dd>
                    </dl>
     
  6. maxicep

    maxicep Active Member

    Thank you so much @Maik
     

Share This Page