vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Vertical site navigation (https://vborg.vbsupport.ru/showthread.php?t=99318)

peterska2 10-25-2005 10:00 PM

Vertical site navigation
 
This hack requires one of the following to be installed:

AmyKhar's Right Column On Every Page
AmyKhar's Left Column On Every Page


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!

[high]Updated 14 April 2006: Fixed gap after Todays Posts[/high]

To upgrade Find
Code:

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


<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. 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

Code:

<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

Code:

<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

Quote:

Originally Posted by Parture
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

Quote:

Originally Posted by Wired1
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
Code:

<<td
if you replace this one instance with
Code:

<td
then 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

Quote:

Originally Posted by Justdave
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

Quote:

Originally Posted by peterska2
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

Code:

<tr><td class="vbmenu_control"><a href="[high]link[/high]">[high]Label[/high]</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


All times are GMT. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04228 seconds
  • Memory Usage 1,815KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete