Boas-vindas ao Power Pixel

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

Anonymous Convidado  • Sex 27 Set 2013 - 7:53

MP para Tds os usuarios Empty MP para Tds os usuarios Sex 27 Set 2013 - 7:53

Qual é minha questão:
Ola,
Eu usei o código passado pelo [F]lames para criar uma pagina aonde mandamos MP para tds os usuários do grupo selecionado.
Minhas dúvidas são:
Como faço para trocar os grupos que estão no código para os do meu fórum.
Como coloco faço para fechar esta pagina para que apenas quem possua a senha possa estar usando a pagina.

Segue abaixo o código:

Código:
<script>jQuery.get('/privmsg?mode=post',function(data) {jQuery('.buttons input[name="auth[]"]').attr('value',jQuery('.frm-buttons input[name="auth[]"]:first',data).attr('value'));});</script><form action="/privmsg" class="frm-form" method="post" name="post" onsubmit="return vB_Editor['text_editor'].prepare_submit(0,0)" enctype="multipart/form-data" style="
    font-family: "Segoe UI Web Light","Segoe UI Light","Segoe UI Web Regular","Segoe UI","Segoe UI Symbol","Helvetica Neue",Arial;
    font-size: 17px;
    line-height: 1.8em;
"><style>input[value="Salvar"]:hover {background-color: rgb(231,231,231) !important;}
select option {font-weight: 700!important;}</style><fieldset class="fieldset_left html-editor"><dl style="
    display: inline;
    padding-left: 7px;
"><dt style="
    display: inline;
    margin-right: 350px;
">Sistema ativado ?</dt><dd style="
    display: inline;
"><input type="radio" name="sistem_yes" id="sistem_yes" value="1" class="radio" style="
"><label for="allow_welcome_pm_yes" style="
    margin-right: 149px;
"> Ativado</label><input type="radio" name="sistem_not" id="sistem_not" value="0" class="radio" checked="checked" style="
"><label for="allow_welcome_pm_no"> Desativado</label> </dd>
</dl>
<br><dl style="
    display: inline;
    padding-left: 7px;
"><dt style="
    display: inline;
    margin-right: 350px;
">Titulo do aviso:</dt><dd style="
    display: inline;
    margin-left: 39px;
"><input type="text" name="subject" style="margin: 7px;
                border: 1px solid #DDD;
                padding: 5px;
                width: 46.7%;
                outline: none;
                font-family:'Segoe UI Web Light', 'Segoe UI Light', 'Segoe UI Web Regular', 'Segoe UI', 'Segoe UI Symbol', 'Helvetica Neue', Arial;
                font-size: 18px;background: #FFF;border-radius: 0px;box-shadow: none;color: #333;text-shadow: none;margin-left: -26px;"></dd>
</dl><dl style="
    display: inline;
    padding-left: 7px;
"><dt style="
    display: inline-table;
    margin-right: 377px;
    margin-top: -10px;
">Enviar para:</dt><dd style="
    display: inline-table;
    left: 11px;
    position: relative;
"><select name="usergroup" style="
    margin: 7px;
               
    padding: 3px;
                border: 1px solid #DDD;
                outline: none;
                font-family:'Segoe UI Web Light', 'Segoe UI Light', 'Segoe UI Web Regular', 'Segoe UI', 'Segoe UI Symbol', 'Helvetica Neue', Arial;
                font-size: 18px;
                padding-top: 6px;
    width: 269%;
    margin-left: -1px;
    margin-right: 0px;
    margin-bottom: 0;
"><option value=""></option><option value="1">Administradores</option><option value="6">Bot</option><option value="5">Designs</option><option value="3">Gerentes</option><option value="2">Moderadores</option><option value="4">Suportes</option><option value="7">Todos os usuários</option></select></dd>
</dl><dl><dt style="
    padding-left: 7px;
"><label for="welcome_text">Mensagem de boas-vindas<a href="/popup_help.forum?l=miscvars" target="_blank" onclick="window.open('/popup_help.forum?l=miscvars&i=welcome_text','','width=800,height=600,top=((screen.height-600)/2),left=((screen.width-800)/2),scrollbars=1');return false;"> *</a> :</label></dt><dd><span class="gensmall"><div><textarea class="post" name="message" id="vB_Editor_001_textarea" rows="10" cols="60" style=" height:200px; font-family: "Segoe UI Web Light","Segoe UI Light","Segoe UI Web Regular","Segoe UI","Segoe UI Symbol","Helvetica Neue",Arial;font-size: 16px;width: 97%;outline: none;resize: none;margin: 7px;padding: 7px;border: 1px solid rgb(221,221,211);" tabindex="1" dir="ltr"><blue>Admin</blue><black>, Bem vindo ao iGamer Fórum!
Leia as nossas regras para não ser punido com Infrações.
Se apresente, na área de apresentações do</black> <red>iGamer Fórum</red>.</textarea></div></span> </dd></dl><div class="buttons"><input type="hidden" name="auth[]" value="cbfc24a67b64531d31428dc63ebab5e9"><input type="hidden" name="folder" value="inbox"><input type="hidden" name="mode" value="post"><input type="hidden" name="new_pm_time" value="1364566835"><input type="hidden" name="lt" value=""><input type="submit" value="Salvar" name="post" class="icon_ok" style="alignment-baseline: auto;
background-attachment: scroll;
background-clip: border-box;
background-image: none;
background-origin: padding-box;
background-position: 0% 0%;
background-repeat: repeat;
background-size: auto;
baseline-shift: baseline;
border-bottom-color: rgb(102, 102, 102);
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-bottom-style: none;
border-bottom-width: 0px;
border-collapse: separate;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(102, 102, 102);
border-left-style: none;
border-left-width: 0px;
border-right-color: rgb(102, 102, 102);
border-right-style: none;
border-right-width: 0px;
border-top-color: rgb(102, 102, 102);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top-style: none;
border-top-width: 0px;
bottom: auto;
box-shadow: none;
box-sizing: content-box;
caption-side: top;
clear: none;
clip: auto;
clip-path: none;
clip-rule: nonzero;
color: rgb(33, 33, 33);
color-interpolation: srgb;
color-interpolation-filters: linearrgb;
color-rendering: auto;
cursor: pointer;
direction: ltr;
display: inline-block;
dominant-baseline: auto;
empty-cells: show;
fill: #000000;
fill-opacity: 1;
fill-rule: nonzero;
filter: none;
float: none;
flood-color: rgb(0, 0, 0);
flood-opacity: 1;
font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif !important;
font-size: 14px!important;
font-style: normal;
font-variant: normal;
font-weight: lighter !important;
glyph-orientation-horizontal: 0deg;
glyph-orientation-vertical: auto;
height: 32px !important;
image-rendering: auto;
kerning: 0;
left: auto;
line-height: 1.8em;letter-spacing: normal;
lighting-color: rgb(255, 255, 255);
line-height: 28.15625px;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
margin-bottom: 10px;
margin-left: 10px;
margin-right: 10px;
margin-top: 10px;
marker-end: none;
marker-mid: none;
marker-start: none;
mask: none;
mask-type: luminance;
max-height: none;
max-width: none;
min-height: 0px;
min-width: 0px;
opacity: 1;
orphans: 2;
outline-color: rgb(102, 102, 102);
outline-style: none;
outline-width: 0px;
overflow-wrap: normal;
overflow-x: hidden;
overflow-y: hidden;
padding-bottom: 0px;
padding-left: 7px;
padding-right: 7px;
padding-top: 0px;
page-break-after: auto;
page-break-before: auto;
page-break-inside: auto;
pointer-events: auto;
position: relative;
resize: none;
right: auto;
shape-rendering: auto;
speak: normal;
stop-color: rgb(0, 0, 0);
stop-opacity: 1;
stroke: none;
stroke-dasharray: none;
stroke-dashoffset: 0;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 4;
stroke-opacity: 1;
stroke-width: 1;
tab-size: 8;
table-layout: auto;
text-align: left;
text-anchor: start;
text-decoration: none;
text-indent: 0px;
text-overflow: ellipsis;
text-rendering: auto;
text-shadow: none;
text-transform: none;
top: auto;
unicode-bidi: normal;
vector-effect: none;
vertical-align: baseline;
visibility: visible;
white-space: nowrap;
widows: 2;
word-break: normal;
word-spacing: 0px;
word-wrap: normal;
writing-mode: lr-tb;
z-index: auto;
zoom: 1;background-color: rgb(243,243,243);"></div></fieldset></form>
Endereço do meu fórum:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

Versão:
PunBB

Anonymous Convidado  • Sáb 28 Set 2013 - 11:02

Anonymous Convidado  • Dom 29 Set 2013 - 20:30

Conteúdo patrocinado  • 

MP para Tds os usuarios Empty Re: MP para Tds os usuarios

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