PDA

View Full Version : Other Gratis World Of Warcraft CMS. [Open Source] [In Development]



Vitrex
10-16-2016, 10:54 AM
http://www.part.lt/img/7feca4f71298dadb4e30a6bce4801833298.png

Hello, Emudevs, before everything let me say something. this is not full time job or over-hyped project of mine. i was thinking a long time about this project and well finally i had enough motivation to sit down and write all the code.

So. lets talk more about Gratis

What is Gratis ?
- Gratis is open source flexible modern and lightweight CMS with custom built framework.

Custom built framework ?
- Yes in order to realize my idea that CMS must be easy to use, and even easier to modify.To fit your needs it uses custom built framework.

How about website logic ?
- The logic behind interacts is really simple but at the same time effective. Most of complex code handled as "Modules/Infusions" (call them how you wan't i call them infusions). Based on what I've said lets go deeper now and see how exactly classes interacts with each other. First of all there is no static /pages folder as you used to see in any nowadays released CMS. instead we have everything handled by $_GET superglobal and /view folder. View interacts with Main Page Module where we define and handle simple logic that needed to be rendered for our website. Simple isn't it?

Modules/Infusions
- The logic behind these that they are between View and Main Page Module. The main Module class contains base logic of our module/infusion then sends data to actual Model where all database work happens. Take a note - in Model files we don't even try to use HTML and in Model / Infusion / View we don't use any database calls so we keep everything separated and easy manageable in the future.

Gratis better than Azer or FusionCMS or any other popular CMS?
- Lets be honest here. FusionCMS - is known as most unstable big-ass framework, right? but at current state he's still better cause most of modules available let you customize the whole cms as you wan't also a decent community work on new templates / modules. Azer and all other decent CMS projects are kinda same story, but there is one BUT. This is because of current state of Gratis. Project most of the time it was i my head or on my local machine, with time and updates i think it can be on same level if not higher than Azer or Fcms or any other popular ones.

Why it's free?
- Simple question , simple answer. There is no need to make CMS paid. i can make premium modules / templates paid - i like this marketing system much more than buying a cms when you don't even know if it's good or not.

How about templates?
- Gratis has implemented Bootstrap 3 support in him. so customize and create a template will be easier than easy with medium/average knowledge of HTML / CSS you can create template even without a PSD.


What is working today :



Page itself. [0.0.1]
Default pages such as Index, How To Connect, Downloads etc.[0.0.1]
Register[0.0.1]
Login[0.0.1]
UCP (not finished but working).[0.0.2]
Server Status.[0.0.1]
Dynamic Vote Page.[0.0.4]
Character Services(just framework). [0.0.2]
Dynamic page system.[0.0.4]


Features to be added :



Armory.
Own item tool tips.
Support for more than one realm.
Dynamic vote/donate shop.
Integrated Paypal / Payment wall.
Server administration panel.
Admin panel.
Install page.



Current version 0.0.4: https://bitbucket.org/vitrex/gratis-fusion/commits/659471a00c57ef523ead9d339adc8bf8bb9a05bc (28 Oct. 2016)

Changelog


# Change Log
All notable changes to this project will be documented in this file.

## [0.0.4] - 2016-10-28
### Added
- Dynamic Page system
- Vote system
- Propper comments in all model & module files
### Changed
- Cleaned up not used code (from 0.0.1 ver.)

## [0.0.3] - 2016-10-17
### Added
- PDO library instead of Procedural mysqli.
- Dynamic vote page Framework.


## [0.0.2] - 2016-10-16
### Fixed
- Fixed memory leak in UCP with database fetch
- Fixed all view pages to be based on index / main page
### Added
- Added basic UCP panel.
### Changed
- Useless code / non used variables clean up.


## 0.0.1 - 2016-10-16
### Added
- The stable release with basic website functions added.


url to changelog will be available in 0.0.4 version.

Any pre-requirements ?
Yes PHP must have short tags enabled and PHP version must be > 5.6. (development processing on PHP 7). So it's highly recommended that if you plan to use this in future keep in mind you'll have to be up to date with PHP versions.

A little bit of truth here. This is not usable yet. Well it can be if people don't need the UCP panel but need only register/downloads/news features. but if you need fully customized CMS you'll have to wait. So why do i "release" it if it's not usable? To keep the motivation up for myself and don't drop the project that has potential.

How i said it's open source and my ugly code can be found here :
https://bitbucket.org/vitrex/gratis-fusion
Demo - can be found inside the Bitbucket under "website" column in overview page OR

http://212.24.109.104/wow/index.php

I commit a lot now and fixing adding new things every few hours. So you can track the progression. However there is no install feature yet(i simply exported sample .SQL database). This will come later on + more than 90% of code contains white-spaces and not commented properly. this will be as soon as possible.

I understand this is more show of than release... So sorry if i hyped you with title.. :D
Good luck. Feel free to drop your ideas / thoughts everything you would like to see implemented int Gratis in this post !

Have a good day !
Best regards,
Eric a.k.a Vitrex.

Sylica
10-16-2016, 04:31 PM
Looks very nice so far. Keep it up and this CMS might be a lot better then the others, if this continues well. Should put in a working to date, to show what is working and what is not.

Best of luck with the project.

Vitrex
10-16-2016, 04:40 PM
Looks very nice so far. Keep it up and this CMS might be a lot better then the others, if this continues well. Should put in a working to date, to show what is working and what is not.

Best of luck with the project.

Thanks. i will try my best. Well everything i posted now is working at the moment. Well i'll write full TODO list at same time will think of format of updating this post to keep it up to date as much as possible.
Also feel free to drop ideas into my TODO list. If they will be approved they will be implemented.
P.s noticed only now, since i re-worked whole logic of cms tonight there can be unused variables all around in current commit. also don't mind this poor comments working on proper comments at the moment.

The main goal that i'm aiming is to create user and developer friendly cms.

Sylica
10-16-2016, 04:56 PM
Thanks. i will try my best. Well everything i posted now is working at the moment. Well i'll write full TODO list at same time will think of format of updating this post to keep it up to date as much as possible.
Also feel free to drop ideas into my TODO list. If they will be approved they will be implemented.
P.s noticed only now, since i re-worked whole logic of cms tonight there can be unused variables all around in current commit. also don't mind this poor comments working on proper comments at the moment.

The main goal that i'm aiming is to create user and developer friendly cms.

Sweet, I'm sure to drop in some ideas for sure. I can say for now, a built in forums might be awesome to see in this project.

slp13at420
10-16-2016, 05:27 PM
Dynamic vote list? i.e. I have 25 different vote sites I use. most cms only do up to 5.
Dynamic donor/vote shop? up to unlimited number of items or options?
ofc toon/acct mod section.

looking good :D cant read what the demo site says though lol :P

Vitrex
10-16-2016, 05:34 PM
Dynamic vote list? i.e. I have 25 different vote sites I use. most cms only do up to 5.
Dynamic donor/vote shop? up to unlimited number of items or options?
ofc toon/acct mod section.

looking good :D cant read what the demo site says though lol :P

What do you mean? :) And yes its already in TODO list.


Sweet, I'm sure to drop in some ideas for sure. I can say for now, a built in forums might be awesome to see in this project.

thanks, was thinking about the same. Built in forums are awesome, just hard to optimize them. but general idea is really good.

slp13at420
10-16-2016, 06:03 PM
oh yea I second the idea of built in forums :)

News categorized by realm : News realm 1, realm 2 .....

a donator section where players can paypal for in-game items for toon/realm.
a vote store where players can spend vote points for in game items for toon/realm.
a vote panel for an unlimited amount of vote sites players can vote for the site on. .. oooh maybe even a page per realm for multi-patch servers ;)

Vitrex
10-16-2016, 06:19 PM
Dynamic vote list? i.e. I have 25 different vote sites I use. most cms only do up to 5.
Dynamic donor/vote shop? up to unlimited number of items or options?
ofc toon/acct mod section.

looking good :D cant read what the demo site says though lol :P


Sweet, I'm sure to drop in some ideas for sure. I can say for now, a built in forums might be awesome to see in this project.


oh yea I second the idea of built in forums :)

News categorized by realm : News realm 1, realm 2 .....

a donator section where players can paypal for in-game items for toon/realm.
a vote store where players can spend vote points for in game items for toon/realm.
a vote panel for an unlimited amount of vote sites players can vote for the site on. .. oooh maybe even a page per realm for multi-patch servers ;)

Clear here. just this :
cant read what the demo site says though lol :P

Sylica
10-16-2016, 07:54 PM
I have some more ideas that might be useful in this project once you're ready to do so.


Site ticket system
Bug/Issue tracker
Character Display
Application Form [Can be used for about anything, and possible active application section in the user panel]


Just some basics.

slp13at420
10-16-2016, 09:45 PM
Clear here. just this :
cant read what the demo site says though lol :P

its just a language I cant read lol
the demo looks good with nice graphix I just cannot read the words in quotes ;)

Kaev
10-17-2016, 09:38 AM
Looks nice!
It was a bit weird at first because "gratis" means "for free" in german and the title was shown as "Gratis World of Warcraft CMS [...]". :D

Vitrex
10-17-2016, 09:50 AM
Looks nice!
It was a bit weird at first because "gratis" means "for free" in german and the title was shown as "Gratis World of Warcraft CMS [...]". :D

Thanks. well. few people already told me that. but why it can't be in that title? ;d in my language it means absolutely nothing. and i came up with this title by generating random words... what a coincidence ? :D

Sylica
10-17-2016, 05:10 PM
Thanks. well. few people already told me that. but why it can't be in that title? ;d in my language it means absolutely nothing. and i came up with this title by generating random words... what a coincidence ? :D

The title is fine. I come up with weird names as well from anime names to odd words that don't make much sense.

Anyways, back to what I was doing.

Vitrex
10-17-2016, 11:13 PM
Thanks Rochet for pointing to use prepared statements. In this commit re-maked mysqli procedural to PDO.
+ Compacted some code & added framework of Character services + framework of dynamic vote websites.

Hyperion
10-18-2016, 02:43 PM
Thanks Rochet for pointing to use prepared statements. In this commit re-maked mysqli procedural to PDO.
+ Compacted some code & added framework of Character services + framework of dynamic vote websites.

It's about time someone used PDO in a warcraft CMS

Tommy
10-18-2016, 09:31 PM
It's about time someone used PDO in a warcraft CMS

And at least clean coding style & folder organizing. :P

Vitrex
10-19-2016, 08:28 AM
And at least clean coding style & folder organizing. :P

Do you mean me or WCMS ? ;d
P.s implemented custom page feature where you can create pages via admin panel and call for super global variables inside HTML code such as SERVER_REALMLIST , WEB_TITLE, PAGE_TITLE etc. (these global variables can be defined in database and any value can be attached to them even planning to add widgets for modules like that.) Will be added in next commit and already available on live page.
Basically system first check for url_key in database and if don't find any then check for /view file if it's not there simply throws 404 so if you wan't to override default page it's easy to achieve. :)

Kaev
10-20-2016, 07:23 AM
The title is fine. I come up with weird names as well from anime names to odd words that don't make much sense.

Anyways, back to what I was doing.

Just name it Hentai. Hentai is a fitting name for everything. Oppai is also fine.

B2T: Haven't found it in your starting post, but i would appreciate a changelog with a function to search things. Would also be great, if you could link a specific commit (e.g. a link to a GitHub commit or whereever u're hosting ur repository) to each change log message. And an option for the commit link only visible to staff members (e.g. when using a private repository on a non open source project).

Vitrex
10-20-2016, 08:20 AM
Just name it Hentai. Hentai is a fitting name for everything. Oppai is also fine.

B2T: Haven't found it in your starting post, but i would appreciate a changelog with a function to search things. Would also be great, if you could link a specific commit (e.g. a link to a GitHub commit or whereever u're hosting ur repository) to each change log message. And an option for the commit link only visible to staff members (e.g. when using a private repository on a non open source project).

Thanks for suggestions and pointing things out.
Will be added asap i'll come home. since starting from now and till it's in development i'll commit once a week only. (on Thursdays or Fridays).

Vitrex
10-20-2016, 07:08 PM
Updated main post. added proper versioning also added changelog.
P.s Kaev, Oppai is a good name for everything even Oppai > Hentai.
"i must work on my Oppai, add some fixes to it" sounds hilarous :D

Kaev
10-21-2016, 05:31 AM
I think you understood it wrong. The changelog thingy would be awesome in the CMS so every server can show their changes to their players. :D

EDIT: everyone likes oppai

Vitrex
10-21-2016, 08:13 AM
I think you understood it wrong. The changelog thingy would be awesome in the CMS so every server can show their changes to their players. :D

EDIT: everyone likes oppai

oh... i thought you wanna see project's changelog... :D Well.. dynamic page system will be added for that. but i can make a default changelog as well.
Now i got it... :D
Sorry.

Vitrex
10-28-2016, 02:15 PM
How vote system should be done? since most of vote websites don't support call-back system...
Share your thoughts, since ver 0.0.4 vote system will be available in primityve way, so you can click on vote every 12 hrs.

EDIT.
ver. 0.0.4 released.
commit : https://bitbucket.org/vitrex/gratis-fusion/commits/659471a00c57ef523ead9d339adc8bf8bb9a05bc

Don't mind next 2 commits something went wrong with copying files from my remote server...

darksoke
10-28-2016, 08:09 PM
How vote system should be done? since most of vote websites don't support call-back system...
Share your thoughts, since ver 0.0.4 vote system will be available in primityve way, so you can click on vote every 12 hrs.

EDIT.
ver. 0.0.4 released.
commit : https://bitbucket.org/vitrex/gratis-fusion/commits/659471a00c57ef523ead9d339adc8bf8bb9a05bc

Don't mind next 2 commits something went wrong with copying files from my remote server...

check if the topsite offer a callback variable and add a speciall field for it in DB call it callback as example "account=" or whatever else then check if that field is NULL then use the "primitive" vote else use the postback checks http://prntscr.com/d07hwq the link would become xtremetop100.com/in.php?site=1132351354&account=YourUserAccount at least that's how i've done it

Vitrex
10-29-2016, 10:49 AM
Thanks, i'll take a note of this answer.
The cms is always open for improvements and ideas. feel free to drop down some you wanna see implemented.

papadocks
11-02-2016, 09:03 PM
Hello,

First of all, congrats for the awesome work so far, this seems like a very good CMS, hopefully better than the ones that already exist.

Is it going to be for Trinity Core or will it have many options just like FCMS?

Vitrex
11-03-2016, 09:12 AM
Hello,

First of all, congrats for the awesome work so far, this seems like a very good CMS, hopefully better than the ones that already exist.

Is it going to be for Trinity Core or will it have many options just like FCMS?

Hello, and thank you for kind words.
For now it's only for trinity core , in future i'll expand it to support other cores even ArcEmu. :)

EDIT : Sorry, this week i won't commit since i moved to new apartments and only place i have internet is my work place.... :)
Next week will work double on system thanks for understanding.

papadocks
11-17-2016, 05:08 PM
Hello,

Has there been any advance in the development of this CMS?
I realized that the demo is not working anymore, DB's offline.

Regards,

Vitrex
11-17-2016, 05:32 PM
Hello,

Has there been any advance in the development of this CMS?
I realized that the demo is not working anymore, DB's offline.

Regards,

Thanks for notice, i re-started mysql.
Yes there are , just had a busy few weeks and i'm only dev, so there was no public commits available. but development is not dead and won't be :)