Autor Tópico: Ajuda com BBcode ''quote" !  (Lida 6662 vezes)

0 Membros e 2 Visitantes estão a ver este tópico.

Offline Chandy

  • Warezman
  • Iniciar SmfPt
  • *
  • Mensagens: 5
  • Rank: 0
  • Sexo: Masculino
Ajuda com BBcode ''quote" !
« em: 17 de Fevereiro de 2009, 05:41 »
Ola candidosa2.
Espero que você  entenda o meu português do Brasil  smiley !

Bem,vamos ao que interessa.
Eu estou querendo adaptar um bbcode ''quote'' do vbulletin,para o smf.
Se vc não puder faze-lo,gostaria muito que você pudesse me ajudar de alguma forma.
A idéia é colocar uma imagem de fundo no [quote*][/quote] como está a figura abaixo:



Eu anexei o mod da versão vbulletin para você poder estudar.
Aguardo sua resposta.
Obrigado.

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5073
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Re: Ajuda com BBcode ''quote" !
« Responder #1 em: 17 de Fevereiro de 2009, 22:59 »
podes colocar a imagem no fundo tens que ir style pesquisar pelo quote e colocar o código aonde esta a imagem ele aceita sim

Offline Chandy

  • Warezman
  • Iniciar SmfPt
  • *
  • Mensagens: 5
  • Rank: 0
  • Sexo: Masculino
Re: Ajuda com BBcode ''quote" !
« Responder #2 em: 18 de Fevereiro de 2009, 01:46 »
Obrigado pela resposta amigo.
Eu entendi o que disse,porem eu te pediria para você fazer o exemplo para mim.
Eu vou postar o código do style.css da minha skin e você pode fazer a modificação por favor.

Style.css:
Código: [Seleccione]
#searcharea {
position:absolute;
float: right;
margin: 3px 15px 0 70em;
width: 189px;
height: 29px;
z-index: 1;
background: url(images/art/searchbox.png) no-repeat;
overflow: hidden;
}
#searcharea .searchbox {
background: transparent;
color: #000;
padding: 0;
border: none;
margin: 5px 0 0 15px;
width: 150px;
height: 20px;
font-size: 14px;
}
/* Normal, standard links. */
a:link {
color: #222222;
text-decoration: none;
}
a:visited {
color: #222222;
text-decoration: none;
}
a:hover {
color: #680800;
text-decoration: underline;
}
/* Navigation links - for the link tree. */
.nav {
margin:10px 0px;
}
.nav:link, .nav:visited{
text-decoration: none;
font-size: 11px;
font-weight: bold;
font-family: verdana, tahoma;
}
a.nav:hover {
color: #680800;
}
/* Tables should show empty cells. */
table {
empty-cells: show;
}
/* By default (td, body..) use verdana in black. */
body, td, th , tr {
color: #000000;
font-size: small;
font-family: tahoma, verdana;
}
/* The main body of the entire forum. */
body {
background: #414141 url(images/art/header-bg.png) repeat-x top left;
margin: 0px;
padding: 15px 0px 4px 0px;
font-size: 12px;
line-height: 125%;
}
/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button {
color: #000000;
font-family: verdana, sans-serif;
}
input, button {
font-size: 90%;
}
textarea {
font-size: 100%;
color: #000000;
font-family: verdana, sans-serif;
}
/* All input elements that are checkboxes or radio buttons. */
input.check {
}
/* Selects are a bit smaller, because it makes them look even better 8). */
select {
font-size: 90%;
font-weight: normal;
color: #000000;
font-family: verdana, sans-serif;
}
/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor {
height: 1px;
border: 0;
color: #666666;
background-color: #666666;
}
/* No image should have a border when linked */
a img {
border: 0;
}
/* A quote, perhaps from another post. */
.quote {
color: #000000;
background-color: #D7DAEC;
border: 1px solid #000000;
margin: 1px;
padding: 1px;
font-size: x-small;
line-height: 1.4em;
}
/* A code block - maybe even PHP ;). */
.code {
color: #000000;
background-color: #dddddd;
font-family: "courier new", "times new roman", monospace;
font-size: x-small;
line-height: 1.3em;
/* Put a nice border around it. */
border: 1px solid #000000;
margin: 1px auto 1px auto;
padding: 1px;
width: 99%;
/* Don't wrap its contents, and show scrollbars. */
white-space: nowrap;
overflow: auto;
/* Stop after about 24 lines, and just show a scrollbar. */
max-height: 24em;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader {
color: #000000;
text-decoration: none;
font-style: normal;
font-weight: bold;
font-size: x-small;
line-height: 1.2em;
}
/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help {
cursor: help;
}
/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction {
color: red;
}
/* The main post box - this makes it as wide as possible. */
.editor {
width: 96%;
}
/* Highlighted text - such as search results. */
.highlight {
background-color: yellow;
font-weight: bold;
color: black;
}
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body {
background: #FFF;
color: #5b5b5b;
padding: 1ex;
border-bottom: 1px solid #EEEEEE;
}
.windowbg2 {
background: #EEEEEE;
color: #5b5b5b;
padding: 1ex;
border: 1px solid #DDDDDD;
}
.windowbg3 {
background: #EEEEEE;
padding: 5px;
border: 1px solid #DDDDDD;
}
/* the today container in calendar */
.calendar_today {
color: #680800;
text-align: center;
font-weight: bolder;
background-color: #FCFCFC;
}
/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td {
color: white;
font-style: normal;
background: url(images/titlebg.gif) #191919 repeat-x;
padding-left: 10px;
padding-right: 10px;
line-height: 21px;
}
.titlebg, .titlebg a:link, .titlebg a:visited {
font-weight: bold;
color: white;
font-style: normal;
}
.titlebg a:hover {
color: #680800;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited {
color: white;
font-style: normal;
text-decoration: underline;
}
.titlebg2 a:hover {
text-decoration: underline;
}
/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td {
background: #7F0000 url(images/catbg.gif) repeat-x;
color: #FFFFFF;
padding-left: 10px;
padding-right: 10px;
font-size:13px;
line-height: 22px;
}
.catbg2 , tr.catbg2 td {
background: #7F0000 url(images/catbg.gif) repeat-x;
color: #FFFFFF;
padding-left: 10px;
padding-right: 10px;
line-height: 22px;
}
.catbg2 {
}
.catbg, .catbg2 {
font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited {
font-size: 95%;
color: white;
text-decoration: none;
}
.catbg a:link, .catbg a:visited {
color: white;
text-decoration: none;
}
.catbg a:hover, .catbg3 a:hover {
color: #E3E3E3;
}
.catbg2 a:link, .catbg2 a:visited, .catbg2 a:hover {
color: #FEFEFE;
text-decoration: none;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor {
padding: 0px;
}
/* This is used on tables that should just have a border around them. */
.tborder {
padding: 0px;
border: 1px solid #c4c4c4;
}
/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext {
font-size: x-small;
font-family: verdana, sans-serif;
}
.smalltext2 {
color: white;
font-size: x-small;
font-family: verdana, sans-serif;
}
.middletext {
font-size: 90%;
}
.normaltext {
font-size: small;
}
.largetext {
font-size: large;
}
/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage {
width: 100%;
overflow: auto;
line-height: 1.3em;
}
/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature {
width: 100%;
overflow: auto;
padding-bottom: 3px;
line-height: 1.3em;
}
/* Sometimes there will be an error when you post */
.error {
color: red;
}
/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last, .mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last {
vertical-align: top;
}
.maintab_back, .maintab_active_back, .mirrortab_back, .mirrortab_active_back {
text-decoration: none;
color: #aaa;
font-weight: bold;
font-size: 11px;
padding: 5px;
}
.maintab_first,.mirrortab_first {
display: none;
}
.maintab_back,.mirrortab_back {}
.maintab_last,.mirrortab_last {
display: none;
}
.maintab_active_first, .mirrortab_active_first {
display: none;
}
.maintab_active_back, .mirrortab_active_back {
text-decoration: overline;
}
.maintab_active_last, .mirrortab_active_last {
display: none;
}
/* how links behave in main tab. */
.maintab_back a:link, .maintab_back a:visited, .mirrortab_back a:link, .mirrortab_back a:visited {
color: #333;
text-decoration: none;
}
.maintab_active_back a:link, .maintab_active_back a:visited, .mirrortab_active_back a:link, .mirrortab_active_back a:visited {
color: #333;
text-decoration: none;
}
.maintab_back a:hover, .maintab_active_back a:hover, .mirrortab_back a:hover, .mirrortab_active_back a:hover {
color: #680800;
text-decoration: overline;
}
/* The AJAX notifier */
#ajax_in_progress {
background: #292929;
color: white;
text-align: center;
font-weight: bold;
font-size: 18pt;
padding: 3px;
width: 100%;
position: fixed;
bottom: 0;
left: 0;
}
/* Top Navbar */
/* Popup Fix */
.popuptext {
color: red;
}
.popuptext a:link, .popuptext a:visited {
color: red;
}
.popuptext a:hover {
color: red;
text-decoration: underline;
}
/* Forum Width */
#wrapper {
width: 1050px;
min-width: 720px;
margin: 0 auto;
padding: 0;
}
/* Banner / Logo */
#logo {
position: absolute;
float: left;
top: -2px;
left: 15px;
display: block;
width: 187px;
height: 56px;
cursor: pointer;
background: url(./images/art/logo.png) no-repeat;
}
/* Header */
#header {
position: relative;
height: 84px;
overflow: hidden;
background: 0 0 repeat-x;
}
#head-r {
height: 84px;
background: 100% 0 no-repeat;
}
#head-l {
background: 0 0 no-repeat;
}
/* Userarea */
#userarea {
height: 53px;
float: right;
padding: 5px 25px 0 0;
text-align: right;
font-size: 1.0em;
color: #000;
font-family: tahoma, sans-serif;
}
#userarea a:link, #userarea a:visited {
color: #000;
}
#userarea a:hover {
color: #680800;
text-decoration: underline;
}
/* Bodyarea */
#bodyarea {
padding: 10px;
margin: 0;
background: #FCFCFC url(images/art/page_repeat.png) 0 0 repeat-x;
}
/* Footer */
#footer {
background: #FFF url(images/art/botbg.png) 0 100% repeat-x;
}
#footer-r {
height: 35px;
background: url(images/art/botright.png) 100% 100% no-repeat;
}
#footer-l {
background: url(images/art/botleft.png) 0 100% no-repeat;
}
#footerarea {
text-align: center;
padding: 10px;
color: #222;
}
#footerarea a:link, #footerarea a:visited {
color: #680800;
}
#footerarea a:hover {
color: #680800;
text-decoration: none;
}
div.clearit {
clear: both;
margin-top: 12px;
margin-bottom: 2px;
}
.clear {
clear:both;
}
.clearfix:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
.clearfix {display:inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height:1%; }
.clearfix {display:block;}

#navbar {
position: relative;
height: 36px;
width: auto;
background: url(images/art/navbg.gif) repeat-x top left;
border: 1px solid #740c03;
margin: 1px 0px 0px 0px;
}
#navbar ul {
list-style-type: none;
height: 36px;
padding: 0px;
margin: 0px;
}
#navbar ul li {
display: block;
padding: 0px 2px 0px 0px;
float: left;
height: 36px;
width: auto;
margin: 0px;
background: url(images/art/navsep.gif) no-repeat top right;
}
#navbar ul li a:link, #navbar ul li a:visited {
display: block;
float: left;
margin: 0px;
width: auto;
height: 24px;
padding: 6px 10px;
color: #ffd1d5;
font-family: Arial, sans-serif;
font-size: 14px;
font-weight: normal;
text-decoration: none;
}
#navbar ul li a:hover {
display: block;
text-decoration: none;
background: url(images/art/navhov.gif) repeat-x top left;
color: #680800;
}
#navbar ul li.chosen a {
display: block;
text-decoration: none;
background: url(images/art/navhov.gif) repeat-x top left;
color: #680800;
}
#linktree {
clear: both;
padding: 7px;
font-weight: bold;
background: transparent;
border: solid 1px #DDD;
}
#linktree, #linktree a {
font-weight: 700;
Obrigado pela atenção amigo e um abraço :) !

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5073
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Re: Ajuda com BBcode ''quote" !
« Responder #3 em: 18 de Fevereiro de 2009, 07:54 »
Vou fazer o demo depois coloco aqui
ja a funcionar

Offline Chandy

  • Warezman
  • Iniciar SmfPt
  • *
  • Mensagens: 5
  • Rank: 0
  • Sexo: Masculino
Re: Ajuda com BBcode ''quote" !
« Responder #4 em: 23 de Fevereiro de 2009, 05:07 »
Muito obrigado candidosa2 !
Estou no aguardo  biggrin