Illumina CMS [PHP, OOP, Phoenix/Butterfly, Updated]

Page 4 of 26 FirstFirst 12345678910111214 ... LastLast
Results 46 to 60 of 376
  1. #46
    Alpha Member Danny is offline
    MemberRank
    Oct 2011 Join Date
    My PCLocation
    2,158Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Where do I go to enable php_mysqli? I mean where is GUI? Windows 2008 server.

  2. #47
    Proficient Member iConnor is offline
    MemberRank
    Oct 2010 Join Date
    United StatesLocation
    191Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Quote Originally Posted by Facebook View Post
    Where do I go to enable php_mysqli? I mean where is GUI? Windows 2008 server.
    Its in the 'php.in' file in your C:\Program Files\PHP\ destination.

  3. #48
    Alpha Member Moogly is offline
    MemberRank
    Feb 2008 Join Date
    Pool LidoLocation
    2,322Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Quote Originally Posted by Makarov View Post
    Uber3 is in the thread title.. Look who's illiterate now...
    So you're the type of guy who buys apples just because they're labeled oranges. I'm sure it says Uber 3 for people who use Jonty's CMS to think 'oh it works like Uber' and 'Jonty keeps releasing updates to his work, which I actually use'. Seeing as you're an ex-moderator let's think about what's going on. This is a thread about a CMS that was released by Jonty, you're not developing it, you're not contributing it, and you're not part of it. Why don't you act like a nice [somewhat?] respectable user and go away, before everyone else who isn't a developer see's you for your true fraudulence in the scene.

  4. #49
    Member ThePhone is offline
    MemberRank
    Mar 2013 Join Date
    77Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Hmm.. Nice CMS, Jonteh. I'll be using this! Thanks.

  5. #50
    Account Upgraded | Title Enabled! tomsandz is offline
    MemberRank
    Nov 2012 Join Date
    EnglandLocation
    272Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Anyone help me with the hash situation? I need to make it so users with MD5 hash can login!

  6. #51
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Quote Originally Posted by tomsandz View Post
    Anyone help me with the hash situation? I need to make it so users with MD5 hash can login!
    In engine/lightcms.php, change

    Code:
    public $hashing_method = "Normal";
    to

    Code:
    public $hashing_method = "MD5";
    Quote Originally Posted by joopie View Post
    True with that. But for example this:

    PHP Code:
    public function addUser($username$passwordHash$email$rank$figure$sex$motto$homeroom) {
       global 
    $db$core;
       if(
    $this->stmt $db->prepare("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gender,motto,home_room,credits,activity_points,last_online,account_created,ip_last,ip_reg) VALUES ('" $username "','" $passwordHash "','" $email "','','" $rank "','" $figure "','" $sex "', '" $motto "', '" $homeroom "','15000','1000','','" date('d-M-Y') . "', '".$_SERVER['REMOTE_ADDR']."', '".$_SERVER['REMOTE_ADDR']."')")) {
        
    $this->stmt->execute();
        
    $this->stmt->close();
       }
       else {
        
    $db->databaseError($db->error);
       }
      } 
    Is the worse example I've seen, it's not bad but he could better use parameters for that.
    Would even look better to lol.

    PHP Code:
      public function addUser($username$passwordHash$email$rank$figure$sex$motto$homeroom) {
       global 
    $db$core;
       
       
    $stmt $db->stmt_init();
       
       if (!
    $stmt->prepare("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gender,motto,home_room,credits,activity_points,last_online,account_created,ip_last,ip_reg) VALUES (?,?,?,?,?,?,?,?,','15000','1000','',?,?,?,?)"))
       {
        
    $db->databaseError($stmt->error);
        return;
       }
       
       
    this->stmt->bind_param('sssisssisss'$username$passwordHash$email$rank$figure$sex$motto$homeroomdate('d-M-Y'), $_SERVER['REMOTE_ADDR'], $_SERVER['REMOTE_ADDR']);
       
       if (!
    $stmt->execute())
       {
        
    $db->databaseError($stmt->error);
        return;
       }
       
       
    $stmt->close();
      } 
    But yhee, I think that's just me :c
    I used to have the params binded but I was debugging and did it differently. Also, I wouldn't use as many lines as you used but I get what you're trying to say.

    thanks jos!

    Quote Originally Posted by Facebook View Post
    Where do I go to enable php_mysqli? I mean where is GUI? Windows 2008 server.
    Open IIS Manager and use the PHP Configuration editor to add php_mysqli.

  7. #52
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    For anyone getting an error on the /profile page saying 'Unknown column 'block_trade' in 'filed list' run this :

    ALTER TABLE `users` ADD `block_trade` ENUM('0','1') NOT NULL DEFAULT '1'
    Don't know if it's right, but it worked for me xD

    -- EDIT --

    I get this error user page
    Fatal error: Call to a member function fetch_assoc() on a non-object in C:\xampp\htdocs\engine\lightcms.php on line 291
    Went to line 291 and everything seemed fine. Haven't touched it, using xampp. Any help?
    Last edited by FatalLulz; 20-03-13 at 06:44 AM.

  8. #53
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Quote Originally Posted by FatalLulz View Post
    For anyone getting an error on the /profile page saying 'Unknown column 'block_trade' in 'filed list' run this :



    Don't know if it's right, but it worked for me xD

    -- EDIT --

    I get this error user page


    Went to line 291 and everything seemed fine. Haven't touched it, using xampp. Any help?
    Change

    Code:
    $getFriends = $db->query("SELECT receiver,sender FROM messenger_friendships WHERE receiver = '" . $userid . "' OR sender = '" . $userid . "'");
    to

    Code:
    $getFriends = $db->query("SELECT user_one_id,user_two_id FROM messenger_friendships WHERE user_one_id = '" . $userid . "' OR user_two_id = '" . $userid . "'");
    Last edited by Jonteh; 20-03-13 at 08:41 AM.

  9. #54
    Enthusiast SwixxMixx is offline
    MemberRank
    Dec 2011 Join Date
    30Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Which EMU which SWFs?

  10. #55
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Quote Originally Posted by SwixxMixx View Post
    Which EMU which SWFs?
    Emu can be butterfly, bcstorm (as long as you use good swf), phoenix and uber.

  11. #56
    Member Al0ne is offline
    MemberRank
    Jan 2012 Join Date
    NetherlandsLocation
    88Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Very clean and and very good to see how OOP works and how to use it!

  12. #57
    Enthusiast MollerNO is offline
    MemberRank
    Feb 2013 Join Date
    NorwayLocation
    45Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Hmm, can i use the newest xampp version, or have you a recomended version?

  13. #58
    Alpha Member Moogly is offline
    MemberRank
    Feb 2008 Join Date
    Pool LidoLocation
    2,322Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Quote Originally Posted by Al0ne View Post
    Very clean and and very good to see how OOP works and how to use it!
    All Object Oriented programming works the same, except in languages like JavaScript where classes don't exist, and Go is another weird language.

  14. #59
    Account Upgraded | Title Enabled! BoomHotel is offline
    MemberRank
    Oct 2008 Join Date
    In a box.Location
    372Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]

    Really nice work Jonty ;)

    Only problem having atm is User Profiles is very slow for loading everything else is insanely fast.

    Really appreciate this release though bro thanks a ton!

  15. #60
    Account Upgraded | Title Enabled! tomsandz is offline
    MemberRank
    Nov 2012 Join Date
    EnglandLocation
    272Posts

    Re: [REL] Illumina CMS [PHP, OOP, MySQLi, Uber 3]



    Why is my housekeeping like this?



Advertisement