[Service] Coding PhoenixPHP Addon's

Page 1 of 2 12 LastLast
Results 1 to 25 of 35
  1. #1
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    [Service] Coding PhoenixPHP Addon's

    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 Glee; 21-11-11 at 05:32 AM.


  2. #2
    Account Upgraded | Title Enabled! ITouchI is offline
    MemberRank
    Feb 2011 Join Date
    229Posts

    Re: [Service] Coding PhoenixPHP Addon's

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

  3. #3
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    Re: [Service] Coding PhoenixPHP Addon's

    Badge Shop Has been Release So has the Private Message System

    BadgeShop Here
    Private Message System (PMS) Here

  4. #4
    8-bit Bitch Slapper Alpha Ducky is offline
    MemberRank
    Mar 2007 Join Date
    In My HouseLocation
    2,436Posts

    Re: [Service] Coding PhoenixPHP Addon's

    I released that rare values.

  5. #5
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    Re: [Service] Coding PhoenixPHP Addon's

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

  6. #6
    Enthusiast Haninha is offline
    MemberRank
    Jul 2011 Join Date
    25Posts

    Re: [Service] Coding PhoenixPHP Addon's

    I released that DJ HK and Comment Colors

  7. #7
    Thanks for a great time! siem212212 is offline
    MemberRank
    Jun 2009 Join Date
    NetherlandsLocation
    958Posts

    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?

  8. #8
    Account Upgraded | Title Enabled! LucasReis is offline
    MemberRank
    Jun 2009 Join Date
    Sorocaba, BraziLocation
    206Posts

    Re: [Service] Coding PhoenixPHP Addon's

    I like the Beta Codes.

  9. #9
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    Re: [Service] Coding PhoenixPHP Addon's

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

  10. #10
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    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

  11. #11
    Account Upgraded | Title Enabled! jasjj is offline
    MemberRank
    Oct 2008 Join Date
    200Posts

    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 )

  12. #12
    Web Developer Papercup is offline
    MemberRank
    Nov 2009 Join Date
    WalesLocation
    1,607Posts

    Re: [Service] Coding PhoenixPHP Addon's

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

  13. #13
    Garry's Mod is addictive! Law is offline
    MemberRank
    Dec 2009 Join Date
    NorwayLocation
    993Posts

    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)

  14. #14
    Member Frankk is offline
    MemberRank
    Oct 2011 Join Date
    91Posts

    Re: [Service] Coding PhoenixPHP Addon's

    Can you release that beta code addon?

  15. #15
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    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

  16. #16
    [̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅] leenster is offline
    MemberRank
    May 2008 Join Date
    KanaadaLocation
    992Posts
    Quote Originally Posted by Law View Post
    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)
    I like the idea but there should be some abuse protection. Maybe make sure the ip of the referrer is different then the ip of the person that is registering.

    Off topic, I love that Private Messaging System ;p
    Posted via Mobile Device
    Last edited by leenster; 23-11-11 at 06:27 AM.

  17. #17
    Member Frankk is offline
    MemberRank
    Oct 2011 Join Date
    91Posts

    Re: [Service] Coding PhoenixPHP Addon's

    name: beta codeh
    Function That you can make the codes from housekeeping and then you can register. on phoenixphp
    Posted via Mobile Device

  18. #18
    [̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅] leenster is offline
    MemberRank
    May 2008 Join Date
    KanaadaLocation
    992Posts
    Quote Originally Posted by siem212212 View Post
    U did not made all these....u did make some, thats true but theres also work of others between?
    He did not claim that he wrote all those. He used them as examples.
    Posted via Mobile Device

  19. #19
    Thanks for a great time! siem212212 is offline
    MemberRank
    Jun 2009 Join Date
    NetherlandsLocation
    958Posts

    Re: [Service] Coding PhoenixPHP Addon's

    Quote Originally Posted by leenster View Post
    He did not claim that he wrote all those. He used them as examples.
    Posted via Mobile Device
    True, but still

    anyways the beta codes is indeed pretty nice...

  20. #20
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    Re: [Service] Coding PhoenixPHP Addon's

    Quote Originally Posted by Frankk View Post
    name: beta codeh
    Function That you can make the codes from housekeeping and then you can register. on phoenixphp
    Posted via Mobile Device
    That has Been coded but i will not be releasing it Yet has there are still exploits in it

  21. #21
    JustLikeMeForNoReason Kaan2106 is offline
    MemberRank
    Nov 2007 Join Date
    282Posts

    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 )
    with an top list ;) that would be nice :)...
    i hope it's coded good & fast :D

  22. #22
    Enthusiast Fox13 is offline
    MemberRank
    Oct 2011 Join Date
    42Posts

    Re: [Service] Coding PhoenixPHP Addon's

    - Name : Furniture
    - Function : Habfox Møbel Verdier

  23. #23
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    Re: [Service] Coding PhoenixPHP Addon's

    Quote Originally Posted by Fox13 View Post
    - Name : Furniture
    - Function : Habfox Møbel Verdier
    That has been release just more junk added to it

  24. #24
    Enthusiast Fox13 is offline
    MemberRank
    Oct 2011 Join Date
    42Posts

    Re: [Service] Coding PhoenixPHP Addon's

    Cooldude ? where i need it

  25. #25

    Re: [Service] Coding PhoenixPHP Addon's

    Name : Chrismas Animation

    Function : Make the santa or anything sliding from left to the right . (Must chrismas)



Page 1 of 2 12 LastLast

Advertisement