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 23, 2017 6:57:07 GMT -8
No, the problem for me is that the code also hides mini profiles on replies. I only want it to hide mini profiles in first post.
<style>
div.mini-profile, .posts .post .left-panel{display:none;}
</style>
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,852
December 2005
horace
|
Post by Chris on Feb 23, 2017 14:06:38 GMT -8
No, the problem for me is that the code also hides mini profiles on replies. I only want it to hide mini profiles in first post. <style>
div.mini-profile, .posts .post .left-panel{display:none;}
</style> That css rule would indeed hide every mini-profile but from my brief glance at this thread I do not see that code posted anywhere in the thread. The code that was given to hide the mini-profile for the ever-present OP post was given by Tumbleweed here
|
|
Kami
Forum Cat
Posts: 40,020
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,020
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Feb 23, 2017 14:11:06 GMT -8
This may be a dumb question but is there a reason that if statements aren't being used here? On mobile right now but i am confident this can be done -- I'll post again when i come back from my lunch.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Feb 23, 2017 14:19:27 GMT -8
No, the problem for me is that the code also hides mini profiles on replies. I only want it to hide mini profiles in first post. <style>
div.mini-profile, .posts .post .left-panel{display:none;}
</style> That would hide them.^^ What I posted was to do inline style so you need to add the red to the post list template. That only affects the post you add the "stickie" to. <td style="display:none;" class="left-panel" rowspan="2"> $[post.thread.first_post.created_by.miniprofile] </td> No need for if statements, Kami.
|
|
Kami
Forum Cat
Posts: 40,020
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,020
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Feb 23, 2017 14:44:22 GMT -8
Inline styling simply hides it though so it would still exist, and a few posts mentioned doing this on a per board basis.
|
|
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 23, 2017 14:44:31 GMT -8
But that code is not board specific is it? I don't want every board on the forum doing that, just on certain boards that I will be using for custom things like blog posts, articles, and custom pages. Wait, maybe it is? Wow, that's awesome Tumbleweed! I just entered your code: <td style="display:none;" class="left-panel" rowspan="2">
It works great and is board specific. I didn't try the code last time because for some reason I didn't think it was board specific. My problem is solved now. Thanks so much
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Feb 23, 2017 16:41:31 GMT -8
But that code is not board specific is it? I don't want every board on the forum doing that, just on certain boards that I will be using for custom things like blog posts, articles, and custom pages. Wait, maybe it is? Wow, that's awesome Tumbleweed ! I just entered your code: <td style="display:none;" class="left-panel" rowspan="2">
It works great and is board specific. I didn't try the code last time because for some reason I didn't think it was board specific. My problem is solved now. Thanks so much You're welcome and yay Ulises for a outstanding template mod that made this possible. (I love this mod.)
|
|
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 10:45:01 GMT -8
Yay me!
|
|
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 Jan 29, 2019 15:58:45 GMT -8
Ulises says where to put it but it replaces what you have in your Post List Layout template. To get that kind of divide I have on that first post, you need to find this part.... (It'll be right around line 11 and right before where this is: <table role="grid"> ) <td class="$[post.thread.first_post.unblocked_class]">....and add some inline css (that was the problem before, it needed to be inline) so it's something like this: <td style="background-color:gray;border-bottom: 18px double green;margin-bottom:18px;" class="$[post.thread.first_post.unblocked_class]">
And just a reminder: To get that post to be on every page of replies, you need to edit the very first post and add "sticky" (without the quotes) in the Edit Reason (optional): input area. If you are still unsure, look at my screen cap or my test site and you'll see where I have "sticky". And I thought of something else. Not sure how you feel but on the first post on the first page of replies, up by the date it says "sticky" I didn't like that there but removing it breaks the likes for some reason so I just made it invisible: About at line 43 I add the blue: <span style="opacity:0.0;font-size;0px;">$[post.edited.reason] </span>
If you like it but want to change the style with css you can replace with your own css. Is there a way that I can make the divider a custom image rather than the color codes Tumbleweed ?
|
|