Jump to content
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies



  • Author

Obrigado pelo aviso Edvan, Vou tentar atualizar no final de semana :)

 

Blz, atualizei aqui e foi tranquilo!


Como vou atualizar a partir da 5.2.17, ainda preciso comprar velas, passar na benzedeira e me preparar p/ aventura pós atualização (minha preocupação é que os templates de emails) huahauhauhau

 

Eu tenho um com a 5.36, e tenho que adminitr, teve algumas mudanças que ficaram interessante nessa versão (comparada com a 5.2.X)

desempregado


Como sempre, depois de uma semana e se ninguém reclamar de alguma "novidade" eu atualizo aqui (a não ser path de segurança).


  • Author

Como vou atualizar a partir da 5.2.17, ainda preciso comprar velas, passar na benzedeira e me preparar p/ aventura pós atualização (minha preocupação é que os templates de emails) huahauhauhau

 

Eu tenho um com a 5.36, e tenho que adminitr, teve algumas mudanças que ficaram interessante nessa versão (comparada com a 5.2.X)

 

Os problemas (caracteres estranhos pós-atualização) foram resolvidos na v5.3.6... você não terá problemas!



  • Author

@edvan eu tenho um whmcs em produção, mais tem algumas coisas que não se pode testar.

Como eu faço para conseguir uma licença de desenvolvedor?

 

Dá uma lida http://www.whmcs.blog.br/principal/licenca-desenvolvedor/ ( tópico é antigo mas dá para aproveitar as informações ).

 

Como sempre, depois de uma semana e se ninguém reclamar de alguma "novidade" eu atualizo aqui (a não ser path de segurança).

 

kkk


  • Author

Como sempre, depois de uma semana e se ninguém reclamar de alguma "novidade" eu atualizo aqui (a não ser path de segurança).

 

Duran,

 

Até agora só encontrei um pequeno erro no template portal ( barra de qualidade/força da senha ) não está funcionando http://clip2net.com/s/i7KJAQ

 

Reportei a WHMCS.com, foi registrado como "case #4545"

 

Até resolverem o problema me passaram a seguinte dica, pegar o arquivo pwstrength.js ( localizado em /includes/jscript/ ) e substituir pelo código antigo (v5.3.6).

jQuery(document).ready(function() {
    jQuery("#newpw").keyup(function() {
        var pwvalue = jQuery("#newpw").val();
        var pwstrength = getPasswordStrength(pwvalue);
        jQuery("#pwstrength").html("Forte");
        jQuery("#pwstrengthpos").css("background-color", "#33CC00");
        if (pwstrength < 75) {
            jQuery("#pwstrength").html("Moderado");
            jQuery("#pwstrengthpos").css("background-color", "#ff6600");
        }
        if (pwstrength < 30) {
            jQuery("#pwstrength").html("Fraca");
            jQuery("#pwstrengthpos").css("background-color", "#cc0000");
        }
        jQuery("#pwstrengthpos").css("width", pwstrength);
        jQuery("#pwstrengthneg").css("width", 100 - pwstrength);
    });
});

function getPasswordStrength(pw) {
    var pwlength = (pw.length);
    if (pwlength > 5) pwlength = 5;
    var numnumeric = pw.replace(/[0-9]/g, "");
    var numeric = (pw.length - numnumeric.length);
    if (numeric > 3) numeric = 3;
    var symbols = pw.replace(/\W/g, "");
    var numsymbols = (pw.length - symbols.length);
    if (numsymbols > 3) numsymbols = 3;
    var numupper = pw.replace(/[A-Z]/g, "");
    var upper = (pw.length - numupper.length);
    if (upper > 3) upper = 3;
    var pwstrength = ((pwlength * 10) - 20) + (numeric * 10) + (numsymbols * 15) + (upper * 10);
    if (pwstrength < 0) {
        pwstrength = 0
    }
    if (pwstrength > 100) {
        pwstrength = 100
    }
    return pwstrength;
}


function showStrengthBar() {
    document.write('<table align="center"><tr><td>For&ccedil;a da Senha:</td><td width="102"><div id="pwstrengthpos" style="position:relative;float:left;width:0px;background-color:#33CC00;border:1px solid #000;border-right:0px;">&nbsp;</div><div id="pwstrengthneg" style="position:relative;float:right;width:100px;background-color:#efefef;border:1px solid #000;border-left:0px;">&nbsp;</div></td><td><div id="pwstrength">Fraca</div></td></tr></table>');
}

Pelo que percebi a falha está na captura da tradução:

var langPasswordStrength = "{$LANG.passwordstrength}";
var langPasswordWeak = "{$LANG.weak}";
var langPasswordModerate = "{$LANG.moderate}";
var langPasswordStrong = "{$LANG.strong}";

Fora isso não tive outros problemas!


@edvan

Este foi o único problema que encontrou? Estou meio receoso de atualizar, justo agora que o sistema está redondo novamente haha 


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Do you agree with our terms?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.