[REL] [HoloCMS Addon] Register Upgrades / Disabled / Restrict

Page 2 of 5 FirstFirst 12345 LastLast
Results 16 to 30 of 61
  1. #16
    Valued Member zakster is offline
    MemberRank
    Dec 2008 Join Date
    110Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    How about your try intergrate server commands into HK or new commands that can't be done via the hotel but only housekeeping?

  2. #17
    Erday im hustlin Bapestar is offline
    MemberRank
    Dec 2007 Join Date
    SandaygoLocation
    587Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    you should add like a rare values system not sayin andy's is bad but one like when u hover it, it tells u whats the value and the description kinda like habtips or bobbavalues ok

  3. #18
    Account Upgraded | Title Enabled! .::d::. is offline
    MemberRank
    Apr 2007 Join Date
    On a SQL table. {Be jelous}Location
    318Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    I will add + upadate if you come out with more.
    I love the part where you can edit it for the IP, because some users may have siblings that may go on the hotel, and I'd be able to edit it to like 3 or 2.

  4. #19
    Account Upgraded | Title Enabled! Pure is offline
    MemberRank
    May 2008 Join Date
    809Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    Quote Originally Posted by Bapestar View Post
    you should add like a rare values system not sayin andy's is bad but one like when u hover it, it tells u whats the value and the description kinda like habtips or bobbavalues ok
    I seriously like this idea: I can even code it so it displays how many items are in the hotel.

    However it will be really time consuming adding all the rares and stuff.

    Which would be disappointing.

    I'll whip up a "quick" template for it now.

    Quote Originally Posted by .::d::. View Post
    I will add + upadate if you come out with more.
    I love the part where you can edit it for the IP, because some users may have siblings that may go on the hotel, and I'd be able to edit it to like 3 or 2.
    Thank you for your support.
    Quote Originally Posted by zakster View Post
    How about your try intergrate server commands into HK or new commands that can't be done via the hotel but only housekeeping?
    Examples please: i dont see the need, if you want "SERVER" commands, code them via the server.

  5. #20
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    Hey iJames uhm just wondering does this work for HoloCMS 3.1.1 i know you say HoloCMS Rev 60 is REQUIRED but why won't it work for HoloCMS??

  6. #21
    Account Upgraded | Title Enabled! Pure is offline
    MemberRank
    May 2008 Join Date
    809Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    Quote Originally Posted by chadderbox View Post
    Hey iJames uhm just wondering does this work for HoloCMS 3.1.1 i know you say HoloCMS Rev 60 is REQUIRED but why won't it work for HoloCMS??
    Because in older version's of the cms the function "FilterText", isn't coded, therefore there will be errors to be displayed, also i wasn't to sure about db structure.

  7. #22
    Account Upgraded | Title Enabled! .::d::. is offline
    MemberRank
    Apr 2007 Join Date
    On a SQL table. {Be jelous}Location
    318Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    I'm testing now with newest holo[svn]
    Will edit post if I find anybugs.
    BUG:
    Housekeeping - No Turn of Registration. [it may just be me, though]

    Also:
    You may want to just turn that into a field instead of a dropdown menu.

  8. #23
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    Okay ill just test :P

  9. #24
    Account Upgraded | Title Enabled! Pure is offline
    MemberRank
    May 2008 Join Date
    809Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    Quote Originally Posted by .::d::. View Post
    I'm testing now with newest holo[svn]
    Will edit post if I find anybugs.
    BUG:
    Housekeeping - No Turn of Registration. [it may just be me, though]

    Also:
    You may want to just turn that into a field instead of a dropdown menu.
    That wouldn't fit into my coding: I've coded in if statement and i fought 3 users per ip was enough.

    Also @ Rare values.
    At the moment it's just html.
    I'm using the source from Badge_Shop. :)
    Attached Thumbnails Attached Thumbnails lolz1234.jpg  

  10. #25
    Account Upgraded | Title Enabled! .::d::. is offline
    MemberRank
    Apr 2007 Join Date
    On a SQL table. {Be jelous}Location
    318Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    K, but Great Release Nothing the Less!

  11. #26
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    this better work because i just got alot of users that named: SLEWRW28492
    lol there motto- NILLUS - AVALANCHE something
    Last edited by chadderbox; 05-05-09 at 11:52 PM.

  12. #27
    Erday im hustlin Bapestar is offline
    MemberRank
    Dec 2007 Join Date
    SandaygoLocation
    587Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    james u should use smaller images

    from http://www.habbotimes.net/assets/img/itempictures/1.gif to
    http://www.habbotimes.net/assets/img...tures/1683.gif

    u can get them form there the only thing is that idk how to mass get all of the images on there :/

  13. #28
    Entrepreneur & Investor chadderbox is offline
    MemberRank
    Jun 2008 Join Date
    Look Behind YouLocation
    2,229Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    double post?? lol ment for?

  14. #29
    Erday im hustlin Bapestar is offline
    MemberRank
    Dec 2007 Join Date
    SandaygoLocation
    587Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    the post thing was laggin i just noticed and deleted it

    EDIT: does anyone know by chance how to fix that news error while displaying the news article?

    " Warning: Wrong parameter count for nl2br() in C:\xampp\htdocs\news.php on line 100 "
    idk whats wrong with nl2br do i have to add <br> instead of clicking enter? someone help me please :(

  15. #30
    Account Upgraded | Title Enabled! Pure is offline
    MemberRank
    May 2008 Join Date
    809Posts

    Re: [HOLOCMS/ADDON] Register Upgrades / Disabled / Restrict

    Quote Originally Posted by Bapestar View Post
    the post thing was laggin i just noticed and deleted it

    EDIT: does anyone know by chance how to fix that news error while displaying the news article?

    " Warning: Wrong parameter count for nl2br() in C:\xampp\htdocs\news.php on line 100 "
    idk whats wrong with nl2br do i have to add <br> instead of clicking enter? someone help me please :(
    Edit your news.php I'll get you a patch in a min
    PHP Code:
    <?php
    /*===================================================+
    || # HoloCMS - Website and Content Management System
    |+===================================================+
    || # Copyright � 2008 Meth0d. All rights reserved.
    || # http://www.meth0d.org
    |+===================================================+
    || # HoloCMS is provided "as is" and comes without
    || # warrenty of any kind. HoloCMS is free software!
    |+===================================================*/

    $allow_guests true;

    include(
    'core.php');
    include(
    'includes/session.php');

    $body_id "news";
    $pageid "4";

    // Rather simple. If there's a news ID, check of a article with that ID exists,
    // if it does, simply show the article data, otherwise show the news archive.

    if(isset($_GET['id'])){
            
    $news_id $_GET['id'];
            
    $main_sql mysql_query("SELECT * FROM cms_news WHERE num = '".$news_id."'") or die(mysql_error());
            
    $article_exists mysql_num_rows($main_sql);
        if(
    $article_exists == "1"){
                    
    $news mysql_fetch_assoc($main_sql);
                    
    $pagename "News - " HoloText($news['title']);
                    
    $archive "0";
        } else {
                    
    $pagename "News Archive";
                    
    $archive "1";
        }
    } elseif(isset(
    $_GET['category'])){
            
    $pagename "Category Listing";
            
    $archive "2";
            
    $cat FilterText($_GET['category']);
    } else {
            
    $pagename "News Archive";
            
    $archive "1";
    }

    include(
    'templates/community/subheader.php');
    include(
    'templates/community/header.php');

    ?>

    <div id="container">
        <div id="content">
        <div id="column1" class="column">
                    <div class="habblet-container ">
                            <div class="cbb clearfix default ">

                                <h2 class="title">News
                                </h2>
                            <div id="article-archive">
    <h2>News Headlines</h2>
    <ul>
        <?php
        $get_sub_archive 
    mysql_query("SELECT num, title, date FROM cms_news ORDER BY num DESC LIMIT 10");
        
    $count mysql_num_rows($get_sub_archive);

        if(
    $count 0){
            while (
    $row mysql_fetch_array($get_sub_archiveMYSQL_NUM)) {
                
    printf("<li><a href='news.php?id=%s'>%s</a> &raquo;</li>"$row[0], HoloText($row[1]));
            }
        } else {
            echo 
    "<br />No headlines to display yet.";
        }
        
    ?>
    </ul>
    <h2>More news?</h2>
    <ul>
        <li>
            <a href="news.php" class="article">View our news archive</a> &raquo;
        </li>
    </ul>

    </div>


                        </div>
                    </div>
                    <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>

    </div>
    <div id="column2" class="column">
                    <div class="habblet-container ">
                            <div class="cbb clearfix notitle ">

    <?php if($archive 1){ ?>
                            <div id="article-wrapper">
        <h2><?php echo HoloText($news['title']); ?></h2>
        <div class="article-meta">Posted <?php echo $news['date']; ?>
            <a href="news.php?category=<?php echo $news['category']; ?>"><?php echo $news['category']; ?></a></div>
        <p class="summary"><?php echo nl2br($news['short_story']); ?></p>

        <div class="article-body">
    <p><?php echo nl2br($news['story'], true); ?></p>

            <div class="article-body"><a href='user_profile.php?name=<?php echo $news['author']; ?>' target='_self'><img src='./web-gallery/album1/users_online.PNG' alt='User Profile' border='0'></a><b><?php echo $news['author']; ?></b></div>

        </div>
    </div>
    <?php } elseif($archive == "1"){ ?>
    <div id="article-wrapper">
    <h2><?php echo "".$shortname." News Archive"?></h2>
        <div class="article-meta">This is an overview of all articles ever posted on the website, ordered by post date.</div>
        <div class="article-body">
            <p>
            <ul>
            <?php
            $get_archive 
    mysql_query("SELECT num, title, date FROM cms_news ORDER BY num DESC");
            
    $count mysql_num_rows($get_archive);

            if(
    $count 0){
                while (
    $row mysql_fetch_array($get_archiveMYSQL_NUM)) {
                    
    printf("<li>%s - <a href='news.php?id=%s'>%s</a></li>"$row[2], $row[0], HoloText($row[1]));
                }
            } else {
                echo 
    "No news to display yet.";
            }
            
    ?>
            </ul>
            </p>
        </div>
    </div>
    <?php } elseif($archive 1){ ?>
    <div id="article-wrapper">
    <h2><?php echo "Category Listing"?></h2>
        <div class="article-meta">This is an overview of the last 25 articles posted in the category <b><?php echo $cat?></b>.</div>
        <div class="article-body">
            <p>
            <ul>
            <?php
            $get_archive 
    mysql_query("SELECT num, title, date FROM cms_news WHERE category = '".$cat."' ORDER BY num DESC LIMIT 25");

            while (
    $row mysql_fetch_array($get_archiveMYSQL_NUM)) {
            
    printf("<li>%s - <a href='news.php?id=%s'>%s</a></li>"$row[2], $row[0], HoloText($row[1]));
            }
            
    ?>
            </ul>
            </p>
        </div>
    </div>
    <?php ?>



                        </div>
                    </div>
                    <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>

    </div>

    <div id="column3" class="column">
    </div>

    <?php

    include('templates/community/footer.php');

    ?>



Page 2 of 5 FirstFirst 12345 LastLast

Advertisement