Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

Reply
 
Thread Tools
Details »»

Version: , by Moonwolf Moonwolf is offline
Developer Last Online: Nov 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-07-2002 Last Update: Never Installs: 4
Is in Beta Stage  
No support by the author.

Hi all

Well, here goes my first v2 hack

This hack will replace the linear nav bar (Board Title > Category > Forum > sub forum) nav bar with a cascading one, where the categories drop down and indent.

Unfortunately, this hack will only change the navbar that is generated by vB, it won't change the hard coded nav bars in pages like the member list/profile. I still have to figure out how to do that.

The hack is clunky, probably could be done in 4 lines of code instead of what I've done it in, and be cleaner, but I've tested it down to a depth of 6 and it seems to work clean, and that's all that matters right now

I'm working on changing the hard coded sections to use the CP flag, so that this can work on the site and change if the CP changes.

Kathi

File: Post #41
Demo: http://www.underlight.com/VBB

Installer file for latest version now at Post #41. If you have installed this before the timestamp of that post, you should be fine.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-08-2002, 01:22 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have you got a demo?
Reply With Quote
  #3  
Old 01-08-2002, 01:25 PM
Moonwolf Moonwolf is offline
 
Join Date: Jan 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fonzerelli_79
have you got a demo?
Funny you should mention it, I came here to post an update because I forgot to put one in

There's a version of it at www.underlight.com/VBB

Kathi
Reply With Quote
  #4  
Old 01-08-2002, 01:28 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think ill give it a bash
it looks good

cheers
Reply With Quote
  #5  
Old 01-08-2002, 01:42 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did it word for word and nothing happened

do you think this is because i run vbportal?
Reply With Quote
  #6  
Old 01-08-2002, 01:47 PM
Moonwolf Moonwolf is offline
 
Join Date: Jan 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fonzerelli_79
i did it word for word and nothing happened

do you think this is because i run vbportal?
It could be, I don't run it so I don't know how it calls the navbar. You might want to go to your admin CP -> Options and set alt nav bar "Yes", even if it's currently set to "Yes". For some reason I had to submit options even with it already set to yes for it to work on mine.

Kathi
Reply With Quote
  #7  
Old 01-08-2002, 02:29 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got it working

heres what i done

*set the nav bar settings to yes like you said
*wrapped the $altnavbits round a smallfont like this <smallfont>$altnavbits</smallfont>, to make the text to appear smaller (obviously)
* removed the spaces before the imagefolders in functions.php

the casvertline.gif doesnt look right though, see how its yellow instead of white

look at my attached image
Reply With Quote
  #8  
Old 01-08-2002, 02:58 PM
Moonwolf Moonwolf is offline
 
Join Date: Jan 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fonzerelli_79

the casvertline.gif doesnt look right though, see how its yellow instead of white
That's wierd. Maybe I did something wrong in photoshop. I'll check it out and see.

Kathi
Reply With Quote
  #9  
Old 01-08-2002, 03:03 PM
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks - appreciate it

also, i didnt like the big white space which this new bar left at the right so i added a banner in this space using this code

Code:
<table border=0>
<tr>
<td align=left>
<smallfont>$altnavbits</smallfont>
</td>
<td align=right>
banner ad
</td>
</tr>
</table>
you can see what it looks like in the image attached
Reply With Quote
  #10  
Old 01-08-2002, 03:08 PM
Moonwolf Moonwolf is offline
 
Join Date: Jan 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice use. Underlight's nav buttons will be taking up the space on that site, but I don't know what anyone else is using, so I just leave it up to them.

Now if only you could see the light and admit that Albion rules

Kathi
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:22 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.10860 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete