Metin2CMS v2.0

03/20/2018 18:51 danke.#46
after i created "web_admin"-column in account database, it creates some more columns like ("coins", "jcoins", "deletion_token", "passlost_token", "email_token".
Now it creates no more accounts about "Register". the other things are working... pls help :/
03/21/2018 19:07 IonutPop#47
Quote:
Originally Posted by .Snipes' View Post
after i created "web_admin"-column in account database, it creates some more columns like ("coins", "jcoins", "deletion_token", "passlost_token", "email_token".
Now it creates no more accounts about "Register". the other things are working... pls help :/
add default values to all columns in account
03/26/2018 14:07 IonutPop#48
Quote:
Originally Posted by Ex0dia View Post
He's definitly right...



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
I'm not offended. I really thank you for the advice. The API only uses it for statistics, I would not use it for other purposes. I'll try to apply your tips, but as I said, it's not worth using framwork for metin2. Thx.
03/27/2018 23:50 IonutPop#49
Update v2.11
  • Fixed Vote4Coins
  • Select currency for each donation
  • Reward players
  • Fixed referrals system
  • Updated phpmailer
  • The code was reorganized
10/06/2018 15:28 shiterap#50
What is the admin login? I login to my [HA] in server and i dont have admin options in page.
10/07/2018 12:57 IonutPop#51
Quote:
Originally Posted by shiterap View Post
What is the admin login? I login to my [HA] in server and i dont have admin options in page.
Set web_admin 9 to your account
10/07/2018 18:39 shiterap#52
Quote:
Originally Posted by IonutPop View Post
Set web_admin 9 to your account
where is the web_admin 9? i don't have it in ftp.
10/07/2018 19:22 /exit#53
Quote:
Originally Posted by shiterap View Post
where is the web_admin 9? i don't have it in ftp.
Navicat > Account (DB) > Account (Table) > web_admin (column) > change 0 to 9
10/07/2018 19:34 shiterap#54
Quote:
Originally Posted by /exit View Post
Navicat > Account (DB) > Account (Table) > web_admin (column) > change 0 to 9
That work. Thank You :) i search it on ftp that not nice idea :D
10/10/2018 12:59 shiterap#55
Wtf? I edited all files and its problem in pictures below. I click on the information page then the website is repeired. Adress - [Only registered and activated users can see links. Click Here To Register...] - click on information and check...
[Only registered and activated users can see links. Click Here To Register...]
@[Only registered and activated users can see links. Click Here To Register...] - i repeired it. Sorry for spam... I have certificate ssl - https and i paste in file http...
10/15/2018 23:52 Fasthosting#56
Installierte das CMS nun bei 2 Leuten schon, diese sind zufrieden da es einfach gehalten worden ist.
Danke für dieses CMS.
06/07/2021 18:55 softway#57
Thank you so much
09/29/2022 00:30 imbamt3#58
how can i add custome page ?
09/29/2022 03:04 MaxChri#59
Quote:
Originally Posted by imbamt3 View Post
how can i add custome page ?
It's not supposed for normal users to add custom pages. This is a ready to use cms for admins who don't have money for a professional website.


If you really want to try it, you have to be familiar with ionut's (author) code. There is no framework, no PSR (php standard recommendation) and ofc no guideline how to do use it, so you have to study this shitty code yourself.


index.php
Code:
include 'pages/'.$page.'.php';
In the directory: "/pages" you have to add a new php file (it's something like a code mess of view and controller logic). Via the $page variable the php specific file will be included.

The $page variable will be declared here:
"include 'include/functions/pages.php';"

Create a new case in this pages.php file such as:
Code:
case 'news':
			$page = 'news';
			$title = $lang['news'];
			include 'include/functions/news.php';
			break;
From my point of view I highly recommend everyone to not use it.
10/04/2022 14:22 imbamt3#60
Quote:
Originally Posted by MaxChri View Post
It's not supposed for normal users to add custom pages. This is a ready to use cms for admins who don't have money for a professional website.


If you really want to try it, you have to be familiar with ionut's (author) code. There is no framework, no PSR (php standard recommendation) and ofc no guideline how to do use it, so you have to study this shitty code yourself.


index.php
Code:
include 'pages/'.$page.'.php';
In the directory: "/pages" you have to add a new php file (it's something like a code mess of view and controller logic). Via the $page variable the php specific file will be included.

The $page variable will be declared here:
"include 'include/functions/pages.php';"

Create a new case in this pages.php file such as:
Code:
case 'news':
			$page = 'news';
			$title = $lang['news'];
			include 'include/functions/news.php';
			break;
From my point of view I highly recommend everyone to not use it.
thanks for your reply . i need custom page for terms .