Informações:
Autor: Daemon
Funcionalidade: PunBB
Neste tutorial iremos ensiná-los a aplicar um botão de citação de nick nas postagens.
Acesse:
Crie um novo Javascript com investimento em todas as paginas com esse codigo:Painel de Controle ☛ Modulos ☛ Html e Javascript ☛ Gestão dos codigos Javascript
- Código:
var copyright = 'bestskins';
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('$(x).w(3(){2 c=\'y\';d(c==z){2 p=$(\'.5\');$(p).B(3(){2 b=$(7);9=b.i(\'.4-v\')[0];2 e=\'Cção s m\';d(l["n"]===1){$(\'<f q="h">\'+e+\'</f>\').A(9)}});$(\'.h\').N(\'M\',3(){2 4=$(7).P(\'.5\').i(\'.Q\').L();$(\'#F\').E(\'G\').H(\'[k="\'+4+\'"],\')});2 6=$(\'.5 .6-I\');6.j(3(){t $(7).j().J(/\\[k\\="?(.*?)"?\\]/g,\'<8><a O="/K?D=r&u=$1">$1</a></8>\')})}});',53,53,'||var|function|user|post|entry|this|strong|uinfo||oThis|validate|if|texto|span||nick_quote|find|html|member|_userdata|nick|session_logged_in|||class|viewprofile|de|return||info|ready|document|bestskins|copyright|insertAfter|each|Cita|mode|sceditor|text_editor_textarea|instance|insert|content|replace|profile|text|click|on|href|parents|username'.split('|'),0,{}))
Feito isto acesse:
Adicione esse codigo CSS em sua folha de estilo:Painel de Controle ☛ Visualização ☛ Imagens e Cores ☛ Cores ☛ Folha de Estilo
- Código:
.nick_quote {
-moz-box-shadow: inset #70A4CF 0 6px 10px;
-webkit-box-shadow: inset #70A4CF 0 6px 10px;
background: #3481BE;
border: 1px solid #4A84DB;
border-radius: 3px;
display: block;
box-shadow: inset #70A4CF 0 6px 10px;
color: #FFF;
margin: 8px 0;
cursor: pointer;
font-family: Verdana, Arial;
font-weight: 700;
padding: 3px 5px;
text-align: center;
text-shadow: 0 1px #333;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
Resultado: