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 05-31-2013, 05:37 PM
WoODoO's Avatar
WoODoO WoODoO is offline
 
Join Date: Apr 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Problems with templates after posting notice

Hi guys, wanting to find fix for this bug...

Before posting html notice...




After posting html notice...



why this is happening?

Any idea
Reply With Quote
  #2  
Old 05-31-2013, 06:13 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you putting that in the header template
Reply With Quote
  #3  
Old 05-31-2013, 07:55 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have bad html in your notice.
Reply With Quote
  #4  
Old 06-01-2013, 02:25 AM
WoODoO's Avatar
WoODoO WoODoO is offline
 
Join Date: Apr 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
you putting that in the header template
No no ... AdminCP ==> notices


My html code:

Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
div.global{
		width: 830px;
 		height: 350px; 
 		font-family: Arial,Helvetica,sans-serif;
		font-size: 11px;
		padding: 0px;
		overflow: hidden;
		background-image:url(../images/noticias/fundo.jpg);}
div.header_footer{
		height: 20px;
		line-height: 16px;
		padding: 5px;
		overflow: hidden;
		text-align: center;
		font-weight: bold;
		}
div.texto {
    	width: 765px;
		margin: 20px;
		margin-left:30px;
		/*margin-right-value: 2px;
		margin-bottom: 2px;
		margin-left-value: 100px;*/
		height: 223px;
		padding: 2px;
		padding-top: 2px;
		padding-right-value: 2px;
		padding-bottom: 2px;
		padding-left-value: 2px;
		overflow: hidden;
		font-size: 14px;
		font-weight: bold;
		color:#CCC;
}
div.botao{
    	width: 159px;
		margin: 2px;
		margin-left:25px;
		margin-right-value: 2px;
		margin-bottom: 2px;
		margin-left-value: 2px;
		height: 52px;
		padding: 2px;
		padding-top: 2px;
		padding-right-value: 2px;
		padding-bottom: 2px;
		padding-left-value: 2px;
		font-size: 11px;
		font-weight: bold;
		text-align: center;}
/*div.resumo{
		width: 288px;
		height: 96px;
    	background-color: rgb(255, 255, 255);
    	color: rgb(0, 0, 0);
		margin: 2px;
		margin-right-value: 2px;
		margin-bottom: 2px;
		margin-left-value: 2px;
		padding: 2px;
		padding-top: 2px;
		padding-right-value: 2px;
		padding-bottom: 2px;
		padding-left-value: 2px;
		overflow: hidden;
		font-weight: bold;
		text-align: center;
		font-size: 14px;}
div.quero_doar{
		padding: 2px;
		padding-top: 8px;
		padding-right-value: 2px;
		padding-bottom: 2px;
		padding-left-value: 2px;}
a:link {color: rgb(51, 51, 51);}
img.image_250x250 {
		width: 150px;  
		height: 150px;  
		display: block;
   		margin-left: auto;
  	 	margin-right: auto;}
div.map_image { margin: 2px;
        margin-top: 2px;
        margin-right-value: 2px;
        margin-bottom: 2px;
        margin-left-value: 2px;
    	text-align: center;}

#mostrador { }*/



</style>

</head>

<body>

<!--Inicia Principal--><div class="global">
<!--Header--><div class="header_footer"><img src="../images/noticias/titulo.png"></div>
<!--Vencimento--><div class="texto">Apesar de nosso servidor gringo estar sendo amplamente prestigiado com a presen?a e a prefer?ncia do p?blico, temos o prazer de anunciar que voltamos a ofertar um servidor de Project Reality hosteado no Brasil, pois os jogadores brasileiros merecem jogar com a qualidade CBPR e com pings baixos.


<p>Estamos aproveitando para agradecer aos jogadores que aderiram ? campanha Doador CBPR e com seus aportes financeiros nos possibilitaram dar mais esse passo rumo ? excel?ncia.<p>

<p>Com a disponibiliza??o do servidor BR, voltamos a contar com a colabora??o daqueles que estiverem dispostos, e puderem contribuir, para que o Project Reality seja jogado num servidor nacional, no qual todo jogador brasileiro seja tratado sem distin??o e com prontid?o.
<p>Se voc? est? em condi??es e deseja contribuir, seremos gratos por sua doa??o que far? com que o peso v? sendo dividido por v?rias m?os e permitir? que o divertimento esteja ao alcance de todos.</div>
<!--Progresso--><div class="botao"><a href=".../portal/news/novo-servidor-brasileiro-cbpr/" ><img src=".../images/noticias/botao.png"></div>


<!--Fecha mostrador--></div>
<!--Inicia Resumo-->

</div>
</body>
</html>
Reply With Quote
  #5  
Old 06-01-2013, 06:30 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're putting a complete page in the Notices. You should just have your css in a <style> sheet followed by the <div>s and <p>s. No <html> <head> or <body> tags
Reply With Quote
  #6  
Old 06-01-2013, 11:11 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WoODoO View Post
No no ... AdminCP ==> notices


My html code:

Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
div.global{
		width: 830px;
 		height: 350px; 
 		font-family: Arial,Helvetica,sans-serif;
		font-size: 11px;
		padding: 0px;
		overflow: hidden;
		background-image:url(../images/noticias/fundo.jpg);}
div.header_footer{
		height: 20px;
		line-height: 16px;
		padding: 5px;
		overflow: hidden;
		text-align: center;
		font-weight: bold;
		}
div.texto {
    	width: 765px;
		margin: 20px;
		margin-left:30px;
		/*margin-right-value: 2px;
		margin-bottom: 2px;
		margin-left-value: 100px;*/
		height: 223px;
		padding: 2px;
		padding-top: 2px;
		padding-right-value: 2px;
		padding-bottom: 2px;
		padding-left-value: 2px;
		overflow: hidden;
		font-size: 14px;
		font-weight: bold;
		color:#CCC;
}
div.botao{
    	width: 159px;
		margin: 2px;
		margin-left:25px;
		margin-right-value: 2px;
		margin-bottom: 2px;
		margin-left-value: 2px;
		height: 52px;
		padding: 2px;
		padding-top: 2px;
		padding-right-value: 2px;
		padding-bottom: 2px;
		padding-left-value: 2px;
		font-size: 11px;
		font-weight: bold;
		text-align: center;}
/*div.resumo{
		width: 288px;
		height: 96px;
    	background-color: rgb(255, 255, 255);
    	color: rgb(0, 0, 0);
		margin: 2px;
		margin-right-value: 2px;
		margin-bottom: 2px;
		margin-left-value: 2px;
		padding: 2px;
		padding-top: 2px;
		padding-right-value: 2px;
		padding-bottom: 2px;
		padding-left-value: 2px;
		overflow: hidden;
		font-weight: bold;
		text-align: center;
		font-size: 14px;}
div.quero_doar{
		padding: 2px;
		padding-top: 8px;
		padding-right-value: 2px;
		padding-bottom: 2px;
		padding-left-value: 2px;}
a:link {color: rgb(51, 51, 51);}
img.image_250x250 {
		width: 150px;  
		height: 150px;  
		display: block;
   		margin-left: auto;
  	 	margin-right: auto;}
div.map_image { margin: 2px;
        margin-top: 2px;
        margin-right-value: 2px;
        margin-bottom: 2px;
        margin-left-value: 2px;
    	text-align: center;}

#mostrador { }*/



</style>

</head>

<body>

<!--Inicia Principal--><div class="global">
<!--Header--><div class="header_footer"><img src="../images/noticias/titulo.png"></div>
<!--Vencimento--><div class="texto">Apesar de nosso servidor gringo estar sendo amplamente prestigiado com a presen?a e a prefer?ncia do p?blico, temos o prazer de anunciar que voltamos a ofertar um servidor de Project Reality hosteado no Brasil, pois os jogadores brasileiros merecem jogar com a qualidade CBPR e com pings baixos.


<p>Estamos aproveitando para agradecer aos jogadores que aderiram ? campanha Doador CBPR e com seus aportes financeiros nos possibilitaram dar mais esse passo rumo ? excel?ncia.<p>

<p>Com a disponibiliza??o do servidor BR, voltamos a contar com a colabora??o daqueles que estiverem dispostos, e puderem contribuir, para que o Project Reality seja jogado num servidor nacional, no qual todo jogador brasileiro seja tratado sem distin??o e com prontid?o.
<p>Se voc? est? em condi??es e deseja contribuir, seremos gratos por sua doa??o que far? com que o peso v? sendo dividido por v?rias m?os e permitir? que o divertimento esteja ao alcance de todos.</div>
<!--Progresso--><div class="botao"><a href=".../portal/news/novo-servidor-brasileiro-cbpr/" ><img src=".../images/noticias/botao.png"></div>


<!--Fecha mostrador--></div>
<!--Inicia Resumo-->

</div>
</body>
</html>
No wonder you are having problems you don't put that code there
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 06:49 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.03767 seconds
  • Memory Usage 2,226KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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