inherit
194160
0
Mar 23, 2015 9:54:45 GMT -8
blc
2,641
May 2013
blc
|
Post by blc on Mar 27, 2015 3:38:31 GMT -8
Ok, I'm mildly confused here. I did take and replace the one section with the newer code and it is gone from the message and reply area. thanks for that. Now if I want to use the left too, how would I do that. I tried using the same code but replace the one category id with the new one and adding left in both of the codes but it doesn't work. I'll change the url to your compilation thread now that I have that! Well now that you have it showing it's not leftPouter It's LPouter So it would be $('div#LPouter').hide(); instead of leftPouter Okay, that fixed that. Thank you. However, when you click on 'reply' to a message, both sides appear and I noticed that both sides show up in the Recent Threads page. Is there a way to hide it from that page?
|
|
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 Mar 27, 2015 10:58:07 GMT -8
Well now that you have it showing it's not leftPouter It's LPouter So it would be $('div#LPouter').hide(); instead of leftPouter Okay, that fixed that. Thank you. However, when you click on 'reply' to a message, both sides appear and I noticed that both sides show up in the Recent Threads page. Is there a way to hide it from that page? If both sides appear on the reply screen than you did not add the code on the last page that added || proboards.data('route').name.indexOf('new_message')!=-1 So I'm going to make this doable. Whatever webpage that you don't want them on, add || window.location.href.indexOf('urlofpage')!=-1
So if you don't want it on the recent threads, trueblueliberty.com/threads/recentYou would add that in the code || window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1
And that line goes on this line at the end of if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1){ Which means the final version would be if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){
you add another webpage it would be if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1|| window.location.href.indexOf('urlofpage')!=-1){
|
|
inherit
194160
0
Mar 23, 2015 9:54:45 GMT -8
blc
2,641
May 2013
blc
|
Post by blc on Mar 27, 2015 11:38:24 GMT -8
Okay, that fixed that. Thank you. However, when you click on 'reply' to a message, both sides appear and I noticed that both sides show up in the Recent Threads page. Is there a way to hide it from that page? If both sides appear on the reply screen than you did not add the code on the last page that added || proboards.data('route').name.indexOf('new_message')!=-1 So I'm going to make this doable. Whatever webpage that you don't want them on, add || window.location.href.indexOf('urlofpage')!=-1
So if you don't want it on the recent threads, trueblueliberty.com/threads/recentYou would add that in the code || window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1
And that line goes on this line at the end of if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1){ Which means the final version would be if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){
you add another webpage it would be if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1|| window.location.href.indexOf('urlofpage')!=-1){ I'm getting really confused now and yes, I did add that part and both sides still showed. I just added that revised code and both sides still show. I must be doing some :|thing wrong.
|
|
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 Mar 27, 2015 13:35:31 GMT -8
If both sides appear on the reply screen than you did not add the code on the last page that added || proboards.data('route').name.indexOf('new_message')!=-1 So I'm going to make this doable. Whatever webpage that you don't want them on, add || window.location.href.indexOf('urlofpage')!=-1
So if you don't want it on the recent threads, trueblueliberty.com/threads/recentYou would add that in the code || window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1
And that line goes on this line at the end of if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1){ Which means the final version would be if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){
you add another webpage it would be if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1|| window.location.href.indexOf('urlofpage')!=-1){ I'm getting really confused now and yes, I did add that part and both sides still showed. I just added that revised code and both sides still show. I must be doing some :|thing wrong. <script>if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){</scipt> This is what you have that is wrong. One you misspelled the word script on the ending tag Two you don't have the hide options. <script> if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){
$('div#Pouter').hide();
$('div#LPouter').hide();
} </script>
Any other webpages you want to hide, add <script>
if(window.location.href.indexOf('urlofpage')!=-1){
$('div#Pouter').hide();
$('div#LPouter').hide();
}
</script>
|
|
inherit
194160
0
Mar 23, 2015 9:54:45 GMT -8
blc
2,641
May 2013
blc
|
Post by blc on Mar 27, 2015 14:05:07 GMT -8
I'm getting really confused now and yes, I did add that part and both sides still showed. I just added that revised code and both sides still show. I must be doing some :|thing wrong. <script>if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){</scipt> This is what you have that is wrong. One you misspelled the word script on the ending tag Two you don't have the hide options. <script> if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){
$('div#Pouter').hide();
$('div#LPouter').hide();
} </script>
Any other webpages you want to hide, add <script>
if(window.location.href.indexOf('urlofpage')!=-1){
$('div#Pouter').hide();
$('div#LPouter').hide();
}
</script> Everything seems to be working now. Appreciate all your work on this. Can you take a look though and see if I have code in there that doesn't need to be there. I got confused and now I'm not sure if there may be code that doesn't need to be there in there.
|
|
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 Mar 27, 2015 14:27:37 GMT -8
<script>if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){</scipt> This is what you have that is wrong. One you misspelled the word script on the ending tag Two you don't have the hide options. <script> if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){
$('div#Pouter').hide();
$('div#LPouter').hide();
} </script>
Any other webpages you want to hide, add <script>
if(window.location.href.indexOf('urlofpage')!=-1){
$('div#Pouter').hide();
$('div#LPouter').hide();
}
</script> Everything seems to be working now. Appreciate all your work on this. Can you take a look though and see if I have code in there that doesn't need to be there. I got confused and now I'm not sure if there may be code that doesn't need to be there in there. Having duplicate codes of mine + his will not hurt anything. However there is one line that needs to be removed This one. <script>if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){</script>
|
|
inherit
194160
0
Mar 23, 2015 9:54:45 GMT -8
blc
2,641
May 2013
blc
|
Post by blc on Mar 27, 2015 18:03:49 GMT -8
Everything seems to be working now. Appreciate all your work on this. Can you take a look though and see if I have code in there that doesn't need to be there. I got confused and now I'm not sure if there may be code that doesn't need to be there in there. Having duplicate codes of mine + his will not hurt anything. However there is one line that needs to be removed This one. <script>if( proboards.data('route').name.indexOf('conversation')!=-1 || proboards.data('route').name.indexOf('new_message')!=-1|| window.location.href.indexOf('http://trueblueliberty.com/threads/recent')!=-1){</script> Thanks! I got confused and I was pretty sure there was something that didn't belong. I wanted to save a clean copy.
|
|
Ice_Knight
New Member
Pikapika, pikachu. pika?
Posts: 46
inherit
269419
0
Oct 15, 2024 9:03:17 GMT -8
Ice_Knight
Pikapika, pikachu. pika?
46
May 2024
cookieknight
|
Post by Ice_Knight on Jun 2, 2024 4:58:24 GMT -8
PebbleHow do you change container color? I can barely see my text.
|
|