The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

can i hide the quote button from topic owner

View previous topic View next topic Go down

Solved can i hide the quote button from topic owner

Post by Michael_vx on 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
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 on April 24th 2015, 8:48 am

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

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 on 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
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

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

Post by Michael_vx on 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
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 on 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
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

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

Post by Michael_vx on 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
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 on April 26th 2015, 4:12 pm

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

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 on 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
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

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

Post by Michael_vx on 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
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 on April 27th 2015, 12:31 am

Topic solved and archived


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


SLGray
Administrator
Administrator

Male Posts : 36659
Reputation : 2444
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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