Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Dave's Avatar 1' or 1=1--

    Join Date
    Aug 2008
    Country
    Posts
    24,016
    Thanked
    115
    Thanks
    12,958
    Previous part [Dave] A look inside the new GMCP for FGunZ [Part 1]

    What powers do staff members have in the GMCP? And what are the restrictions?
    This depends on the grade, an event team member should not have access to functions such as banning, adding warnings, etc.
    All staff members have the ability to search for accounts, characters and clans.

    None of the staff members can see your full IP address, see your password or change your password.

    This is an example of what an admin can see. (Still looking for decent icons for the top menu.)


    This is an example of the account management/overview page.



    Working with hash location.
    As explained in my previous blog post, I use this plugin to take care of hash change events. (http://example.com/#login > http://example.com/#function1).
    Say I want to manage an account, I click on the username or AID (which stands for Account ID) and then the hash in the URL will change to http://localhost/#account_84357 where 84357 is the AID.

    It will then load the corresponding template and controller to show the account template and to load the account information.

    Using hash locations and jQuery makes it a bit harder to add authentication since JavaScript is client sided, but I added a function at the server side which checks if you're authenticated with every request you send.

    Code Snippets
    jQuery example of loading the information of a single character. (http://localhost/#character_92435 where 92435 is the CID > Character ID)

    [xcode=javascript]
    //
    else if(hash.indexOf("#character_") !== -1){
    var cid = hash.split("_");
    $("#characters-m").toggleClass('active');
    $.get("character", {cid: cid[1]}, function(data) {
    $('#main-container').html(data);
    }).success(function() {
    $('#body-section').fadeIn(400, function() {
    initCommon();
    initMenu();
    });
    });
    }
    //
    [/xcode]
    Due to the buggy syntax highlighter, I can only post 1 snippet.

    Next blog post will contain information regarding the launcher and its CDN.

  2. The following 12 users say thank you to Dave for this useful post:

    Cobra (07-10-2013), Fadi (07-18-2013), Fox (07-12-2013), GeorgeGFX (07-10-2013), Hangman (07-18-2013), Izzat (07-10-2013), Lspasus (07-31-2013), Mikhail (07-10-2013), Opeth (07-11-2013), Saam (07-20-2013), ShiroKurai (07-22-2013), Steff (07-10-2013)

  3. #2
    GeorgeGFX's Avatar secret.club

    Join Date
    Nov 2010
    Country
    Posts
    15,459
    Thanked
    2,331
    Thanks
    5,080
    I already explored once the GMCP, I like the design and functions pretty much.
    Well done and keep up the good work Dave.

    >>> Credits to Sikk408 @ DevaintArt <<<

  4. #3
    Izzat's Avatar ded

    Join Date
    Jul 2012
    Country
    Posts
    2,222
    Thanked
    1,426
    Thanks
    334
    Me too, I explored once. The new look is much better

  5. #4
    Fox's Avatar DAFUQ?

    Join Date
    May 2013
    Posts
    129
    Thanked
    48
    Thanks
    25
    Dave you are a genius good stuff bro

  6. #5
    ^CG^0host^B's Avatar Boo!

    Join Date
    Jan 2012
    Posts
    689
    Thanked
    78
    Thanks
    73
    Nice

  7. #6
    Saiyan's Avatar Champion.

    Join Date
    Feb 2013
    Country
    Posts
    446
    Thanked
    255
    Thanks
    137
    Now only re-design the .css more like fgunz style. Just like you did with the forums <3

    In the end, playing legit pays off.
    Originally Posted by DesiBoii View Post
    me and saiyan bffs

  8. #7
    Banned

    Join Date
    May 2009
    Posts
    2,957
    Thanked
    1,090
    Thanks
    900
    nice job dave


  9. The following user said thank you to Tomboii for this useful post:

    Izzat (07-13-2013)

  10. #8
    Banned

    Join Date
    Jul 2013
    Posts
    97
    Thanked
    8
    Thanks
    2
    Great job !

  11. #9
    Legends's Avatar The One & Only

    Join Date
    Nov 2011
    Posts
    231
    Thanked
    4
    Thanks
    13
    nice one
    IGN: ^ELege^Ands
    Contact Info: [email protected]
    Amount Donated: $50




  12. #10
    Claudia's Avatar Freestyler's Senior

    Join Date
    Dec 2010
    Posts
    2,754
    Thanked
    1,359
    Thanks
    452
    This GMCP looks way better lol.






Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)