Warning: The author of this contribution does not provide support for it anymore.

Hidden content until reply

I made subsilver2 style edits for this. - Hidden content until reply

I made subsilver2 style edits for this.

by PiperB » Sat Mar 18, 2017 7:51 pm

I made Subsilver2 style edits for this, as well as X-Treme Purple.

//Begin Subsilver2 Edits:
Open: styles/subsilver2/template/abbcode.html

Find:

Code: Select all

<!-- END decoration -->
Add After: (On a new blank line)

Code: Select all


<!-- BEGIN unhidpost --><div class="hiddenc"><span class="hiddena"><center>{HIDPOST_OFF}</center></span><div>{UNHIDPOST_TEXT}</div></div><!-- END unhidpost -->
<!-- BEGIN hidpost --><div class="hiddenc"><span class="hiddenb"><center>{HIDPOST_ON}</center></span><div class="hiddend" align="center">{HIDPOST_TEXT}</div></div><!-- END hidpost -->
Save the file.

Open: styles/subsilver2/theme/stylesheet.css

Find:

Code: Select all

.attachcontent {
	font-size: 0.85em;
}
Add Before: (On a new blank line)

Code: Select all

/* Hidden block */
.hiddena {
	background-color: #A9F5A9;
	border-color: #008000;
	border-bottom-color:  #008000;
	padding: 3px;
	border: 1px solid #008000;
	font-size: 1em;
	border-bottom: 1px solid #008000;
	margin-bottom: 3px;
	font-weight: bold;
	display: block;
	border-radius: 10px;
	color: #008000;
}

/* Hidden block */
.hiddenb {
	background-color: #ECD5D8;
	border-color: #BC2A4D;
	border-bottom-color:  #BC2A4D;
	padding: 3px;
	border: 1px solid #BC2A4D;
	font-size: 1em;
	border-bottom: 1px solid #BC2A4D;
	margin-bottom: 3px;
	font-weight: bold;
	display: block;
	border-radius: 10px;
	color: #BC2A4D;
}

.hiddenc {
	background-color: #C9D2D8;
	border-color: #1679AA;
	border-bottom-color:  #1679AA;
	padding: 3px;
	border: 1px solid #1679AA;
	font-size: 1em;
	border-bottom: 1px solid #1679AA;
	margin-bottom: 3px;
	font-weight: normal;
	display: block;
	border-radius: 10px;
	color: #000000;
}

.hiddend {
	background-color: #A3A3A3;
	border-color: #000000;
	border-bottom-color:  #000000;
	padding: 3px;
	border: 1px solid #000000;
	font-size: 1em;
	border-bottom: 1px solid #000000;
	margin-bottom: 3px;
	font-weight: normal;
	display: block;
	border-radius: 10px;
	color: #222222;
}

Save the file.

Clear the cache and styles. Done!
//End Subsilver2 Edits.

Subsilver2 Screen shots.

Admin/mod View
1.png
1.png (10.12 KiB) Viewed 59 times
What user sees before replies if set to must reply to view.
2.png
What user sees after reply.
3.png
___________________________
//Begin X-Treme Purple Edits:
Open: styles/X-Treme_Purple/template/abbcode.html

Find:

Code: Select all

<!-- END decoration -->
Add After: (On a new blank line)

Code: Select all


<!-- BEGIN unhidpost --><div class="hiddenc"><span class="hiddena"><center>{HIDPOST_OFF}</center></span><div>{UNHIDPOST_TEXT}</div></div><!-- END unhidpost -->
<!-- BEGIN hidpost --><div class="hiddenc"><span class="hiddenb"><center>{HIDPOST_ON}</center></span><div class="hiddend" align="center">{HIDPOST_TEXT}</div></div><!-- END hidpost -->
Save the file.

Open: styles/X-Treme_Purple/theme/stylesheet.css

Find:

Code: Select all

.attachcontent {
	font-size: 0.85em;
}
Add Before: (On a new blank line)

Code: Select all

/* Hidden block */
.hiddena {
	background-color: #A9F5A9;
	border-color: #008000;
	border-bottom-color:  #008000;
	padding: 3px;
	border: 1px solid #008000;
	font-size: 1em;
	border-bottom: 1px solid #008000;
	margin-bottom: 3px;
	font-weight: bold;
	display: block;
	border-radius: 10px;
	color: #008000;
}

.hiddenb {
	background-color: #ECD5D8;
	border-color: #BC2A4D;
	border-bottom-color:  #BC2A4D;
	padding: 3px;
	border: 1px solid #BC2A4D;
	font-size: 1em;
	border-bottom: 1px solid #BC2A4D;
	margin-bottom: 3px;
	font-weight: bold;
	display: block;
	border-radius: 10px;
	color: #BC2A4D;
}


.hiddenc {
	background-color: #222222;
	border-color: #000000;
	border-bottom-color:  #000000;
	padding: 3px;
	border: 1px solid #000000;
	font-size: 1em;
	border-bottom: 1px solid #000000;
	margin-bottom: 3px;
	font-weight: normal;
	display: block;
	border-radius: 10px;
	color: #FFFFFF;
}

.hiddend {
	background-color: #A3A3A3;
	border-color: #000000;
	border-bottom-color:  #000000;
	padding: 3px;
	border: 1px solid #000000;
	font-size: 1em;
	border-bottom: 1px solid #000000;
	margin-bottom: 3px;
	font-weight: normal;
	display: block;
	border-radius: 10px;
	color: #222222;
}

Save the file.

Clear the cache and styles. Done!
//End X-Treme Purple Edits.

X-Treme Purple Screen shots.

Admin/mod View
4.png
What user sees before replies if set to must reply to view.
5.png
What user sees after reply.
6.png
Enjoy! :)
<!-- IF U_LOVE_NOTEPAD++ -->
[td class=statement]I Notepad++ ![/td]
<!-- ENDNEVER --> <!-- tee hee --> :P
Whoa ooo whoa ooo whoa I'm a Lady!
User avatar
PiperB
Registered User
Posts: 173
Joined: Mon Nov 07, 2016 6:54 pm
Contact: