inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Nov 6, 2017 14:48:54 GMT -8
Ahhh.. Can you please tell me what you are trying to add and I'll take a look. [FP] [LP] Just this ((it's in right now)) and its disappeared XD
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Nov 6, 2017 16:57:12 GMT -8
Ahhh.. Can you please tell me what you are trying to add and I'll take a look. [FP] [LP] Just this ((it's in right now)) and its disappeared XD I forgot to change the positioning of the cell when you choose your own format.. Can you please try version 0.1.12.
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Nov 6, 2017 18:48:58 GMT -8
Hi, Todge. Is it possible to just have Important Threads show up on the homepage only?
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Nov 6, 2017 22:19:34 GMT -8
Thank you!
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Nov 7, 2017 14:23:38 GMT -8
Hi, Todge. Is it possible to just have Important Threads show up on the homepage only? Yup.. First, add this to the CSS Styling tab of the plugin... #important_threads{display: none;} Then, add this to the top of your Home Page layout.. <style> #important_threads{ display: block; } </style>
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Nov 8, 2017 11:32:12 GMT -8
Todge. Thanks. I have Collapsible Categories below Important Threads, but Important Threads still doesn't collapse. Since it's not a category, I can't just add it as default collapsed in Collapsible Categories.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Nov 8, 2017 18:33:14 GMT -8
Perhaps If todge adds the class that collapsible categories is looking for, it will all work fine, otherwise there might be a way to target specific ones with a custom script.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Nov 9, 2017 13:03:45 GMT -8
By the looks of it, it's not as easy as that. If I add the class of the categories, all it does is screw up the formatting of the ITs title bar. It seems the Collapsible Threads plugin separating and placing each category into it's own cell, so it would probably be easier to make the Collapse plugin see the IT's than it would to make the IT's visible to the Collapse plugin.Scratch that.. I found the hook being used by the Collapsible categories plugin and have tricked it into believing that the Important Threads are actually category 0.. Please try version 0.1.2.
|
|
inherit
192136
0
Aug 17, 2014 8:10:36 GMT -8
?adwoman?
1,884
April 2013
adwoman
|
Post by ?adwoman? on Nov 9, 2017 13:13:11 GMT -8
Todge . Thanks. I have Collapsible Categories below Important Threads, but Important Threads still doesn't collapse. Since it's not a category, I can't just add it as default collapsed in Collapsible Categories. try use this support.proboards.com/post/6707115/thread instead of Collapsible Categories
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Nov 9, 2017 17:17:09 GMT -8
Todge . Thanks. I have Collapsible Categories below Important Threads, but Important Threads still doesn't collapse. Since it's not a category, I can't just add it as default collapsed in Collapsible Categories. try use this support.proboards.com/post/6707115/thread instead of Collapsible Categories Thanks; that does the trick! Scratch that.. I found the hook being used by the Collapsible categories plugin and have tricked it into believing that the Important Threads are actually category 0.. Please try version 0.1.2.Sorry, that doesn't work for me. Important Threads still doesn't hide. The main footer from ?adwoman?'s link works.
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Nov 10, 2017 11:51:47 GMT -8
I tried the below to change title Important Threads to something else, but it doesn't change the name. Try putting this in your Global FOOTER... <script type="text/javascript"> <!-- $(document).ready(function(){ $('#important_threads .title_wrapper').html('New Title'); }); // --> </script> and change the red text to your chosen title.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Nov 10, 2017 12:04:45 GMT -8
I tried the below to change title Important Threads to something else, but it doesn't change the name. Try putting this in your Global FOOTER... <script type="text/javascript"> <!-- $(document).ready(function(){ $('#important_threads .title_wrapper').html('New Title'); }); // --> </script> and change the red text to your chosen title. Can you paste exactly what you have in your footer code? With JS certain punctuation and syntax is important to consider. Seeing what your changing it to could fix any problems
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Nov 10, 2017 12:13:27 GMT -8
I tried the below to change title Important Threads to something else, but it doesn't change the name. Can you paste exactly what you have in your footer code? With JS certain punctuation and syntax is important to consider. Seeing what your changing it to could fix any problems <script type="text/javascript">
/* Reply Number in Posts - Global Footer*/
$(function(){
if(window.listMan && listMan.effectiveType == "posts"){
var p = listMan.options
$('.content-head .info .date', listMan.content).each(function(i,e){
var post = {element:$(e), index: i, id: $(e).closest('tr.item.post').attr('id').split("-").pop(), page: listMan.pagination.data("pagination").page},
search = /search/i.test(listMan.type) || p.data.hash.q || p.data.recent_page?1:0;
post.element.before('<span class="post-method post-number" />').prev()
.html( '<a href="/post/' + post.id + '/thread" title="Link to Post" >' + ((i+post.page+search) == 1 ? 'Thread ' : (search?'Result':'Reply') + ' #' + ((post.page - 1) * p.limit + i + search)) + '</a> ' + (i+post.page+search == 1 ?'started ' : 'posted '))
})
}
if($.inArray(arguments.callee, proboards.events.afterSearch) == -1)proboards.on("afterSearch",arguments.callee);
})
</script>
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Nov 10, 2017 12:50:35 GMT -8
Can you paste exactly what you have in your footer code? With JS certain punctuation and syntax is important to consider. Seeing what your changing it to could fix any problems <script type="text/javascript">
/* Reply Number in Posts - Global Footer*/
$(function(){
if(window.listMan && listMan.effectiveType == "posts"){
var p = listMan.options
$('.content-head .info .date', listMan.content).each(function(i,e){
var post = {element:$(e), index: i, id: $(e).closest('tr.item.post').attr('id').split("-").pop(), page: listMan.pagination.data("pagination").page},
search = /search/i.test(listMan.type) || p.data.hash.q || p.data.recent_page?1:0;
post.element.before('<span class="post-method post-number" />').prev()
.html( '<a href="/post/' + post.id + '/thread" title="Link to Post" >' + ((i+post.page+search) == 1 ? 'Thread ' : (search?'Result':'Reply') + ' #' + ((post.page - 1) * p.limit + i + search)) + '</a> ' + (i+post.page+search == 1 ?'started ' : 'posted '))
})
}
if($.inArray(arguments.callee, proboards.events.afterSearch) == -1)proboards.on("afterSearch",arguments.callee);
})
</sposted. I don't see the code you mentioned in the code you posted
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Nov 10, 2017 13:04:39 GMT -8
I don't see the code you mentioned in the code you posted Sorry, I removed it before since it didn't work. Here's with the code. <script type="text/javascript"> <!-- $(document).ready(function(){ $('#important_threads .title_wrapper').html('Game Threads'); }); // --> </script> <script type="text/javascript"> /* Reply Number in Posts - Global Footer*/ $(function(){ if(window.listMan && listMan.effectiveType == "posts"){ var p = listMan.options $('.content-head .info .date', listMan.content).each(function(i,e){ var post = {element:$(e), index: i, id: $(e).closest('tr.item.post').attr('id').split("-").pop(), page: listMan.pagination.data("pagination").page}, search = /search/i.test(listMan.type) || p.data.hash.q || p.data.recent_page?1:0; post.element.before('<span class="post-method post-number" />').prev() .html( '<a href="/post/' + post.id + '/thread" title="Link to Post" >' + ((i+post.page+search) == 1 ? 'Thread ' : (search?'Result':'Reply') + ' #' + ((post.page - 1) * p.limit + i + search)) + '</a> ' + (i+post.page+search == 1 ?'started ' : 'posted ')) }) } if($.inArray(arguments.callee, proboards.events.afterSearch) == -1)proboards.on("afterSearch",arguments.callee); }) </script>
|
|