Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
  #1  
Old 05-06-2010, 01:48 PM
GameExploiters GameExploiters is offline
 
Join Date: Feb 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to make a duplicate navbar template

I was wanting to create my own custom templates under my current skin. I don't want to use the original navbar. I want to create an all new one with totally different links than the forum one has.

The original has Forums, Whats New then below it has New Posts and Form Actions and all of that. I want to make a new custom template using a whole separate navbar but it will look the same but at the top have like Index1 Index2 Index3 below it will have actions yo can do on the page. Something like that.

How can I do this in an easy way? How would I call to the new template as I have tried duplicating it custom_navbar1 then trying $navbar1 and $custom_navbar1 yet doesn't work but i think for using that you need to add more so how can I do this. Please Help
Reply With Quote
  #2  
Old 05-11-2010, 06:52 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would create a new style and just change the navbar and then assign that styleid to the custom page you are creating. Or, you could do a big condition on the navbar and basically say "if any-page-but-custom, use standard navbar code, else use this other navbar code".
Reply With Quote
  #3  
Old 05-11-2010, 09:27 PM
GameExploiters GameExploiters is offline
 
Join Date: Feb 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah but I'm not a coder so how can i do this lol?
Reply With Quote
  #4  
Old 05-12-2010, 02:30 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you can't do any html, then you may want to find someone who can do it for you. There is no modification you can just upload that is going to do this for you. You are going to have to write a little bit of code.
Reply With Quote
  #5  
Old 05-18-2010, 02:59 PM
GameExploiters GameExploiters is offline
 
Join Date: Feb 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like here's what I want.

http://img121.imageshack.us/img121/9647/83938183.png
http://img291.imageshack.us/img291/2567/63184760.png

The one with the red arrows I want those links removed and I want to be able to add custom ones. I've been using the vBTabs mod on vbulletin.org to add more tabs. Yet I edited the mod to work on the rendered template except I don't know how to render it right now. I want the same template to appear like that so i can edit it normally. I don't want those navbar links on the GunZ page.

How can I do this without replacing the old links? There's a way to do it and register the variables. But nobody is explaining it. Like Do this to this and duplicate this and so on. I want a guide on it. It really can't be that hard, vbulletin 4.x has to be so complicated, 3.x was a great version only reason for going to 4.x is because it looks much more professional.
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:13 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.07379 seconds
  • Memory Usage 2,192KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete