Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
UberCMS Fixed, Desire Edit, Phoenix Compatible!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Copernicus" data-source="post: 78196" data-attributes="member: 13725"><p>////////////////////////////////////////////////////////////////////////</p><p> # � Kryptos - RevCMS - Release 1.0.0 </p><p> # � Jontycat(PHP) & Predict(CSS) - ZapASE (Housekeeping) ||</p><p>|| # � Pure - Parts of RevCMS inspired of some snippets from him ||</p><p>|| # � RastaLulz - Helping me || </p><p> # � Meth0d - Snippets </p><p>|| # � TheHabbos.ORG - TheHabbos.ORG API - Release 1.0.0 (BETA 2) || </p><p>///////////////////////////////////////////////////////////////////////</p><p> </p><p>Thank you <a href="http://DevBest.com" target="_blank">http://DevBest.com</a> - Best forum eva && RevCMS' Home.</p><p> </p><p>Installation progress:</p><p>//NOTE: Mostly guided for XAMPP users, but other users that don't use XAMPP will get what I mean with everything- dey b smart</p><p>//NOTE: This CMS works with IIS, since URL Rewrite can convert .htaccess to web.config - Look up how to.</p><p> </p><p>1.- Extract all the files of RevCMS.zip to htdocs.</p><p>2.- Make a column called 'seckey' VARCHAR(999) in the table named 'users' from your PhoenixDB in your PHPMyAdmin.</p><p>3.- Go to app/management and open config.php, here there will appear a list of vars commented so you know what they're for.</p><p>4.- Fill the information asked in config.php.</p><p> 5.- Go to thehabbos_api/README.txt file, read that and follow the instructions.</p><p>6.- Now you're pretty much set to go, all you have to do now is register and then make yourself(You, the owner of the hotel) admin via PHPMyAdmin or whatever you use to handle your database.</p><p>7.- Make yourself admin by going to the table named 'users' (no quotes) and edit your character's 'rank' to 7, 8, 9, 10, etc, etc.</p><p>Really, it depends on what Emulator you're using, you shall pick the highest rank.</p><p>7.- Now, the CMS is all set up! What is left to do is set up your emulator(If you haven't already).</p><p> </p><p>Explanation on how to code on the CMS and make add-ons and different skins for it:</p><p> </p><p>NOTE: It takes no PHP knowledge to make a template, so have fun! But if you're afraid, make a copy of your working RevCMS - in case somethinggoes wrong! <img src="/styles/default/xenforo/smilies/emojione/wink.png" class="smilie" loading="lazy" alt=";)" title="Wink ;)" data-shortname=";)" /></p><p> </p><p>General information:</p><p> </p><p>RevCMS is a dynamic(To an extent) Content Management System, but really it is nothing special. </p><p>All dynamic stuff, or stuff you can edit easily are on the 'app/management/config.php' file, it has around 20 stuff you canedit.</p><p> </p><p>Such as MySQL information, Hotel name, the amount of credits users start with, motto users start with TheHabbos.ORG's implementation(Can be easily set up in config.php, feel free to also go to 'app/management/thehabbos_api' andlearnmore about it), Social Networking implementation and an option to pick the style you would like to use(This is where itgets good.)</p><p> </p><p>Template information:</p><p> </p><p>RevCMS has a way to choose which template you would like to use, as of now RevCMS has 2 templates that come as default with theCMS, what I wanted to accomplish here is that people do their own styles, since Habbo Retros are loosing originality with the same templatein every one of them, as it happens with PhoenixPHP/PhoenixCF.</p><p> </p><p>I have worked to make it very easy to do your own template, and I will try to explain it the best I can in the following big wall of text.</p><p> </p><p>//START OF BORING INFORMATION FOR PHP CODERS</p><p> </p><p>You might notice that there are only 3 files in the main directory:</p><p> </p><p>- api.php - It's only there because of TheHabbos.ORG's API.</p><p> </p><p>- global.php - It's what calls all the classes and interfaces and coverts them into objects for use within the CMS.</p><p> </p><p>- index.php - It's where your template comes to life, from there all pages are called and are showed up to the user with a very sleek technique.</p><p> </p><p>//END OF BORING INFORMATION FOR PHP CODERS</p><p> </p><p>So, where do you start. Go to 'app/tpl/skins/' - This is where all the skins are as folders, such as 'Mango'.</p><p> </p><p>If you want to create a template you must create a new folder inside the 'skins' folder and name it as you want.</p><p>NOTE: The name of the folder is the name of your template</p><p> </p><p>From there you just have to create files, although there are some ground-rules that you must follow and some explanations I must give you.</p><p> </p><p>1.- All files in the main directory of your template(i.e: app/tpl/skins/Mango/) must be .php files, but those files will have for the most part HTML code. Another thing is that these files only contain content INSIDE the <body> tags, so inside these files must not have <html>, <head> or <body> tags.</p><p> </p><p>2.- Remember that if you create a file in the main folder called for example: login.php, you will have to access it by going on your browser to: '<a href="http://mysite.com/login" target="_blank">http://mysite.com/login</a>', yeah, without the .php at the end of the URL! </p><p> </p><p>NOTE: This means that if you want to create register.php, you have to create a file named 'register.php' in your template's main directory, thus not being able to do files such as: head-register.php, form-register.php, etc.</p><p> </p><p>3.- The .css files must be in a folder called 'styles' inside your template's main directory(i.e: app/tpl/skins/Mango/styles/).</p><p> </p><p>4.- The .js file(s) must all go in a folder called 'js' in your template's main directory(i.e: app/tpl/skins/Mango/js/).</p><p> </p><p>5.- Your images can go wherever you want them to be, only rule is that it must be inside your template's main directory.</p><p>(For the sake of organization!).</p><p> </p><p>6.- To create your own housekeeping, you must create a folder called 'hk' in your template's main directory.</p><p> </p><p>Here you will have to follow the rules of steps: 1, 2, 3, 4 and 5. </p><p> </p><p>7.- Now, to finish this off: Go to app/management/ and open config.php! Here edit:</p><p> </p><p>$_CONFIG['template']['style'] = 'Mango';</p><p>\</p><p>TO:Examples</p><p>/</p><p>$_CONFIG['template']['style'] = 'TheNameOfMyFolderIn-app/tpl/skins/';</p><p> </p><p> </p><p>These (ABOVE) are the steps you MUST know to make your own template/skin. </p><p> </p><p>Now you're ready to create your own template for RevCMS - Good luck.</p><p> </p><p> </p><p>If you need any help, or have any questions, PM me on <a href="http://devbest.com" target="_blank">http://devbest.com</a> or reply to the release thread you download this from.</p><p> </p><p> </p><p>TOOLS YOU CAN USE IN YOUR TEMPLATE:</p><p> </p><p>{username} - Username of user</p><p>{motto} - Motto of user</p><p>{email} - Email of user</p><p>{coins} - Amount of credits of user</p><p>{activitypoints} - Amount of pixels of user</p><p>{sso}</p><p>{figure} - Figure the user has</p><p> </p><p>{hotelName} - Name of hotel</p><p>{hotelDesc} - Description of hotel</p><p>{url} - URL of hotel</p><p> </p><p>{newsList} - List of all articles besides the one you're viewing</p><p>{newsTitle} - Title of the article</p><p>{newsAuthor} - Author of the article</p><p>{newsContent} - Article</p><p>{newsDate} - When the article was created</p><p> </p><p>{newsTitle-1} - The title of the last article made</p><p>{newsCaption-1} - The 'short_text' of the last article made</p><p>{newsIMG-1} - The topstory of the last article made</p><p> </p><p>{newsTitle-2} - The title of the penultimate article made</p><p>{newsCaption-2} - The 'short_text' of the penultimate article made</p><p>{newsIMG-2} - The topstory of the penultimate article made</p><p> </p><p>And so on until:</p><p>{newsIMG-5} - The topstory of the '5th last' article made</p><p> </p><p>{web_build} - Web build to use</p><p> </p><p>{SWFs_related_stuff} - like 2 more, not gonna mention.</p><p> </p><p>EXAMPLE OF USING THE TOOLS:</p><p> </p><p><div class='message'></p><p>Your username is {username}</p><p></div></p></blockquote><p></p>
[QUOTE="Copernicus, post: 78196, member: 13725"] //////////////////////////////////////////////////////////////////////// # � Kryptos - RevCMS - Release 1.0.0 # � Jontycat(PHP) & Predict(CSS) - ZapASE (Housekeeping) || || # � Pure - Parts of RevCMS inspired of some snippets from him || || # � RastaLulz - Helping me || # � Meth0d - Snippets || # � TheHabbos.ORG - TheHabbos.ORG API - Release 1.0.0 (BETA 2) || /////////////////////////////////////////////////////////////////////// Thank you [url]http://DevBest.com[/url] - Best forum eva && RevCMS' Home. Installation progress: //NOTE: Mostly guided for XAMPP users, but other users that don't use XAMPP will get what I mean with everything- dey b smart //NOTE: This CMS works with IIS, since URL Rewrite can convert .htaccess to web.config - Look up how to. 1.- Extract all the files of RevCMS.zip to htdocs. 2.- Make a column called 'seckey' VARCHAR(999) in the table named 'users' from your PhoenixDB in your PHPMyAdmin. 3.- Go to app/management and open config.php, here there will appear a list of vars commented so you know what they're for. 4.- Fill the information asked in config.php. 5.- Go to thehabbos_api/README.txt file, read that and follow the instructions. 6.- Now you're pretty much set to go, all you have to do now is register and then make yourself(You, the owner of the hotel) admin via PHPMyAdmin or whatever you use to handle your database. 7.- Make yourself admin by going to the table named 'users' (no quotes) and edit your character's 'rank' to 7, 8, 9, 10, etc, etc. Really, it depends on what Emulator you're using, you shall pick the highest rank. 7.- Now, the CMS is all set up! What is left to do is set up your emulator(If you haven't already). Explanation on how to code on the CMS and make add-ons and different skins for it: NOTE: It takes no PHP knowledge to make a template, so have fun! But if you're afraid, make a copy of your working RevCMS - in case somethinggoes wrong! ;) General information: RevCMS is a dynamic(To an extent) Content Management System, but really it is nothing special. All dynamic stuff, or stuff you can edit easily are on the 'app/management/config.php' file, it has around 20 stuff you canedit. Such as MySQL information, Hotel name, the amount of credits users start with, motto users start with TheHabbos.ORG's implementation(Can be easily set up in config.php, feel free to also go to 'app/management/thehabbos_api' andlearnmore about it), Social Networking implementation and an option to pick the style you would like to use(This is where itgets good.) Template information: RevCMS has a way to choose which template you would like to use, as of now RevCMS has 2 templates that come as default with theCMS, what I wanted to accomplish here is that people do their own styles, since Habbo Retros are loosing originality with the same templatein every one of them, as it happens with PhoenixPHP/PhoenixCF. I have worked to make it very easy to do your own template, and I will try to explain it the best I can in the following big wall of text. //START OF BORING INFORMATION FOR PHP CODERS You might notice that there are only 3 files in the main directory: - api.php - It's only there because of TheHabbos.ORG's API. - global.php - It's what calls all the classes and interfaces and coverts them into objects for use within the CMS. - index.php - It's where your template comes to life, from there all pages are called and are showed up to the user with a very sleek technique. //END OF BORING INFORMATION FOR PHP CODERS So, where do you start. Go to 'app/tpl/skins/' - This is where all the skins are as folders, such as 'Mango'. If you want to create a template you must create a new folder inside the 'skins' folder and name it as you want. NOTE: The name of the folder is the name of your template From there you just have to create files, although there are some ground-rules that you must follow and some explanations I must give you. 1.- All files in the main directory of your template(i.e: app/tpl/skins/Mango/) must be .php files, but those files will have for the most part HTML code. Another thing is that these files only contain content INSIDE the <body> tags, so inside these files must not have <html>, <head> or <body> tags. 2.- Remember that if you create a file in the main folder called for example: login.php, you will have to access it by going on your browser to: '[url]http://mysite.com/login[/url]', yeah, without the .php at the end of the URL! NOTE: This means that if you want to create register.php, you have to create a file named 'register.php' in your template's main directory, thus not being able to do files such as: head-register.php, form-register.php, etc. 3.- The .css files must be in a folder called 'styles' inside your template's main directory(i.e: app/tpl/skins/Mango/styles/). 4.- The .js file(s) must all go in a folder called 'js' in your template's main directory(i.e: app/tpl/skins/Mango/js/). 5.- Your images can go wherever you want them to be, only rule is that it must be inside your template's main directory. (For the sake of organization!). 6.- To create your own housekeeping, you must create a folder called 'hk' in your template's main directory. Here you will have to follow the rules of steps: 1, 2, 3, 4 and 5. 7.- Now, to finish this off: Go to app/management/ and open config.php! Here edit: $_CONFIG['template']['style'] = 'Mango'; \ TO:Examples / $_CONFIG['template']['style'] = 'TheNameOfMyFolderIn-app/tpl/skins/'; These (ABOVE) are the steps you MUST know to make your own template/skin. Now you're ready to create your own template for RevCMS - Good luck. If you need any help, or have any questions, PM me on [url]http://devbest.com[/url] or reply to the release thread you download this from. TOOLS YOU CAN USE IN YOUR TEMPLATE: {username} - Username of user {motto} - Motto of user {email} - Email of user {coins} - Amount of credits of user {activitypoints} - Amount of pixels of user {sso} {figure} - Figure the user has {hotelName} - Name of hotel {hotelDesc} - Description of hotel {url} - URL of hotel {newsList} - List of all articles besides the one you're viewing {newsTitle} - Title of the article {newsAuthor} - Author of the article {newsContent} - Article {newsDate} - When the article was created {newsTitle-1} - The title of the last article made {newsCaption-1} - The 'short_text' of the last article made {newsIMG-1} - The topstory of the last article made {newsTitle-2} - The title of the penultimate article made {newsCaption-2} - The 'short_text' of the penultimate article made {newsIMG-2} - The topstory of the penultimate article made And so on until: {newsIMG-5} - The topstory of the '5th last' article made {web_build} - Web build to use {SWFs_related_stuff} - like 2 more, not gonna mention. EXAMPLE OF USING THE TOOLS: <div class='message'> Your username is {username} </div> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
UberCMS Fixed, Desire Edit, Phoenix Compatible!
Top