Rehab (Rev CMS Edit) (Groups, Tags + more features)

Page 2 of 2 FirstFirst 12
Results 26 to 34 of 34
  1. #26
    Enthusiast extraHabbo is offline
    MemberRank
    Apr 2014 Join Date
    34Posts

    Re: Rehab (Rev CMS Edit) (Groups, Tags + more features)

    Quote Originally Posted by CrashRetros View Post
    Can i have a screenshot of register please?
    Just a normal boring one:)

  2. #27
    Proficient Member ProducerMark is offline
    MemberRank
    Jul 2010 Join Date
    Middle EarthLocation
    176Posts

    Re: Rehab (Rev CMS Edit) (Groups, Tags + more features)

    It looks like he just put parts of CMS' together - it doesn't look like a coherent website, anyway thanks for sharing!

  3. #28
    Apprentice Almighty Al is offline
    MemberRank
    Jun 2012 Join Date
    planet earthLocation
    23Posts

    Re: Rehab (Rev CMS Edit) (Groups, Tags + more features)

    Quote Originally Posted by ProducerMark View Post
    It looks like he just put parts of CMS' together - it doesn't look like a coherent website, anyway thanks for sharing!
    Completely Agree. Anytime

  4. #29
    HostSavor.com Lewislol is offline
    MemberRank
    Jul 2013 Join Date
    498Posts

    Re: Rehab (Rev CMS Edit) (Groups, Tags + more features)

    For people using this release.
    This release uses the bug report page I made(which is pretty shit), because it was made in a few minutes I did not add any checks atall or limits or even a check if it is a valid user that is submitting the report.
    I noticed people have made a tool spamming it eventually causing his site to go down.(Over 20000 post submits in under 5 minutes).

    I would advise you to remove this page as soon as possible and wait till tomorrow when I have a chance to recode it with security as #1 priority.


  5. #30
    Member Damien Jolly is offline
    MemberRank
    Apr 2014 Join Date
    89Posts

    Re: Rehab (Rev CMS Edit) (Groups, Tags + more features)

    Quote Originally Posted by Lewislol View Post
    For people using this release.
    This release uses the bug report page I made(which is pretty shit), because it was made in a few minutes I did not add any checks atall or limits or even a check if it is a valid user that is submitting the report.
    I noticed people have made a tool spamming it eventually causing his site to go down.(Over 20000 post submits in under 5 minutes).

    I would advise you to remove this page as soon as possible and wait till tomorrow when I have a chance to recode it with security as #1 priority.

    Why didn't you code it securely in the first place? Just shows you're unreliable if you can't even get the job done right the first time.

  6. #31
    HostSavor.com Lewislol is offline
    MemberRank
    Jul 2013 Join Date
    498Posts

    Re: Rehab (Rev CMS Edit) (Groups, Tags + more features)

    Quote Originally Posted by Damien Jolly View Post
    Why didn't you code it securely in the first place? Just shows you're unreliable if you can't even get the job done right the first time.
    I didn't bother adding a check the first time mainly because it wasn't supposed to be released. Someone just asked me to release so I did(just forgot to add a check before releasing).

    - - - Updated - - -

    Fixed bug report page.
    Code:
                                     <?php 
                                            if($_POST['add_ban']){
                                                $text = mysql_real_escape_string($_POST['text']);
                                                $type = mysql_real_escape_string($_POST['type']);
                                                $username = mysql_real_escape_string($_POST['username']);
                                                $resolved = mysql_real_escape_string($_POST['resolved']);
                                                $bugcheck = mysql_query("SELECT id, resolved FROM hk_issues WHERE username = '{$_SESSION['user']['username']}' AND resolvedc = '0'");
    
    
                                                if(empty($text)){
                                                    echo '<div class = "alert">You have not entered a bug/feature request?</div><br>';
                                                }
                                                
    
    
                                                if(mysql_num_rows($bugcheck) >= 2){
                                                    echo 'You must wait until your current bug reports are resolved.';
                                                }
                                                
                                                else{    
                                                    $query = "INSERT INTO hk_issues SET type='{$type}', text='{$text}', username='" . $_SESSION['user']['username'] ."'";
                                                    mysql_query($query) or die ("Error in query: {$logtest}. ".mysql_error());
                                                    mysql_query($banlog);
                                                    echo '<div class = "alert">Bug/Feature request added successfully.<meta http-equiv="refresh" content="3;url={url}/bugs"/></div><br>';
                                                }
                                            }
                                    ?>
                                        <form method = "post">
                                            <select name = "type">
                                              <option value="bug">Bug</option>
                                              <option value="request">Feature Request</option>
                                            </select><br>
                                            <b>Bug/Feature?: </b><br><input type = "text" value = "<?php echo $_POST['text']; ?>" name = "text"><br><br>
                                            <input type = "sub
    SQL
    Code:
    DROP TABLE IF EXISTS `hk_issues`;
    CREATE TABLE `hk_issues` (
      `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
      `type` enum('bug','request','') NOT NULL,
      `text` varchar(255) NOT NULL,
      `username` varchar(255) NOT NULL,
      `resolved` text,
      `resolvedc` enum('0','1') NOT NULL,
      PRIMARY KEY (`id`)
    ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
    
    
    -- ----------------------------
    -- Records of hk_issues
    -- ----------------------------
    INSERT INTO `hk_issues` VALUES ('1', 'bug', 'l', 'Test', 'Content', '0');
    INSERT INTO `hk_issues` VALUES ('2', 'bug', 'l', 'Test', 'Content', '1');
    INSERT INTO `hk_issues` VALUES ('3', 'bug', 'l', 'Test', 'Content', '1');
    INSERT INTO `hk_issues` VALUES ('4', 'bug', 'te', 'Test', 'Content', '1');
    INSERT INTO `hk_issues` VALUES ('5', 'bug', '.', 'Test', null, '1');
    INSERT INTO `hk_issues` VALUES ('6', 'bug', 'l', 'Test', null, '0');
    Added a column 'resolvedc' that needs to be set for 1 in order for the user to make more than three requests.


    Also add case "bugs": to class.core near cases so it can't be viewed if someone does not have a active session( near case "me": )

  7. #32
    Account Upgraded | Title Enabled! Joe Richardson is offline
    MemberRank
    Feb 2013 Join Date
    485Posts

    Re: Rehab (Rev CMS Edit) (Groups, Tags + more features)

    Quote Originally Posted by DutchenL View Post
    If I want to make a group I get this:
    Field 'desc' doesn't have a default value

    Anyone know why?
    Go to your group table, and right click it, and click design table. Find "desc" and click allow null

  8. #33
    Proficient Member Leon Retros is offline
    MemberRank
    Nov 2012 Join Date
    174Posts

    Re: Rehab (Rev CMS Edit) (Groups, Tags + more features)

    I just want one thing its the choose country code with form what i mean by that ex.
    <b>Country</b>
    <select> Sweden</select> but with all countries i would appriciate if someone posted it on pastebin and i would love it if it would work!!! Thanks!

  9. #34
    QUIT RETROS Zedd is offline
    MemberRank
    Dec 2012 Join Date
    NorwayLocation
    295Posts

    Re: Rehab (Rev CMS Edit) (Groups, Tags + more features)

    The features is useful, but the theme is very similar to other revCMS habbo theme edits.



Page 2 of 2 FirstFirst 12

Advertisement