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:
Add Reply
[CODE] Sidebar Menu; By Scarlet
Topic Started: Jan 23 2010, 01:05 AM (2,793 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Scarlet
[CODE
 
Sidebar Menu]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.
Quote:
 


<table width="100%" class='0' cellspacing="5" cellpadding="-1">
<tr>
<td width="150" class='0' valign="top">
<center>
<div class='tableborder'>
<div class='maintitle'><img src='http://i1.ifrm.com/style_images/1/nav_m.gif' border='0' alt='' width='8' height='8'>Section Title</div>
<div class='tablepad'>
<span class='desc'><center>Welcome phrase </center></span>

<a href='link to forum/thread' style='text-decoration:underline-overline'>Name of link</a><br />

<a href='link to forum/thread' style='text-decoration:underline-overline'>Name of link</a><br />

<a href='link to forum/thread' style='text-decoration:underline-overline'>Name of link</a><br />

<a href='link to forum/thread' style='text-decoration:underline-overline'>Name of link</a><br />

<a href='link to forum/thread' style='text-decoration:underline-overline'>Name of link</a><br />
</div>
<br />


<div class='tableborder'>
<div class='maintitle'><img src='http://i1.ifrm.com/style_images/1/nav_m.gif' border='0' alt='' width='8' height='8'>

<a href='board's main link/index.php?&act=Msg'>Personal Messages</a></div>

<div class='tablepad'><span class='desc'>Click <a href='board's main link/index.php?act=Msg'>here</a> to read your personal messages.<p>
Click <a href=board's main link/index.php?act=Msg&CODE=04'>here</a> to compose a new message.</span></div>
</div>
<br />


<div class='tableborder'>
<div class='maintitle'><img src='http://i1.ifrm.com/style_images/1/nav_m.gif' border='0' alt='' width='8' height='8'>Member/Topic Info</div>
<div class='tablepad'>

<a href='board's main link/index.php?act=Search&amp;CODE=getactive' style='text-decoration:none'>Today's Active Topics</a><br />

<a href='board's main link/index.php?act=Stats' style='text-decoration:none'>Today's Top 10 Posters</a><br />

<a href='board's main link/index.php?act=Members&max_results=10&sort_key=posts&sort_order=desc' style='text-decoration:none'>Overall Top 10 Posters</a><br />

<a href='board's main link/index.php?act=Stats&amp;CODE=leaders' style='text-decoration:none'>Contact Staff</a>
<br />
</div>
</div>
<br />


<center>
<br />
<div class='tableborder'>
<div class='maintitle'><img src='http://i1.ifrm.com/style_images/1/nav_m.gif' border='0' alt='' width='8' height='8'> Affiliates</div>

<center>
<div class='desc' style='padding:3px'>
<a href='affiliate link><img src='affiliate image'></a>
</div>

<div class='desc' style='padding:3px'>
<a href='affiliate link><img src='affiliate image'></a>
</div>

<div class='desc' style='padding:3px'>
<a href='affiliate link><img src='affiliate image'></a>
</div>

<div class='desc' style='padding:3px'>
<a href='affiliate link><img src='affiliate image'></a>
</div>

<div class='desc' style='padding:3px'>
<a href='affiliate link><img src='affiliate image'></a>
</div>

<div class='desc' style='padding:3px'>
<a href='affiliate link><img src='affiliate image'></a>
</div>

<div class='desc' style='padding:3px'>
<a href='affiliate link><img src='affiliate image'></a>
</div>


<br />
</div>
</div>
<br />


<img src='http://i1.ifrm.com/style_images/1/spacer.gif' alt='' width='140' height='1' />
</td>
<!--SPACER-->
<td width="5" class='0'>&nbsp;</td>
<td width="90%" class='0' valign="top">



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

Quote:
 
<a href="http://support.invisionfree.com/index.php?showtopic=133904">Sidebar Menu</a> by <a href="http://s6.invisionfree.com/magicsfinest">Scarlet</a>





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.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply