Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 03-31-2009, 09:02 PM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Which Template

if I wanted ot create a sidebar manually which touched the header and footer and to be shown on all pages, which template should I put it in?

Not FORUMHOME since that would limit me to one page. And not something that navbar since that would limit me to having it below the navigation.

Any ideas?

EDIT: I want this to display on all pages. By FORUMHOME, I mean the template would not be suitable.
Reply With Quote
  #2  
Old 03-31-2009, 09:14 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vB Tree View Post
if I wanted ot create a sidebar manually which touched the header and footer and to be shown on all pages, which template should I put it in?

Not FORUMHOME since that would limit me to one page. And not something that navbar since that would limit me to having it below the navigation.

Any ideas?
theres a modification for doing this do a search for "side column" in "all mods" "titles only", it's by kerry-anne or peterska2
Reply With Quote
  #3  
Old 03-31-2009, 09:32 PM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not after a mod, I'm after coding it myself. I'm just not sure of the best place to put it.
Reply With Quote
  #4  
Old 03-31-2009, 09:36 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vB Tree View Post
I'm not after a mod, I'm after coding it myself. I'm just not sure of the best place to put it.
the mod i reffer to is this:

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

it works for 3.8.2 all you need to do to make it show on all pages is put the first part of the code at the very bottom of the header template and the second part ot the very top of the footer, you have to add all your own custom stuff to the side_column_left template as id doesnt come with any installed components a blank canvas as it were
Reply With Quote
  #5  
Old 03-31-2009, 09:36 PM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, you could use if statement , edit your global templates , header footer.

if FORUMHOME , hide it , else , display ( side bar code ) .

Hope it helps.
Reply With Quote
  #6  
Old 03-31-2009, 10:42 PM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tipoboy View Post
the mod i reffer to is this:

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

it works for 3.8.2 all you need to do to make it show on all pages is put the first part of the code at the very bottom of the header template and the second part ot the very top of the footer, you have to add all your own custom stuff to the side_column_left template as id doesnt come with any installed components a blank canvas as it were
That only shows on forumhome and is under the navbar.
Reply With Quote
  #7  
Old 04-02-2009, 04:19 AM
Mr-Moo Mr-Moo is offline
 
Join Date: Sep 2007
Location: Chicago, IL.
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit the CSS, add a floating menu. Then you can add the CSS reference in all the appropriate files to display or you can attach onto the BODY.

If you are unsure how to code this try checking out: https://vborg.vbsupport.ru/showthread.php?t=67731

Please let me know if this helps,
Reply With Quote
  #8  
Old 04-02-2009, 01:44 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vB Tree View Post
That only shows on forumhome and is under the navbar.
if you read the thread there is a post that tells you how to have the mod under the header and appear on ALL pages.

I even mentioned how to do it in THIS thread:

Quote:
all you need to do to make it show on all pages is put the first part of the code at the very bottom of the header template and the second part ot the very top of the footer
Reply With Quote
  #9  
Old 04-02-2009, 01:48 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

header
footer
Reply With Quote
  #10  
Old 04-02-2009, 01:54 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^what he said
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 05:04 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.06723 seconds
  • Memory Usage 2,238KB
  • 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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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