Re: RevCMS habbo theme edit & RevCMS Housekeeping release
Quote:
Originally Posted by
PGTibs
Feel like an absolute noob, but i can't figure this out at all. I've installed it all correctly, and it's working with the database. But for some reason the header isn't appearing properly. I'm running it on IIS 7 and i've checked over the CSS and files completely and they're identical to the release. Any ideas?
http://i60.tinypic.com/kunol.png
Run these SQLs
Code:
/*
Navicat MySQL Data Transfer
Source Server : RolePlay
Source Server Version : 50616
Source Host : 91.121.203.6:3306
Source Database : roleplay_hotel
Target Server Type : MYSQL
Target Server Version : 50616
File Encoding : 65001
Date: 2014-04-20 01:26:13
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `cms_news`
-- ----------------------------
DROP TABLE IF EXISTS `cms_news`;
CREATE TABLE `cms_news` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`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 'Arctic_Race_TopStory.png',
`campaign` int(1) NOT NULL DEFAULT '0',
`campaignimg` varchar(255) COLLATE latin1_general_ci NOT NULL DEFAULT 'Arctic_Race_TopStory.png',
`author` int(6) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
-- ----------------------------
-- Records of cms_news
-- ----------------------------
INSERT INTO `cms_news` VALUES ('1', 'Welcome to {hotelname}!', 'This RP is powered by AstroRP V2.', 'RevCMS rp theme by Lewis.', '0', 'Arctic_Race_TopStory.png', '0', 'Arctic_Race_TopStory.png', '1');
-- ----------------------------
-- Table structure for `site_facts`
-- ----------------------------
DROP TABLE IF EXISTS `site_facts`;
CREATE TABLE `site_facts` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`fact` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of site_facts
-- ----------------------------
INSERT INTO `site_facts` VALUES ('1', 'Enter in site_facts');
INSERT INTO `site_facts` VALUES ('2', 'Enter in site_facts');
INSERT INTO `site_facts` VALUES ('3', 'Enter in site_facts');
INSERT INTO `site_facts` VALUES ('4', 'Enter in site_facts');
INSERT INTO `site_facts` VALUES ('5', 'Enter in site_facts');
-- ----------------------------
-- Table structure for `site_header`
-- ----------------------------
DROP TABLE IF EXISTS `site_header`;
CREATE TABLE `site_header` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`color` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
INSERT INTO `site_header` VALUES ('1', 'lightblue');
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
Replace app/tpl/skins/habbo/admin/create_bans.php
with
Code:
<?php
if($_POST['add_ban']){
$bantype = mysql_real_escape_string($_POST['bantype']);
$value = mysql_real_escape_string($_POST['value']);
$reason = mysql_real_escape_string($_POST['reason']);
$expire = strtotime($_POST['expire']);
if(empty($value)){
echo '<div class = "alert">You have not entered a username or IP?</div><br>';
}
else if(empty($reason)){
echo '<div class = "alert">You have not entered a reason?</div><br>';
}
else if(empty($expire)){
echo '<div class = "alert">You have not chosen an expiry date?</div><br>';
}
$checku = mysql_query("SELECT value FROM bans WHERE value='{$value}'");
if (mysql_num_rows($checku) != 0)
{
echo "<div class = 'alert'>Username <b>or</b> IP already exists?</div>";
}
else{
$banlog = "INSERT INTO hk_logs (type, time, who_done) VALUES('Create Ban(" . $bantype . ' - ' . $value .")','". time() ."','{$_SESSION['user']['username']}')";
$query = "INSERT INTO bans SET bantype='{$bantype}', value='{$value}', reason='{$reason}', expire = '". $expire ."', added_by = '" . $_SESSION['user']['username'] . "', added_date = '". time() ."'";
mysql_query($query) or die ("Error in query: {$logtest}. ".mysql_error());
mysql_query($banlog);
echo '<div class = "alert">Ban added successfully.<meta http-equiv="refresh" content="3;url={url}/index.php?url=hk&create_bans"/></div><br>';
}
}
?>
<script type="text/javascript">
document.getElementById('date').value = Date();
</script>
<form method = "post">
<select name = "bantype">
<option value="user">User Ban</option>
<option value="ip">IP Ban</option>
</select><br>
<b>Username/IP: </b><br><input type = "text" value = "<?php echo $_POST['value']; ?>" name = "value"><br>
<b>Reason:</b><br><input type = "text" value = "<?php echo $_POST['reason']; ?>" name = "reason"><br>
<b>Expiry Date: </b><br><input id = "date" value = "<?php echo $_POST['expire']; ?>" type = "date" name = "expire"><br>
<input type = "submit" name = "add_ban"><br>
</form>
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
Been waiting for this, thanks 10/10
If you could add some features or make an ASE like UberHK would be just awesome.
Anyways, thanks for the share!
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
I've been trying to get a better login button but this is problem
http://youtu.be/7eKPKnWU-AU
Code:
<div id="login-form-container">
<a href="#home" id="habbo-logo"></a>
<form action="#" method="post">
<div id="login-columns">
<div id="login-column-1">
<label for="login-username">Username</label>
<input tabindex="2" type="text" class="login-field" name="log_username" id="credentials-email">
</div>
<div id="login-column-2">
<label for="login-password">Password</label>
<input tabindex="3" class="login-field" type="password" name="log_password" type="password" id="credentials-password">
</div>
<div id="login-column-3">
<input type="submit" value="Login" name="login" style="margin: -10000px; position: absolute;">
<a href="#" tabindex="4" class="button" id="credentials-submit"><b></b><span>Login</span></a>
</div>
--------UPDATE-------
Housekeeping isn't working for me it keeps saying Your Not Allowed Here Blah Blah Blah and I changed all the ranks to 10 for my sandbox hotel :)
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
Quote:
Originally Posted by
Lewislol
Thanks, is there any features you think I should add?
And just updated download links w/ a updated version with a runme.sql and added logging to Ban Users.
Good work mate. Erm, i was hoping for a better news editor. I mean, it's nice now, but the ability to input images by a click off a button and so on, is a better option for everyone.
A few extra ideas,
The ability to log onto a users account.
The ability to view a users password
I don't know if this is possible, but a way to send a gift to the entire hotel. So, like, a rare for instance.
The ability to make the hotel go into maintenance
A ban appeal system on hk. That would mean coding the actually system itself, but it's an idea.
I'll post more ideas when i think off some haha.
Re: RevCMS habbo theme edit &amp; RevCMS Housekeeping release
Quote:
Originally Posted by
Glee
I've been trying to get a better login button but this is problem
http://youtu.be/7eKPKnWU-AU
Code:
<div id="login-form-container">
<a href="#home" id="habbo-logo"></a>
<form action="http://forum.ragezone.com/#" method="post">
<div id="login-columns">
<div id="login-column-1">
<label for="login-username">Username</label>
<input tabindex="2" type="text" class="login-field" name="log_username" id="credentials-email">
</div>
<div id="login-column-2">
<label for="login-password">Password</label>
<input tabindex="3" class="login-field" type="password" name="log_password" type="password" id="credentials-password">
</div>
<div id="login-column-3">
<input type="submit" value="Login" name="login" style="margin: -10000px; position: absolute;">
<a href="#" tabindex="4" class="button" id="credentials-submit"><b></b><span>Login</span></a>
</div>
--------UPDATE-------
Housekeeping isn't working for me it keeps saying Your Not Allowed Here Blah Blah Blah and I changed all the ranks to 10 for my sandbox hotel :)
Hi,
change all your ranks to your rank base(Ie 6+).
This isn't a help thread I had about 10 messages because my posts for helping people got deleted.
- - - Updated - - -
I have created a bug page, on the CMS.
Submit a bug or feature request here.
http://live.demo.savor.ws/RevCMS/bugs
You must create your own account in order to create a feature request.
- - - Updated - - -
Today I have spent about one 30 minutes working on this,
Housekeeping updates:
Last 10 users - Made it show last 10 users username and email(in beta HK doesn't show last 10 characters on email).
Maintenance via HK - As @Joe Richardson suggested I decided to add a simple maintenance system replacing RevCMS's old one it is now done via 'Settings' page.
Changelog - I added a changelog so I know what I have added.
PS - Stop spamming news with your hotel links or your IP will be banned from accessing the housekeeping.
Re: RevCMS habbo theme edit &amp; RevCMS Housekeeping release
Do i need to download the housekeeping again to get the latest updates?
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
I haven't released the latest updates yet, will release tomorrow or maybe later.
Any other features need doing apart from:
Login a users account via HK - As I cannot get it working.
The ability to view a users password - not possible unless I don't hash passwords.
PS - Don't post them here submit them on the form I created I don't want to fill the thread up.
http://live.demo.savor.ws/RevCMS/bugs
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
Could you maybe make that when you have rank x, that you can on the website when maintenance is enabled.
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
Quote:
Originally Posted by
Andre96
Could you maybe make that when you have rank x, that you can on the website when maintenance is enabled.
Rank 6+ can access the site if they have a active session when maintenance is activated.
PS - Disabled this feature in beta mode until I make a script to remove maintenance on the beta site every few minutes.
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
If you use navicat you can make a event that every x minutes it goes back to false.
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
Quote:
Originally Posted by
Andre96
If you use navicat you can make a event that every x minutes it goes back to false.
Done it that way forgot about that way, was going to run a cronjob every 2 minutes.
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
Hi,
The Account settings for changing password does not work, when i have changed the password and trying to login with the new password it won't work, only with the old password?
Can you fix this bug and make a green check box that the password is changed, could be sweet.
Re: RevCMS habbo theme edit & RevCMS Housekeeping release
Quote:
Originally Posted by
CalmaBRO
Hi,
The Account settings for changing password does not work, when i have changed the password and trying to login with the new password it won't work, only with the old password?
Can you fix this bug and make a green check box that the password is changed, could be sweet.
Very rare you'll find a revcms hotel that it works on
Re: RevCMS habbo theme edit &amp; RevCMS Housekeeping release
Quote:
Originally Posted by
CalmaBRO
Hi,
The Account settings for changing password does not work, when i have changed the password and trying to login with the new password it won't work, only with the old password?
Can you fix this bug and make a green check box that the password is changed, could be sweet.
I am only working on the HK, nothing else right now.
- - - Updated - - -
Update list:
- Chatlogs via HK makes a new page every 80 records.
- Fixed some bugs todo w/ alerts.
- Replied to bug/feature requests.
Have an idea for a feature?
Submit it here
Found a bug?
Submit it here
* Cannot submit if you are using 'Test' account *
Want to demo?
http://live.demo.savor.ws/RevCMS/
Username - Test
Password - TestTest
Or make your own account and go to
http://live.demo.savor.ws/RevCMS/rankme
Want to download the HK?
Mirror 1 - http://live.demo.savor.ws/RevCMS housekeeping.rar
Whe will next version be released?
When I think there is enough changes to it.
- - - Updated - - -
THE UPDATE 0.1 IS HERE!
Changelog:
- Added basename() to $_SERVER for dashboard.
- Must have a valid username in able to change a password check added
- News UPDATE: Added TinyMCE plugins(ADD URL, ADD LOGO, ETC)
- Added selected class and done simple if statement to echo ' selected' if you are on that page.
- Cleaned up navigation
- View chatlogs.
- Added maintenance in HK(Modified core removed 'in_maint' system).
- Last 10 users to register.
- Added Bug Reporting/Feature Requesting to CMS.
- Attempted login users account but stopped working on it since it was messing up.
- Added Changelog box.
Download Links:
http://live.demo.savor.ws/RevCMS%20Housekeeping.rar
https://mega.co.nz/#!09AHnTCA!fApaAz...HKHoxYJwEoC5vw
Have an idea for a feature?
Submit it here
Found a bug?
Submit it here