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.
The forum of the forums
3 posters

    can i hide the quote button from topic owner

    Michael_vx
    Michael_vx
    Forumember


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

    Solved can i hide the quote button from topic owner

    Post by Michael_vx Thu 23 Apr - 3:42

    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 : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

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

    Post by Michael_vx Fri 24 Apr - 9:48

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


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

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

    Post by Ange Tuteur Fri 24 Apr - 21:23

    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 : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

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

    Post by Michael_vx Fri 24 Apr - 23:44

    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 : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

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

    Post by Ange Tuteur Sat 25 Apr - 2:21

    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 : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

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

    Post by Michael_vx Sat 25 Apr - 10:57

    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 : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

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

    Post by Michael_vx Sun 26 Apr - 17:12

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


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

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

    Post by Ange Tuteur Sun 26 Apr - 22:19

    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 : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

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

    Post by Michael_vx Mon 27 Apr - 1:11

    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 : 51498
    Reputation : 3523
    Language : English
    Location : United States

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

    Post by SLGray Mon 27 Apr - 1:31

    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.

      Current date/time is Sun 22 Sep - 16:24