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

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

Just trying to figure out how to tweek things...

I want to insert images under my navbar. I see where to edit all the current css styles in my control panel but I can't figure out how to do something such as this. I would expect to create a new div (or group of them) and insert it in the html right under the nav bar. However, I can't find how to play with the html in the control panel and I'm afraid that I'm not supposed to dig into the files directly on the server? Or should I be?

How should I go about something like this? I'm using a fresh install of VB4 with no addons or anything as of yet. It's the default theme.

Thanks!

--------------- Added [DATE]1292641719[/DATE] at [TIME]1292641719[/TIME] ---------------

and I'm a dope and just realized this is in the VB3 forum instead of 4. Still looking for answers though and feel free to move the thread to the proper forum
Reply With Quote
  #2  
Old 12-18-2010, 01:10 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope

AdminCP > Styles & Templates > Style Manager > *Select Edit Templates in the drop down menu

Now to add something to the navbar area of your site edit the navbar template . Remember you can use html, div w/ css id's or classes by pasting those definitions at the bottom of the Main CSS screen where it has the two input boxes. You can also utilize template conditionals to hlp you display codes/scripts/html/div in different ways for different groups!
Reply With Quote
  #3  
Old 12-18-2010, 01:27 AM
AlexisMedia AlexisMedia is offline
 
Join Date: Dec 2010
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The main CSS file said at the top that it was obsolete and for reference only though?

--------------- Added [DATE]1292642898[/DATE] at [TIME]1292642898[/TIME] ---------------

I also don't want to add something to the nav bar itself but rather images below it? Would I still edit the nav bar file then?
Reply With Quote
  #4  
Old 12-18-2010, 01:33 AM
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
The main CSS file said at the top that it was obsolete and for reference only though?

--------------- Added [DATE]1292642898[/DATE] at [TIME]1292642898[/TIME] ---------------

I also don't want to add something to the nav bar itself but rather images below it? Would I still edit the nav bar file then?
Well silly rabbit is this vB4 or vB3? If it says that your inside a vBulletin 4 control panel however posting in the vBulletin 3 General discussion area .

If you want the images on all pages then yes at the bottom of the navbar template otherwise you could do a quick mod to display a custom template let's say at the forumhome above forums hook location a snippet of the code would be this:

Code:
$template_hook['forumhome_above_forums'] .= $templater->render();
Edit: and if that's the case (you on vB4 not vB3) then you would add the new definitions to the additional.css template not where I originally said.

Reference:

Quote:
Remember you can use html, div w/ css id's or classes by pasting those definitions at the bottom of the Main CSS screen where it has the two input boxes.
So in vBulletin 4 it would be done this way:

Quote:
Remember you can use html, div w/ css id's or classes by pasting those definitions in the additional.css template.
Reply With Quote
  #5  
Old 12-18-2010, 01:50 AM
AlexisMedia AlexisMedia is offline
 
Join Date: Dec 2010
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry about the VB3 confusion but I did note my original post about posting in the wrong forum. You might have already been typing your post while I was adding that though...

Ok, sorry for being such a dumb dumb but this is a whole new world to me. Some of it makes perfect sense, some of it... not so much.

Where would I place that hook that you wrote exactly? Meaning the code itself... where to I put that in the Control Panel?

Where is the additional.css template exactly as well?

--------------- Added [DATE]1292644233[/DATE] at [TIME]1292644233[/TIME] ---------------

Once I figure the system out I should be able to edit things better but I have to figure out where to put what...
Reply With Quote
  #6  
Old 12-18-2010, 02:24 AM
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
Sorry about the VB3 confusion but I did note my original post about posting in the wrong forum. You might have already been typing your post while I was adding that though...

Ok, sorry for being such a dumb dumb but this is a whole new world to me. Some of it makes perfect sense, some of it... not so much.

Where would I place that hook that you wrote exactly? Meaning the code itself... where to I put that in the Control Panel?

Where is the additional.css template exactly as well?

--------------- Added [DATE]1292644233[/DATE] at [TIME]1292644233[/TIME] ---------------

Once I figure the system out I should be able to edit things better but I have to figure out where to put what...
No dumb dumb's here only those who have not learned yet and admittedly I must have overlooked your edit about wrong location.

That was only part of the code and you would need more plus a custom template. The best bet for now is you to edit the template and see what happens when you do this way you learn a bit more about the back end of your site in regards to it's style. You can create a "Child Style" of you main style to do all that testing in.

For more info on how to edit styles in vB4 reference the manual here: http://www.vbulletin.com/docs/html?m...rsion=40100602 and click on "Styles & TemplateS"
Reply With Quote
  #7  
Old 12-18-2010, 03:22 AM
AlexisMedia AlexisMedia is offline
 
Join Date: Dec 2010
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, well... I hunted down 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?

--------------- Added [DATE]1292651484[/DATE] at [TIME]1292651484[/TIME] ---------------

remembering that I don't want to insert it into my "above-body" or "body-wrapper" div. Rather, insert a new div between the 2.

(if that makes sense to do and I'm not being silly thinking this?)
Reply With Quote
  #8  
Old 12-18-2010, 05:05 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reply is here: https://vborg.vbsupport.ru/showthread.php?t=255456

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 07:28 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.04035 seconds
  • Memory Usage 2,237KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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