Register for your free account! | Forgot your password?

You last visited: Today at 13:46

  • Please register to post and access all features, it's quick, easy and FREE!

 

Metin2CMS v2.0

Reply
 
Old   #31
 
elite*gold: 0
Join Date: Sep 2017
Posts: 117
Received Thanks: 18
Erfüllt seinen Zweck, für unsere Deutsche User
Gefällt mir, thanks.



Kryptonit.' is offline  
Old   #32
 
elite*gold: 0
Join Date: Dec 2008
Posts: 3
Received Thanks: 0
Im missing how to add a Admin Account for the CMS in the Docu.


Schwuggie is offline  
Old   #33
 
elite*gold: 0
Join Date: Mar 2013
Posts: 34
Received Thanks: 12
Quote:
Originally Posted by Schwuggie View Post
Im missing how to add a Admin Account for the CMS in the Docu.
in database account->account on column "web_admin" set value 9
IonutPop is offline  
Old   #34
 
elite*gold: 0
Join Date: Mar 2013
Posts: 34
Received Thanks: 12
Update v2.10


Permissions on site
Select the donation currency
Invitation system
Code recovery system
Vote4Coins Improved
The administration panel was reorganized
Possibility to give in-game degrees on the player's edit page
Possibility to add coins
Fixed an issue with the system update


IonutPop is offline  
Old   #35
 
elite*gold: 0
Join Date: Dec 2016
Posts: 34
Received Thanks: 37
Backdoors inside.
Pokeeh is offline  
Old   #36
 
elite*gold: 0
Join Date: Mar 2013
Posts: 34
Received Thanks: 12
Quote:
Originally Posted by Pokeeh View Post
Backdoors inside.
When you say such statements, please come with proof.
IonutPop is offline  
Old   #37
 
elite*gold: 0
Join Date: Dec 2014
Posts: 955
Received Thanks: 436
PHP Code:
<?php
/* 
------------------
Language: German
------------------
*/

$lang = array(
    
'news' => 'Neuigkeiten',
    
'register' => 'Registrieren',
    
'download' => 'Herunterladen',
    
'ranking' => 'Rang',
    
'players' => 'Spieler',
    
'guilds' => 'Gilden',
    
'guild' => 'Gilde',
    
'leader' => 'Anf&uuml;hrer',
    
'points' => 'Punkte',
    
'support' => 'Support',
    
'item-shop' => 'Online-Markt',
    
'follow' => 'FOLGE UNS',
    
'user-panel' => 'Benutzerbereich',
    
'admin-panel' => 'Administrationsmen&uuml;',
    
'user-name' => 'Benutzerbereich',
    
'user-name-or-email' => 'Kontoname oder E-Mail',
    
'password' => 'Passwort',
    
'rpassword' => 'Passwort wiederholen',
    
'email-address' => 'E-Mail-Addresse',
    
'new-email-address' => 'Neue Email Adresse',
    
'captcha-code' => 'Sicherheitscode',
    
'not-available' => 'ist nicht verf&uuml;gbar.',
    
'no-special-chars' => 'Sonderzeichen sind nicht erlaubt.',
    
'no-password-r' => 'Passw&ouml;rter stimmen nicht &uuml;berein.',
    
'forget-password' => 'Passwort vergessen?',
    
'logout' => 'Ausloggen',
    
'login' => 'Anmeldung',
    
'first-page' => 'Erste Seite',
    
'last-page' => 'Letzte Seite',
    
'name' => 'Name',
    
'level' => 'Level',
    
'empire' => 'Reich',
    
'success' => 'Erfolg',
    
'success-register' => 'Das Benutzerkonto wurde erfolgreich erstellt. Jetzt k&ouml;nnen Sie sich im Spiel und auf der Website einloggen.',
    
'incorrect-security' => 'Der eingegebene Sicherheitscode ist falsch.',
    
'incorrect-usermane' => 'Der Benutzername enth&auml;lt unzul&auml;ssige Zeichen.',
    
'incorrect-password' => 'Das eingegebene Passwort enth&auml;lt unzul&auml;ssige Zeichen.',
    
'incorrect-email' => 'Sie haben keine g&uuml;ltige E-Mail-Adresse eingegeben.',
    
'already-user' => 'Der Benutzername ist bereits vergeben.',
    
'already-email' => 'Die E-Mail-Adresse ist bereits einem anderen Konto zugeordnet.',
    
'account-blocked' => 'Das Konto ist gesperrt.',
    
'error-login' => 'Benutzername und Passwort stimmen nicht &uuml;berein',
    
'error-login-email' => 'Die E-Mail-Adresse und das Passwort stimmen nicht &uuml;berein.',
    
'administration' => 'Verwaltung',
    
'account-data' => 'Kontoinformation',
    
'recruit-friends' => 'Rekrutiere Freunde',
    
'server-offline' => 'Der Server ist offline.',
    
'last-update' => 'Letztes Update',
    
'my-account' => 'Ihr Konto',
    
'md' => 'Deine Drachenm&uuml;nzen',
    
'jd' => 'Deine Drachenmarken',
    
'chars' => 'Charaktere',
    
'chars-list' => 'Liste der Charaktere',
    
'no-chars' => 'Du besitzt keine Charaktere.',
    
'friends' => 'Freunde',
    
'recruit-friends-info' => 'Freunde anwerben und Status&uuml;bersicht anzeigen',
    
'change-email' => 'E-Mail Adresse &auml;ndern',
    
'change-password' => 'Kontopasswort &auml;ndern',
    
'success-change-password' => 'Dein Passwort wurde erfolgreich ge&auml;ndert!',
    
'storekeeper' => 'Lagerverwalter',
    
'request-storekeeper' => 'Fordern Sie das Lager-Passwort an',
    
'storekeeper' => 'Lager-Passwort',
    
'no-storekeeper' => 'Sie haben das Lager-Passwort noch nicht ge&auml;ndert.',
    
'delete-chars' => 'L&ouml;schcode',
    
'send' => 'Senden',
    
'delete-account' => 'Konto l&ouml;schen',
    
'cancel-delete-account' => 'Den Vorgang abbrechen',
    
'time-until-deletion' => 'Zeit bis zum L&ouml;schen:',
    
'for-delete-account' => 'Um Ihren Account zu l&ouml;schen, besuchen Sie den folgenden Link.',
    
'days' => 'Tage',
    
'time-to-deletion' => 'Der Account wird bald gel&ouml;scht.',
    
'new-article' => 'F&uuml;ge einen neuen Artikel hinzu',
    
'edit-article' => 'Artikel bearbeiten',
    
'title' => 'Titel',
    
'content' => 'Kontent',
    
'sure?' => 'Bist du sicher?',
    
'sure_send?' => 'Sind Sie sicher, dass Sie eine E-Mail mit diesen Informationen erhalten m&ouml;chten?',
    
'read-more' => 'Weiterlesen',
    
'account-recovery' => 'Konto-Wiederherstellung',
    
'email-recovery' => 'Wenn der Benutzername und die E-Mail-Adresse &uuml;bereinstimmen, erhalten Sie in k&uuml;rze eine Best&auml;tigungs-E-Mail.',
    
'email-recovery-info' => 'Um Ihr Konto wiederherzustellen, gehen Sie bitte auf den folgenden Link.',
    
'incorrect-recovery' => 'Der eingegebene Link ist falsch oder abgelaufen.',
    
'code-delete-chars' => 'Ihr Code zum L&ouml;schen von Charakteren ist',
    
'delete-account-info' => 'Rufen Sie den folgenden Link auf, um Ihr Konto zu l&ouml;schen',
    
'sended-code' => 'Der Code wurde an Ihre E-Mail-Adresse gesendet.',
    
'sended-link' => 'Der Link wurde an Ihre E-Mail-Adresse gesendet.',
    
'rank-position' => 'Rangposition',
    
'class' => 'Klasse',
    
'lycan' => 'Lykaner',
    
'warrior' => 'Krieger',
    
'ninja' => 'Ninja',
    
'shaman' => 'Schamane',
    
'sura' => 'Sura',
    
'select-log' => 'W&auml;hlen Sie eine Einstellung aus',
    
'general-settings' => 'Allgemeine Einstellungen',
    
'edit-links' => 'Website-Links bearbeiten',
    
'edit-info' => 'Websiteinformationen bearbeiten',
    
'edit-links-info' => 'Sie k&ouml;nnen den Namen der Website, soziale Links, Support-Link und Forum-Link bearbeiten.',
    
'edit-links-blank-info' => 'Lassen Sie die Felder leer, die nicht angezeigt werden sollen.',
    
'save' => 'Sichern',
    
'no-download-links' => 'Derzeit gibt es keine Links.',
    
'search' => 'Suche',
    
'update-available' => 'Update verf&uuml;gbar',
    
'update-info' => 'Um das CMS zu aktualisieren, klicken Sie auf die Schaltfl&auml;che unten.',
    
'update' => 'Aktualisieren',
    
'not-updated' => 'Ein automatisches Update kann nicht durchgef&uuml;hrt werden. Bitte aktualisieren Sie die folgenden Dateien manuell',
    
'functions-on-off' => 'Aktivieren / Deaktivieren von Funktionen',
    
'functions-on-off-info' => 'Sie k&ouml;nnen bestimmte Funktionen der Seite aktivieren oder deaktivieren.',
    
'functions' => 'Funktionen',
    
'game-management' => 'Spiel-Management',
    
'create-items' => 'Gegenst&auml;nde erstellen',
    
'create-items-info' => 'Sie k&ouml;nnen Artikel mit den gew&uuml;nschten Spezifikationen erstellen.',
    
'items-number' => 'Item vNum',
    
'bonuses' => 'Boni',
    
'more_bonuses' => 'Mehr Boni',
    
'bonus_absorption' => 'Bonusaufnahme',
    
'stones' => 'Steine',
    
'stone' => 'Stein',
    
'item_time' => 'Artikel Zeit',
    
'costumes' => 'Kost&uuml;me',
    
'create' => 'Erstellen',
    
'char-name' => 'Charaktername',
    
'no_char' => 'Das Zeichen existiert nicht.',
    
'no_space' => '<strong> Das Gegenstand konnte nicht hinzugef&uuml;gt werden!  </strong> Bitte schaffen Sie Platz im Lager.',
    
'successfully_added' => '<strong> Viel Gl&uuml;ck! </strong> Jetzt m&uuml;ssen Sie nur noch den Gegenstand aus dem Lagerhausfenster entnehmen.',
    
'log-info' => 'Sehen Sie sich die Logs des Spiels an.',
    
'no' => 'Nein',
    
'yes' => 'Ja',
    
'delete' => 'L&ouml;schen',
    
'add' => 'Hinzuf&uuml;gen',
    
'download-links' => 'Sie k&ouml;nnen Download-Links bearbeiten.',
    
'title' => 'Titel',
    
'news-on-page' => 'Neuigkeiten auf der Seite',
    
'active-registrations' => 'Aktiviere Registrierung?',
    
'disabled-registrations' => 'Derzeit sind die Registrierungen deaktiviert.',
    
    
//v2.4
    
'vote' => 'Abstimmung',
    
'coin' => 'M&uuml;nze',
    
'value' => 'Wert',
    
'time' => 'Zeit',
    
'hours' => 'Std.',
    
'minutes' => 'Min.',
    
'vote-again' => 'Sie k&ouml;nnen erneut abstimmen in:',
    
'vote-info' => 'Sie k&ouml;nnen Seiten hinzuf&uuml;gen auf der man Abstimmen kann, und Belohnungen f&uuml;r den Zugriff auf sie anpassen.',
    
    
//v2.6
    
'players-online' => 'Spieler online',
    
'accounts-created' => 'Konten erstellt',
    
'created-characters' => 'Charaktere erstellt',
    
'guilds-created' => 'Gilden erstellt',
    
'offline-shops' => 'Offline-Shops',
    
'players-online-last-24h' => 'Spieler online (24h)',
    
'statistics' => 'Statistiken',
    
'player-management' => 'Spielerverwaltung',
    
'player-management-info' => 'Sie k&ouml;nnen einen Spieler sperren oder seinen Status &auml;ndern.',
    
'account' => 'Konto',
    
'actions' => 'Aktionen',
    
'ban' => 'Konto sperren',
    
'unban' => 'Konto entsperren',
    
'status' => 'Status',
    
'close' => 'Schlie&szlig;en',
    
'reason' => 'Grund',
    
'permanent-ban' => 'Permanenter Bann',
    
'temporary-ban' => 'Vor&uuml;bergehender Bann',
    
'unban-check' => 'Sind Sie sicher, dass sie die Sperre aufheben wollen?',
    
'months' => 'Monate',
    
'account-blocked-temporary' => 'Das Konto ist vor&uuml;bergehend gesperrt.',
    
'edit-player-info' => 'Bearbeiten Sie die Spielerinformationen',
    
'cms-management' => 'Eternity-Management',
    
'modules-management' => 'Modulverwaltung',
    
'modules-management-info' => 'Installieren oder deinstallieren Sie Metin2CMS-Module.',
    
'themes' => 'Themen',
    
'themes-info' => 'W&auml;hlen Sie eines der von Metin2CMS bereitgestellten Themen.',
    
'no-modules' => 'Momentan sind keine Module verf&uuml;gbar.',
    
'uninstall' => 'Deinstallieren',
    
'install' => 'Installieren',
    
'uninstall-info' => 'Das Modul wurde erfolgreich deinstalliert.',
    
'no-themes' => 'Momentan sind keine Themen verf&uuml;gbar.',
    
'themes-update-info' => 'Nach jedem Update m&uuml;ssen Sie das Design erneut installieren.',
    
    
//2.7
    
'account-new-column' => 'Der Account-Tabelle wurde eine neue Spalte hinzugef&uuml;gt: ',
    
    
//2.8
    
'site-translate' => '&Uuml;bersetzungen verwalten',
    
'site-translate-info' => 'Sie haben die M&ouml;glichkeit, Ihre Website in verschiedene Sprachen zu &uuml;bersetzen.',
    
'default-language' => 'Die Standardsprache der Seite',
    
'send-translation' => 'Senden Sie eine &Uuml;bersetzung',
    
'debug' => 'Debuggen',
    
'players-debug' => 'Charakter Debuggen?',
    
'debug-success' => 'Der Charakter wurde auf Map 1 zur&uuml;ckgesetzt.',
    
'donate' => 'Spenden',
    
'donate-info' => 'F&uuml;gen Sie neue Spendenmethoden und Preise hinzu.',
    
'donatelist' => 'Spendenliste',
    
'donatelist-info' => 'Validiert Spenden von Spielern.',
    
'price' => 'Preis',
    
'code' => 'Code',
    
'send-donate' => 'Die Spende wird so schnell wie m&ouml;glich von einem Administrator &uuml;berpr&uuml;ft.',
    
'view-donations' => 'Spenden ansehen',
    
'status' => 'Status',
    
'no-paypal' => 'Sie m&uuml;ssen Ihre Paypal-E-Mail einrichten!',
    
'paypal-info' => 'Um die automatische Zahlung &uuml;ber PayPal zu aktivieren, erstellen Sie einfach eine neue Kategorie mit dem Namen "PayPal".',
    
'new-donations' => 'neue Spenden',
    
'validation' => 'Validierung',
    
'https-get-contents-error' => 'Zu diesem Zeitpunkt k&ouml;nnen Sie keine Aktualisierungen vornehmen oder andere Designs und andere &Uuml;bersetzungen verwenden. Klicken Sie hier, um herauszufinden, wie Sie das Problem beheben k&ouml;nnen: ',
    
    
//2.10
    
'privileges' => 'Privilegien',
    
'privileges-info' => 'Sie k&ouml;nnen die Zugriffsebene im Administrationsbereich festlegen.',
    
'currency' => 'W&auml;hrung',
    
'add-coins' => 'Coins hinzuf&uuml;gen',
    
'add-coins-info' => 'Den Spielern Coins hinzuf&uuml;gen',
    
'player' => 'Spieler',
    
'coins-added' => 'Coins wurden erfolgreich hinzugef&uuml;gt.',
    
'account-not-exist' => 'Konto existiert nicht.',
    
'referrals' => 'Freunde einladen',
    
'referral-link' => 'Dies ist der Link deiner Freunde zur Registrierung:',
    
'referral-invited' => 'Eingeladene Spieler:',
    
'play-time' => 'Spielzeit',
    
'collect' => 'Sammeln',
    
'collected' => 'Gesammelt',
    
'not_yet' => 'Noch nicht',
    
'collected_md' => 'Coins gesammelt: ',
    
'referrals-info' => '&Auml;ndern Sie die Einstellungen f&uuml;r das Einladungssystem.',
    
'disabled' => 'Deaktiviert',
    
'enabled' => 'Aktiviert',
    
'eligibility' => 'Berechtigung, eine Belohnung zu erhalten',
    
'eligibility-info' => 'Welche Voraussetzungen m&uuml;ssen von erworbenen Spielern erf&uuml;llt werden?',
    
'reward' => 'Belohnung',
    
'referral-min-hours' => 'Die Mindestanzahl der Stunden, die gespielt wurden',
    
'referral-min-level' => 'Mindestlevel',
    
'redeem-codes' => 'Code einl&ouml;sen',
    
'redeem-my-code' => 'Meinen Code einl&ouml;sen',
    
'redeem-code-info' => 'Erstelle Codes, die Spieler einl&ouml;sen k&ouml;nnen.',
    
'code-created' => 'Der erstellte Code ist:',
    
'type' => 'Art',
    
'incorrect-redeem' => 'Der eingegebene Code ist falsch oder wurde bereits verwendet.'
    
);
?>
Here you have the german translation from me.
BizepsSupportAccount is offline  
Old   #38
 
elite*gold: 0
Join Date: Mar 2013
Posts: 34
Received Thanks: 12
Quote:
Originally Posted by BizepsSupportAccount View Post
Here you have the german translation from me.
Thank you, very much! I added it .
IonutPop is offline  
Old   #39
 
elite*gold: 0
Join Date: May 2017
Posts: 30
Received Thanks: 2
Gj Guy
Aiceal is offline  
Old   #40
 
elite*gold: 0
Join Date: Mar 2013
Posts: 34
Received Thanks: 12
Tutorial: how to add login with Google reCAPTCHA:
IonutPop is offline  
Old   #41
 
elite*gold: 0
Join Date: Jun 2008
Posts: 59
Received Thanks: 1
Quote:
Originally Posted by IonutPop View Post
Features: Modern design
Mhh..



Sad
D4niii is offline  
Old   #42
 
elite*gold: 0
Join Date: Mar 2013
Posts: 34
Received Thanks: 12
Quote:
Originally Posted by D4niii View Post
Mhh..



Sad
For me it's not important design, script it's open source, you can edit it, you can change anything. Important are the features.
IonutPop is offline  
Old   #43
 
elite*gold: 0
Join Date: Mar 2018
Posts: 44
Received Thanks: 8
Hello,

you should check this out and maybe take use of this framework for your cms:



It implements alot of nice features like:
  • Page router
  • Eloquent Database System (Models)

There are many developers contributing to that project and alot of nice plug and play plugins that u can use.


A few things about your cms:
You can't just go and print the whole exception to a user.
If there is a connection issue this would expose the database ip instantly.
And its very unprofessional to print exceptions..

PHP Code:
        catch(PDOException $e)
        {
            echo 
$e->getMessage(); // Don't do that
        

You should think about using a template engine for your html stuff.
- Smarty Template Engine
- TWIG Template Engine (better)


PHP Code:
    $jsondata file_get_contents('include/db/settings.json');
    
$jsondata json_decode($jsondata,true);
    
$jsondataRanking file_get_contents('include/db/ranking.json');
    
$jsondataRanking json_decode($jsondataRanking,true);
    include 
'include/functions/json.php';
    
$site_title getJsonSettings("title");
    
$paypal_email getJsonSettings("paypal");
    
$forum=getJsonSettings("forum""links");
    
$support=getJsonSettings("support""links");
    
$item_shop=getJsonSettings("item-shop""links");
    
$top10backup_day=getJsonSettings("day""top10backup");
    
$top10backup_month=getJsonSettings("month""top10backup");
    
$top10backup_year=getJsonSettings("year""top10backup"); 
You should use apc or any kind of cache for this stuff.
Loading these json files on each request will always take time.
Or you can use a php file that will be cached by .

And honestly this...
This file is a fiesta.
I'm pretty sure u dont know yourself what is happening there on each case.


Why is this script is doing api requests to your server on every "top10backup":


No....
PHP Code:
        if($page=='administration')
            include 
'include/functions/administration.php';
        else if(
$page=='password')
            include 
'include/functions/password.php';
        else if(
$page=='email')
            include 
'include/functions/email.php';
        else if(
$page=='vote4coins')
            include 
'include/functions/vote4coins.php';
        else if(
$page=='referrals')
            include 
'include/functions/referrals.php';
        else if(
$page=='redeem')
            include 
'include/functions/redeem.php';
        else if(
$page=='admin'
Check this out




Composer:
Then u should check the php composer repository...
There are alot of nice libraries that you can use to save time.






I would not recommend that to anyone to use this in a production environment.
He is probably collecting the ip addresses from the servers hosting that cms.
There are alot flaws in this cms.



Kind regards
Ex0dia
Ex0dia is offline  
Thanks
1 User
Old   #44
 
elite*gold: 0
Join Date: Mar 2013
Posts: 34
Received Thanks: 12
Quote:
Originally Posted by Ex0dia View Post


I would not recommend that to anyone to use this in a production environment.
He is probably collecting the ip addresses from the servers hosting that cms.
There are alot flaws in this cms.



Kind regards
Ex0dia
Lol,
PHP Code:
$api = [MENTION=334094]FiLE[/MENTION]_get_contents('http://api.metin2cms.cf/cms?site='.$site_url.'&key='.$date['key'].'&version='.$date['version']); 
I send only version of site and current date, what can I collect else?
"He is probably collecting the ip addresses from the servers hosting that cms." haha, you know everything.
P.S. : I work on frameworks like laravel and symfony, but I will not offer such a site to metin2 community. It's open-source, who wants to use it customize it at will. Success.
IonutPop is offline  
Old   #45
 
elite*gold: 0
Join Date: Mar 2018
Posts: 44
Received Thanks: 8
Quote:
Originally Posted by Remix v403 View Post
you cant customize it because the code is complete utter shit and not maintainable
He's definitly right...

Quote:
Originally Posted by IonutPop View Post
Lol,
PHP Code:
$api = [MENTION=334094]FiLE[/MENTION]_get_contents('http://api.metin2cms.cf/cms?site='.$site_url.'&key='.$date['key'].'&version='.$date['version']); 
I send only version of site and current date, what can I collect else?
"He is probably collecting the ip addresses from the servers hosting that cms." haha, you know everything.
P.S. : I work on frameworks like laravel and symfony, but I will not offer such a site to metin2 community. It's open-source, who wants to use it customize it at will. Success.
Hi,

don't take it personally but this api request is collecting data.
On your site you can just use '$_SERVER['REMOTE_ADDR']' and you can save the ip address including all your other details in the query string.
At least the ip address are logged in the access log from your web server.

"I work on frameworks like laravel and symfony"
That time waste then...

I just gave u some suggestions how u can improve it.
If you are clever enough u will notice it on your own that no one should use this in a production environment.

To improve some basic things like moving pages to oop objects takes not much time.
Improving the router and using a template engine for the html stuff should not be that hard.

I'm not gonna say anything more because u feel offended.
That's it.

Kind regards
Ex0dia


Ex0dia is offline  
Thanks
1 User
Reply

Tags
cms, homepage, hp, metin2cms, metin2cms.cf



« Previous Thread | Next Thread »

Similar Threads
[Online Tool] Metin2CMS ItemsDB
Hello! This is a site where you can find an interactive database objects in Metin2. I know there are already so, but this list contains the list of...
4 Replies - Metin2 Guides & Templates



All times are GMT +2. The time now is 13:46.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.