2 mesaje
Administrator Administrator
  • Mesaje: 4218
  • Reacții: 81637
  • Mesaje utile: 44
  • Status: Pe aici.. 🤠
  • Server: Saga2 - Soon
  • Regat: Jinno
  • [ID Discord]
  • Contact:
    *Descriere:

    Metin2CMS este un Website CMS creat de Ionut si distribuit Gratuit pentru comunitatea de Metin2 din intreaga lume. :x :)

    CMS-ul lui Ionut este printre cele mai profesionale si stabile platforme gratuite de website pe care o puteti folosi pentru a va crea site-ul pentru serverul privat de Metin2.

    Puteti folosi oricare versiune care va place: V1, V2 sau varianta Lite

    - Daca vreti un Itemshop compatibil cu acest CMS: stabil-itemshop-metin2cms-ionut-t6395.html
    - Aici aveti un Market pentru Playeri compatibil cu acest CMS: stabil-metin2cms-item-market-for-players-t6396.html
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 13
    The latest version of the CMS. This CMS is Open-Source and is accompanied by updates. To update to a newer version, enter in administrator panel.

    Nota: In arhiva veti gasi toate versiunile realizate de Ionut, inclusiv versiunea V2 si cea Lite.

    Documentatie:
    https://v2.metin2cms.cf/documentation/

    *Poze / Video (obligatoriu):
    Metin2CMS V1.18:
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 17
    Alte poze:
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 16
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 15
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 14


    Metin2CMS V2.12:

    Versiunea V2 vine cu 2 stiluri:

    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 19
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 18
    Mai multe poze:
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 12
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 11
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 10
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 9
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 8
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 7
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 6



    Metin2CMS Lite V1.18
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 5
    Mai multe poze:
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 4
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 3
    [Stabil] Website Metin2CMS by Ionut - Mesaj 1 - Imagine 2
    ]


    *Link download:
    Conținut: Ascuns
    Reacționează ❤️ la acest mesaj și conținutul se va afișa automat.

    Conținut: Ascuns
    Reacționează ❤️ la acest mesaj și conținutul se va afișa automat.

    Conținut: Ascuns
    Reacționează ❤️ la acest mesaj și conținutul se va afișa automat.


    Download backup:
    Conținut: Ascuns
    Reacționează ❤️ la acest mesaj și conținutul se va afișa automat.

    Conținut: Ascuns
    Reacționează ❤️ la acest mesaj și conținutul se va afișa automat.


    *Scanare VirusTotal:
    Te asteptam si pe serverul de Discord :p - aici ne-am strans toata comunitatea de Metin2 din Romania.
    Link: https://discord.gg/jWxeDSf7HP

    Suntem aproape 2000 membri! - Avem chat activ zilnic, support, cereri, resurse. :D :ymcowboy:




    See full signature

    🔥 Hai pe Discord! - Chat activ și support direct

    Te așteptăm și pe serverul de Discord - aici ne-am strâns toată comunitatea de Metin2 din România.

    Alătură-te acum!
    Suntem aproape: 
    Robot Discord
    Roboțelu'
    Anunț
    Administrator Administrator
  • Mesaje: 4218
  • Reacții: 81637
  • Mesaje utile: 44
  • Status: Pe aici.. 🤠
  • Server: Saga2 - Soon
  • Regat: Jinno
  • [ID Discord]
  • Contact:
    Avatar utilizator
    Administrator
    Administrator

    Mesaj de [HF]White »

    Tutorial - Cum sa adaugi google reCaptcha la login pe site:
    This tutorial was created to stop testing accounts with brute force method. Next, you have the tutorial on how to add Google reCAPTCHA on login, step by step.
    [Stabil] Website Metin2CMS by Ionut - Mesaj 2 - Imagine 9
    Get reCAPTCHA API keys:

    For adding reCAPTCHA to your site, you need to register your site and get reCAPTCHA API keys.
    Register your site

    Register your site at Google from here – https://www.google.com/recaptcha/admin
    [Stabil] Website Metin2CMS by Ionut - Mesaj 2 - Imagine 8
    Get your Site Key

    Site key is used to display the reCAPTCHA widget.
    [Stabil] Website Metin2CMS by Ionut - Mesaj 2 - Imagine 7
    Get your Secret Key

    Secret key helps authorizes communication between your site and the reCAPTCHA server.
    [Stabil] Website Metin2CMS by Ionut - Mesaj 2 - Imagine 6
    HTML Code:

    Paste this snippet before the closing tag on your HTML template: index.php
    Code:
    <script src="https://www.google.com/recaptcha/api.js" async defer></script>
    [Stabil] Website Metin2CMS by Ionut - Mesaj 2 - Imagine 5
    Add this in the login form from sidebar: include/sidebar/user.php
    Replace SITE-KEY with your Google Site Key. ↑

    Replace data-theme="light" with data-theme="dark" if you want a dark theme.
    Code:
    <div class="form-group">
    	<center><div class="g-recaptcha" data-theme="light" data-sitekey="SITE-KEY" style="transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;"></div></center>
    </div>
    [Stabil] Website Metin2CMS by Ionut - Mesaj 2 - Imagine 4
    Add this in the login form from login page: pages/login.php
    Replace SITE-KEY with your Google Site Key. ↑
    Code:
    <tr>
    	<td><?php print $lang['captcha-code']; ?>:</td>
    	<td><div class="g-recaptcha" data-sitekey="SITE-KEY"></div></td>
    </tr>
    [Stabil] Website Metin2CMS by Ionut - Mesaj 2 - Imagine 3
    PHP Code:

    Into the PHP code you need to modify Google Secret Key.

    Replace SECRET-KEY with your Google Secret Key. ↑

    Replace all text in: include/functions/pages/login.php with this:
    Code:
    <?php
    	if(isset($_POST['username']) && isset($_POST['password']) && isset($_POST['g-recaptcha-response']) && !empty($_POST['g-recaptcha-response']))
    	{
    		$username = strip_tags($_POST['username']);
    		$password = strip_tags($_POST['password']);
    		
            $secret = 'SECRET-KEY';
    		
            $verifyResponse = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret='.$secret.'&response='.$_POST['g-recaptcha-response']);
            $responseData = json_decode($verifyResponse);
    		
            if($responseData->success)
               $login_info = $database->doLogin($username,$password);
    		else $login_info = array(6);
    	}
    ?>
    Add this in: pages/login.php after case 5:
    Code:
    case 6:
    	print $lang['incorrect-security'];
    	break;
    [Stabil] Website Metin2CMS by Ionut - Mesaj 2 - Imagine 2
    Add this after: if(isset($_POST['username']) && isset($_POST['password']))
    Code:
    if(!(isset($_POST['g-recaptcha-response']) && !empty($_POST['g-recaptcha-response'])))
    	$login_info = array(6);
    [Stabil] Website Metin2CMS by Ionut - Mesaj 2 - Imagine 1
    Te asteptam si pe serverul de Discord :p - aici ne-am strans toata comunitatea de Metin2 din Romania.
    Link: https://discord.gg/jWxeDSf7HP

    Suntem aproape 2000 membri! - Avem chat activ zilnic, support, cereri, resurse. :D :ymcowboy:




    See full signature

    🔥 Hai pe Discord! - Chat activ și support direct

    Te așteptăm și pe serverul de Discord - aici ne-am strâns toată comunitatea de Metin2 din România.

    Alătură-te acum!
    Suntem aproape: 
    Robot Discord
    Roboțelu'
    Anunț
    Scrie răspuns

    Creează-ți un cont sau autentifică-te pentru a participa la discuție

    Trebuie să fii membru pentru a răspunde

    Creează-ți un cont

    Membrii pot crea subiecte noi și pot descărca resurse Metin2 Gratuit!


    Te poți înregistra sau conecta rapid utilizând contul tău de Discord, Github sau Google.

    Înregistrare

    Autentifică-te

    Înapoi la “Homepage”

    Informații

    Utilizatori ce navighează pe acest forum: Niciun utilizator înregistrat și 0 vizitatori

    Discord ID copiat: