vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Navbar (https://vborg.vbsupport.ru/showthread.php?t=96956)

filburt1 09-26-2005 06:43 PM

Navbar
 
I have reduced my navbar template from the stock 219 lines of code to 5:
HTML Code:

<if condition="is_array($navbits)">
        <strong>You are here:</strong> <a href="index.php?$session[sessionurl]">$vboptions[bbtitle]</a> <span class="breadcrumb-separator">&raquo;</span>
        <a href="$vboptions[forumhome].php?$session[sessionurl]">Forum Listings</a>
        $navbits[breadcrumb]
</if>

Simplicity > Javascript, plus I completely rewrote the navbar into the header (around 20 lines of code there) maintaining the links I wanted. Behold the power of semantic markup.

BamaStangGuy 09-26-2005 07:04 PM

I disagree I dont care for your approach, but to each their own.

filburt1 09-26-2005 07:12 PM

How so? I think vBulletin has gotten far too complex for the average Internet user, but as you say, each to his own.

Andreas 09-26-2005 07:19 PM

Congratulations - you've stripped out all the Menu Items which make it easy to navigate and still keep the screen somewhat organized.

*shakes head*

TruthElixirX 09-26-2005 07:21 PM

So like where are the links?

My users would hate this, and they are not all computer oriented.

filburt1 09-26-2005 07:37 PM

They're in the header, which itself is very little markup styled with a lot of CSS. http://www.webdesignforums.net/sitew...t_5_21452.html has screenshots.

The markup is only around a hundred lines total for my entire header, navbar, and footer. The style is backed by 23.5 KB of CSS (which only needs to be downloaded once by the user and is then cached to save bandwidth).

Great numbers of menus != ease of navigation. You may find it intuitive simply because you are used to using discussion forum software for so long, especially vBulletin. Others have no clue where to start. It took me forever to learn that the "CP" in "User CP" meant "Control Panel." Just saying "Control Panel" (what I do now in WDF v5) or "Edit Profile" or "Edit Options" is clearer.

It's the little things.

edit: also note the clearly exposed and labeled Seach field in the screenshots, something critical to a design I have come to learn. Exposing it behind a DHTML menu is not as beneficial.

bigcurt 09-26-2005 07:46 PM

/me runs to find a dictionary

Now to look up about half the words you said :-D..haha.

~Curt

Boofo 09-26-2005 07:47 PM

Youy think the navbar is too complicated but css and javascript aren't? LOL

Oblivion Knight 09-26-2005 07:48 PM

Well I can appreciate what you've done, although I wouldn't go down that route myself.. :)

sabret00the 09-26-2005 07:50 PM

it's sweet in my opinion, of course i have my greivences (sp:?) with your simplcising (word:?) mehtods, as i think some make it harder to nav, especially for vB-experts, but i like the overall idea, and it's not too close to my next overall idea :)

filburt1 09-26-2005 07:56 PM

Quote:

Originally Posted by Boofo
Youy think the navbar is too complicated but css and javascript aren't? LOL

CSS by itself is not complicated compared to non-semantic markup like using tables for layout (yes you should use them for tabular data...i.e., data that is naturally represented as a table in other mediums). I only used a bit of Javascript (none for rollovers, CSS for that) and that Javascript is for entirely nonessential functionality.

I do agree that for those who browse default vB layouts in their sleep that it would be more difficult to use. However, those people are a tiny minority of forum users. And yes, I did a survey (no I didn't).

My new layout is just as functional as the old one. It simply presents the options in a clearer manner for more inexperienced users, IMO.

edit: next I'm going to gut headinclude as much as possible. My current design already doesn't use a single line of standard vB CSS, just all my own selectors. I suppose that is a bigger challenge. I haven't looked at the visual style editor yet for this new design and don't really plan to, given I'm doing it all manually. I can't wait to see how much bandwidth I'll save, probably over 50% per page.

Quote:

Originally Posted by sabret00the
it's sweet in my opinion, of course i have my greivences (sp:?) with your simplcising (word:?) mehtods, as i think some make it harder to nav, especially for vB-experts, but i like the overall idea, and it's not too close to my next overall idea :)

Grievances, simplification. I use big words. :(

filburt1 09-26-2005 07:59 PM

I regret to inform you that it is now 7 lines of code. I write such bloat.
HTML Code:

<if condition="is_array($navbits)">
        <div id="framework-breadcrumbs">
                <strong>You are here:</strong> <a href="index.php?$session[sessionurl]">$vboptions[bbtitle]</a> <span class="breadcrumb-separator">&raquo;</span>
                <a href="$vboptions[forumhome].php?$session[sessionurl]">Forum Listings</a>
                $navbits[breadcrumb]
        </div>
</if>

Needed that <div> in there for some styling.

Hint: here's part of the CSS:
Code:

div#framework-breadcrumbs
{
        padding: 0.5em 0px 0.5em 0px;
        border-top: 1px solid #CCCCCC;
        border-bottom: 1px solid #CCCCCC;
        margin-bottom: 1em;
}

span.breadcrumb-separator
{
        font-weight: bold;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
}

And here's the top of my master framework style sheet:
Code:

@import url('framework-links.css');
@import url('framework-search.css');
@import url('framework-navbar.css');
@import url('framework-infobar.css');
@import url('framework-footer.css');
@import url('framework-adsense.css');
@import url('framework-messages.css');
@import url('framework-awards.css');

Modularity == good. Most of those CSS files are only 20 lines or so. The one controlling vB's frustrating tables is a whopping 125 and named wittingly (and does not bear repeating here, although wait until the final version).

I like reading my own comments:
Code:

span.postbit-counter
{
        padding: 5px;
        width: 18px;
        height: 15px;
       
        font-size: 12px;
        font-family: Arial, Verdana, Helvetica, sans-serif;
        font-weight: bold;
       
        position: absolute;
        left: 57px;
       
        text-align: right;
       
        border: 1px solid gray;
       
        background-color: white;
        color: black;
}

span.postbit-counter[class="postbit-counter"] /* stop freaking using IE, people, and you won't SEE hacks like this */
{
        border: none !important;
        background-color: inherit !important;
        color: inherit;

        background-image: url(../images/postcounterbg.png);
        background-position: right center;
        background-repeat: no-repeat;
}


Andreas 09-26-2005 08:01 PM

Saving bandwidth is nice. However, I think it is not that important keeping in mind that most users will have broadband access anyway.

filburt1 09-26-2005 08:04 PM

True, especially for my forum. I'm more concerned with the bandwidth savings that I'll enjoy. I recently upgraded my hosting plan to 29 GB/month and hopefully won't have to do it again for a very long time.

(edited your post by accident, Kirby, but restored it...I'm such a jackass)

Andreas 09-26-2005 08:06 PM

29 GB/month is not much ... i'v got 100 included with my crappy VPS.
Our board produces approx. 200 GB/month.

Erwin 09-27-2005 01:10 AM

My site uses more bandwidth than that in a day. :)

I really do need to cut down on my menu options though. However, the moment I remove one link, my members complain.

Princeton 09-27-2005 11:39 AM

Regarding vBulletin:
I agree the navbar is BLOATED.
The search dropdown is a huge MISTAKE.

Regarding your modifications:
Your target audience understands the function of "breadcrumbs".

The "You are here" prepended to the breadcrumbs will only confuse people. If you really want to add such a feature I recommend that you append "You are here" to breadcrumb; also, you may want to style it different from the breadcrumbs. On your site, the "You are here" looks like it is part of the breadcrumb. eg. Am I at "You are here" or "WDF v5 sneak peek, part 5"?

I would actually leave "You are here" out of the "breadcrumbs". Now-a-days, breadcrumbs are standard and visiible on all big sites. In other words, people understand what "breadcrumbs" are or could easily intepret the function of the "breadcrumbs". (repeat)

The 23k CSS file is a bit bloated don't you think? I do understand that it is needed especially for something like a vbulletin-run site. But, you may want to split it and use what is necessary. In this manner, the initial load for a dial-up user will not be as bad. (First impression is important.)

Overall, I think the project looks great and applaud your effort. :up:

Logikos 09-28-2005 07:59 AM

I've always admired your work and congratulate you on your new project. Keep it up! :)

Andreas 09-28-2005 08:03 AM

Quote:

Originally Posted by princeton
The search dropdown is a huge MISTAKE.

I disagree on that.
Most users don't need nor understand the Standard (Advanced) Search Form.
So why making it more complicated for them when the simple Keyword Input is enough?
I had zero complaints from my Users (about 35K at the moment) when we Implemented the dropdowns - in fact we got many congrats about the much cleaner/easier layout.

soniceffect 09-28-2005 09:45 AM

I would agree with Kirby on the search ..... I do understand the advanced search as with every other part of the board ... And I woud rather use the dropdown menu .. No other reason that it saves me waitin for the next page ..

Lazy I know LOL

Princeton 09-28-2005 10:58 AM

Quote:

Originally Posted by KirbyDE
I disagree on that.
Most users don't need nor understand the Standard (Advanced) Search Form.
So why making it more complicated for them when the simple Keyword Input is enough?
I had zero complaints from my Users (about 35K at the moment) when we Implemented the dropdowns - in fact we got many congrats about the much cleaner/easier layout.

I didn't say anything regarding the 'advanced search' ... my point is that the search function should be easily accessible and visible to everyone.

The search function shouldn't be hidden.
You shouldn't make your users 'search' for it.

In fact, it should be the first thing that is VISIBLE on your site. That...and a link to your site map.

The key here is to provide the standard site tools in a usable manner so that your new and existing users can enjoy your site.


Just think about it for a moment...

A new user visits your site...
They have questions but would rather search first -- Where is the search function?
Do you have one?
It's not visible?
Wait, they don't give up there ... they start looking for a "search" link starting from the top.
They find one. But are disappointed that it's not on the page.
They click on the link.
IT'S A DROP DOWN!


I'm not sure about you but at this point why not direct user to serch page? You made them do all this work. For what? A dropdown.

Now, if they want to use the advanced search they will have to click another link. :)

What do you think is easier?
Search for link / click a link for a dropdown / input / submit
OR
Input / submit

Andreas 09-28-2005 11:13 AM

Quote:

Originally Posted by princeton
I didn't say anything regarding the 'advanced search' ... my point is that the search function should be easily accessible and visible to everyone.

It is visible for everyone.
JS users will click and see the input, Non-JS will click and see the form.
How more intuitive could it be (except directly displaying the input on every page, which is just clutter IMHO)?.

If I want to search somewhere I click search, what do you do?

Quote:

What do you think is easier?
I think this is easier than linking to the form.
Basically it's the same discussion we had about linking the edit button to quick edit instead of linking to the full editor as it was in older versions.

Princeton 09-28-2005 11:45 AM

USABILITY is the key to success.

I'm sure you will agree with the below statement:
  • In order for a product to be successful, it has to be user-friendly, efficient, and accessible by everyone.
  • A goal (searching for item) should be achieved with little interaction.

Which one do you think meets the above criteria?
  1. search visible on all pages
  2. search in a dropdown

Andreas 09-28-2005 11:48 AM

Quote:

Originally Posted by princeton
Which one do you think meets the above criteria?
  1. search in a dropdown

:)
Different opinions.
Search is visible on all Pages (except standard_error if I am right).

soniceffect 09-28-2005 12:05 PM

Personally I think clicking 'search' to search would constitute little interaction.

filburt1 09-28-2005 02:32 PM

YOU SHOULD NOT HAVE TO CLICK EVER TO EXPOSE A SEARCH FIELD. It is the single most important element to display on any moderately-sized site.

Andreas 09-28-2005 02:36 PM

No need for shouting :)
It's your opion, please accept that others might have other opinions - thank you.

filburt1 09-28-2005 03:48 PM

I am a very opinionated individual. Sorry if it came across as shouting.

Andreas 09-28-2005 03:52 PM

All uppercase = shouting :)

Logikos 09-28-2005 04:09 PM

All uppercase == shouting :p

Boofo 09-28-2005 05:34 PM

No, it's:

All UPPERCASE = shouting. ;)

Andreas 09-28-2005 05:54 PM

Quote:

Originally Posted by Live Wire
All uppercase == shouting :p

Strictly speaking, yes :D


All times are GMT. The time now is 12:26 AM.

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.01854 seconds
  • Memory Usage 1,821KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete