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.

can i hide the quote button from topic owner

3 posters

Go down

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

Back to top Go down

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
 
Michael_vx
Michael_vx
Forumember

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

Back to top Go down

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
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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
Michael_vx
Michael_vx
Forumember

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

Back to top Go down

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 )
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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

Back to top Go down

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
Michael_vx
Michael_vx
Forumember

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

Back to top Go down

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()});
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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
Michael_vx
Michael_vx
Forumember

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

Back to top Go down

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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51569
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum