SafeInSanity
Junior Member
Falling in love with Proboards again!
Posts: 424
inherit
23917
0
Feb 27, 2020 11:29:13 GMT -8
SafeInSanity
Falling in love with Proboards again!
424
May 2004
wiki
|
Post by SafeInSanity on Feb 20, 2017 18:24:55 GMT -8
Looking for a plugin that will achieve this please. It has to be board specific. I found a good plugin that does this for the "Create Thread' button but not the Replies button.
|
|
SafeInSanity
Junior Member
Falling in love with Proboards again!
Posts: 424
inherit
23917
0
Feb 27, 2020 11:29:13 GMT -8
SafeInSanity
Falling in love with Proboards again!
424
May 2004
wiki
|
Post by SafeInSanity on Feb 22, 2017 9:33:44 GMT -8
Anyone?
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Feb 24, 2017 17:26:06 GMT -8
SafeInSanity Easy with a template modification, don't need a plugin for this. In Structure > Layout Templates > Thread find this line. <ul class="controls"><li>$[reply_button]</li></ul> and change it to this line: {if $[thread.board.id] == "BOARD ID HERE"}<ul class="controls"><li><a class="reply-button" href="$[reply_button.href]">Different Reply Button Text Here</a></li></ul> {else}<ul class="controls"><li>$[reply_button]</li></ul> {/if}
|
|
SafeInSanity
Junior Member
Falling in love with Proboards again!
Posts: 424
inherit
23917
0
Feb 27, 2020 11:29:13 GMT -8
SafeInSanity
Falling in love with Proboards again!
424
May 2004
wiki
|
Post by SafeInSanity on Feb 25, 2017 8:21:41 GMT -8
sweet! ...thanks
|
|
SafeInSanity
Junior Member
Falling in love with Proboards again!
Posts: 424
inherit
23917
0
Feb 27, 2020 11:29:13 GMT -8
SafeInSanity
Falling in love with Proboards again!
424
May 2004
wiki
|
Post by SafeInSanity on Mar 26, 2017 3:47:04 GMT -8
Ulises How can I also add this code to the "Quick Reply Box" on the same Board?
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Mar 26, 2017 8:44:55 GMT -8
SafeInSanity I am thinking you mean the reply button in the top right of the quick reply correct? You can copy/paste this either in your global header or in the same thread template if you want it to be theme specific: <script>
$(document).ready(function(){ if(proboards.data('page').board.id == Board Id Here){ $('.container.quick-reply').find('.reply-button').text("New Reply text"); } });
</script>
|
|
SafeInSanity
Junior Member
Falling in love with Proboards again!
Posts: 424
inherit
23917
0
Feb 27, 2020 11:29:13 GMT -8
SafeInSanity
Falling in love with Proboards again!
424
May 2004
wiki
|
Post by SafeInSanity on Mar 26, 2017 10:53:30 GMT -8
Yes, I want it to be board specific. Where exactly would I put this code in the "Thread" template then? Nevermind. I figured it out and it is working great. I just pasted the new code in the bottom of the "thread" template. Thanks
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Mar 26, 2017 10:59:08 GMT -8
At the very top of template, before anything.
|
|
SafeInSanity
Junior Member
Falling in love with Proboards again!
Posts: 424
inherit
23917
0
Feb 27, 2020 11:29:13 GMT -8
SafeInSanity
Falling in love with Proboards again!
424
May 2004
wiki
|
Post by SafeInSanity on Mar 26, 2017 11:00:58 GMT -8
At the very top of template, before anything. OH ok. I put it in the very bottom of template before I read this but it is still working.
|
|