We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] How do I get pink box
Topic Started: Dec 10 2015, 11:25 PM (4,931 Views)
lala1993
Member
[ *  * ]
show up on my board.

Private
ZB
I'd like to have pink rules box.

Spoiler: click to toggle
Edited by lala1993, Dec 11 2015, 12:55 AM.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Where would this box appear? And on what page(s)?
Offline Profile Goto Top
 
lala1993
Member
[ *  * ]
DaPizzaMan
Dec 16 2015, 08:50 PM
Where would this box appear? And on what page(s)?
The box would appear under post reply.

Spoiler: click to toggle



Offline Profile Goto Top
 
Epsilekt
Member Avatar
Member
[ *  *  *  *  *  * ]
I don't know what the right colors are for the pink box you showed in the first post, so I just used the word pink for now. But you can change the code when you find out what the color hexes (#a7f7af) are. Put this code in the Above your copyright section of your Board Wrappers. You will see the part in the code where it says: Please make sure you provide your:<br /><b>BOARD LINK</b></div>. Change that part to change the message. Remember that you should not hit the enter key to make a new line, that will break the code, you have to write <br /> instead. Also do not use parenthesis (') without putting a backslash (\) in front of it, that will also break the code.

Code:
 
<style type="text/css">
.postrulesbox { border: 1px solid dark-pink; background: pink; padding: 6px; text-align: center; width: 500px; }
</style>
<script language="JavaScript">
if(window.location.href.match('/post/')) {
var btn_preview = document.getElementById('btn_preview');
if(btn_preview) {
btn_preview.parentNode.parentNode.innerHTML += '<br /><br /><center><div class="postrulesbox">Please make sure you provide your:<br /><b>BOARD LINK</b></div></center>';
}
}
</script>
Edited by Epsilekt, Dec 20 2015, 10:49 AM.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

You really have no reason to use the <center> tag in HTML. Instead use a <div> with a center text alignment.
Offline Profile Goto Top
 
lala1993
Member
[ *  * ]
Epsilekt
Dec 20 2015, 09:46 AM
I don't know what the right colors are for the pink box you showed in the first post, so I just used the word pink for now. But you can change the code when you find out what the color hexes (#a7f7af) are. Put this code in the Above your copyright section of your Board Wrappers. You will see the part in the code where it says: Please make sure you provide your:<br /><b>BOARD LINK</b></div>. Change that part to change the message. Remember that you should not hit the enter key to make a new line, that will break the code, you have to write <br /> instead. Also do not use parenthesis (') without putting a backslash (\) in front of it, that will also break the code.

Code:
 
<style type="text/css">
.postrulesbox { border: 1px solid dark-pink; background: pink; padding: 6px; text-align: center; width: 500px; }
</style>
<script language="JavaScript">
if(window.location.href.match('/post/')) {
var btn_preview = document.getElementById('btn_preview');
if(btn_preview) {
btn_preview.parentNode.parentNode.innerHTML += '<br /><br /><center><div class="postrulesbox">Please make sure you provide your:<br /><b>BOARD LINK</b></div></center>';
}
}
</script>
Thank you so much!
Edited by lala1993, Dec 20 2015, 02:53 PM.
Offline Profile Goto Top
 
Liam
Member Avatar
~

Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic