Admin CP 2015-05-07

Admin CP

  1. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    jjjason84 submitted a new resource:

    Admin CP - Admin CP

    Read more about this resource...
     
    Last edited by a moderator: May 7, 2015
  2. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    Updated

    Versions:
    Old v1.0
    New v1.10

    Items that was updated:

    styles/layout.css:
    Added the cursor: pointer; code to the layout.css file for all buttons so that the cursor changes to a pointer when the cursor is hovered over the buttons.

    footer.tpl:
    Updated the webid copyright from Powered by WeBid © 2008, 2009, 2010 Webid to Powered by WeBid © 2008, 2012 Webid.

    Login.tpl:
    Now when you pick a color the login button on the login.php page displays the color you picked.
    Now you can also pick a color on the login.php and it will load that color to your control panel after loging in.

    Added:

    PHP:
    <script type="text/javascript" src="{SITEURL}loader.php?js=js/jquery.js{EXTRAJS}"></script>
        <
    script type="text/javascript" src="{SITEURL}ckeditor/ckeditor.js"></script>
        <
    script type="text/javascript" src="{SITEURL}themes/admin/scripts/change.js"></script>
    PHP:
    <!-- Theme Start -->
    <
    link title="blue"href="{SITEURL}themes/admin/themes/blue/styles.css" rel="stylesheet" type="text/css" />
    <
    link title="green" href="{SITEURL}themes/admin/themes/green/styles.css" rel="stylesheet" type="text/css" />
    <
    link title="red" href="{SITEURL}themes/admin/themes/red/styles.css" rel="stylesheet" type="text/css" />
    <!-- 
    Theme End -->
    <
    script type="text/javascript">

    function 
    setActiveStyleSheet(title) {
       var 
    iamain;
       for(
    i=0; (document.getElementsByTagName("link")[i]); i++) {
         if(
    a.getAttribute("rel").indexOf("style") != -1
            
    && a.getAttribute("title")) {
           
    a.disabled true;
           if(
    a.getAttribute("title") == titlea.disabled false;
         }
       }
    }
    </
    script>
     
    Last edited: Sep 2, 2012
  3. virgiltu

    virgiltu New Member

    Joined:
    Jan 13, 2012
    Messages:
    31
    Likes Received:
    2
    Installed on 1.04 and i get this in every page of the admin, any idea what this is?

    Notice: Undefined index: WARNINGREPORT in \includes\template.php(165) : eval()'d code on line 16
     
  4. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,573
    Likes Received:
    551
    This will meen that the WARNINGREPORT has not been defined in the section template assign vars in a php file somwhere
     
  5. virgiltu

    virgiltu New Member

    Joined:
    Jan 13, 2012
    Messages:
    31
    Likes Received:
    2
    Ok so to make this work on 1.04 you have to remove this code from every file in the theme/admin

    <!-- IF WARNINGREPORT -->
    <!-- Green Status Bar Start -->
    <div class="status error">
    <p><img src="{SITEURL}themes/admin/admin/img/icons/icon_error.png" alt="Error" /><span>Error!</span> {WARNINGMESSAGE}</p>
    </div>
    <!-- Green Status Bar End -->
    <!-- ENDIF -->
     
  6. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    Hmm you should not get this error my theme was built around the old default admin theme the {WARNINGMESSAGE} and {ERROR} codes was the only 2 codes that was moved from the old admin header.tpl page and was moved to the other tpl pages. so everything should work fine with out a problem.

    I been testing this theme all day to make sure that there was no bugs in the tpl files and have not found any yet everything seems to be working just fine on my webid.

    Hey nay can you test this theme on your webid to see if any bugs popup on to your webid ? i want to make sure there are no bugs in the tpl files so that i can move forward improving the theme.
     
  7. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    ok i found the problem it was in the code it's self for the .png the code should be

    {SITEURL}themes/admin/img/icons/icon_error.png

    and not

    {SITEURL}themes/admin/admin/img/icons/icon_error.png

    I will fix this problem and update the zip folder and change version to v1.2a give me a few min to update the files and upload the new zip folder.

    The new zip folder is now uploaded v1.2a all the {SITEURL}themes/admin/admin/img/icons/icon_error.png codes have been changed to {SITEURL}themes/admin/img/icons/icon_error.png.

    Thank you virgiltu for letting me know about this problem.
     
    Last edited: Sep 3, 2012
  8. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    If anyone have these mods in installed that are listed below and need the tpl files for the new admin theme you can download them from below.

    item condition mod by drakky20 http://www.webidsupport.com/forums/showthread.php?4932-Item-Condition-Mod/page6&highlight=item+condition

    report listing mod by pani100 (minor assistance drakky20) http://www.webidsupport.com/forums/showthread.php?5137-Report-Listing-Mod&highlight=report+listing

    adsense mod by John http://www.webidsupport.com/forums/showthread.php?3140-Google-Adsense-Version-1-0-0/page5&highlight=adsense


    Downloads:
    When you download the New Admin Theme it will have a folder in the .zip folder called mod tpl that will include the tpl files for the adsense, report listing and item condition for the new admin theme.

    These are not full mods they are only tpl file for the admin theme so that the mods work correctly in your new admin theme.

    If you don't have these mod's and want to download them please click on the link's above that is next to the mod name to see how to download and to install them.

    tpl files for the adsense mod -Click Here

    tpl files for the report listing mod - Click Here

    tpl files for the item condition mod - Click Here

    1. Download the tpl files for the mod you are using
    2. Upload the tpl files to your theme/admin folder
    3. link those mods in to the header.tpl codes are shown below.

    item condition mod -
    <li><a href="{SITEURL}admin/conditions.php">{L_1041}</a></li>

    Place the above code after this code in the header.tpl
    <a class="collapsed heading">{L_5142}</a>
    <ul class="navigation">


    adsense mod -
    <li><a href="{SITEURL}admin/adsense.php">Google Adsense Banner</a></li>

    Place the above code after this code in the header.tpl
    <li><a class="collapsed heading">{L_25_0011}</a>
    <ul class="navigation">


    report listing mod -
    <li><a href="{SITEURL}admin/reportreasons.php">{L_1406}</a></li>
    <li><a href="{SITEURL}admin/listreportedauctions.php">{L_1400}</a></li>

    Place the above code after this code in the header.tpl
    <li><a class="collapsed heading">{L_239}</a>
    <ul class="navigation">
     
    Last edited: Sep 8, 2012
  9. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    Updated

    Versions:
    Old v1.2a
    New v1.4

    Items that was updated:

    styles/layout.css:
    themes/blue/styles.css
    themes/green/styles.css
    themes/red/styles.css

    Now when you chose a color that color will be display on to the table borders and all the buttons will change to the color you picked.

    Screenshots:
    Blue
    Green
    Red

    The tpl file for the item condition, report listing and the adsense mod have been added in the folder with the New Admin Theme.

    If you do not have those mods and would like to install them got to the links shown below.

    item condition mod by drakky20 http://www.webidsupport.com/forums/s...item+condition

    report listing mod by pani100 (minor assistance drakky20) http://www.webidsupport.com/forums/s...report+listing

    adsense mod by John http://www.webidsupport.com/forums/s...hlight=adsense
     
    Last edited: Sep 8, 2012
  10. liran

    liran New Member

    Joined:
    May 17, 2012
    Messages:
    136
    Likes Received:
    2
    very nice theme =)
     
  11. hwmf

    hwmf New Member

    Joined:
    Apr 15, 2013
    Messages:
    14
    Likes Received:
    0
    Does it work on 1.0.6.? I dislike the look of the current Admin CP.

    Thanks in advance
     
  12. hwmf

    hwmf New Member

    Joined:
    Apr 15, 2013
    Messages:
    14
    Likes Received:
    0
    Installed it and works - currently - perfect. Thanks!
     
  13. =charlie=

    =charlie= New Member

    Joined:
    Mar 3, 2013
    Messages:
    17
    Likes Received:
    0
    Ciao, I find that admin\usergroups.tpl contain the same code of admin\viewaccesstats.tpl.... is this a mistake?

    PS: yes, works fine also on 1.0.6
     

Share This Page