Boas-vindas ao Power Pixel

Junte-se a comunidade! Crie o seu próprio conteúdo, e faça amizades.EntrarCriar uma conta

Editor igual vBulletin

3 participantes

DeeW. DeeW.  • Dom 9 Fev 2014 - 11:48

Editor igual vBulletin Empty Editor igual vBulletin Dom 9 Fev 2014 - 11:48

Qual é minha questão:
Olá,

Queria que alguém passa-se o código do editor de texto dos fóruns vBulletin.

Até.

Endereço do meu fórum:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

Versão:
PunBB

Target Target  • Dom 9 Fev 2014 - 13:28

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 13:28

Olá,
Temos um editor, não é vB, mas é um editor rápido.
Tente:

Código:

$(document).ready(function(){
$('body').before('<style>#editp {background: #F6F8FA;border: 1px solid #DCE2EC;margin: 3px;}#editp [name="subject"], #editp [name="topic_color"]{display:none}#editp textarea{height: 200px !important;margin: 3px;}#editp .frm-buttons {padding: 8px;}#editp .inputbox {display: inline-block;}</style>');
$('a[href*="mode=editpost"]').bind('click', function(){
edit = $(this).attr('href');
$('#editp').remove();
$(this).parents('.post').find('.post-entry').after('<div id="editp"><img src="http://activit.com.br/img/loading-transparent.gif"></div>');
$('#editp').hide().fadeIn();
$.get(edit, function(e){
var input = $('.frm-form .frm-input', e).html();
var textarea = $('.frm-form .frm-textarea', e).html();
var razao = $('.frm-form dl:contains("Razão") dd', e).last().html();
var buttons = $('.frm-form .frm-buttons', e).html();
var form = '<form onsubmit="return vB_Editor[\'text_editor\'].prepare_submit(0,0)" name="post" method="post" action="/post" class="frm-form" enctype="multipart/form-data">' + input + textarea + '<div class="frm-buttons">Razão para editar: ' + razao + '<br /><br />' +buttons +'</div></form>';
$('#editp').html(form);
});
jQuery('html,body').animate({scrollTop: jQuery('#editp').offset().top}, 800);
return false;
});
});

Até +! Wink

DeeW. DeeW.  • Dom 9 Fev 2014 - 13:55

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 13:55

Não Funcionou.

Target Target  • Dom 9 Fev 2014 - 13:58

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 13:58

Colocou o investimento nos tópicos?!

Até +! Wink

DeeW. DeeW.  • Dom 9 Fev 2014 - 14:07

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 14:07

Sim.

Até.

Target Target  • Dom 9 Fev 2014 - 14:09

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 14:09

Olá amigo, no meu o código funciona perfeitamente!
Tente excluir outros jQuerys e tente novamente, deve haver algum conflito entre eles!

Até +! Wink

DeeW. DeeW.  • Dom 9 Fev 2014 - 14:15

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 14:15

Apaguei todos e ainda continua.

OBS: Poderia me mostrar um print desse editor?

Até.

Target Target  • Dom 9 Fev 2014 - 14:18

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 14:18

Amigo, podes testar o mesmo neste site:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

Ele é funcional! ;-)
Peço que tente novamente !

Até +! Smile

DeeW. DeeW.  • Dom 9 Fev 2014 - 14:23

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 14:23

Não consigo criar conta para ver... poderia me passar a senha de uma das contas testes de lá?

Até.

Target Target  • Dom 9 Fev 2014 - 14:27

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 14:27

Olá,
Sim!
Tente está conta:

Login: Teste2
Senha: 123teste

Até +! Smile

DeeW. DeeW.  • Dom 9 Fev 2014 - 14:31

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 14:31

Olá,

eu vi o editor, mas não vi nem um ícone se quer de diferente.

Até.

Target Target  • Dom 9 Fev 2014 - 14:32

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 14:32

Reputação da mensagem: 100% (1 votos)
Olá,
Amigo é como eu disse, é um editor simples! Não é nada tão "avançado" assim, estarei a fazer um editor conforme o senhor e muitos outros desejam, mas terão que aguarda!

Até +! Wink

DeeW. DeeW.  • Dom 9 Fev 2014 - 14:35

Editor igual vBulletin Empty Re: Editor igual vBulletin Dom 9 Fev 2014 - 14:35

Obrigado pela Ajuda. Aguardarei o editor.

Até.

Target Target  • Seg 10 Fev 2014 - 12:35

Editor igual vBulletin Empty Re: Editor igual vBulletin Seg 10 Fev 2014 - 12:35

Posso dá o tópico como resolvido!?

DeeW. DeeW.  • Ter 11 Fev 2014 - 10:44

Editor igual vBulletin Empty Re: Editor igual vBulletin Ter 11 Fev 2014 - 10:44

Olá,

Pode sim!

Até.

[K]oke [K]oke  • Ter 11 Fev 2014 - 13:38

Editor igual vBulletin Empty Re: Editor igual vBulletin Ter 11 Fev 2014 - 13:38

[sucesso=Tópico Resolvido; e Bloqueado][/sucesso]Movido para: Arquivo - Pedido de código

Conteúdo patrocinado  • 

Editor igual vBulletin Empty Re: Editor igual vBulletin

Permissões neste sub-fórum
Não podes responder a tópicos