Resource icon

Thread Multi Moderation 1.2.0

No permission to download
  • Thread starter Thread starter ragtek
  • Start date Start date
The only problem which i need to fix is the design.
Probably i'll need to move the link to the left side
 

Attachments

  • foo23.webp
    foo23.webp
    6.2 KB · Views: 19
I did some changes to the template. ragtek_mm_multimod:
HTML:
<xen:if is="{$show_multimods}">
   
    <div class="pageNavLinkGroup">
        <div class="linkGroup">
        <li class="navTab inbox Popup PopupControl PopupClosed">
            <a href="{xen:link threads/get-multimods, $thread}" rel="Menu" class="navLink NoPopupGadget">{xen:phrase multimods}
            <span class="arrowWidget"></span>
        </a>
 
        <div class="Menu" id="MultiModMenu"
            data-contentSrc="{xen:link 'threads/get-multimods', $thread}"
            data-contentDest="#MultiModMenu .listPlaceholder">
 
            <div class="menuHeader primaryContent">
                <h3>{xen:phrase multimods}</h3>
            </div>
 
            <div class="listPlaceholder"></div>
 
        </div>
    </li>
        </div>
        </div>
</xen:if>

ragtek_mm_list:
HTML:
<xen:title>{xen:phrase ragtek_multimods}</xen:title>
        <ul class="secondaryContent blockLinksList">
            <xen:if is="{$multimods}">
            <xen:foreach loop="$multimods" value="$mod">
                <li class="listItem PopupItemLink">
                  <a href="{xen:link 'threads/run-multi-mod', $thread, 'mod_id={$mod.multimod_id}'}" class="OverlayTrigger">{$mod.title}</a>
                </li>
            </xen:foreach>
                <xen:else />
                {xen:phrase ragtek_mm_nothing_available}
            </xen:if>
        </ul>

I also looked in to moving it to the right of thread tools, so it didn't looked so out of place, but I never got the time for it.

EDIT:
I did these changes to unify the look of this with the thread tools drop down.

EDIT 2:
I also removed the link to conversations in the h3 tag in the menu description, I am not sure why that was there.
 
I also looked in to moving it to the right of thread tools, so it didn't looked so out of place, but I never got the time for it.
I could remove the insert via template hook and add it via tms
 
Can you add the option of starting a conversation with the OP when there thread is deleted or moved to a particular section.
 
Even left to the menu it's not enought space:D
View attachment 32100

Time to learn css^^
Haha, CSS is easy. If you look at my changes above, the drop down will be significantly slimmer, IIRC, one of the classes you applied set a fixed width to 162px. Changing it to the same markup as the thread tools makes the width fluid. Changing the width of the overlay shouldn't be hard.
 
ragtek, I'd like to know how I can mod your addon so that I can give the thread starter and moderators permission to close and move the thread to a given node, however I want to be able to choose in which forum nodes to give this permission.
 
ragtek, I'd like to know how I can mod your addon so that I can give the thread starter and moderators permission to close and move the thread to a given node, however I want to be able to choose in which forum nodes to give this permission.
i don't think it's possible ATm
 
ragtek, I'd like to know how I can mod your addon so that I can give the thread starter and moderators permission to close and move the thread to a given node, however I want to be able to choose in which forum nodes to give this permission.
you'll need to change
Ragtek_MM_Model_Multimod::canUseMultiModeration($forum)


next version will include the thread data too, so you'll be able to see if the user is the thread creator
 
ragtek, I'd like to know how I can mod your addon so that I can give the thread starter and moderators permission to close and move the thread to a given node, however I want to be able to choose in which forum nodes to give this permission.
after thinking about this=> why not use the xenforo permissions or a custom addon for this, if you want only to open/close threads?
 
I forgot to post, I did find a solution. Modded your addon, only question. There are two templates mm_list and mm_multimod, which one is used for the dropdown list viewable in threads?
 
I forgot to post, I did find a solution. Modded your addon, only question. There are two templates mm_list and mm_multimod, which one is used for the dropdown list viewable in threads?
ragtek_mm_list
 
ragtek updated Thread Multi Moderation with a new update entry:

Thread Multi Moderation

Changehistory:
  • added a description field for the multimod records, which will be shown as a "tooltip" when hovering over the multimod in the thread
    View attachment 32551 View attachment 32551 View attachment 32552
  • the multimoderation actions will be logged in the xenforo moderation log
  • the method agtek_MM_Model_Multimod::canUseMultiModeration got some additional parameters, which should make it easier to overwrite the method and create own "rules" which user is able to use...

Read the rest of this update entry...
 
Back
Top Bottom