Log in

View Full Version : Vertical site navigation


peterska2
10-25-2005, 10:00 PM
This hack requires one of the following to be installed:

AmyKhar's Right Column On Every Page (https://vborg.vbsupport.ru/showthread.php?s=&threadid=94495)
AmyKhar's Left Column On Every Page (https://vborg.vbsupport.ru/showthread.php?s=&threadid=91888)


Without sounding obvious, what this does is creates a vertical navigation system on your site. It can be used on either the left or right side depending on which of the above hacks are installed.

To install, download the text file and follow the instructions.

Template edits - 2
Phrase edits - 1

Screenshots of logged in and logged out are attached.

Don't forget that install button if you use this!



Just realised, I took the screenshots before changing the bar header. It now has the name of your site there - not block name!

Updated 14 April 2006: Fixed gap after Todays Posts

To upgrade Find

<tr><td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td><tr>Replace with
<tr><td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td></tr>

Important information regarding support - 20/04/06
Due to time constraints and the amount of things that are being planned for future modifications, priority support will now be provided here (http://www.peterska2.co.uk/showthread.php?t=19198). Support provided in this thread will be on an as and when basis.

plubius
10-26-2005, 12:39 AM
Looks good, m8. Thanks.

sitka
10-26-2005, 06:48 AM
sweet!

Snake
10-26-2005, 08:23 AM
Nice!

Koopa
10-26-2005, 11:49 AM
Nice change :)

Wired1
10-26-2005, 02:43 PM
Could someone post a link to this hack on a live site? Curious as to how it looks.

peterska2
10-26-2005, 02:49 PM
My new site will be launched in a couple of days and this will be the navigation on there. In the meantime, unless someone else posts a link you will have to make do with the screen shots.

My launch date is Saturday 29th October 2005, so if you don't here I'll be posting that link in this thread for a live look then.

Parture
10-26-2005, 09:23 PM
Is it possible to get the right colum border to match the left column border width equidistant to the the edge of the tables?

http://biblocality.com/forums

peterska2
10-26-2005, 09:28 PM
it looks spot on to me. can you post a screen shot of exactly what you want changing?

Parture
10-26-2005, 11:43 PM
The right side is wider than the left side, not by a lot, but it would still be nice to have them be the same.

http://biblocality.com/forums

peterska2
10-27-2005, 09:19 AM
ok, in the right_column (or left column if you are using that)

FIND

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">

It's the second line, right after the opening <'br /'>

REPLACE WITH

<table align="right" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">

It gives it a shove to the right so the gap between the forumbits and navigation block is wider and the gap to the edge of the forum is matching with the left.

If you want to widen the block at all change the width setting in the above line. Don't use 100% though as that sticks it to the forumbits and looks awful!

NxTek
10-27-2005, 02:58 PM
Will there be any support for vBadvanced in the future?

peterska2
10-27-2005, 10:57 PM
Possibly. I'll be looking into it once I'm up and running with my new site, so it'll probably be at some point next week.

Parture
10-27-2005, 11:08 PM
<a href="http://biblocality.com/forums/" target="_blank">http://biblocality.com/forums/</a> The columns look great now. Thanks!

Is there a way to make the welcome_x phrase remain the same in the one spot, but not two lines in the vertical?

Plus, any recommendations for improvements?

pock
11-07-2005, 08:40 AM
Ok i installed it but the problem is that i was using a fixed size forum (width of 760), should i just change the width to something more? Or is there a better way around this? Thanks

peterska2
11-07-2005, 09:44 AM
you will need to increase the width as the navigation bar has a width of 160 (or it could be 170) so it would make your forums tiny otherwise.

yinyang
11-07-2005, 06:15 PM
http://biblocality.com/forums/ The columns look great now. Thanks!


Is there a way to make the welcome_x phrase remain the same in the one spot, but not two lines in the vertical?

Plus, any recommendations for improvements?

add wrap="no wrap" to the in the <td >. i think that should work. however, if someone's name is really long, it may push the box bigger...not sure.

peterska2
11-15-2005, 12:41 AM
Could someone post a link to this hack on a live site? Curious as to how it looks.

Live link = www.dontgiveashite.com

Chadi
12-01-2005, 10:35 PM
any way to add this to forumhome? I'm trying to implement in the vertical navbar on my right side column in forumhome

Custom Navbar Links
https://vborg.vbsupport.ru/showthread.php?t=98934

peterska2
12-01-2005, 11:15 PM
Where's your forums at? Depending on your set up is how you will apply it.

By design this goes on every page replacing the links in the navbar.

Chadi
12-02-2005, 12:06 AM
<a href="http://www.talkjesus.com" target="_blank">www.talkjesus.com</a>

As you will see the "extras" link and even "favorites" link (must be logged in for favorites) show the links / drop down arrow .gif but does nothing when clicked on.

As a matter of fact, I copied/pasted the proper code as their readme files stated.

peterska2
12-02-2005, 10:17 AM
That's because popup menu's don't work in it as I haven't coded it to do so. Just add each item in individually. Being vertical, you aren't pushed for space so that doesn't matter.

Chadi
12-02-2005, 10:47 AM
I have already added them as you can see. Just curious, when do you think you will add the code to acknowledge the drop downs?

Thanks again

peterska2
12-02-2005, 11:25 AM
At the moment, not in the forseeable future. December is always a hectic month for me, so it depends on what sort of backlog of stuff I have come January.

BTW, I'd remove the 'extras' entry if I was you. Just leave it with the items and not the headings.

Viks
12-04-2005, 10:56 PM
I've followed the instructions.. but I see a "<" right above the block!

I'm not sure where this character < is coming from??
Can you help Peterska2??

http://www.thalforum.ca/root/forums/index.php?

thanks

======fixed it===========
sorry./thanks

Justdave
12-10-2005, 12:54 PM
Pretty annoying when someone posts a problem, figures it out for himself, then fails to post the found resolution.

I have the same problem with the "<"

peterska2
12-10-2005, 04:29 PM
It's in the header template. Unfortunately there is a bug in amykhars code in the header template edit which contains the following<<tdif you replace this one instance with<tdthen the mystery < will be deleted

Justdave
12-10-2005, 05:01 PM
Thanks!!! I appreciate you taking the time to resolving this. :classic:

Justdave
12-10-2005, 05:03 PM
One more question/request.

I have vBradio. I tried to simply add the button to the Left column, but that was not enough to get the radio to launch. Any idea what I'm not doing right?

peterska2
12-10-2005, 10:34 PM
One more question/request.

I have vBradio. I tried to simply add the button to the Left column, but that was not enough to get the radio to launch. Any idea what I'm not doing right?

I'll have to have a look at the vbradio code and get back to as I've never used it myself.

Justdave
12-10-2005, 10:50 PM
That would be great!!!

Thanks!!

StarBuG
12-16-2005, 09:44 AM
Any chance to get conditionals work on the sitebar template?

I try to move the pm block to the side as well where new messages are shown

peterska2
12-16-2005, 01:42 PM
I've not actually thought about doing that. It won't be till next year now though as after today I'm offline till 02 Jan 06 due to the hecticness of Christmas.

Justdave
12-16-2005, 03:49 PM
I figured out that vbradio "not opening" problem. I see now how the left column and Navbar work together. :)

peterska2
12-17-2005, 12:01 AM
I'm glad you got it sorted.

If possible could you post the fix for this then others who experience the same problem can find the answer.

Thanks.

GrendelKhan{TSU
12-17-2005, 12:21 AM
I'm glad you got it sorted.

If possible could you post the fix for this then others who experience the same problem can find the answer.

Thanks.

what he said. ;)

Viks
12-27-2005, 10:13 PM
peterska2,

my navbar is currently moded and if I replace all the contents with the ones in your text file then I will lose the modifications.

could you tell me what did you change in the navbar tempelate?

thanks

Viks
12-29-2005, 01:10 PM
Hi Peterska,

Is it possible to show RSS feeds in the left/right coloumn block??
May I request you to consider making a addon to display RSS content in the coloumn...

thank you.

vik

peterska2
01-06-2006, 08:26 PM
Viks,

You will probably still want to replace your navbar with the replacement text in the instructions. However, to add additional stuff to your vertical navbar you will need to use the format

<tr><td class="vbmenu_control"><a href="link">Label</a></td></tr>

Any other content such as RSS feeds are not covered by this hack. Try looking in AmyKhar's original threads.

0xid0
01-13-2006, 01:37 PM
Does someone know how to do in order that at the moment of visualizing messages the blocks do not appear?

Regards and thanks

peterska2
01-13-2006, 10:37 PM
I'm not sure exactly what you mean by that. Can you provide more details (and pics too if possible) then I can look into it.

0xid0
01-14-2006, 01:29 AM
Hi, I sit it if I do not express well, it is that I am Spanish.

I want something as it of www.carforums.net that if you read the forums go out the blocks (example http://www.carforums.net/forumdisplay.php?f=112) but if you begin to read the messages the blocks do not appear (example= http://www.carforums.net/showthread.php?t=274). Has he understood me now??

0xid0
01-15-2006, 11:48 AM
up, help

peterska2
01-15-2006, 09:46 PM
You'd need to change the left/right sidebar hack for one that only shows on the forum home and not globally. This mod will still work with any sidebar mod, but was particularly designed to work with amykhars sidebar on all pages mods.

0xid0
01-16-2006, 09:15 AM
Then what I have to do, to wait for a new mod of amykhars? (It is that I have not understood him very well, I sit it)

ged
01-20-2006, 03:13 PM
peterska, this mod is wonderful but will you make it compatible with vbadvanced?

peterska2
01-20-2006, 09:41 PM
It works with vBAdvanced, just don't put anything in your left column on there and you can disable the module with the login box and stuff in.

If the links don't work (they should) add $vboptions[bburl]/in each link after<a href="

If you get stuck, give me a poke.

TCHQ-0wn4g3
01-31-2006, 07:38 PM
I am trying to use your code in combination with Amy's code and I am not getting the desired effect. It would appear to me that the two columns are not merging together as one yet there both seperate. I have followed your directions twice and reinstalled both from scratch twice and I am still dumbfounded. Any clue as to what I am doing wrong?

I have included a screenshot attachment to see what is going on.

peterska2
02-12-2006, 01:55 AM
You need to replace Amy's code with mine in the left_column (or right_column) template, not add it to it.

TCHQ-0wn4g3
02-12-2006, 02:11 AM
I'm pretty sure thats what I did but I will give it another try

peterska2
02-12-2006, 02:14 AM
let me know how you get on.

zurv
03-28-2006, 05:37 AM
Hey guys,

I have just starting using this hack and would like to know how I can include the 10 most recent discussions in the right hand bar.

I have searched and searched, and cannot seem to get any hacks to work with the right hand bar.

Any ideas? Has anyone here done it?/

Thanks in advance,

Btw Great hack!!

peterska2
04-04-2006, 02:23 AM
it's possible, but I don't know the hacks so don't know how to make them work with this. generally speaking though, I would place the code to go in the navbar in the appropriate column template and modify the layout accordingly.

GrantHorizons
04-08-2006, 01:30 PM
If we wanted to do a vertical site navigation but still have fly outs for the submenus, is that possible? Couldn't tell from the thumbnail.
Thanks
Susan

peterska2
04-08-2006, 01:35 PM
I've not actually got that working correctly yet, so at the moment it is a no.

It is on my possible upgrades list, but at present my time is very tight due to personal stuff, so it won't be done right away. Hopefully it won't be too long before I can do it, but you can never tell what is going to happen.

Chad F.
04-10-2006, 10:35 PM
Does anyone know how I could go about adding the PM info, when the person last visited etc.? Thanks.

Roms
04-10-2006, 11:15 PM
Good idea! :)

peterska2
04-11-2006, 08:34 AM
Does anyone know how I could go about adding the PM info, when the person last visited etc.? Thanks.

That is on the feature list for an upgrade. I simply haven't got round to doing it yet as I have been incredibly busy.

When I get to it, I'll let you know.

Chad F.
04-12-2006, 01:41 AM
That is on the feature list for an upgrade. I simply haven't got round to doing it yet as I have been incredibly busy.

When I get to it, I'll let you know.

Ok, thank you.

Chad F.
04-12-2006, 11:39 PM
One more thing, why is there a gap above Search? Is it possible to be removed? Thanks.

peterska2
04-13-2006, 01:08 AM
One more thing, why is there a gap above Search? Is it possible to be removed? Thanks.

Is there?

Edit the template and remove the lines between search and whatever is above it on your site.

Chad F.
04-13-2006, 01:20 AM
No its not that, even in your screen shot the gap is shown...it is only like 1px.

It's not a big deal or anything, I'm just a little picky. :D

ginso
04-14-2006, 01:03 PM
<tr><td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td><tr>

<tr><td class="vbmenu_control"><a href="search.php$session[sessionurl_q]">$vbphrase[search]</a></td></tr>


just replace </td><tr> with </td></tr> after today's posts and that gap is gone.

peterska2
04-14-2006, 01:32 PM
ooops. I'd never even noticed that myself.

I've updated the install file.

Chad F.
04-14-2006, 08:48 PM
<tr><td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td><tr>

<tr><td class="vbmenu_control"><a href="search.php$session[sessionurl_q]">$vbphrase[search]</a></td></tr>

just replace </td><tr> with </td></tr> after today's posts and that gap is gone.

Thanks!

manjoine
04-19-2006, 03:12 PM
anyone listing the forums in the naviagation aswell?

like using forumlist but without info just the names with links to the forums?

zurv
04-19-2006, 07:46 PM
anyone listing the forums in the naviagation aswell?

like using forumlist but without info just the names with links to the forums?


I would also like ot know how to do this...

Zero767
04-19-2006, 09:32 PM
Nice addition, I just may use it for my next skin.

peterska2
04-19-2006, 10:01 PM
anyone listing the forums in the naviagation aswell?

like using forumlist but without info just the names with links to the forums?

You would need to add all the info in manually as links as it stands at present.

peterska2
04-19-2006, 10:06 PM
Important information regarding support - 20/04/06
Due to time constraints and the amount of things that are being planned for future modifications, priority support will now be provided here (http://www.peterska2.co.uk/showthread.php?t=19198). Support provided in this thread will be on an as and when basis.

efil
05-05-2006, 08:32 AM
Hi,
how I can make a coulmn with the last ten posts from the forum?

Thank you,
Efil.

OKIHost
06-10-2006, 03:16 PM
For some reason when not logged in the main login box table appears wider than it is when you are when logged in so it makes everything look off unless logged in.

Here is a picture when logged in looking as it should:
http://www.ImageTrunk.com/uploads/fdb10d3018.png

but if you don't login or just visit the forums you get this
http://www.ImageTrunk.com/uploads/ba381c295c.png

I have tried uninstalling and reinstalling both the left sidebar and sidebar navigation mods but still get the same result.

peterska2
06-10-2006, 03:28 PM
For some reason when not logged in the main login box table appears wider than it is when you are when logged in so it makes everything look off unless logged in.

Here is a picture when logged in looking as it should:
http://www.ImageTrunk.com/uploads/fdb10d3018.png

but if you don't login or just visit the forums you get this
http://www.ImageTrunk.com/uploads/ba381c295c.png

I have tried uninstalling and reinstalling both the left sidebar and sidebar navigation mods but still get the same result.

that is because of the width of the user name text plus text box.

I'll have another look at it over the next few days as I have some improvement ideas also.

OKIHost
06-10-2006, 03:37 PM
Thanks! Do you think removing the left bar navigation fix the issue for now?

peterska2
06-10-2006, 03:47 PM
heres a fix for your problem. I'll include it properly in the next update.

FIND

<tr>
<td class="smallfont">$vbphrase[username]</td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>

</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" size="10" accesskey="p" tabindex="102" /></td>
</tr>

Replace with

<tr>
<td class="smallfont">$vbphrase[username]</td>
</tr>
<tr>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>

</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
</tr>
<tr>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" size="10" accesskey="p" tabindex="102" /></td>
</tr>

That will force the input boxes onto new rows.

OKIHost
06-10-2006, 03:58 PM
That worked great! Thanks a ton much appreciated!

squall leonhart
07-06-2006, 11:36 AM
Cool! I absolutely install this mod. I was looking for it for a long time ^^

Bass Nutz
12-09-2006, 10:16 AM
How in the hell do I fix this?

http://www.bassnutz.com/index.php?

I'm trying to get that smooth look on the side navigation bar, but I get this.....


(Scroll to the bottom, and I loose my navigation bar as well.. :surprised:

Bass Nutz
12-09-2006, 05:16 PM
Somebody Please HELP ME!!!!! My Sponsors are going crazy looking for their banners........


One last plead....



HELP ME!!!!!!




Thanks you! :classic:

blindman4556
06-14-2007, 10:46 PM
is there a way to make it say Welcome, blindman4556. You have 0 unread messages; Total 0.
You last visited: Today at 14:03. instead of just Welcome, blindman4556.