-
HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
This will be a very "big" housekeeping for RevCMS! :D It will be compatible to Azure DB only, because Phoenix DB is different in most cases.
Features:
- modern, flat, responsive
- see screenshot -> navigation for more :D (more features will be coded later ^^)
Progress:
- working on the php
-- Edit Users
-- Write News
-- Edit News
-- Delete Users
-- Command Logs
-- Edit Shop Categories
- working on the layout
Newest Screenshots:
Reworked layout (better css&responsive) - mobile view (< 721px):
http://img.hubb.ml/habbo/screenshots/hubbase_06.png
Reworked layout (better css&responsive) - normal view (>720px):
http://img.hubb.ml/habbo/screenshots/hubbase_05.png
Old Screenshots:
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Good luck with your project! :]
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Good luck with the project mate hope to see it finished!
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Good luck, hope to see it finished.
As there are no 'good' azure compatible Housekeeping out there.
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Small new update, it's working now ({url}/ase) and I changed the navigation a little bit :)
What could be in the big blue box in the middle and what could be in the other box?
http://img.hubb.ml/habbo/screenshots/hubbase_02.png
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Good luck!
could you also release the template (no php) when your gonna release the HK itself?
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
SubDababa
Good luck!
could you also release the template (no php) when your gonna release the HK itself?
Don't know but it's easy to take the css and copy every (non php) things from the php files :D
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
C0R3G4M3R
Don't know but it's easy to take the css and copy every (non php) things from the php files :D
By that statement it sounds like you're mixing PHP and HTML...
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
ησвяαιη
By that statement it sounds like you're mixing PHP and HTML...
Sorry for my bad english, look at my siganture :'D
I meant that you can take the css files (style/main.css) and from (for example) dash.php you take the html out into an .html file (where you can't use php). Hope that you understand what I mean :/
Or easier: I think I release both (in 1 thread) the HK and the layout only :'D
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
C0R3G4M3R
Sorry for my bad english, look at my siganture :'D
I meant that you can take the css files (style/main.css) and from (for example) dash.php you take the html out into an .html file (where you can't use php). Hope that you understand what I mean :/
Or easier: I think I release both (in 1 thread) the HK and the layout only :'D
The real question is, are you doing this? (as an example):
Code:
<!DOCTYPE html>
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>
Taken from: PHP 5 Tutorial
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
ησвяαιη
The real question is, are you doing this? (as an example):
Code:
<!DOCTYPE html>
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>
Taken from:
PHP 5 Tutorial
Yep, because it's for RevCMS and I'm quite a beginner in PHP ^^
Snippet of dash.php (not ready):
PHP Code:
<?php
include('inc/header.php');
if($_SESSION['user']['rank'] > 5){
?>
<div class="content">
<!-- Site Header -->
<div class="header">
{hotelname} Hotel Housekeeping: Dashboard
</div>
<!-- Site Header End -->
<!-- Site Stats -->
<div class="col">
<div class="col-3">
<div class="col-stat r">
<table class="table-stat">
<tr>
<th>Server status</th>
<th>
<?php
if("{status}" == 1){
echo("online");
} else {
echo("offline");
}
?>
</th>
</tr>
</table>
</div>
</div>
and
PHP Code:
</body>
</html>
<?php
} else {
die('You are not allowed to be here, sorry.');
}
?>
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
This has potential mate, and one of the bigger flaws would be the template, but you're doing quite good on the backend for being a newbie. Don't get too carried away from features (such as the staff chat, etc) - but work primarily on the basic features.
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
chrispettyjohn
This has potential mate, and one of the bigger flaws would be the template, but you're doing quite good on the backend for being a newbie. Don't get too carried away from features (such as the staff chat, etc) - but work primarily on the basic features.
Staff chat will be in v2 or so, because I don't know how to do it for now. First everything important (and clean code) and then other things :)
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
C0R3G4M3R
Staff chat will be in v2 or so, because I don't know how to do it for now. First everything important (and clean code) and then other things :)
Well lookup an ajax chat room type deal, or just make a private message system for the staff users. I honestly don't think it was too big of a feature, and only use the PM system in mine for customer support
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
chrispettyjohn
Well lookup an ajax chat room type deal, or just make a private message system for the staff users. I honestly don't think it was too big of a feature, and only use the PM system in mine for customer support
Features in V1 will be:
- modern, flat, responsive layout
- edit, write and delete news [to use with a better cms_news.sql, from phoenix database, included in download]
- edit catalogue categories and items [only with Azure database]
- edit users
- ban users
- edit ranks [ranks.sql will be included in download]
- staff command logs
- more in later versions :)
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
How's progress?.
When will v1 be released.
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
KyleeIsProzZ
How's progress?.
When will v1 be released.
I could release it in a few hours, but I think I'll wait until the v2.0 of the Emulator is released, as I know there will be a different database?
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
C0R3G4M3R
I could release it in a few hours, but I think I'll wait until the v2.0 of the Emulator is released, as I know there will be a different database?
do you know when the v2 emu is being released or a planned release? i'm really hoping that i'll be able to use habbase on my hotel, and i'll probably use azure mainly because of your housekeeping. i love the ability to edit the catalogue through housekeeping.
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
iPadBoy11
do you know when the v2 emu is being released or a planned release? i'm really hoping that i'll be able to use habbase on my hotel, and i'll probably use azure mainly because of your housekeeping. i love the ability to edit the catalogue through housekeeping.
No I don't know, but i hope in the next days/weeks.
Category editing works, but items editing dosen't work (deletes every setting of the current selected item :/ )..
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
C0R3G4M3R
No I don't know, but i hope in the next days/weeks.
Category editing works, but items editing dosen't work (deletes every setting of the current selected item :/ )..
Skype? I'll help you m8
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
KyleeIsProzZ
Progress?
You can now write and view news, but not edit them I'm working on it.
EDIT:
Now you can edit and delete news and also edit users.
Only a small Problem with writing the news: Author is always 0
Here's the code if someone can help, just answer please :)
PHP Code:
<?php
if (isset($_POST['submit'])) {
$title = mysql_real_escape_string($_POST['title']);
$shortstory = mysql_real_escape_string($_POST['shortstory']);
$longstory = mysql_real_escape_string($_POST['longstory']);
$image = mysql_real_escape_string($_POST['image']);
$author = mysql_result(mysql_query("SELECT username FROM users WHERE id = '".$_SESSION['user']['id']."' LIMIT 1"), 0);
mysql_query("INSERT INTO cms_news (title, shortstory, longstory, image, author, published) VALUES('$title', '$shortstory', '$longstory', '$image', '$author','" . time() . "')") or die(mysql_error());
echo '<div class="col col-1 msg g">Success! The news article is now posted on {hotelname}!</div>';
};
?>
And the HTML:
PHP Code:
<form id="post_news" name="post_news" method="post" action="">
<input type="text" class="text" style="float: left; width: 50%; margin-right: 1%; margin-bottom: 10px;" name="title" id="title" placeholder="Title..." />
<input type="text" class="text" style="float: left; width: 49%; margin-bottom: 10px;" name="image" id="image" placeholder="top_story_news.png" />
<textarea name="shortstory" class="text" style="margin-bottom: 10px;" id="shortstory" placeholder="Your shortstory text for the post"></textarea>
<textarea name="longstory" class="text mceEditor" rows="5" id="longstory">Your longstory text for the post</textarea>
<input type="submit" name="submit" style="margin-top: 10px;" id="submit" class="btn g" value="Post" />
</form>
And if I didn't said it yet: I'm still learning PHP :'D
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Quote:
Originally Posted by
C0R3G4M3R
You can now write and view news, but not edit them I'm working on it.
EDIT:
Now you can edit and delete news and also edit users.
Only a small Problem with writing the news:
Author is always 0
Here's the code if someone can help, just answer please :)
PHP Code:
<?php
if (isset($_POST['submit'])) {
$title = mysql_real_escape_string($_POST['title']);
$shortstory = mysql_real_escape_string($_POST['shortstory']);
$longstory = mysql_real_escape_string($_POST['longstory']);
$image = mysql_real_escape_string($_POST['image']);
$author = mysql_result(mysql_query("SELECT username FROM users WHERE id = '".$_SESSION['user']['id']."' LIMIT 1"), 0);
mysql_query("INSERT INTO cms_news (title, shortstory, longstory, image, author, published) VALUES('$title', '$shortstory', '$longstory', '$image', '$author','" . time() . "')") or die(mysql_error());
echo '<div class="col col-1 msg g">Success! The news article is now posted on {hotelname}!</div>';
};
?>
And the HTML:
PHP Code:
<form id="post_news" name="post_news" method="post" action="">
<input type="text" class="text" style="float: left; width: 50%; margin-right: 1%; margin-bottom: 10px;" name="title" id="title" placeholder="Title..." />
<input type="text" class="text" style="float: left; width: 49%; margin-bottom: 10px;" name="image" id="image" placeholder="top_story_news.png" />
<textarea name="shortstory" class="text" style="margin-bottom: 10px;" id="shortstory" placeholder="Your shortstory text for the post"></textarea>
<textarea name="longstory" class="text mceEditor" rows="5" id="longstory">Your longstory text for the post</textarea>
<input type="submit" name="submit" style="margin-top: 10px;" id="submit" class="btn g" value="Post" />
</form>
And if I didn't said it yet: I'm still learning PHP :'D
Author is stored as INT in the database. You need to insert the user id or change the author in cms_news to VARCHAR ;)
Good luck with your project.
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
-
Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]
Closed once theres no updates in the last 4 weeks. If you wish it reopened, shoot me a PM :):