Welcome to the RaGEZONE - MMORPG development forums.

[Service] Coding PhoenixPHP Addon's

This is a discussion on [Service] Coding PhoenixPHP Addon's within the Habbo Releases forums, part of the Habbo Hotel category; PhoenixPHP I know PhoenixPHP is filled with Exploits but i would like to get some experience with PHP coding. Request ...

LyncusMU
Page 1 of 3 123 LastLast
Results 1 to 15 of 35
  1. #1
    Habbo Section <3
    Rank
    Subscriber
    Join Date
    Jun 2009
    Location
    Niagara Falls,
    Posts
    1,159
    Liked
    85

    [Service] Coding PhoenixPHP Addon's

    Tabo Hotel
    PhoenixPHP

    I know PhoenixPHP is filled with Exploits but i would like to get some experience with PHP coding.

    Request Title:

    - Name : ex. Private Msg System
    - Function : You can send mail to other users


    Here is some pic that i coded myself small but suitable for my liking :-)

    Images:















    PHP Snippets:

    PHP Code:
    <?php

    $error 
    "";



    ### The Badge which you want to sell ###

    $badge "<?php echo $core->CmsSetting('badge_shop'); ?>";



    ### How many PIXELS costs the badge?  ###

    $price "1";



    if(isset(
    $_POST['buy-bad']))

    {

        
    $user_info = @mysql_query("SELECT * FROM users WHERE username='".$_POST["habbo"]."'");

        if(
    $row mysql_fetch_assoc($user_info))

        {

            
    $id $row['id'];

            

            
    $check_bag mysql_query("SELECT * FROM user_badges WHERE user_id='"$id ."' AND badge_id='"$badge_shop ."'");

            
    $check_user mysql_query("SELECT * FROM users WHERE id='"$id ."'");



            if(
    mysql_num_rows($check_bag) > 0)

            {

                
    $error.= '<br><font color="#FF0000">You have already bought this badge!</font>';

            }

            else

            {

                if(
    $db_pixels_check mysql_fetch_assoc($check_user))

                {

                    
    $pixels $db_pixels_check['activity_points'];

                    if(
    $pixels >= $price)

                    {

                        
    $pixels_total $pixels $price;

                        
    mysql_query("UPDATE `users` SET `activity_points` = '"$pixels_total ."' WHERE `id` = '"$id ."';");

                        
    mysql_query("INSERT INTO `user_badges` (`user_id`, `badge_id`, `badge_slot`) VALUES ("$id .", '"$core->CmsSetting('badge_shop') ."', 0)");

                        
    $pixels_total number_format($pixels_total);

                        
    $error.= "<br /><font color='#009900'>You have successfully bought this badge.</font>";

                    }

                    else

                    {

                        
    $error.= "<br><font color='#FF0000'>You haven't enough pixels to buy this badge!</font>";

                    }

                }

            }

        }

    }

    ?>
    It's an Edit of badgeshop that can be controlled from Housekeeping
    Last edited by GayPride; 21-11-11 at 04:32 AM.

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Feb 2011
    Posts
    226
    Liked
    4

    Re: [Service] Coding PhoenixPHP Addon's

    badge shop? and inbox thing + how did u put ur facebook up on cms

  4. #3
    Habbo Section <3
    Rank
    Subscriber
    Join Date
    Jun 2009
    Location
    Niagara Falls,
    Posts
    1,159
    Liked
    85

    Re: [Service] Coding PhoenixPHP Addon's

    Badge Shop Has been Release So has the Private Message System

    BadgeShop Here
    Private Message System (PMS) Here

  5. #4
    8-bit Bitch Slapper
    Rank
    Alpha Member
    Join Date
    Mar 2007
    Location
    Eunice, Louisia
    Posts
    2,710
    Liked
    245

    Re: [Service] Coding PhoenixPHP Addon's

    I released that rare values.

  6. #5
    Habbo Section <3
    Rank
    Subscriber
    Join Date
    Jun 2009
    Location
    Niagara Falls,
    Posts
    1,159
    Liked
    85

    Re: [Service] Coding PhoenixPHP Addon's

    Quote Originally Posted by rickymenier View Post
    I released that rare values.
    i know you did - Thanks :)

  7. #6
    Member
    Rank
    Newbie
    Join Date
    Jul 2011
    Posts
    25
    Liked
    0

    Re: [Service] Coding PhoenixPHP Addon's

    I released that DJ HK and Comment Colors

  8. #7
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jun 2009
    Location
    Netherlands
    Posts
    843
    Liked
    126

    Re: [Service] Coding PhoenixPHP Addon's

    U did not made all these....u did make some, thats true but theres also work of others between?

  9. #8
    Ultimate Member
    Rank
    Member
    Join Date
    Jun 2009
    Location
    Sorocaba, Brazi
    Posts
    172
    Liked
    21

    Re: [Service] Coding PhoenixPHP Addon's

    I like the Beta Codes.

  10. #9
    Monster Member
    Rank
    Member
    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    181
    Liked
    32

    Re: [Service] Coding PhoenixPHP Addon's

    All of the addons are added in eCMS v1 i released some weeks ago.

  11. #10
    Habbo Section <3
    Rank
    Subscriber
    Join Date
    Jun 2009
    Location
    Niagara Falls,
    Posts
    1,159
    Liked
    85

    Re: [Service] Coding PhoenixPHP Addon's

    Quote Originally Posted by Haninha View Post
    I released that DJ HK and Comment Colors
    You did not release the comment colors for PhoenixPHP and the DJ Housekeeping so Nice Try on that one Thank You Very Much

    Quote Originally Posted by djboetz View Post
    All of the addons are added in eCMS v1 i released some weeks ago.
    i had these addons more then a week ago go take a look here hobbaphp - Edit&#39;s of PhoenixPHP - Google Project Hosting

    Quote Originally Posted by LucasReis View Post
    I like the Beta Codes.
    Thank i did that all by myself

  12. #11
    Alpha
    Rank
    Member
    Join Date
    Oct 2008
    Posts
    128
    Liked
    1

    Re: [Service] Coding PhoenixPHP Addon's

    Name: referral system

    Function: Register from a usersname link and the users in the links gets 5000 cr if someone register via his link ( http://www.mysite.com/referral=name )

  13. #12
    Wink Wink ;)
    Rank
    Member +
    Join Date
    Nov 2009
    Location
    Wales
    Posts
    1,074
    Liked
    169

    Re: [Service] Coding PhoenixPHP Addon's

    As far as I'm aware you didn't make any, Predict made half of them.

  14. #13
    Law
    Garry's Mod is addictive!
    Rank
    Subscriber
    Join Date
    Dec 2009
    Location
    Norway
    Posts
    1,010
    Liked
    230

    Re: [Service] Coding PhoenixPHP Addon's

    Quote Originally Posted by jasjj View Post
    Name: referral system

    Function: Register from a usersname link and the users in the links gets 5000 cr if someone register via his link ( http://www.mysite.com/referral=name )
    I do believe the link would be http://mysite.com/register.php?referral=name ....

    It would be easy actually :) I created a referral system for ubercms(with help from s-p-n <3 cause the $_GET['ref'] wasn't functioning well enough :P)

  15. #14
    RaGEZONER
    Rank
    Newbie
    Join Date
    Oct 2011
    Posts
    92
    Liked
    4

    Re: [Service] Coding PhoenixPHP Addon's

    Can you release that beta code addon?

  16. #15
    Habbo Section <3
    Rank
    Subscriber
    Join Date
    Jun 2009
    Location
    Niagara Falls,
    Posts
    1,159
    Liked
    85

    Re: [Service] Coding PhoenixPHP Addon's

    Quote Originally Posted by jasjj View Post
    Name: referral system

    Function: Register from a usersname link and the users in the links gets 5000 cr if someone register via his link ( http://www.mysite.com/referral=name )
    I will get working on that. Now

 

 
Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •