[Give Ideas] CMS Features

Status
Not open for further replies.

KingDubz

Member
Dec 11, 2014
94
14
@JayCustom Speaking of what fatal uses here another idea i haven't found something release like that so wonder can you do it.
They haves this - A change name system with a number of name changes user can get :D just wonder can you do something like that and release please and thank you. :D
 

Rubber

Creepz.eu
Feb 24, 2012
100
3
@JayCustom Speaking of what fatal uses here another idea i haven't found something release like that so wonder can you do it.
They haves this - A change name system with a number of name changes user can get :D just wonder can you do something like that and release please and thank you. :D
i would like this to
 

JayC

Well-Known Member
Aug 8, 2013
5,505
1,401
For The Change username idea that would actually work, and I have no idea why fatal wouldn't transfer the rooms right away as it wouldn't be that hard (1 SQL + MUS Command) but that is their hotel, and also for the contracts I think this would be something you could code on your own as this is something fatal came up with I am not going to steal their idea, the change username however I could do because that is already something integrated into most EMU's its just putting it on the cms
 

r0ck

Megatron
Jul 18, 2015
167
56
Understood completely that you don't want to steal something. Anyways, I'm sure you'll make a great CMS.
 

JayC

Well-Known Member
Aug 8, 2013
5,505
1,401
i like the staff app, may i have it please?
Database:
DROP TABLE IF EXISTS `jobapps`;
CREATE TABLE `jobapps` (
`username` text NOT NULL,
`email` text NOT NULL,
`age` int(11) NOT NULL,
`why` text NOT NULL,
`exp` text NOT NULL,
`read` int(11) NOT NULL DEFAULT '0',
`position` text NOT NULL,
`general_id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`general_id`)
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=latin1;

PHP (UberCMS):
PHP:
<div class="habblet-container ">
<div class="cbb clearfix pixellightblue ">

<h2 class="title">%shortname% Trial Apps</h2>
<div class="box-content">


<center><b><h2>%shortname% Hotel Moderator</b></h2>
</center>
<div style="text-align: right;">
</div>
<br />
%shortname% Hotel is run by highly trained staff, and we're always hiring staff so that the hotel is always safe and having fun! You may apply for staff below, but you need to fill in the information truthfuly, else your application will be denied! Also, please make sure you're at least <b>13</b> years of age before you apply for staff!<br /><br /><center>You must also meet the following requirements:</center>
<br />
<br />
<i>&bull; Able to moderate the hotel for at least 3 hours a day or 10 hours a week!</i><br>
<i>&bull; Advertise and host events frequently!</i><br>
<i>&bull; Have read the rules and understand them entirely!</i><br>
<i>&bull; Will advertise to help gain users!</i><br>
<i>&bull; Make sure your password is well protected!</i><br>
<i>&bull; Invite your friends and help people understand what %shortname% is!</i><br>

<p><center>Please only send in ONE application otherwise ALL Of your applications will automatically be deleted through the system</center></p>
<hr></hr>
<br />
<?php
$name = USER_NAME;
if(isset($_POST['apply'])) {$job_username = mysql_real_escape_string($_POST['username']);$job_email = mysql_real_escape_string($_POST['useremail']);$job_date = mysql_real_escape_string($_POST['date']);$job_month = mysql_real_escape_string($_POST['month']);$job_year = mysql_real_escape_string($_POST['year']);$job_why = mysql_real_escape_string($_POST['why']);$job_exp = mysql_real_escape_string($_POST['exp']);
$job_do = mysql_query("INSERT INTO jobapps (username, email, dob, why, exp) VALUES ('".$job_username."', '".$job_email."', '".$job_date/$job_month/$job_year."', '".$job_why."', '".$job_exp."')");
if($job_do) {
echo "<strong>Thank you very much for submitting your staff application, you'll be notified through email if you are considered!</strong>";
} else {
die(mysql_error());
}
}?>
<center><form method="post" action="">
<b>Your hotel username</b><br />
<input type="text" readonly value="<?php echo $name; ?>" name="username"><br />
<b>An active email address</b><br />
<input type="text" name="useremail"><br />
<b>Position your applying for</b><br />
<input type="text" disabled value="Trial Mod"><br />
<b>Real deate of birth <i>(Ex: 1/1/2000)</i></b><br />
<input type="text" style="width: 40px;" name="date" placeholder="Date" maxlength="2" />
<input type="text" style="width: 40px;" name="month" placeholder="Month" maxlength="2" />
<input type="text" style="width: 80px;" name="year" placeholder="Year" maxlength="4" /><br />
<b>Why would we choose you?</b><br />
<textarea style="width: 250px; margin-left: 15px;" name="why"></textarea><br />
<b>What experience have you had?</b><br />
<textarea style="width: 250px; margin-left: 15px;" name="exp"></textarea><br />
<input type="submit" name="apply" value="Submit">
</form>
</center>
</div>
</div>
</div>
</div>
 
zViVB46.png

Former Staff Page:
PHP:
<?php
$grabFormers = mysql_query("SELECT * FROM users WHERE FormerRank != 1");
if(mysql_num_rows($grabFormers) > 0){
while($Formers = mysql_fetch_assoc($grabFormers)){
$rankName = mysql_fetch_assoc(mysql_query("SELECT name FROM ranks WHERE id='".$Formers['FormerRank']."'"));
echo '
<div class="habblet-container ">       
    <div class="cbb clearfix darkred "> 
    <h2 class="title">'.$Formers['username'].' Former Rank: '.$rankName['name'].'</h2>
    <div class="box-content">
   
    <div style="float:left;"><img src="http://habbo.nl/habbo-imaging/avatarimage?figure='.$Formers['look'].'&size=m&direction=2&head_direction=3&gesture=sml&size=s" /></div>
    <div style="float:center;"><b>Reason I am no longer staff:</b> '.$Formers['FormerReason'].'</div>
    </div></div></div>';

}
}else{
echo "<center>We do not have any former staff!</center>";
}
?>
Database:
ALTER TABLE Users
ADD FormerRank int NOT NULL
DEFAULT 1;
ALTER TABLE Users
ADD FormerReason varchar(150) NOT NULL
DEFAULT 'Classified';

Very Simple PHP code allows for dynamic changes to be made. For example: It grabs the rank name automatically so you don't have to go back and change the username, and also the page (different from other hotels) allows for a reason to be fired. Using this professionally can allow for great feedback to users who are becoming staff to avoid being fired for same reasoning.
:) More coming soon, don't forget to like , comment more ideas and follow :)
 

KingDubz

Member
Dec 11, 2014
94
14
Database:
DROP TABLE IF EXISTS `jobapps`;
CREATE TABLE `jobapps` (
`username` text NOT NULL,
`email` text NOT NULL,
`age` int(11) NOT NULL,
`why` text NOT NULL,
`exp` text NOT NULL,
`read` int(11) NOT NULL DEFAULT '0',
`position` text NOT NULL,
`general_id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`general_id`)
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=latin1;

PHP (UberCMS):
PHP:
<div class="habblet-container ">
<div class="cbb clearfix pixellightblue ">

<h2 class="title">%shortname% Trial Apps</h2>
<div class="box-content">


<center><b><h2>%shortname% Hotel Moderator</b></h2>
</center>
<div style="text-align: right;">
</div>
<br />
%shortname% Hotel is run by highly trained staff, and we're always hiring staff so that the hotel is always safe and having fun! You may apply for staff below, but you need to fill in the information truthfuly, else your application will be denied! Also, please make sure you're at least <b>13</b> years of age before you apply for staff!<br /><br /><center>You must also meet the following requirements:</center>
<br />
<br />
<i>&bull; Able to moderate the hotel for at least 3 hours a day or 10 hours a week!</i><br>
<i>&bull; Advertise and host events frequently!</i><br>
<i>&bull; Have read the rules and understand them entirely!</i><br>
<i>&bull; Will advertise to help gain users!</i><br>
<i>&bull; Make sure your password is well protected!</i><br>
<i>&bull; Invite your friends and help people understand what %shortname% is!</i><br>

<p><center>Please only send in ONE application otherwise ALL Of your applications will automatically be deleted through the system</center></p>
<hr></hr>
<br />
<?php
$name = USER_NAME;
if(isset($_POST['apply'])) {$job_username = mysql_real_escape_string($_POST['username']);$job_email = mysql_real_escape_string($_POST['useremail']);$job_date = mysql_real_escape_string($_POST['date']);$job_month = mysql_real_escape_string($_POST['month']);$job_year = mysql_real_escape_string($_POST['year']);$job_why = mysql_real_escape_string($_POST['why']);$job_exp = mysql_real_escape_string($_POST['exp']);
$job_do = mysql_query("INSERT INTO jobapps (username, email, dob, why, exp) VALUES ('".$job_username."', '".$job_email."', '".$job_date/$job_month/$job_year."', '".$job_why."', '".$job_exp."')");
if($job_do) {
echo "<strong>Thank you very much for submitting your staff application, you'll be notified through email if you are considered!</strong>";
} else {
die(mysql_error());
}
}?>
<center><form method="post" action="">
<b>Your hotel username</b><br />
<input type="text" readonly value="<?php echo $name; ?>" name="username"><br />
<b>An active email address</b><br />
<input type="text" name="useremail"><br />
<b>Position your applying for</b><br />
<input type="text" disabled value="Trial Mod"><br />
<b>Real deate of birth <i>(Ex: 1/1/2000)</i></b><br />
<input type="text" style="width: 40px;" name="date" placeholder="Date" maxlength="2" />
<input type="text" style="width: 40px;" name="month" placeholder="Month" maxlength="2" />
<input type="text" style="width: 80px;" name="year" placeholder="Year" maxlength="4" /><br />
<b>Why would we choose you?</b><br />
<textarea style="width: 250px; margin-left: 15px;" name="why"></textarea><br />
<b>What experience have you had?</b><br />
<textarea style="width: 250px; margin-left: 15px;" name="exp"></textarea><br />
<input type="submit" name="apply" value="Submit">
</form>
</center>
</div>
</div>
</div>
</div>
 
zViVB46.png

Former Staff Page:
PHP:
<?php
$grabFormers = mysql_query("SELECT * FROM users WHERE FormerRank != 1");
if(mysql_num_rows($grabFormers) > 0){
while($Formers = mysql_fetch_assoc($grabFormers)){
$rankName = mysql_fetch_assoc(mysql_query("SELECT name FROM ranks WHERE id='".$Formers['FormerRank']."'"));
echo '
<div class="habblet-container ">      
    <div class="cbb clearfix darkred ">
    <h2 class="title">'.$Formers['username'].' Former Rank: '.$rankName['name'].'</h2>
    <div class="box-content">
  
    <div style="float:left;"><img src="http://habbo.nl/habbo-imaging/avatarimage?figure='.$Formers['look'].'&size=m&direction=2&head_direction=3&gesture=sml&size=s" /></div>
    <div style="float:center;"><b>Reason I am no longer staff:</b> '.$Formers['FormerReason'].'</div>
    </div></div></div>';

}
}else{
echo "<center>We do not have any former staff!</center>";
}
?>
Database:
ALTER TABLE Users
ADD FormerRank int NOT NULL
DEFAULT 1;
ALTER TABLE Users
ADD FormerReason varchar(150) NOT NULL
DEFAULT 'Classified';

Very Simple PHP code allows for dynamic changes to be made. For example: It grabs the rank name automatically so you don't have to go back and change the username, and also the page (different from other hotels) allows for a reason to be fired. Using this professionally can allow for great feedback to users who are becoming staff to avoid being fired for same reasoning.
:) More coming soon, don't forget to like , comment more ideas and follow :)
Can u do a quick revcms one when you have time?
 

JayC

Well-Known Member
Aug 8, 2013
5,505
1,401
Can u do a quick revcms one when you have time?
Very easy if you want to convert to RevCMS here is how:
dbquery -> mysql_query
USER_NAME -> $_SESSION['user']['username']
USER_ID -> $_SESSION['user']['id']

Although, former staff page should work on revcms :p

Here is the next thing someone requests to be able to search for users:
PHP:
<div class="habblet-container ">     
    <div class="cbb clearfix darkred ">
    <h2 class="title">Search</h2>
    <div class="box-content">
    <?php
  if(isset($_POST['searchusers'])){
  $UserSearch = $_POST['searchusers'];
  $findUser = mysql_query("SELECT id FROM users WHERE username = '".$_POST['searchusers']."'");
  if(mysql_num_rows($findUser) < 1){
  echo "That user was not found</br>";
  }else{
  $findUser = mysql_fetch_assoc($findUser);
   header("Location: /home/".$findUser['id']."");
  }
  }
  ?>
    <form name="search" action="" method="post">
        <div style="float:left"><span>User: </span><input type="text" value="" name="searchusers" /></div>
    <div style="float:right"><input type="submit" value="Search" class="submit"></div>
    </form>
     
     
    </div>
    </div>
    </div>
    <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
NHxWSDX.png

If you are going to be getting the homes that I will be releasing keep the search box because that will connect to my homes :)

Like, Comment More Ideas, Follow!
 
Last edited:

JayC

Well-Known Member
Aug 8, 2013
5,505
1,401
well, i dk how to convert uber to revcms if you can help me, it would be good
Nope sorry, I don't do projects that are already released, I do new projects..

I am going to be making homes shortly and I have thought of some ideas:
- When the user is on their own page they will have options to modify/change what people can see or turn privacy settings so nobody can see anything about their account besides staff members who are logged in.
- Hotel Stats that belong to the users (How many furni does this user have, how many credits/pixels/points, how many rooms)
 

JayC

Well-Known Member
Aug 8, 2013
5,505
1,401
ooo looking good @JayCustom :)
Thank you very much. I haven't started the homes yet as I have been working on another project outside of retros. I will let you guys know when the homes have been started, thanks! Still leave some ideas so I can get going on more things for the community.
 

JayC

Well-Known Member
Aug 8, 2013
5,505
1,401
This is what I have for the homes now:
rR37Uds.png

PrFOVJ0.png


Thoughts?
 

jQuery

Member
Jun 10, 2015
59
9
I don't like the font used for headings, but I can't think of an alternative. Or try making that font bold. I also don't like the style of the about me, colours, and save box. Apart from that, it looks good, although are you planning to fill that big gap under the User: JayCustom box?
 

KingDubz

Member
Dec 11, 2014
94
14
Under the "User" bar u should make dem be able to put their fav youtube video , up to you doe :D Other then that i like it very much. :up:
 
Status
Not open for further replies.

Users who are viewing this thread

Top