can i hide the quote button from topic owner Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    can i hide the quote button from topic owner

    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 664
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved can i hide the quote button from topic owner

    Post by Michael_vx April 23rd 2015, 2:42 am

    can i hide the quote button from topic owner
    i know its a weird question Very Happy
    but only if possible
    more info if someone created a topic the quote button wont appear for him at the first topic post as its has made by him but appears for the rest even if the quote wont appear for any post made to who created it
    thanks
    1 one last this is not my own request its by a friend to me so possible let me have the trick not possible then close the topic Smile
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 664
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: can i hide the quote button from topic owner

    Post by Michael_vx April 24th 2015, 8:48 am

    i think time to up
    let me know if this possible or not
     
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13246
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: can i hide the quote button from topic owner

    Post by Ange Tuteur April 24th 2015, 8:23 pm

    Hi @Michael_vx,

    Could you provide the following information ?

    • Could you provide URL or Version of the forum ?
    • Has the option "first topic reminder" been enabled ?


    Thanks
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 664
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: can i hide the quote button from topic owner

    Post by Michael_vx April 24th 2015, 10:44 pm

    version phpbb2
    both if enabled or not in case of getting confused
    any thing else
     
    - edit -
    one more thing
    forum not English
    the main Language Arabic
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13246
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: can i hide the quote button from topic owner

    Post by Ange Tuteur April 25th 2015, 1:21 am

    Go to Administration panel > Modules > JavaScript codes management > Create a new script

    Placement : In the topics
    Code:
    $(function() {
      if ($('.post:eq(1) .name strong a').text() == _userdata.username) {
        var s = document.createElement('STYLE');
        s.appendChild(document.createTextNode('.i_icon_quote, img[onclick*="MultiQuote"] { display:none }'));
        document.getElementsByTagName('HEAD')[0].appendChild(s);
      }
    });

    Make sure that Always show the first post in the topics is enabled. Wink
    ( General > Messages > Config )
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 664
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: can i hide the quote button from topic owner

    Post by Michael_vx April 25th 2015, 9:57 am

    looks good Smile
    as the test the topic starter cannot quote any post Very Happy
    im not sure if that will be accepted or not blackeye
    ill send him that script
    if you have a tip or find out the reason behind that the quote being hiding from the whole topic posts if the viewer is the topic starter then okay if not still fine to me i can just till this is the limit Smile
    so i wont waste more of your time our legendary coder Love
    thanks many many thanks
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 664
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: can i hide the quote button from topic owner

    Post by Michael_vx April 26th 2015, 4:12 pm

    Edit
    change in plan
    the request is now on the first post of topic for all
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13246
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: can i hide the quote button from topic owner

    Post by Ange Tuteur April 26th 2015, 9:19 pm

    Replace the script with this :
    Code:
    $(function(){$('.post:eq(1) .i_icon_quote,.post:eq(1) img[onclick*="MultiQuote"]').hide()});
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 664
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: can i hide the quote button from topic owner

    Post by Michael_vx April 27th 2015, 12:11 am

    that should do as he requested Very Happy
    close topic as solved
    thanks a lot your my savior 
    thanks again
    and sorry for wasting your time for a weird request like that
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51553
    Reputation : 3519
    Language : English
    Location : United States

    Solved Re: can i hide the quote button from topic owner

    Post by SLGray April 27th 2015, 12:31 am

    Topic solved and archived



    can i hide the quote button from topic owner Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.