HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]

Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    Account Upgraded | Title Enabled! KyleeIsProzZ is offline
    MemberRank
    Oct 2012 Join Date
    C:Location
    548Posts

    Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]

    How's progress?.
    When will v1 be released.

  2. #17
    Account Upgraded | Title Enabled! C0R3G4M3R is offline
    MemberRank
    Aug 2012 Join Date
    GermanyLocation
    218Posts

    Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]

    Quote Originally Posted by KyleeIsProzZ View Post
    How's progress?.
    When will v1 be released.
    I could release it in a few hours, but I think I'll wait until the v2.0 of the Emulator is released, as I know there will be a different database?

  3. #18
    Member iPadBoy11 is offline
    MemberRank
    Dec 2012 Join Date
    Polo, Missouri,Location
    52Posts

    Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]

    Quote Originally Posted by C0R3G4M3R View Post
    I could release it in a few hours, but I think I'll wait until the v2.0 of the Emulator is released, as I know there will be a different database?
    do you know when the v2 emu is being released or a planned release? i'm really hoping that i'll be able to use habbase on my hotel, and i'll probably use azure mainly because of your housekeeping. i love the ability to edit the catalogue through housekeeping.

  4. #19
    Account Upgraded | Title Enabled! C0R3G4M3R is offline
    MemberRank
    Aug 2012 Join Date
    GermanyLocation
    218Posts

    Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]

    Quote Originally Posted by iPadBoy11 View Post
    do you know when the v2 emu is being released or a planned release? i'm really hoping that i'll be able to use habbase on my hotel, and i'll probably use azure mainly because of your housekeeping. i love the ability to edit the catalogue through housekeeping.
    No I don't know, but i hope in the next days/weeks.
    Category editing works, but items editing dosen't work (deletes every setting of the current selected item :/ )..

  5. #20
    HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]HubbASE (for RevCMS and compatible to Azure only) [Housekeeping] pel is offline
    MemberRank
    Jan 2012 Join Date
    Munich, GermanyLocation
    384Posts

    Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]

    Quote Originally Posted by C0R3G4M3R View Post
    No I don't know, but i hope in the next days/weeks.
    Category editing works, but items editing dosen't work (deletes every setting of the current selected item :/ )..
    Skype? I'll help you m8

  6. #21
    Account Upgraded | Title Enabled! C0R3G4M3R is offline
    MemberRank
    Aug 2012 Join Date
    GermanyLocation
    218Posts

    Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]

    Quote Originally Posted by KyleeIsProzZ View Post
    Progress?
    You can now write and view news, but not edit them I'm working on it.

    EDIT:
    Now you can edit and delete news and also edit users.

    Only a small Problem with writing the news: Author is always 0

    Here's the code if someone can help, just answer please :)
    PHP Code:
    <?php
                        
    if (isset($_POST['submit'])) {
                            
    $title mysql_real_escape_string($_POST['title']);
                            
    $shortstory mysql_real_escape_string($_POST['shortstory']);
                            
    $longstory mysql_real_escape_string($_POST['longstory']);
                            
    $image mysql_real_escape_string($_POST['image']);
                            
    $author mysql_result(mysql_query("SELECT username FROM users WHERE id = '".$_SESSION['user']['id']."' LIMIT 1"), 0);
                            
    mysql_query("INSERT INTO cms_news (title, shortstory, longstory, image, author, published) VALUES('$title', '$shortstory', '$longstory', '$image', '$author','" time() . "')") or die(mysql_error());
                            echo 
    '<div class="col col-1 msg g">Success! The news article is now posted on {hotelname}!</div>';
                        }; 
                    
    ?>
    And the HTML:
    PHP Code:
    <form id="post_news" name="post_news" method="post" action=""
                                    <
    input type="text" class="text" style="float: left; width: 50%; margin-right: 1%; margin-bottom: 10px;" name="title" id="title" placeholder="Title..." />
                                    <
    input type="text" class="text" style="float: left; width: 49%; margin-bottom: 10px;" name="image" id="image" placeholder="top_story_news.png" />
                                    <
    textarea name="shortstory" class="text" style="margin-bottom: 10px;" id="shortstory" placeholder="Your shortstory text for the post"></textarea>
                                    <
    textarea name="longstory" class="text mceEditor" rows="5" id="longstory">Your longstory text for the post</textarea>
                                    <
    input type="submit" name="submit" style="margin-top: 10px;" id="submit" class="btn g" value="Post" />
                                </
    form
    And if I didn't said it yet: I'm still learning PHP :'D
    Last edited by C0R3G4M3R; 19-07-15 at 10:56 PM.

  7. #22
    Account Upgraded | Title Enabled! Jamal7 is offline
    MemberRank
    Dec 2013 Join Date
    547Posts

    Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]

    Quote Originally Posted by C0R3G4M3R View Post
    You can now write and view news, but not edit them I'm working on it.

    EDIT:
    Now you can edit and delete news and also edit users.

    Only a small Problem with writing the news: Author is always 0

    Here's the code if someone can help, just answer please :)
    PHP Code:
    <?php
                        
    if (isset($_POST['submit'])) {
                            
    $title mysql_real_escape_string($_POST['title']);
                            
    $shortstory mysql_real_escape_string($_POST['shortstory']);
                            
    $longstory mysql_real_escape_string($_POST['longstory']);
                            
    $image mysql_real_escape_string($_POST['image']);
                            
    $author mysql_result(mysql_query("SELECT username FROM users WHERE id = '".$_SESSION['user']['id']."' LIMIT 1"), 0);
                            
    mysql_query("INSERT INTO cms_news (title, shortstory, longstory, image, author, published) VALUES('$title', '$shortstory', '$longstory', '$image', '$author','" time() . "')") or die(mysql_error());
                            echo 
    '<div class="col col-1 msg g">Success! The news article is now posted on {hotelname}!</div>';
                        }; 
                    
    ?>
    And the HTML:
    PHP Code:
    <form id="post_news" name="post_news" method="post" action=""
                                    <
    input type="text" class="text" style="float: left; width: 50%; margin-right: 1%; margin-bottom: 10px;" name="title" id="title" placeholder="Title..." />
                                    <
    input type="text" class="text" style="float: left; width: 49%; margin-bottom: 10px;" name="image" id="image" placeholder="top_story_news.png" />
                                    <
    textarea name="shortstory" class="text" style="margin-bottom: 10px;" id="shortstory" placeholder="Your shortstory text for the post"></textarea>
                                    <
    textarea name="longstory" class="text mceEditor" rows="5" id="longstory">Your longstory text for the post</textarea>
                                    <
    input type="submit" name="submit" style="margin-top: 10px;" id="submit" class="btn g" value="Post" />
                                </
    form
    And if I didn't said it yet: I'm still learning PHP :'D
    Author is stored as INT in the database. You need to insert the user id or change the author in cms_news to VARCHAR ;)

    Good luck with your project.

  8. #23
    Account Upgraded | Title Enabled! C0R3G4M3R is offline
    MemberRank
    Aug 2012 Join Date
    GermanyLocation
    218Posts

    Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]


  9. #24
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,078Posts

    Re: HubbASE (for RevCMS and compatible to Azure only) [Housekeeping]

    Closed once theres no updates in the last 4 weeks. If you wish it reopened, shoot me a PM



Page 2 of 2 FirstFirst 12

Advertisement