Problema Code, nu afiseaza text la EDITARE.
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Alte probleme :: Arhiva probleme diverse
Pagina 1 din 2 • Distribuiţi
Pagina 1 din 2 • 1, 2
Problema Code, nu afiseaza text la EDITARE.
Salutare, am un forum pe platforma phpBB3 si am observat ca pe forumul meu daca incerc sa introduc un script in functia [code] si incerc sa dau edit acel cod nu mai apare (am incercat cu functia QUOTE, iar aceasta merge perfect, deci problema este doar la functia CODE). Pe langa functia [code] nu imi merge [rand] si [flash]
Am facut cateva poze pentru a explica mai bine:
1. Ce apare dupa postarea subiectului
2. Acum sa vedem ce afiseaza daca dam EDITEAZA:
Pana aici totul decurge bine.
3. Deci am pus la functia code un script care sa mi-l afiseze:
se observa ca in imagine apare tot scriptul.
4. Acum sa dam EDITEAZA la subiect:
unde este acel script ?
daca dam TRIMITERE fara a mai modifica ceva va rezulta asta:
adica.... wow, apare o parte din TEXT.
Deci, eu doresc o explicatie la tot acest proces: ADAUG SCRIPT si apare dupa prima TRIMITERE. La EDITEAZA nu apare nimic, iar daca dau inca un TRIMITERE apare o parte din el.
Bineinteles, doresc si o rezolvare a acestei probleme.
Am facut cateva poze pentru a explica mai bine:
1. Ce apare dupa postarea subiectului
2. Acum sa vedem ce afiseaza daca dam EDITEAZA:
Pana aici totul decurge bine.
3. Deci am pus la functia code un script care sa mi-l afiseze:
se observa ca in imagine apare tot scriptul.
4. Acum sa dam EDITEAZA la subiect:
unde este acel script ?
daca dam TRIMITERE fara a mai modifica ceva va rezulta asta:
adica.... wow, apare o parte din TEXT.
Deci, eu doresc o explicatie la tot acest proces: ADAUG SCRIPT si apare dupa prima TRIMITERE. La EDITEAZA nu apare nimic, iar daca dau inca un TRIMITERE apare o parte din el.
Bineinteles, doresc si o rezolvare a acestei probleme.
Ultima editare efectuata de catre aEEk.# in Dum Dec 02, 2012 3:02 am, editata de 1 ori
Re: Problema Code, nu afiseaza text la EDITARE.
Ma gandesc ca poate fi o "cearta" intre codurile HTML, asta daca le aveti activate, si cele BB.
Verificati si spuneti daca codurile HTML sunt activate pe forum:
Panou de Administrare ~> General ~> Mesaje si emailuri ~> Configurare ~> Mesaje.
~> Permite HTML.
Verificati si spuneti daca codurile HTML sunt activate pe forum:
Panou de Administrare ~> General ~> Mesaje si emailuri ~> Configurare ~> Mesaje.
~> Permite HTML.
Re: Problema Code, nu afiseaza text la EDITARE.
nu poti sa postezi chestii HTML in topic
Re: Problema Code, nu afiseaza text la EDITARE.
de ce nu? am spus ca pun in functia CODE nu doar asa de capul meu. aici de ce pot?
aici apare intreg scriptul daca dau EDITEAZA
poftim imagine:
- Cod:
<div id="audio-player"><embed type="application/x-shockwave-flash" src="http://www.kissfm.ro/player/player.swf" id="live-flash-player" name="live-flash-player" bgcolor="#000" quality="high" allowfullscreen="false" allowscriptaccess="always" wmode="transparent" flashvars="repeat=true&autostart=true&width=190&height=15&displayheight=0&type=rtmp&streamer=rtmp://80.86.106.136/live&file=stream&skin=http://www.kissfm.ro/live/player/kissfm_audio_popup.swf&link=http://www.kissfm.ro/&bufferlength=6" height="15" width="190"></div>
<script type="text/javascript">
var s1 = new SWFObject("http://www.kissfm.ro/player/player.swf","live-flash-player","667","61","9","#000");
s1.addParam("allowfullscreen","false");
s1.addParam('allowscriptaccess','always');
s1.addVariable("repeat","true");
s1.addVariable("autostart","true");
s1.addParam("wmode", "transparent");
s1.addVariable("width","667");
s1.addVariable("height","61");
s1.addVariable("displayheight","0");
s1.addVariable('type', 'rtmp');
s1.addVariable('streamer', 'rtmp://80.86.106.136/live');
s1.addVariable('file', 'stream');
s1.addVariable('skin', 'http://www.kissfm.ro/live/player/kissfm_audio_popup.swf');
s1.addVariable('link', 'http://www.kissfm.ro/');
s1.addVariable('bufferlength', '6');
s1.write("audio-player");
</script>
</div>
aici apare intreg scriptul daca dau EDITEAZA
poftim imagine:
Re: Problema Code, nu afiseaza text la EDITARE.
nu mai pune
[code]
TEXT
pune direct :
[code]text
[code]
TEXT
pune direct :
[code]text
Re: Problema Code, nu afiseaza text la EDITARE.
) care e faza? nu conteaza cum asez textul in functia CODE atat timp cat il pun intre tagul de inceput si sfarsit...
Re: Problema Code, nu afiseaza text la EDITARE.
Cu ce te deranjeaza? Doar nu editezi de 10 ori ...
Re: Problema Code, nu afiseaza text la EDITARE.
ma deranjeaza, daca din greseala scriu codul gresit? sau adaug ceva si vreau sa editez...
oricum eu cred ca e din CSS, cu alta tema merge ok, dar asta habar nu am de ce nu vrea:|
CSS-ul meu:
oricum eu cred ca e din CSS, cu alta tema merge ok, dar asta habar nu am de ce nu vrea:|
CSS-ul meu:
- Cod:
/*------------------------------------------------*/
/*-------------[Body tamaño del foro logo descripcion del foro]------------*/
/*------------------------------------------------*/
body#phpbb{
background:#d8dde8 url(http://i.imgur.com/ByI9p.png) top repeat-x;
margin-top: 175px;
}
.select{
margin-top:-190px!important;
}
#wrap {
font: normal 11px helvetica,arial,sans-serif;
-moz-box-shadow: 0 5px 9px rgba(0,0,0,0.1);
-webkit-box-shadow: 0 5px 9px rgba(0,0,0,0.1);
background: #fff;
box-shadow: 0 5px 9px rgba(0,0,0,0.1);
line-height: 120%;
padding: 10px;
width: 85%;
top: 100px;
margin-top: -52px;
}
#logo {
position: absolute;
top: -155px;
margin-left: -20px;
}
#site-title h1 {display: none;}
#site-title, #site-title h1{display: none;}
#logo-desc p {display: none;}
/*------------------------------------------------*/
/*-------------[Navbar]------------*/
/*------------------------------------------------*/
div#page-header div.navbar ul.linklist li a {
margin-left: -6px;
padding: 6px 15px 8px;
}
#page-header .navbar .navlinks a {
color: #c5d5e2;
font: bold 11px helvetica,arial,sans-serif;
background: #1c3b5f;
text-shadow: 0px 1px 1px rgba(0,0,0,0.5);
}
#page-header .navbar .navlinks{
border-bottom: 1px solid transparent;
font-weight: 700;
text-align: left;
top: -80px;
position: absolute;
}
#page-header .navbar .navlinks a:hover {background: #173455;
color: #fff;}
#page-header .navbar .navlinks li a[href="/"]{background:#fff;
color: #0b5794;
font-weight: bold;
text-shadow: none;
padding-bottom: 10px;}
#page-footer:after {
font-family: Trebuchet MS,Tahoma,Arial;
font-style: italic;
margin-left:300px;
font-size: 12px;
content: "Copyright © 2012 - Tema editata de aEEk.# pentru Next Generation";}
/*------------------------------------------------*/
/*-------------[Panel Foros]------------*/
/*------------------------------------------------*/
.panel {
background: #fff;
border: 2px #E2EAF4 solid;
}
.row {
background: #fff;
border: 2px solid #dbe4ef0;
border-bottom: 2px solid #f3f3f3!important;
}
.forabg {
background:#fff url(http://i.imgur.com/Xi9WU.png) repeat-x top;
background-position: 0 0;
background-repeat: repeat-x;
clear: both;
margin-bottom: 4px;
padding: 0 0 1px;
border-top: 1px solid #316897;
border-radius: 4px 4px 0px 0px;
}
.row1 {
background: #fff;
border: 2px solid #dbe4ef0;
border-bottom: 1px solid #f3f3f3!important;
}
.row2 {
background: #fff;
border: 2px solid #dbe4ef0;
border-bottom: 1px solid #f3f3f3!important;
}
/*------------------------------------------------*/
/*-------------[Foros cat Portal]------------*/
/*------------------------------------------------*/
.forumbg {
background:#ebf0f3 url(http://i.imgur.com/Xi9WU.png) repeat-x top;
background-position: 0 0;
background-repeat: repeat-x;
clear: both;
margin-bottom: 4px;
padding: 0 0 1px;
border-top: 1px solid #316897;
border-radius: 4px 4px 0px 0px;}
span.corners-bottom {display:none;}
.post {
background:#ebf0f3;
border: none;
padding-bottom: 5px;
}
.postbody .content {
padding-right: 10px;
}
.post .inner{background: #fff;}
.post span.corners-top{
background:#ebf0f3 url(http://i.imgur.com/Xi9WU.png) repeat-x top;
background-position: 0 0;
background-repeat: repeat-x;
clear: both;
margin-bottom: 4px;
padding: 0 0 1px;
border-top: 1px solid #316897;
border-radius: 4px 4px 0px 0px;
height:34px;
}
.module {
background: #ebf0f3;
}
.module span.corners-top {
border-bottom: 1px #dbe4ef solid;
height: 29px;
background: #ebf0f3 url(http://i.imgur.com/Xi9WU.png) repeat-x top;
border-radius: 4px 4px 0 0;
border-top: 1px solid #316897;
}
ul.topiclist {
margin: 6px 6px 10px 6px;
}
/*------------------------------------------------*/
/*-------------[search incorporado con algunos codigos importantes]------------*/
/*------------------------------------------------*/
#search-box {
float: right;
margin-right: 5px;
margin-top: 10px;
position: relative;
top: -110px;
white-space: nowrap;
}
#search-box #keywords {
-moz-border-radius: 3px 4px 4px 3px;
-moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
background: #fff;
border: 1px solid #000;
border-radius: 3px 4px 4px 3px;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
color: #5a5a5a;
padding: 5px 30px 5px 10px;
width: 200px;
height: 15px;
}
#search-box input.button2 {
background: #7ba60d url(http://i.imgur.com/vJs32.png) no-repeat 50%!important;
color: transparent;
height: 26px!important;
position: relative;
right: 25px;
width: 30px!important;
border: 1px solid #7ba60d;
border-radius: 0px 3px 3px 0px;
-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
border-top: 1px solid #000;
box-shadow: inset 0px 1px 0 rgba(255,255,255,0.2);
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
#search_menu {
background: #fff;
font-size: 11px!important;
left: 10%!important;
top: 40px!important;
}
#search_menu a{
color:#000!important;
position: relative;
top:none!important;
background:none!important}
#search_menu a:hover{background:none!important}
.conteneur_container_IE{position: relative;bottom: -3px;margin-top: -2px;padding: 1px;}
/*------------------------------------------------*/
/*-------------[Borrar el subrayado de los enlaces]------------*/
/*------------------------------------------------*/
a {text-decoration: none;}
a:link {text-decoration: none;}
a:hover {text-decoration: none!important;}
a.forumtitle {text-decoration: none;}
a.forumtitle:hover {text-decoration: none!important;}
a.topictitle {text-decoration: none;}
a.topictitle:hover {text-decoration: none!important;}
/*------------------------------------------------*/
/*-------------[Perfil Post]------------*/
/*------------------------------------------------*/
.postprofile {
text-align: center;
}
.postprofile dt img{padding: 1px;
border: 1px solid #d5d5d5;
background: #fff;
-webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
-moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
}
.postprofile dt img:hover{border-color: #7d7d7d;}
/*------------------------------------------------*/
/*-------------[Botones]------------*/
/*------------------------------------------------*/
input.button1, input.button2, button.button2, #main-content a.cgu-buttons {
background: #f4f5f4 url(http://i66.servimg.com/u/f66/11/96/49/61/tabbg10.png);
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 2px;}
/*------------------------------------------------*/
/*-------------[agre codigos para solucionar errores & aportes importantes no borres nada]------------*/
/*------------------------------------------------*/
#plus_menu {
background: #ffffff;
}
.user_login_form input[type="text"], .user_login_form input[type="password"]{
position:relative;
top:7px;
}
.postbody .topic-title {
font-size:1.2em;}
fieldset.fields1 div {
margin-bottom: 0px;
}
/*--------------------HighBBBoard-Legend--------------------*/
em {
font-size: 0px;
}
em b .gensmall{
font-style: normal;
background: #0077B9;
color: white!important;
border-radius: 2px;
font-weight: bold;
display: inline-block;
font-size: 11px;
padding: 4px 8px;
margin-bottom: 3px;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
border: 1px solid rgba(0, 0, 0, 0.3);
}
#casuta {
background: #95C715;
background: -moz-linear-gradient(top,#95C715 0%,#7BA60D 100%);
background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#95C715),color-stop(100%,#7BA60D));
background: linear-gradient(top,#95C715 0%,#7BA60D 100%);
border: 1px solid #7BA60D;
color: white;
text-align: center;
width: 14%;
top: 0px;
left: 76%;
-moz-border-radius: 0 0 5px 5px;
-webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
border-radius: 0 0 5px 5px;
z-index: 999;
position: fixed;
-moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.2),inset 0px -1px 0px rgba(255,255,255,0.2);
-webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2),inset 0px -1px 0px rgba(255, 255, 255, 0.2);
box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2),inset 0px -1px 0px rgba(255, 255, 255, 0.2);
height: 29px;
}
.mini-regulament{
background: none repeat scroll 0 0 #F9F9F9;
border: 1px solid #C7C7C7;
border-radius: 3px 3px 3px 3px;
margin-left: 14px;
margin-top: 26px;
padding: 5px 10px;
width: 78%;
}
Re: Problema Code, nu afiseaza text la EDITARE.
Incearca :
- Cod:
/*------------------------------------------------*/
/*-------------[Body tamaño del foro logo descripcion del foro]------------*/
/*------------------------------------------------*/
body#phpbb{
background:#d8dde8 url(http://i.imgur.com/ByI9p.png) top repeat-x;
margin-top: 175px;
}
.select{
margin-top:-190px!important;
}
#wrap {
font: normal 11px helvetica,arial,sans-serif;
-moz-box-shadow: 0 5px 9px rgba(0,0,0,0.1);
-webkit-box-shadow: 0 5px 9px rgba(0,0,0,0.1);
background: #fff;
box-shadow: 0 5px 9px rgba(0,0,0,0.1);
line-height: 120%;
padding: 10px;
width: 85%;
top: 100px;
margin-top: -52px;
}
#logo {
position: absolute;
top: -155px;
margin-left: -20px;
}
#site-title h1 {display: none;}
#site-title, #site-title h1{display: none;}
#logo-desc p {display: none;}
/*------------------------------------------------*/
/*-------------[Navbar]------------*/
/*------------------------------------------------*/
div#page-header div.navbar ul.linklist li a {
margin-left: -6px;
padding: 6px 15px 8px;
}
#page-header .navbar .navlinks a {
color: #c5d5e2;
font: bold 11px helvetica,arial,sans-serif;
background: #1c3b5f;
text-shadow: 0px 1px 1px rgba(0,0,0,0.5);
}
#page-header .navbar .navlinks{
border-bottom: 1px solid transparent;
font-weight: 700;
text-align: left;
top: -80px;
position: absolute;
}
#page-header .navbar .navlinks a:hover {background: #173455;
color: #fff;}
#page-header .navbar .navlinks li a[href="/"]{background:#fff;
color: #0b5794;
font-weight: bold;
text-shadow: none;
padding-bottom: 10px;}
#page-footer:after {
font-family: Trebuchet MS,Tahoma,Arial;
font-style: italic;
margin-left:300px;
font-size: 12px;
content: "Copyright © 2012 - Tema editata de aEEk.# pentru Next Generation";}
/*------------------------------------------------*/
/*-------------[Panel Foros]------------*/
/*------------------------------------------------*/
.panel {
background: #fff;
border: 2px #E2EAF4 solid;
}
.row {
background: #fff;
border: 2px solid #dbe4ef0;
border-bottom: 2px solid #f3f3f3!important;
}
.forabg {
background:#fff url(http://i.imgur.com/Xi9WU.png) repeat-x top;
background-position: 0 0;
background-repeat: repeat-x;
clear: both;
margin-bottom: 4px;
padding: 0 0 1px;
border-top: 1px solid #316897;
border-radius: 4px 4px 0px 0px;
}
.row1 {
background: #fff;
border: 2px solid #dbe4ef0;
border-bottom: 1px solid #f3f3f3!important;
}
.row2 {
background: #fff;
border: 2px solid #dbe4ef0;
border-bottom: 1px solid #f3f3f3!important;
}
/*------------------------------------------------*/
/*-------------[Foros cat Portal]------------*/
/*------------------------------------------------*/
.forumbg {
background:#ebf0f3 url(http://i.imgur.com/Xi9WU.png) repeat-x top;
background-position: 0 0;
background-repeat: repeat-x;
clear: both;
margin-bottom: 4px;
padding: 0 0 1px;
border-top: 1px solid #316897;
border-radius: 4px 4px 0px 0px;}
span.corners-bottom {display:none;}
.post {
background:#ebf0f3;
border: none;
padding-bottom: 5px;
}
.postbody .content {
padding-right: 10px;
}
.post .inner{background: #fff;}
.post span.corners-top{
background:#ebf0f3 url(http://i.imgur.com/Xi9WU.png) repeat-x top;
background-position: 0 0;
background-repeat: repeat-x;
clear: both;
margin-bottom: 4px;
padding: 0 0 1px;
border-top: 1px solid #316897;
border-radius: 4px 4px 0px 0px;
height:34px;
}
.module {
background: #ebf0f3;
}
.module span.corners-top {
border-bottom: 1px #dbe4ef solid;
height: 29px;
background: #ebf0f3 url(http://i.imgur.com/Xi9WU.png) repeat-x top;
border-radius: 4px 4px 0 0;
border-top: 1px solid #316897;
}
ul.topiclist {
margin: 6px 6px 10px 6px;
}
/*------------------------------------------------*/
/*-------------[search incorporado con algunos codigos importantes]------------*/
/*------------------------------------------------*/
#search-box {
float: right;
margin-right: 5px;
margin-top: 10px;
position: relative;
top: -110px;
white-space: nowrap;
}
#search-box #keywords {
-moz-border-radius: 3px 4px 4px 3px;
-moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
background: #fff;
border: 1px solid #000;
border-radius: 3px 4px 4px 3px;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
color: #5a5a5a;
padding: 5px 30px 5px 10px;
width: 200px;
height: 15px;
}
#search-box input.button2 {
background: #7ba60d url(http://i.imgur.com/vJs32.png) no-repeat 50%!important;
color: transparent;
height: 26px!important;
position: relative;
right: 25px;
width: 30px!important;
border: 1px solid #7ba60d;
border-radius: 0px 3px 3px 0px;
-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
border-top: 1px solid #000;
box-shadow: inset 0px 1px 0 rgba(255,255,255,0.2);
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
#search_menu {
background: #fff;
font-size: 11px!important;
left: 10%!important;
top: 40px!important;
}
#search_menu a{
color:#000!important;
position: relative;
top:none!important;
background:none!important}
#search_menu a:hover{background:none!important}
.conteneur_container_IE{position: relative;bottom: -3px;margin-top: -2px;padding: 1px;}
/*------------------------------------------------*/
/*-------------[Borrar el subrayado de los enlaces]------------*/
/*------------------------------------------------*/
a {text-decoration: none;}
a:link {text-decoration: none;}
a:hover {text-decoration: none!important;}
a.forumtitle {text-decoration: none;}
a.forumtitle:hover {text-decoration: none!important;}
a.topictitle {text-decoration: none;}
a.topictitle:hover {text-decoration: none!important;}
/*------------------------------------------------*/
/*-------------[Botones]------------*/
/*------------------------------------------------*/
input.button1, input.button2, button.button2, #main-content a.cgu-buttons {
background: #f4f5f4 url(http://i66.servimg.com/u/f66/11/96/49/61/tabbg10.png);
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 2px;}
/*------------------------------------------------*/
/*-------------[agre codigos para solucionar errores & aportes importantes no borres nada]------------*/
/*------------------------------------------------*/
#plus_menu {
background: #ffffff;
}
.user_login_form input[type="text"], .user_login_form input[type="password"]{
position:relative;
top:7px;
}
.postbody .topic-title {
font-size:1.2em;}
fieldset.fields1 div {
margin-bottom: 0px;
}
Re: Problema Code, nu afiseaza text la EDITARE.
am incercat si cu cel default si nu e din ce am adaugat eu... tind sa cred ca e din alta parte din CSS... nu am experianta necesara sa stiu exact.
Re: Problema Code, nu afiseaza text la EDITARE.
100% problema este din css ai adaugat un cod.. care trebuie sters
Pagina 1 din 2 • 1, 2
Subiecte similare
» Problema [code] text[/code]
» Problema editare text avansata
» Editare cod CSS pentru eliminarea chenarului si text pe mijloc
» Problema [CODE][/CODE]
» Problema topicuri(nu afiseaza continutul)
» Problema editare text avansata
» Editare cod CSS pentru eliminarea chenarului si text pe mijloc
» Problema [CODE][/CODE]
» Problema topicuri(nu afiseaza continutul)
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Alte probleme :: Arhiva probleme diverse
Pagina 1 din 2
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum