vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Adjusting navbar order? (https://vborg.vbsupport.ru/showthread.php?t=259477)

need2fart 02-26-2011 07:03 AM

Adjusting navbar order?
 
http://img696.imageshack.us/img696/6210/30452281.png

I want to swap the positions of those 2 navbars. Does anyone know how I can move the placement? Thanks. And if so, what is it called? Because aligning left would make it go all the way left... and align right? I'm not sure if that is the right way to do it. Is there a better way?

Lynne 02-26-2011 03:51 PM

How was the Exchange tab added? If by plugin, then try changing the template_hook it is using.

need2fart 02-26-2011 07:55 PM

Quote:

Originally Posted by Lynne (Post 2167161)
How was the Exchange tab added? If by plugin, then try changing the template_hook it is using.

Thanks Lynne for the reply.
I think it's by plugin. How do I change the template_hook to swap places? And I found this and tried using align="left" and it didn't work.

Code:

<li><a class="navtab" [S]align="left"[/S] href="{vb:raw vboptions.bburl}/itrader_main.php?{vb:raw session.sessionurl}">{vb:rawphrase itrader_navbartitle}</a></li>
That is a template called itrader_navbar_tab As a plugin would I just find that template or something, and align it left?

Lynne 02-26-2011 08:00 PM

I think you will need to ask this in the modification thread if you don't know how to do it since I know absolutely nothing about that mod.

need2fart 02-26-2011 09:25 PM

Quote:

Originally Posted by Lynne (Post 2167287)
I think you will need to ask this in the modification thread if you don't know how to do it since I know absolutely nothing about that mod.

Thanks for the reply again Lynne.
I posted on the thread I hope they know what to do.

Also as a side note how would I actually add my own tabs to the navbar and sort the display order?

Lynne 02-26-2011 09:30 PM

You would add your own navtabs either via a plugin (several articles in the vb4 articles forum) or a modification. Most methods use the template_hooks and also pick the execution order to figure out which goes where.

need2fart 03-02-2011 07:37 AM

Quote:

Originally Posted by Lynne (Post 2167326)
You would add your own navtabs either via a plugin (several articles in the vb4 articles forum) or a modification. Most methods use the template_hooks and also pick the execution order to figure out which goes where.

Lynne I saw a forum that had similar tabs as vbulletin.com.
  1. http://www.vbulletin.com/go/387
  2. http://www.vbulletin.com/go/412

I saw on another site the same link site.com/go/twitter and it was a navbar button that redirected to their twitter. And another that was site.com/go/download which downloaded their application.

How do you do that?

Lynne 03-02-2011 05:47 PM

I don't know what you mean. Did you look for any of the articles or modifications? None of those do what you want?

need2fart 03-04-2011 10:52 AM

Hey Lynnee :)

I mean I read the articles and everything is good but the plugins or hacks just were not what I was looking for.

My new task is figuring out how to make a redirection link haha. I was wondering if there's a way I can make special links in tabs that redirect to certain links.

For example if I made www.coolsite.com/go/download
it would redirect to www.download.com

Is there a way in vB to do that?

The only other way I know of to do this is... create a directory called /go/ and put a html index inside. Then inside the empty index.html put a meta-refresh pointing to www.download.com.

Sorry for my stupid questions this is the last. :)

Lynne 03-04-2011 04:07 PM

Redirection is something done on the server level, it isn't something you do with the tabs, so I'm sure of what your question is here.


All times are GMT. The time now is 12:13 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.01595 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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