• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

HubbASE Development Release Version 1 Housekeeping for RevCMS

Experienced Elementalist
Joined
Aug 21, 2012
Messages
215
Reaction score
52
So here it is, the development release of my housekeeping for RevCMS (best to use with Azure Emulator database).

Working/Features:

- modern, flat and clean design/layout
- mobile version*
- command logs
- edit users
- write news
- edit news**
- delete news
- manage shop categories


Not working/Soon:
- edit user ranks
- ban users
- edit user bans
- manage shop items***


Download:
-
-


Installation:
1. Download HubbASE (and tinymce).
2. Open skins/[skin_you_use]/hk and place everything from hk.zip.
3. Run the SQL's.
4. Open ase/tinymce (not tiny_mce!) and place everything from tinymce.zip.


SQL's:
cms_news (delete or rename you old cms_news first!)
PHP:
CREATE TABLE IF NOT EXISTS `cms_news` (
  `id` int(11) NOT NULL,
  `title` varchar(255) COLLATE latin1_general_ci DEFAULT NULL,
  `shortstory` text COLLATE latin1_general_ci,
  `longstory` text COLLATE latin1_general_ci,
  `published` int(10) NOT NULL DEFAULT '0',
  `image` varchar(255) COLLATE latin1_general_ci DEFAULT '/Public/Images/news/TS_Web60.png',
  `campaign` int(1) NOT NULL DEFAULT '0',
  `campaignimg` varchar(255) COLLATE latin1_general_ci NOT NULL,
  `author` int(6) NOT NULL DEFAULT '1'
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

ALTER TABLE `cms_news`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `cms_news`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=10;

ranks (if you don't have one)
PHP:
CREATE TABLE IF NOT EXISTS `ranks` (
  `id` int(11) unsigned NOT NULL,
  `name` varchar(50) NOT NULL,
  `badgeid` varchar(5) DEFAULT NULL
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;

INSERT INTO `ranks` (`id`, `name`, `badgeid`) VALUES
(1, 'User', ''),
(2, 'Vip', 'VIP'),
(3, 'Trial', 'NWB'),
(4, 'Trail Moderator', 'HBA'),
(5, 'Moderator', 'HBA'),
(6, 'Senior Moderator', 'ADM'),
(7, 'Head Moderator', 'ADM'),
(8, 'Administrator', 'ADM'),
(9, 'Manager', 'ADM');

ALTER TABLE `ranks`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `ranks`
  MODIFY `id` int(11) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=10;

Screenshot's:
C0R3G4M3R - HubbASE Development Release Version 1 Housekeeping for RevCMS - RaGEZONE Forums


C0R3G4M3R - HubbASE Development Release Version 1 Housekeeping for RevCMS - RaGEZONE Forums


C0R3G4M3R - HubbASE Development Release Version 1 Housekeeping for RevCMS - RaGEZONE Forums


C0R3G4M3R - HubbASE Development Release Version 1 Housekeeping for RevCMS - RaGEZONE Forums


C0R3G4M3R - HubbASE Development Release Version 1 Housekeeping for RevCMS - RaGEZONE Forums


C0R3G4M3R - HubbASE Development Release Version 1 Housekeeping for RevCMS - RaGEZONE Forums


C0R3G4M3R - HubbASE Development Release Version 1 Housekeeping for RevCMS - RaGEZONE Forums


C0R3G4M3R - HubbASE Development Release Version 1 Housekeeping for RevCMS - RaGEZONE Forums


C0R3G4M3R - HubbASE Development Release Version 1 Housekeeping for RevCMS - RaGEZONE Forums


C0R3G4M3R - HubbASE Development Release Version 1 Housekeeping for RevCMS - RaGEZONE Forums

Bugs:
* old mobile version (have to fix it)
** makes new news with a new id
*** deletes every item that you edit (for me)
 
Junior Spellweaver
Joined
Oct 16, 2012
Messages
119
Reaction score
16
A like you layout i hope that you make more features?
 
Newbie Spellweaver
Joined
Jan 5, 2014
Messages
89
Reaction score
4
Handsome, charming me straight to my hotel <3 Thank Share
 
LETS REACH 666 POSTS?!!!!
Joined
Apr 24, 2013
Messages
573
Reaction score
53
This release is nice :)

Btw ur news button says: safe hahah

Nice release tough
 
Initiate Mage
Joined
Jul 30, 2015
Messages
1
Reaction score
0
Thanks voor the Release!
I really like the HK.. Too bad edit users don't work.
But I have a question.
I have added
<?php
if($_SESSION['user']['rank'] > 5) {
include('inc/header.php');
?>
I set everything on Rank 5, but it doesnt work. I can see everything because I'm Hotelmanager. But rank 6, only see a few things. Not everything, but I did changed it. How can I make this work?
 
Experienced Elementalist
Joined
Aug 21, 2012
Messages
215
Reaction score
52
Thanks voor the Release!
I really like the HK.. Too bad edit users don't work.
But I have a question.
I have added
<?php
if($_SESSION['user']['rank'] > 5) {
include('inc/header.php');
?>
I set everything on Rank 5, but it doesnt work. I can see everything because I'm Hotelmanager. But rank 6, only see a few things. Not everything, but I did changed it. How can I make this work?

Edit users does work (read carefully :'D).

Open every .php file in the hk folder and change to if($_SESSION['user']['rank'] > 5) { so that staff from rank 6+ can use them and open inc/nav.php and replace with this:
PHP:
                <ul>
                    <li class="hover" onclick="parent.location=('dash')">Dashboard</li>
                    <li class="hover" onclick="parent.location=('logs')">Command Logs</li>
                    <li>User Moderation</li>
                        <ul>
                            <li onclick="parent.location=('users')">Manage Users</li>
                            <li onclick="parent.location=('ranks')">Manage User Ranks</li>
                            <li onclick="parent.location=('bans')">Manage User Bans</li>
					   </ul>
				    <li>News Moderation</li>
                        <ul>
                            <li onclick="parent.location=('write_news')">Write News</li>
                            <li onclick="parent.location=('news')">Manage News</li>
                        </ul>
				    <li>Shop Moderation</li>
				        <ul>
				            <li onclick="parent.location=('categories')">Manage Categories</li>
				            <li onclick="parent.location=('items')">Manage Items</li>
				        </ul>
                </ul>
 
Retired
Joined
Apr 15, 2015
Messages
715
Reaction score
238
HK Layout is very neat and tidy, very organised. You're doing a spendid job :)
 
Newbie Spellweaver
Joined
Apr 5, 2014
Messages
46
Reaction score
3
This housekeeping is sexy but how can u ban user when there isnt a ban page?
 
Back
Top