1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Checkbox Near Quickreply For Watching Thread

Discussion in 'Template Modifications [Archive]' started by kkm323, Nov 1, 2010.

  1. kkm323

    kkm323 Well-Known Member

    [Watch Thread In Quickreply]
    WHY?
    Easy way to watch threads + Request Thread is Here

    WHAT?
    Demo- Screenshot
    watch.jpg

    HOW?
    INSTALLATION - smooth and easy
    Look For :
    In [ quick_reply ] template Find
    Code:
                <input type="submit" class="button primary" value="{xen:phrase post_reply}" accesskey="s" />
    
    Add below:
    Code:
    <xen:if is="{$canWatchThread}">
    <a href="{xen:link 'threads/watch-confirm', $thread}" class="button primary OverlayTrigger" data-cacheOverlay="false">{xen:if $thread.thread_is_watched, '{xen:phrase unwatch_thread}', '{xen:phrase watch_thread}'}</a>
    </xen:if>
    
    Changelog:
    11-01-2010 - First Release
    09-02-2011 - instead of check box, button looks better


     
  2. Digital Doctor

    Digital Doctor Well-Known Member

    Smart idea.
    I have suggested something similar to this for a "LIKE THREAD" (Not like Post) feature.
     
  3. kkm323

    kkm323 Well-Known Member

    Thanks,
    i see what you mean. i would try to do it, but i can't promised :(
     
  4. kkm323

    kkm323 Well-Known Member

    new version with screenshot (y)
     
  5. khena25

    khena25 Member

    Looks great, thanks!
     

Share This Page