Treachery ItemShop Problem.

Results 1 to 3 of 3
  1. #1
    Newbie breaknatayo123 is offline
    MemberRank
    Aug 2011 Join Date
    22Posts

    Treachery ItemShop Problem.

    hey guys so i tried treachery's item shop and it worked perfectly and smoothly my only problem is that BackendPanel (Item Panel) doesn't show in the index.php (screenshot : http://img233.imageshack.us/img233/5...9eb833f54c.png)

    but it should look like this -> http://img821.imageshack.us/img821/1...b239179486.png

    i know a little about php and tried to fix it my self, but it seems that i'm not that pro yet so i'm asking for your help,

    goBackendPanel's code is this.
    PHP Code:
    <?php if (in_array($account2,$editor_list)&&$enable_edit) { ?>function goBackendPanel()
            {
                DisplayPageContentAsync('BackendPanel.php');
                
                goShopCategory('panel');
                
                $.ajax({
                    async: true,
                    type: "GET",
                    url: "BackendPanel.php",
                    cache: false,
                    data: {sidebar: true} ,
                    beforeSend: function(){
                        $("#action").fadeOut();
                    },
                    complete: function(){
                        $("#right").fadeIn(100);
                    },
                    error: function(xmlHttp, textStatus, errorThrown){
                        $("#action").html(xmlHttp.responseText);
                        $("#action").fadeOut();
                    },
                    success: function(result){
                        $("#right").html(result);
                    }
                });
            }

    and the ItemPanel code is this
    PHP Code:
    if (in_array($account2,$editor_list)&&$enable_edit){?><a href="javascript: goBackendPanel();">Item Panel</a><?php }
    those code are the original ones.
    Last edited by breaknatayo123; 08-05-12 at 03:57 AM.


  2. #2
    Flyff Developer ShadowDragon is offline
    Grand MasterRank
    Apr 2009 Join Date
    1,915Posts

    Re: Treachery ItemShop Problem.

    Look in the config files... There's an array that you put your account name into to allow you to use the panel.

  3. #3
    Newbie breaknatayo123 is offline
    MemberRank
    Aug 2011 Join Date
    22Posts

    Re: Treachery ItemShop Problem.

    Quote Originally Posted by ShadowDragon42 View Post
    Look in the config files... There's an array that you put your account name into to allow you to use the panel.
    OMG!! Why didn't i see that??? i am keep on looking on index.php and on some other files hahaha! guess i still need to learn more xD, anyways THANKS MAN! :') you really saved me back there.



Advertisement