Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2011, 07:27 AM
danyz81's Avatar
danyz81 danyz81 is offline
 
Join Date: Apr 2009
Location: Rome
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default headinclude_bottom missing vb4.1.3

Hello, i've a problem with a reverted template from 3.8 to 4.1.3 trought the new option on the style admin panel. My reverted template missing headinclude_bottom for calling additional.css.

This is a picture with the example:

http://img541.imageshack.us/f/headin...tommissin.jpg/

In the right, styleid 28 all is ok, with a template made directly for vb4
In the left, styleid 30 is the new template reverted where missing part of code below </title> until </head>

Somebody can help me?

Thanks in advantage,
Daniele.
Reply With Quote
  #2  
Old 04-11-2011, 05:28 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then add the code into whatever that page is.
Reply With Quote
  #3  
Old 04-12-2011, 05:01 AM
danyz81's Avatar
danyz81 danyz81 is offline
 
Join Date: Apr 2009
Location: Rome
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne for reply, i know.
The problem is that additional.css missing on my reverted template and so i cant personalize the css.

additional.css is called throught headinclude_bottom template but:

Code:
<!-- BEGIN TEMPLATE: headinclude_bottom -->
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style00028l/additional.css?d=1302262929" />
<!-- END TEMPLATE: headinclude_bottom -->
missing on my reverted template so, how i can put it?
Reply With Quote
  #4  
Old 04-12-2011, 04:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The template is missing? Are you sure? It's normally empty, so it could be nothing is showing up when you call it if you don't have anything in it. If you revert a template in a style that has a parent style, then you will just revert the template to be the same as the parent template.
Reply With Quote
  #5  
Old 04-12-2011, 05:03 PM
danyz81's Avatar
danyz81 danyz81 is offline
 
Join Date: Apr 2009
Location: Rome
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep... sorry lynne, I mystiped... my english is so bad ;P
i mean style and not template. I try to explain better:

i've a style for vbulletin 3.8, i've uploaded the xml of this style into a vbulletin 4.1.3 and after i've reverted the style with the new option "Generate vb4 style".
In this reverted style (sorry style... not template) there is no code with external css "additional.css"
The css is not empty but with rules inside that i need for personalize my style.
Reply With Quote
  #6  
Old 04-12-2011, 05:36 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you looking in the right place for additional.css? It is in the group called CSS Templates. You need to double-click it to view that particular template.
Reply With Quote
  #7  
Old 04-12-2011, 05:54 PM
danyz81's Avatar
danyz81 danyz81 is offline
 
Join Date: Apr 2009
Location: Rome
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

additional.css:

Code:
/* bg Switch */

.themeWrapper {
        position:absolute;
        top:66px;
        right:5px;
}

.themeWrapper img {
	display:block;
}

.cambiotema {
	width:220px;
	height:42px;
	padding:50px 70px 0 0;
}

.themeWrapper ul {
	list-style:none;
	padding:0;
	margin:1px 3px 0 0;
}

Etc... Etc..
headinclude_bottom template:
Code:
{vb:cssfile additional.css}
{vb:raw template_hook.headinclude_bottom_css}
usercp_shell template:
Code:
etc.. etc..
...
	{vb:raw clientscripts}

	<title>{vb:raw pagetitle} - {vb:raw vboptions.bbtitle}</title>
        {vb:raw headinclude_bottom}
</head>

<body>

{vb:raw header}
....
etc.. etc..
but in my style, if i look the source of my index page, the code for calling the css additional.css missing.

need i write something also on the template headinclude?
Reply With Quote
  #8  
Old 04-13-2011, 03:08 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You posted what was in the usercp_shell template, but that is not the index page. What php page is your index page - forum.php or content.php? Check the template for that page.
Reply With Quote
  #9  
Old 04-13-2011, 04:04 AM
danyz81's Avatar
danyz81 danyz81 is offline
 
Join Date: Apr 2009
Location: Rome
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Lynne i think that u cant help me, maybe this is a bug i dunno. Isn't important posting the index.php forum.php o content.php because i've this issue only with a style generated with the option "Generate vb4 style" on style option of the vbulletin admin panel.

If i use a style NOT generated with this option i can use and see additional.css on my page.

Code:
<!-- BEGIN TEMPLATE: headinclude_bottom -->
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style00028l/additional.css?d=1302262929" />
<!-- END TEMPLATE: headinclude_bottom -->
anyway, thanks for you time
Daniele.
Reply With Quote
  #10  
Old 04-13-2011, 04:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you think it's a bug, then you may enter it into the tracker here - http://tracker.vbulletin.com/secure/...e!default.jspa
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 06:51 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.05105 seconds
  • Memory Usage 2,254KB
  • 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
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete