Thanks for your reply , and here is my response to this.I have a couple of ideas that may be useful or nice to some of the owners in the retro community. Other hotels may have some of these features!
1. Avatar Creator in Registration Process (can choose how avatars looks)!
2. Stable forum add-on like the one tardis has!
3. Suggestions/Help/Bugs Page where a user can report or suggest something!
4. POINTS SHOP - Also automatic like say a user buys VIP it ranks him/her!
Thanks some of these ideas are probably already being used or may sound pointless. But if you decide to make something with this then thank you!
Please do these on RevCMS!
<style>
input[type=submit],input[type=button] {padding:5px 15px; background:#ccc; border:0 none;
cursor:pointer;
-webkit-border-radius: 5px;
border-radius: 5px; }
</style>
<?php
if(isset($_GET['solved']))
{
$solve = filter($_GET['solved']);
if(is_numeric($solve))
{
mysql_query("UPDATE `bug_reports` SET status='1' WHERE id='".$solve."'");
}
}
?>
<div class="habblet-container" style="float:left; width: 280px;">
<div class="cbb clearfix settings">
<h2 class="title">Submit %shortname% Problems</h2>
<div class="box-content">
<?php
if(isset($_POST['BRO']) && isset($_POST['mess'])){
$select = $_POST['BRO'];
$message = $_POST['mess'];
if($select != "bug" && $select != "report" && $select != "other"){
echo "Invalid Type</br></br>";
}elseif(strlen($message) > 199 || strlen($message) < 15){
echo "Please be as descriptive as possible without going over 200 characters</br></br>";
}else{
mysql_query("INSERT INTO bug_reports (type,user,message) VALUES('".$select."', '".USER_NAME."','".$message."')");
echo "We submitted your problem, thank you</br></br>";
}
}
?>
<form name="form" action="" method="post">
<span>Type: </span>
<select name="BRO">
<option value="bug">Bug</option>
<option value="report">Report</option>
<option value="other">Other</option>
</select></br>
<span>Message: </span></br>
<textarea name="mess" style="width:100%;height:80px;"></textarea></br></br>
<div style="float:right;"><input type="submit" value="Submit »" class="submit"></div>
</form>
<br/><br/>
<?php
$findReq = mysql_query("SELECT * FROM `bug_reports` WHERE user='".USER_NAME."'");
if(mysql_num_rows($findReq) > 0){
echo '<hr/><center><span><b> Your Reported Problems:</b></span></center></br>';
while($reports = mysql_fetch_assoc($findReq)){
echo '<b><span>Type: </span></b>';
echo $reports['type'];
echo '</br>';
echo '<b><span> Message: </span></b>';
echo $reports['message'];
echo '</br>';
echo '<b><span> Status: </span></b>';
if($reports['status'] == 1) {
echo 'Solved';
}else{
echo 'Working';
}
echo '</br>';
echo '<hr/>';
}
}
?>
</div>
</div>
</div>
<?php
$userRank = mysql_fetch_assoc(mysql_query("SELECT rank FROM users WHERE id='".USER_ID."'"));
if($userRank['rank'] > 9){
echo '
<div class="habblet-container" style="float:left; width: 280px;">
<div class="cbb clearfix settings">
<h2 class="title">Handle %shortname% Problems</h2>
<div class="box-content"> ';
$findRep = mysql_query("SELECT * FROM `bug_reports` WHERE `status` = '0'");
if(mysql_num_rows($findRep) > 0){
echo "<span>Reported Problems:</span></br>";
while($allRep = mysql_fetch_assoc($findRep)){
echo "<b><span>Type: </span></b>";
echo $allRep['type'];
echo "</br>";
echo "<b><span> Message: </span></b>";
echo $allRep['message'];
echo '</br><input type="button" onclick="document.location = \'?page=2&solved=' . $allRep['id'] . '\';" value="Mark As Solved"></br><hr/>';
}
}
?>
</div>
</div>
</div>
<?php
}
?>
<style>
input[type=submit],input[type=button] {padding:5px 15px; background:#ccc; border:0 none;
cursor:pointer;
-webkit-border-radius: 5px;
border-radius: 5px; }
</style>
<?php
if(isset($_GET['solved']))
{
$solve = filter($_GET['solved']);
if(is_numeric($solve))
{
mysql_query("UPDATE `bug_reports` SET status='1' WHERE id='".$solve."'");
}
}
?>
<div class="habblet-container" style="float:left; width: 280px;">
<div class="cbb clearfix settings">
<h2 class="title">Submit %shortname% Problems</h2>
<div class="box-content">
<?php
if(isset($_POST['BRO']) && isset($_POST['mess'])){
$select = $_POST['BRO'];
$message = $_POST['mess'];
if($select != "bug" && $select != "report" && $select != "other"){
echo "Invalid Type</br></br>";
}elseif(strlen($message) > 199 || strlen($message) < 15){
echo "Please be as descriptive as possible without going over 200 characters</br></br>";
}else{
mysql_query("INSERT INTO bug_reports (type,user,message) VALUES('".$select."', '".$_SESSION['user']['username']."','".$message."')");
echo "We submitted your problem, thank you</br></br>";
}
}
?>
<form name="form" action="" method="post">
<span>Type: </span>
<select name="BRO">
<option value="bug">Bug</option>
<option value="report">Report</option>
<option value="other">Other</option>
</select></br>
<span>Message: </span></br>
<textarea name="mess" style="width:100%;height:80px;"></textarea></br></br>
<div style="float:right;"><input type="submit" value="Submit »" class="submit"></div>
</form>
<br/><br/>
<?php
$findReq = mysql_query("SELECT * FROM `bug_reports` WHERE user='".$_SESSION['user']['username']."'");
if(mysql_num_rows($findReq) > 0){
echo '<hr/><center><span><b> Your Reported Problems:</b></span></center></br>';
while($reports = mysql_fetch_assoc($findReq)){
echo '<b><span>Type: </span></b>';
echo $reports['type'];
echo '</br>';
echo '<b><span> Message: </span></b>';
echo $reports['message'];
echo '</br>';
echo '<b><span> Status: </span></b>';
if($reports['status'] == 1) {
echo 'Solved';
}else{
echo 'Working';
}
echo '</br>';
echo '<hr/>';
}
}
?>
</div>
</div>
</div>
<?php
$userRank = mysql_fetch_assoc(mysql_query("SELECT rank FROM users WHERE id='".$_SESSION['user']['id']."'"));
if($userRank['rank'] > 9){
echo '
<div class="habblet-container" style="float:left; width: 280px;">
<div class="cbb clearfix settings">
<h2 class="title">Handle %shortname% Problems</h2>
<div class="box-content"> ';
$findRep = mysql_query("SELECT * FROM `bug_reports` WHERE `status` = '0'");
if(mysql_num_rows($findRep) > 0){
echo "<span>Reported Problems:</span></br>";
while($allRep = mysql_fetch_assoc($findRep)){
echo "<b><span>Type: </span></b>";
echo $allRep['type'];
echo "</br>";
echo "<b><span> Message: </span></b>";
echo $allRep['message'];
echo '</br><input type="button" onclick="document.location = \'?page=2&solved=' . $allRep['id'] . '\';" value="Mark As Solved"></br><hr/>';
}
}
?>
</div>
</div>
</div>
<?php
}
?>
Thank you very much I will be sure to use this once my hotel is up!Thanks for your reply , and here is my response to this.
1) And avatar creator doesn't have to do with coding , this would be an embedded SWF and I am sure that it is out there somewhere if you find a v26 CMS
2) Forums I might work on
3) I have a good idea for this, and I will start working on it today
4) This has been created, you just have to download the paypal automatic system and then run php code to give them whatever they need. You can easily look up releasing for this all it does it check your account to see if the payment was accepted, declined or waiting.
Here we go:
Sending In Report -
Handling Reports -
Code:<style> input[type=submit],input[type=button] {padding:5px 15px; background:#ccc; border:0 none; cursor:pointer; -webkit-border-radius: 5px; border-radius: 5px; } </style> <?php if(isset($_GET['solved'])) { $solve = filter($_GET['solved']); if(is_numeric($solve)) { mysql_query("UPDATE `bug_reports` SET status='1' WHERE id='".$solve."'"); } } ?> <div class="habblet-container" style="float:left; width: 280px;"> <div class="cbb clearfix settings"> <h2 class="title">Submit %shortname% Problems</h2> <div class="box-content"> <?php if(isset($_POST['BRO']) && isset($_POST['mess'])){ $select = $_POST['BRO']; $message = $_POST['mess']; if($select != "bug" && $select != "report" && $select != "other"){ echo "Invalid Type</br></br>"; }elseif(strlen($message) > 199 || strlen($message) < 15){ echo "Please be as descriptive as possible without going over 200 characters</br></br>"; }else{ mysql_query("INSERT INTO bug_reports (type,user,message) VALUES('".$select."', '".USER_NAME."','".$message."')"); echo "We submitted your problem, thank you</br></br>"; } } ?> <form name="form" action="" method="post"> <span>Type: </span> <select name="BRO"> <option value="bug">Bug</option> <option value="report">Report</option> <option value="other">Other</option> </select></br> <span>Message: </span></br> <textarea name="mess" style="width:100%;height:80px;"></textarea></br></br> <div style="float:right;"><input type="submit" value="Submit »" class="submit"></div> </form> <br/><br/> <?php $findReq = mysql_query("SELECT * FROM `bug_reports` WHERE user='".USER_NAME."'"); if(mysql_num_rows($findReq) > 0){ echo '<hr/><center><span><b> Your Reported Problems:</b></span></center></br>'; while($reports = mysql_fetch_assoc($findReq)){ echo '<b><span>Type: </span></b>'; echo $reports['type']; echo '</br>'; echo '<b><span> Message: </span></b>'; echo $reports['message']; echo '</br>'; echo '<b><span> Status: </span></b>'; if($reports['status'] == 1) { echo 'Solved'; }else{ echo 'Working'; } echo '</br>'; echo '<hr/>'; } } ?> </div> </div> </div> <?php $userRank = mysql_fetch_assoc(mysql_query("SELECT rank FROM users WHERE id='".USER_ID."'")); if($userRank['rank'] > 9){ echo ' <div class="habblet-container" style="float:left; width: 280px;"> <div class="cbb clearfix settings"> <h2 class="title">Handle %shortname% Problems</h2> <div class="box-content"> '; $findRep = mysql_query("SELECT * FROM `bug_reports` WHERE `status` = '0'"); if(mysql_num_rows($findRep) > 0){ echo "<span>Reported Problems:</span></br>"; while($allRep = mysql_fetch_assoc($findRep)){ echo "<b><span>Type: </span></b>"; echo $allRep['type']; echo "</br>"; echo "<b><span> Message: </span></b>"; echo $allRep['message']; echo '</br><input type="button" onclick="document.location = \'?page=2&solved=' . $allRep['id'] . '\';" value="Mark As Solved"></br><hr/>'; } } ?> </div> </div> </div> <?php } ?>
Code:<style> input[type=submit],input[type=button] {padding:5px 15px; background:#ccc; border:0 none; cursor:pointer; -webkit-border-radius: 5px; border-radius: 5px; } </style> <?php if(isset($_GET['solved'])) { $solve = filter($_GET['solved']); if(is_numeric($solve)) { mysql_query("UPDATE `bug_reports` SET status='1' WHERE id='".$solve."'"); } } ?> <div class="habblet-container" style="float:left; width: 280px;"> <div class="cbb clearfix settings"> <h2 class="title">Submit %shortname% Problems</h2> <div class="box-content"> <?php if(isset($_POST['BRO']) && isset($_POST['mess'])){ $select = $_POST['BRO']; $message = $_POST['mess']; if($select != "bug" && $select != "report" && $select != "other"){ echo "Invalid Type</br></br>"; }elseif(strlen($message) > 199 || strlen($message) < 15){ echo "Please be as descriptive as possible without going over 200 characters</br></br>"; }else{ mysql_query("INSERT INTO bug_reports (type,user,message) VALUES('".$select."', '".$_SESSION['user']['username']."','".$message."')"); echo "We submitted your problem, thank you</br></br>"; } } ?> <form name="form" action="" method="post"> <span>Type: </span> <select name="BRO"> <option value="bug">Bug</option> <option value="report">Report</option> <option value="other">Other</option> </select></br> <span>Message: </span></br> <textarea name="mess" style="width:100%;height:80px;"></textarea></br></br> <div style="float:right;"><input type="submit" value="Submit »" class="submit"></div> </form> <br/><br/> <?php $findReq = mysql_query("SELECT * FROM `bug_reports` WHERE user='".$_SESSION['user']['username']."'"); if(mysql_num_rows($findReq) > 0){ echo '<hr/><center><span><b> Your Reported Problems:</b></span></center></br>'; while($reports = mysql_fetch_assoc($findReq)){ echo '<b><span>Type: </span></b>'; echo $reports['type']; echo '</br>'; echo '<b><span> Message: </span></b>'; echo $reports['message']; echo '</br>'; echo '<b><span> Status: </span></b>'; if($reports['status'] == 1) { echo 'Solved'; }else{ echo 'Working'; } echo '</br>'; echo '<hr/>'; } } ?> </div> </div> </div> <?php $userRank = mysql_fetch_assoc(mysql_query("SELECT rank FROM users WHERE id='".$_SESSION['user']['id']."'")); if($userRank['rank'] > 9){ echo ' <div class="habblet-container" style="float:left; width: 280px;"> <div class="cbb clearfix settings"> <h2 class="title">Handle %shortname% Problems</h2> <div class="box-content"> '; $findRep = mysql_query("SELECT * FROM `bug_reports` WHERE `status` = '0'"); if(mysql_num_rows($findRep) > 0){ echo "<span>Reported Problems:</span></br>"; while($allRep = mysql_fetch_assoc($findRep)){ echo "<b><span>Type: </span></b>"; echo $allRep['type']; echo "</br>"; echo "<b><span> Message: </span></b>"; echo $allRep['message']; echo '</br><input type="button" onclick="document.location = \'?page=2&solved=' . $allRep['id'] . '\';" value="Mark As Solved"></br><hr/>'; } } ?> </div> </div> </div> <?php } ?>
Couple Notes:
- I did NOT test the RevCMS code I just changed a few variables
- You will need to change this part of the link \'?page=2, I coded this page under my settings , you can put this anywhere
- You may also need to fix the div boxes as that is part of my CMS so you may need to create your own div boxes but the inside code should still work
You need to fix the link that's all Look at the tips I posted. Make it redirect to the current page you have and then putA referral system and a advanced user profile would be amazing @JayCustom
Also, great service you got here!
The marked as read does not work on rev in your user report addon.
That's all? The homes have been done already but I don't know so much about the Former staff page. Not really ideas if its been done already.This is what I will not code:
*Not A Referral System for public release because every CMS is different and I will not do setups for every single person
This is what I will code:
- Homes
- Former Staff Page
It will be released sometime within thursday (thats my goal)
contracts?Try contracts.
I can release the staff apps I have already coded:Might sound crazy but a Staff APP , like they dont have to go to some other link the click staff app button and the fill it out on cms. and when staff apps are close they wont be able to fill nothing out. something like that :S
What would these do?Try contracts.
I would be giving them a new twist. I am going to be adding something nobody has seen before to themThat's all? The homes have been done already but I don't know so much about the Former staff page. Not really ideas if its been done already.
i like the staff app, may i have it please?I can release the staff apps I have already coded:
What would these do?
I would be giving them a new twist. I am going to be adding something nobody has seen before to them