inherit
158497
0
Mar 19, 2018 22:55:24 GMT -8
Colin Molloy
The Mad Monk has left the building - thank goodness!
631
September 2010
cmolloy
|
Post by Colin Molloy on Aug 16, 2014 15:48:10 GMT -8
Southern WA Outdoors, the forum I built and administer, runs competitions Caption This, Best Photo, Tell Us a Story etc, with prizes for designation winning places determined by Members voting in a poll attached to the competition thread.
Members are requested NOT to comment on entrant's posts as this could influence others.
However, short of disabling the Like function across the whole forum, I can't see any way of disabling this in the comp thread (checked the plug in library).
I would like to be able to do that as a member liking an entry is almost as potentially influencing as post a comment.
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Aug 17, 2014 7:43:19 GMT -8
This should do it (unless they are on mobile) , changing the red to the id of your thread and adding it to your global footer :
|
|
inherit
158497
0
Mar 19, 2018 22:55:24 GMT -8
Colin Molloy
The Mad Monk has left the building - thank goodness!
631
September 2010
cmolloy
|
Post by Colin Molloy on Aug 18, 2014 3:08:09 GMT -8
Pebble - AWESOME! Thank you SO much !! EDIT - sorry - tried that didn't work - like is still there
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Aug 18, 2014 4:12:41 GMT -8
Oooops, missed a word out!
<script> $(document).ready(function () { if(proboards.data('route').params.thread_id == "thread id here" ){ $('.likes-button').hide(); proboards.on('pageChange', function() { $('.likes-button').hide(); }); } }); </script>
|
|
inherit
158497
0
Mar 19, 2018 22:55:24 GMT -8
Colin Molloy
The Mad Monk has left the building - thank goodness!
631
September 2010
cmolloy
|
Post by Colin Molloy on Aug 18, 2014 13:08:40 GMT -8
Oooops, missed a word out! <script> $(document).ready(function () { if(proboards.data('route').params.thread_id == "thread id here" ){ $('.likes-button').hide(); proboards.on('pageChange', function() { $('.likes-button').hide(); }); } }); </script> Nope, sorry, thank you for the second shot, but still doesn't work...
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Aug 18, 2014 22:55:08 GMT -8
Sorry about that Not sure why it wouldn't work.... I'm just starting 2 weeks vacation but if you bump this then I'm sure someone else will jump in. PS: the thread id should be a number and placed between the quotes. So, it would look like : <script> $(document).ready(function () { if(proboards.data('route').params.thread_id == "123" ){ $('.likes-button').hide(); proboards.on('pageChange', function() { $('.likes-button').hide(); }); } }); </script>
|
|
inherit
158497
0
Mar 19, 2018 22:55:24 GMT -8
Colin Molloy
The Mad Monk has left the building - thank goodness!
631
September 2010
cmolloy
|
Post by Colin Molloy on Aug 19, 2014 2:00:16 GMT -8
Sorry about that Not sure why it wouldn't work.... I'm just starting 2 weeks vacation but if you bump this then I'm sure someone else will jump in. PS: the thread id should be a number and placed between the quotes. So, it would look like : <script> $(document).ready(function () { if(proboards.data('route').params.thread_id == "123" ){ $('.likes-button').hide(); proboards.on('pageChange', function() { $('.likes-button').hide(); }); } }); </script> Ahhhhhh - I need the truncated id - cheers for that will give you a go - have an absolutely wonderful vacation!
|
|