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.

Sticky threads with animed image

Discussion in 'Template Modifications [Archive]' started by Allan, Dec 7, 2010.

  1. Allan

    Allan Well-Known Member

    Sticky threads with animed image
    ___________________
    This change image original by animed image more visible

    Demo: http://xenfrench.com/forum/forums/actualit├ęs-xenforo-com.12/

    (Image animed: sticky.gif )

    • In "discussion_list.css" template, change:
    Code:
    .discussionListItem .iconKey span
            {
                @property "dicussionListIcon";
                margin-left: 3px;
                text-indent: -10000em;
                float: right;
                background-repeat: no-repeat;
                width: 16px;
                height: 16px;
                @property "/dicussionListIcon";
            }
    
                .discussionListItem .iconKey .sticky    { background-image: url('@imagePath/xenforo/icons/sticky.png'); }
    /
    By
    Code:
    .discussionListItem .iconKey span
            {
                @property "dicussionListIcon";
                margin-left: 3px;
                text-indent: -10000em;
                float: right;
                background-repeat: no-repeat;
                width: 54px;
                height: 16px;
                @property "/dicussionListIcon";
            }
    
                .discussionListItem .iconKey .sticky    { background-image: url('@imagePath/xenforo/icons/sticky.gif'); }
    • In "thread_list_item" template, change:
    Code:
    <xen:if is="{$thread.sticky}"><span class="sticky" title="{xen:phrase sticky}">{xen:phrase sticky}</span></xen:if>
    By
    Code:
    <xen:if is="{$thread.sticky}"><span class="sticky" title="{xen:phrase sticky}"><img src="@imagePath/xenforo/icons/sticky.gif"></span></xen:if>
    • Upload this image: sticky.gif in "../styles/default/xenforo/icons/"
     

    Attached Files:

    Bozo, Perspektif, Rob Fritz and 5 others like this.
  2. ddmmh

    ddmmh Well-Known Member

    Hey man thats really nice.

    I will implement this when i get home!
     
  3. PoLiZe

    PoLiZe Well-Known Member

    Thanks!, You can make an image (animation) for my forum with the text "IMPORTANTE" please? with blue color.


    Thanks, implemented on my website.
     
  4. Allan

    Allan Well-Known Member

    For you :)

    In "discussion_list.css" template, change width: 54px; by width: 67px;
     

    Attached Files:

    PoLiZe likes this.
  5. PoLiZe

    PoLiZe Well-Known Member

    Thanks! :)
     
  6. Digital Doctor

    Digital Doctor Well-Known Member

    I think it would be helpful if the animated image had a link to the thread.
    As well, it might be nice if the animated image went away if someone visited the sticky thread.
     
  7. Gustavo Fernandez

    Gustavo Fernandez Active Member

    Good! u can change "IMPORTANTE" by "Importante" ?

    Thanks
     
  8. Jeffin

    Jeffin Well-Known Member

    This is nice.
     
  9. Peggy

    Peggy Well-Known Member

    Very good add-on.
     
  10. ArnyVee

    ArnyVee Well-Known Member

    I can't see the image. Using Google Chrome, not sure if there is a problem there.
     
  11. Allan

    Allan Well-Known Member

    Soon :p
    Tested on Chrome, work perfectly for me.
     
  12. ArnyVee

    ArnyVee Well-Known Member

    Must be a different reason, but I see the sticky pins still on your demo.
     
  13. Allan

    Allan Well-Known Member

  14. Peggy

    Peggy Well-Known Member

    Has this been updated to work with XenForo 1.0?
     
  15. AndreaMarucci

    AndreaMarucci Well-Known Member

    Working with 1.0.1?
     
  16. Allan

    Allan Well-Known Member

    No tested but i think.
     

Share This Page