Aib-dclary ISPCONFIG THEME

Discussion in 'Tips/Tricks/Mods' started by aibara, Apr 30, 2012.

  1. aibara

    aibara New Member

    UPDATE 01-05-2012 THEME BY AibaraGroup

    AIBARA V2 BETA
    DOWNLOAD
    Hi, this is going to be my first official share.


    SCREENSHOTS IN SECOND POST !!!!!!


    I think ispconfig is powerful enough for good administrators, but the default design is horribly old, and you cannot give that to a client in 2012...

    TESTED WITH ISPConfig 3.0.4.4, some older versions will work, I haven't seen a lot of recent changes in the template files, so everything should be ok.

    I have updated the THEME creating a new CSS simple horizontal menu, so know i can say, the THEME is 100% made by AibaraGroup.


    I've changed all the buttons of the main ispconfig panel so, it is very important to make a backup before you aply any mod or theme.

    Please follow every instruction, if you don't, I'm not responsible of whatever you've done!!!

    Install instructions

    1. Making the backup
    Code:
    tar -zcvf /home/theme_backup.tar.gz /usr/local/ispconfig/interface/web
    Installing files
    Download the file template HERE
    MAKE SURE YOU MADE THE BACKUP
    Upload the files to /usr/local/ispconfig/interface/web and overwrite

    Selecting default THEME
    On ispconfig panel, go to users, edit panel users, and select the default theme for each user you have.
    Also you should modify the default template of ispconfig by editing the file :

    Code:
    /user/local/ispconfig/interface/lib/config.inc.php.
    Replacing the default theme by aib-dclardy
     
    Last edited: May 1, 2012
  2. aibara

    aibara New Member

    #ScreenShots
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    #CoolSTUFF
    1. ADDING SPAM MONITORING TO MAIL CLIENT MENU
    Follow the steps of tutorial made by Falko

    One you've done, create spam_monitor.php file under /usr/local/ispconfig/interface/web/mail/ directory and paste the following code into your file :
    NOTE : this file includes an iframe that loads the content of the mail stats, and also some style's you could change without any problem.
    Code:
    <style type="text/css">
    ::-webkit-scrollbar{
        width:0.8em;
        height:0.8em;
        background-color:#fff;
    }
    ::-webkit-scrollbar:hover{
        background-color:#eee;
    }
    ::-webkit-resizer{
        -webkit-border-radius:4px;
        background-color:#666;
    }
    ::-webkit-scrollbar-thumb{
        min-height:0.8em;
        min-width:0.8em;
        -webkit-border-radius:4px;
        background-color: #ddd;
    }
    ::-webkit-scrollbar-thumb:hover{
        background-color: #bbb;
    }
    ::-webkit-scrollbar-thumb:active{
        background-color:#888;
    }
    </style>
    <iframe src="http://www.yourdomain.com/cgi-bin/mailgraph.cgi" width="100%" style="height:450px;pading-top:25px;overflow-x:hidden; overflow-y:scroll; border:0;">Your browser isn't compatible with IFRAME</iframe>
    
    Save the file.
    Now open /usr/local/ispconfig/interface/web/mail/lib/module.conf
    Search in the 4 o 5 line for $items = array();

    And after that line add the following code :
    Code:
    $items[] = array( 'title' 	=> 'Monitor SPAM',
                      'target' 	=> 'content',
                      'link'	=> 'mail/spam_monitor.php',
                      'html_id' => 'SPAM MONITOR');
     
    Last edited: May 1, 2012
  3. nokia80

    nokia80 Member

    hi

    why i doit see the Backup and the Opties tab in the website module?
     
  4. aibara

    aibara New Member

    I dont know what you mean. Can you please add a screenshot of what you see so I can help you¿?
     
  5. nokia80

    nokia80 Member

    hi

    here a printscreen


    [​IMG]


    thanks
     
  6. aibara

    aibara New Member

    ohh I see, Backup as the name says... and options are for making custom apache and php configurations.

    I dont know why you dont have that section... you should.
    In other theme's, can you see that menu sections or not ¿?
     
  7. nokia80

    nokia80 Member

    yes in the other them i see them
     
  8. aibara

    aibara New Member

    I will check the code soon to see if there's any mistake, but what I know now is that the theme I uploaded only contains a folder with some modifications of the main templates ( /modulename/templates/template.htm ) and not the files related to menu items and their options ( /modulename/*.php or /modulename/lib/.conf ).

    I didn't add / edit / remove any menu's, only edited the template files changing the id="" of the main contents, buttons, and <li> and <ul>... all of this shouldn't give you any problems.

    To have a more clean panel I suggest you to disable the unused modules from the admin panel. To do that, go to Sistem -> Edit panel users -> and click on the account and uncheck the modules you don't use.
    Relogin and you will apreciate the change.
     
  9. nokia80

    nokia80 Member

    I've already done.
    maybe a resolution problem?


    I have a small screen here
     
  10. nokia80

    nokia80 Member

    yes its a reselution problem on a small screen error
     

Share This Page