Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-25-2013, 12:38 AM
EngineerOne EngineerOne is offline
 
Join Date: Jun 2013
Location: Southern California
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Changing the Header

I am looking for some help in changing the the area to the right of my Logo.

http://www.buildingengineertalk.com

I want to add advertising of a embed a video in that area.
It looks like there is over 300 lines of code for that page.
I don't know how to modify it
Sitebuilder don't allow you into this area.
I may need to change this monthly.
I want to option to display 2 ads or 1 large ad.

Anyone have the experience/knowledge to do this?
Reply With Quote
  #2  
Old 06-25-2013, 01:32 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Site builder allows you to position ads into the header area just fine.
Reply With Quote
  #3  
Old 06-25-2013, 02:20 AM
EngineerOne EngineerOne is offline
 
Join Date: Jun 2013
Location: Southern California
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does allow me to ad the Logo but it is limited in width to 320px.
The right half, the large white area seems to be inaccessable.

What am I missing?
Reply With Quote
  #4  
Old 06-25-2013, 06:03 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can set the title image in the stylevars to be whatever size you want it to be.
Reply With Quote
  #5  
Old 06-25-2013, 12:32 PM
EngineerOne EngineerOne is offline
 
Join Date: Jun 2013
Location: Southern California
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

O.K.
How?

I see 363 lines of code in the header style var.

Where do I insert code to add 2 things next to my logo that take up the rest of the space?
Reply With Quote
  #6  
Old 06-25-2013, 03:20 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, did you try adding code to the header ads?
Reply With Quote
  #7  
Old 06-26-2013, 01:02 AM
EngineerOne EngineerOne is offline
 
Join Date: Jun 2013
Location: Southern California
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I did not.

The Logo area looked like it was a fixed width.
But that does give me an idea.
Take the logo out from where it is and add it to the beginning of the name.

I then may have 1 larger area for ads.
And if they are inserted with code, could be used for multiple ads.
I will try that.

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

Just changed my "header" by adding the logo to it.

The large area below it, where my large logo is, seems to only accept a photo.
When editing the area in Sitebuilder, it asks for an image file from my hard drive.
Don't think it will accept an HTML file.
I would hate to blow up my page by trying something that doesn't work.
I have done that already in a sub-forum.

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

Just to be clear -

The header area is different than the Logo area.

I am trying to use the Logo area for advertisements.
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:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06935 seconds
  • Memory Usage 2,217KB
  • 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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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