| 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: |
| [CODE] Sidebar Menu | |
|---|---|
| Topic Started: Apr 22 2005, 02:40 PM (20,598 Views) | |
| Scarlet | Apr 22 2005, 02:40 PM Post #1 |
|
The World on a Silver Platter
|
I've had a few requests for this, so I thought it was time to finally post it up here. Code Name: Sidebar Menu Description: It displays a simple sidebar to left of your main index. It's quite simple, though it may slow down your board depending on much information you want displayed. I'll give you a basic coding snippet, though obviously you can edit it to include a lot more. Preview of it in Use: (It's a very old board I used to run, so it's quite dead. But I just editted the sidebar to give you an idea of what sort of layout it'll have. You can go to websites that offer shoutbox/poll codes, and then just stick them within this. It may take a while to load.) Preview Where it goes: Admin CP > Skinning & Styles > Board Wrappers > Header & Body. You place it between your <% Navigation %> tag and your <% Board %> tag. What I've done here is create different sections. For example, all the Information threads and forums that you want linked will go together in one section. Anything extra you may want link can be categorized in another section. (Note: Anywhere that says 'board's main title' in red, make sure you don't include the extra /index.php? at the end of the link) Everything in Red can be editted.
Remember, you can always add polls, shoutboxes, and images to this code. Just place them anywhere in the code you wish. Copyright: place this in your Admin CP > Skinning & Styles > Board Wrappers > Footer
This is my first time posting up a code on here. If there are any problems with this, please point them out so I can try to fix it. Please excuse me if I have missed something. I'm new at this. |
![]() |
|
| mattyoak | Apr 22 2005, 02:56 PM Post #2 |
|
Member
|
its ok but where is it on the preview? |
![]() |
|
| Scarlet | Apr 22 2005, 03:00 PM Post #3 |
|
The World on a Silver Platter
|
Editted: Okay, the preview I have for it now should give you an idea of how everything will look once it's all laid out. |
![]() |
|
| whatsreality | Apr 22 2005, 04:26 PM Post #4 |
![]()
Freddie...you shall not be forgotten...
|
holy crap, this has to be one of the most useful codes at IF! very cool! |
![]() |
|
| Scarlet | Apr 24 2005, 11:43 AM Post #5 |
|
The World on a Silver Platter
|
lol, I'm thankful someone likes it. I wasn't sure if I did everything right. Just remember to put in the copyright, otherwise it could get ugly. |
![]() |
|
| KingKel | Apr 24 2005, 04:54 PM Post #6 |
|
IF's Official Reader-Not-Poster
|
Thats pretty nifty but I am too lazy to put it together. |
![]() |
|
| Scarlet | Apr 24 2005, 08:00 PM Post #7 |
|
The World on a Silver Platter
|
Lazy? I made it simple... *shrugs* |
![]() |
|
| Gogf | Apr 25 2005, 05:51 AM Post #8 |
|
Indescribable
|
Er... You don't seem to close your tags. Not only do you have a number of <center> tags open, but you don't even close the table (I'm sure there are others, but I don't have time to look for them now). |
![]() |
|
| Wowowee | Apr 26 2005, 04:25 AM Post #9 |
|
Member
|
Cool... Nice! I've been looking for this code all day! |
![]() |
|
| Gust | Apr 26 2005, 02:25 PM Post #10 |
|
Supreme ruler of madness
|
question i notice you got a shoutbox on the side meu genious really but does this slow the site down (it refreshes along with site normally when shoutbox placed on board) or does it maintain speed since it's in it's only little side area thingy? |
![]() |
|
| Scarlet | Apr 26 2005, 02:34 PM Post #11 |
|
The World on a Silver Platter
|
I've taken off the shoutbox on my own boards, just to see if the speed changes, and to tell you the truth, it does. How fast or slow the board goes (when you include this sidebar) depends on how much you have going on in the menu. I think it also depends on where you get your shoutbox from. The one I have now slows the page down a lot more than my old shoutbox, in which the coding itself wasn't as complex. But, if you want a 100% accurate answer, you may want to ask one of the staff on here. As I said, I'm quite new to posting up codes on here, and this sidebar is the very first code I've ever done on my own. |
![]() |
|
| Scarlet | Apr 26 2005, 02:43 PM Post #12 |
|
The World on a Silver Platter
|
Jeez, I did say this was my first time. You didn't have to be so rude. Anyway, on my own board I took out the extra <center> tags, and closed the rest, but it screwed up the sidebar. If you use exactly as I have it here, your sidebar will look as it does in the preview (with your own affiliates and images, of course). If you want to take it and close the tags to make it look how you want, you're very free to. Sorry again, guys, I'm new at this. |
![]() |
|
| Wowowee | Apr 26 2005, 08:19 PM Post #13 |
|
Member
|
When I put the link to this part
It has a ip address before the URL... Example: http://123.0.0.1/s10.invisionfree.com/????/ |
![]() |
|
| Das | Apr 26 2005, 08:39 PM Post #14 |
![]()
Smells of rich mahogany
|
Nice code |
![]() |
|
| Scarlet | Apr 27 2005, 11:53 AM Post #15 |
|
The World on a Silver Platter
|
I don't know why that would be. If you just copy and paste the link of the destination page, then that shouldn't happen. It doesn't happen for me. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Code Snippets · Next Topic » |








3:54 PM Nov 22