[RevCMS]PurityASE

DarkXIDE

Member
Oct 3, 2011
72
10
NOTE: These images are from the developing. It's just to see how it looks. Please share your images of the ASE because I'm to lazy to take a new screenshot + I have much things added to mine (selfcoded functions)


So, I decided to take up my work with my ASE and finally got it released, first. We start off with some notes.

NOTES

PLEASE MAKE A BACKUP OF EVERYTHING YOU EDIT, I CAN'T HELP YOU IMMEDIATELY IF YOU HAVE NO ASE.


IMAGES

hk.png
hk_badge.png
hk_news.png


DOWNLOAD



INSTALLATION
Well, this is not the easiest install.

First you put the content off hk.rar in
WAMP:
C:\WAMP\www\(your habbo folder)\app\tpl\skins\(your skin)\hk

XAMPP:
C:\XAMPP\htdocs\(your habbo folder)\app\tpl\skins\(your skin)\hk

IIS:
C:\inetpub\wwwroot\(your habbo folder)\app\tpl\skins\(your skin)\hk

And basically you are done BUT

YOU HAVE TO EDIT ONE FILE!!!!

Go to C:\(WAMP,XAMPP or inetpub)\(www,htdocs or wwwroot)\(your habbo folder)\app\tpl
find class.css.php (remember: backup)
Delete all text inside and paste this:

Save and your hk will most likely work!


KNOWN BUGS AND KNOWLEDGE

* At the news and user manage page it may get fucked if someone has long emailadress,nickname or motto. And when it comes to news if you written a long short story.

* The logo at the login gets picked from {url}/app/tpl/skins/{skin}/hk/images/habbolog.gif

* Deleting news doesn't work (on it, will maybe be fixed in a newer release)

* The badge popup won't work for some (almost impossible to fix because everyone has diffrent)

* The comments to news doesn't really make sense (my edited version of news in RevCMS, may come with the new release)

CREDITS
50% - PHP, redesign and editing for RevCMS
40% Twitter - Bootstrap creator (CSS & JavaScript)
10% Sam Cahill - Came up with the name "PurityASE"

SO PLEASE, IF YOU GOT EXPERIENCE WITH CODE, HELP PEOPLE WHO GET TROUBLE WITH THIS BECAUSE I'M NOT VERY ACTIVE
 

Stevee

Posting Freak
Mar 29, 2011
580
35
I'll be downloading this file soon, good release thank you so much for this.

Job well done. Judging by your screen shots.
 

DarkXIDE

Member
Oct 3, 2011
72
10
Can you give us the badge shop and lottery?
Well, it ain't done yet. As I said, these prints are pretty old and because I have problems with my XAMPP and WAMP it will be hard to take newer and for that, finish coding badge shop and lottery.

Will release as fast as WAMP starts think like I do :D
 

DarkXIDE

Member
Oct 3, 2011
72
10
Yeah it fuck's up on IIS ;p
Please, I can't help if the only thing I get is "It fuck's up on IIS" I need more information, did you for instance copied the code into class.css.php?

If you did share me 3 screenshots
1. How the website looks like
2. View-source in browser of page
3. class.css.php
 

Evian

Helping noobs since 1996
Feb 17, 2012
139
38
Numero uno:

iw6q2a.png


Numero dos:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><script type="text/javascript">
//<![CDATA[
try{if (!window.CloudFlare) { var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",mirage:{responsive:0,lazy:0},oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/aav=366183412/"},atok:"cfccb07385ba6f9c0d38b3a572dc2fd4",zone:"bolthotel.co.uk",rocket:"0",apps:{"abetterbrowser":{"config":"none"}}}];var a=document.createElement("script"),b=document.getElementsByTagName("script")[0];a.async=!0;a.src="//ajax.cloudflare.com/cdn-cgi/nexp/aav=4114775854/cloudflare.min.js";b.parentNode.insertBefore(a,b);}}catch(e){};
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
window.__CF=window.__CF||{};window.__CF.AJS={"abetterbrowser":{"config":"none"}};
//]]>
</script>
<title>Bolt - All Seeing Eye</title><link href="assets/css/bootstrap.css" rel="stylesheet">
  <style type="text/css">
    body {
      padding-top: 60px;
      padding-bottom: 40px;
    }
    .sidebar-nav {
      padding: 9px 0;
    }
  </style>
  <link href="assets/css/bootstrap-responsive.css" rel="stylesheet"><meta name="pinterest" content="nopin" /></head><body><script type="text/javascript">
//<![CDATA[
try{(function(a){var b="http://",c="bolthotel.co.uk",d="/cdn-cgi/cl/",e="fd2abe58a9667e3a6ab821a3485681d18f932e29.gif",f=new a;f.src=[b,c,d,e].join("")})(Image)}catch(e){}
//]]>
</script>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
 
 
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
 
    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
  </head>
 
  <body>
 
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <a class="brand" href="dash">Bolt</a>
          <div class="btn-group pull-right">
            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
              <i class="icon-user"></i> Twist
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">
              <li><a href="http://bolthotel.co.uk/home">My page</a></li>
              <li class="divider"></li>
              <li><a href="logout">Sign Out</a></li>
            </ul>
          </div>
          <div class="nav-collapse">
            <ul class="nav">
              <li class="active"><a href="dash">Home</a></li>
              <li><a href="staff">Staff</a></li>
              <li><a href="http://bolthotel.co.uk">Back ></a></li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>
    <div class="container-fluid">
      <div class="row-fluid">
        <div class="span3">
          <div class="well sidebar-nav">
            <ul class="nav nav-list">
                                                      <li class="nav-header">Badge & Items</li>
              <li><a href="give_badge">Give badge</a></li>
              <li><a href="give_item">Give item</a></li>
                                                                    </ul>
          </div><!--/.well -->
        </div><!--/span-->        <div class="span9">
          <div class="hero-unit">
            <h1>Hello, Twist!</h1>
            <p>You are currently logged in with the ip 83.148.148.104 and your rank is Founder (8)<br />
            Edit in www\app\tpl\skins\(skin)\hk\assets\files\start_news.php</p>
            <p><a class="btn btn-primary btn-large">Button &raquo;</a></p>
          </div>
          <div class="row-fluid">
            <div class="span4">
              <h2>Heading</h2>
              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
              <p><a class="btn" href="#">View details &raquo;</a></p>
            </div><!--/span-->
            <div class="span4">
              <h2>Heading</h2>
              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
              <p><a class="btn" href="#">View details &raquo;</a></p>
            </div><!--/span-->
            <div class="span4">
              <h2>Heading</h2>
              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
              <p><a class="btn" href="#">View details &raquo;</a></p>
            </div><!--/span-->
          </div><!--/row-->
          <div class="row-fluid">
            <div class="span4">
              <h2>Heading</h2>
              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
              <p><a class="btn" href="#">View details &raquo;</a></p>
            </div><!--/span-->
            <div class="span4">
              <h2>Heading</h2>
              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
              <p><a class="btn" href="#">View details &raquo;</a></p>
            </div><!--/span-->
            <div class="span4">
              <h2>Heading</h2>
              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
              <p><a class="btn" href="#">View details &raquo;</a></p>
            </div><!--/span-->
          </div><!--/row-->
        </div><!--/span-->      </div><!--/row-->
 
      <hr>
 
      <footer>
        <p>&copy; Bolt 2012</p>
      </footer>
    </div><!--/.fluid-container-->
 
    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="assets/js/jquery.js"></script>
    <script src="assets/js/bootstrap-transition.js"></script>
    <script src="assets/js/bootstrap-alert.js"></script>
    <script src="assets/js/bootstrap-modal.js"></script>
    <script src="assets/js/bootstrap-dropdown.js"></script>
    <script src="assets/js/bootstrap-scrollspy.js"></script>
    <script src="assets/js/bootstrap-tab.js"></script>
    <script src="assets/js/bootstrap-tooltip.js"></script>
    <script src="assets/js/bootstrap-popover.js"></script>
    <script src="assets/js/bootstrap-button.js"></script>
    <script src="assets/js/bootstrap-collapse.js"></script>
    <script src="assets/js/bootstrap-carousel.js"></script>
    <script src="assets/js/bootstrap-typeahead.js"></script>
</body></html>

Numero Tres

Code:
<?php
 
namespace Revolution;
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
class css implements iCSS
{
   
    private $css;
   
 
    final public function get()
    {
        global $_CONFIG;
        foreach (glob("app/tpl/skins/".$_CONFIG['template']['style']."/styles/*.css") as $filename)
        {
            $this->css = '<link rel="stylesheet" type="text/css" href="'.$filename.'"/>';
 
            $this->setCSS();
        }
    }
   
    final public function getHK()
    {
        global $_CONFIG;
        foreach (glob("../app/tpl/skins/".$_CONFIG['template']['style']."/hk/styles/*.css") as $filename)
        {
            $this->css = '<link href="{url}/app/tpl/skins/{skin}/hk/assets/css/bootstrap.css" rel="stylesheet">
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
      .sidebar-nav {
        padding: 9px 0;
      }
    </style>
    <link href="{url}/app/tpl/skins/{skin}/hk/assets/css/bootstrap-responsive.css" rel="stylesheet">';
 
            $this->setCSS();
        }
    }
   
    final public function setCSS()
    {
        global $template;
        $template->tpl .= $this->css;
        unset($this->css);
    }
 
 
}
?>
 

DarkXIDE

Member
Oct 3, 2011
72
10
Hm, well. I can't see any errors in the code itself.

Now time to blind help you :)

First, go to the dash and right click so you get the source. Try every link with .css as ending. Does these work? If not, do you see anything wrong in the URL?
 

DarkXIDE

Member
Oct 3, 2011
72
10
Nice release! Is it only for RevCMS?
Yes, I thought of Phoenix PHP because it was the first one I used but I decided not to.

I have no idea how uberCMS is built and it most likely ain't like RevCMS :)

Maybe I'll recode it for uber or someone else gets to.

EDIT: Would be nice if someone have taken a screenshot of it when in action?
 

Users who are viewing this thread

Top