| 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: |
| Sidebar | |
|---|---|
| Tweet Topic Started: Apr 27 2011, 11:23 PM (25,721 Views) | |
| Cory | Apr 27 2011, 11:23 PM Post #1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Code Name: Sidebar Preview What the code does: This code will add a sidebar to the left of your board so you can add in content to the side of your board. How to use the code: Simply follow the instructions below and edit in any content that you wish to display on the sidebar. How to install the code: Admin CP Themes Themes Edit Theme AppearanceAdmin CP Themes Themes Edit Theme Layout: Above <!-- BOARD --> Tag HTML Extra notes: The HTML will add five blocks for you to modify, you can add more or remove some to have less. Please post here if the code didn't work or you wish to make modifications to it. |
![]() |
|
| Replies: | |
|---|---|
| Cory | Jul 31 2013, 07:14 PM Post #91 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You'll need to use some additional JavaScript for guest view:
|
![]() |
|
| NettoSaito | Jul 31 2013, 07:28 PM Post #92 |
![]()
Member
![]() ![]() ![]() ![]()
|
Oh ok, thanks. Btw I hate to keep bothering you, but is it possible to set a custom distance depending on the page? While 110 px works just fine for the front page, due to advertisements not showing up in actual topics, and due to the "new topic" button in the forum view, the side bar does get off. If there's no way to fix it it's fine, but I figured I'd go ahead and ask. Edited by NettoSaito, Jul 31 2013, 07:44 PM.
|
![]() |
|
| Cory | Jul 31 2013, 08:22 PM Post #93 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try this:
|
![]() |
|
| NettoSaito | Jul 31 2013, 08:25 PM Post #94 |
![]()
Member
![]() ![]() ![]() ![]()
|
Nvm thanks! Got it all to work out correctly. I'm still having an issue where the side bar extends past the bottom of the board though. It's only in a few remote pages/forums with too few of posts. Specifically here http://forums.nettosgameroom.com/forum/3727857/ Edited by NettoSaito, Jul 31 2013, 08:35 PM.
|
![]() |
|
| Cory | Jul 31 2013, 08:50 PM Post #95 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try this:
|
![]() |
|
| NettoSaito | Jul 31 2013, 08:51 PM Post #96 |
![]()
Member
![]() ![]() ![]() ![]()
|
Nope... Didn't seem to do anything... |
![]() |
|
| Cory | Jul 31 2013, 08:56 PM Post #97 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try this instead:
|
![]() |
|
| NettoSaito | Jul 31 2013, 08:57 PM Post #98 |
![]()
Member
![]() ![]() ![]() ![]()
|
Well now it is actually expanding, but is there a way to move the white bar to the right? So it lines up with the rest of the forum?
Edited by NettoSaito, Jul 31 2013, 08:58 PM.
|
![]() |
|
| Cory | Jul 31 2013, 09:08 PM Post #99 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Change that to this:
|
![]() |
|
| NettoSaito | Jul 31 2013, 09:10 PM Post #100 |
![]()
Member
![]() ![]() ![]() ![]()
|
Thanks a lot! You really helped me out big time with this one! However there is still one minor issue. I really hate to keep asking, but is there a way to move the white bar in posts as well? http://forums.nettosgameroom.com/topic/8773204/8/#new The one that has the "« Previous Topic · General Discussion · Next Topic »" options on it. Edited by NettoSaito, Jul 31 2013, 09:11 PM.
|
![]() |
|
| Cory | Jul 31 2013, 09:31 PM Post #101 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Change that to this:
Edited by Cory, Jul 31 2013, 09:32 PM.
|
![]() |
|
| NettoSaito | Jul 31 2013, 09:37 PM Post #102 |
![]()
Member
![]() ![]() ![]() ![]()
|
Thanks for everything Cory! |
![]() |
|
| Cory | Jul 31 2013, 09:47 PM Post #103 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thank you actually, due to your requests some inventive codes have been introduced in this topic for the sidebar. |
![]() |
|
| NettoSaito | Aug 1 2013, 12:21 AM Post #104 |
![]()
Member
![]() ![]() ![]() ![]()
|
I hope a lot of people will be able to make use of them for their forums! Really I wish I could have been of some actual help on the coding end... I'm still not quite used to Zetaboards, and it has been quite some time since I learned how to use HTML, Java Script, and CSS... Still I know enough/remember enough to get by with the basics, but this side bar had me flat out stumped. You really are an amazing coder/scripter. You've helped me out quite a bit, and a lot of my forums' members really like your work as well. I personally look forward to seeing what you do next lol
Edited by NettoSaito, Aug 1 2013, 12:22 AM.
|
![]() |
|
| Cory | Aug 1 2013, 02:41 AM Post #105 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
It was even a bit confusing for me because I was working with absolute positioning and the advertisement area. What you requested could have been done with a JavaScript one-liner by relocating the advertisement table, but moving the ads are against the ZetaBoards TOS, so I had to work with CSS. I'm so knowledge with coding because I've been doing it for so long and I'm pretty familiar with the ZetaBoards source code. I've learned by searching and seeking for answers but also some of the best coders of this network have helped me along the way, the ones that I remember helping me in the past are Reid, Mike, Quozzo, slayer766 and RedBldSandman. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · ZetaBoards Codes & Modifications · Next Topic » |
| Track Topic · E-mail Topic |
4:35 AM Jul 11
|



![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)
Themes




4:35 AM Jul 11