Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-18-2010, 04:11 AM
AlexisMedia AlexisMedia is offline
 
Join Date: Dec 2010
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help inserting images under nav bar

I posted in the wrong thread but it doesn't seem to be getting moved so I'll put the link here:

https://vborg.vbsupport.ru/showthread.php?t=255451

Basically I used the additional.css file and created a test div named #test


I want to insert this right between these two div's here:




Code:
</div><!-- closing div for above_body -->

<div class="body_wrapper">
Where would I go to do that from this point to be able to call my divs via html? I don't want to insert it into my "above-body" or "body-wrapper" div. Rather, insert a new div between the two.

Sorry for a double post but I really need to get going with this and I'm worried that it's not getting seen in the vB3 forum as it's a vB4 question. I've read through the help files up and down but it really doesn't make any sense which part of the help menu to utilize if you aren't familiar with the vB process.

Thanks!
Reply With Quote
  #2  
Old 12-18-2010, 05:04 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit the template "navbar" and find the snippet:

Code:
<div class="body_wrapper">
'

You'll see it just as you posted then paste your div w/ css id or class included above it.

To get there go to:

AdminCP > Styles & Templates > Style Manager > *Drop down to "Edit Templates" in the drop-down menu beside the style name, now look for the "navbar" template it's in the template family "Navigation / Breadcrumb Templates ?"

That's the template you need to edit .
Reply With Quote
  #3  
Old 12-18-2010, 08:20 PM
AlexisMedia AlexisMedia is offline
 
Join Date: Dec 2010
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, ok cool. Sorry if it was kinda obvious but somehow I just wasn't getting it.

If I edit my templates in this way then what happens at typical updates and/or at the future vB5? Will I have to redo these each time? I understand that the additional.css file will remain untouched but I'm not sure about the templates themselves?

If I wanted to remove the nav-bar all together could I just delete all the nav-bar code within that nav template and that not effect anything in the future as well?

Thanks! Just wanting to be sure I understand this before making too many edits and regretting it later...
Reply With Quote
  #4  
Old 12-18-2010, 10:06 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlexisMedia View Post
Oh, ok cool. Sorry if it was kinda obvious but somehow I just wasn't getting it.

If I edit my templates in this way then what happens at typical updates and/or at the future vB5? Will I have to redo these each time? I understand that the additional.css file will remain untouched but I'm not sure about the templates themselves?

If I wanted to remove the nav-bar all together could I just delete all the nav-bar code within that nav template and that not effect anything in the future as well?

Thanks! Just wanting to be sure I understand this before making too many edits and regretting it later...
Your correct in assuming the regular templates may be overwritten or not merge correctly so yes, it's well advised you make a changelog as you go this way when you do an update if anything fails you can simply create a new default style and re-customize from scratch... that's not always required but once or twice I have been required to redo a style from scratch as comparing the templates via the options and correcting would have been more time consuming then simply redoing the entire style and I was very happy that I had the changelog for that forum .

Remove it completely? Well you can just be sure any mods that do auto template via hooks are not requiring a hook in the navbar otherwise it won't work or worse could produce an error although not working is usually the thing you see when a hook is missing that it requires etc.
Reply With Quote
Reply


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 01:55 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.05872 seconds
  • Memory Usage 2,189KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete