Search results

  1. B

    Need tokens for internal lang file

    Of course, but with tokens we can make more simple, more clean and more faster code for skins.
  2. B

    Manual and autoupdate skins with DA API

    Da dont have system for update and auto-update skins without custom code. For manual update DA we have API function "/CMD_LICENSE?update=program". Be fine have analogy function for update skin as "/CMD_SKINS?update=capri" or "/CMD_SKINS?update=all" for all available skin. For this need know...
  3. B

    Need tokens for internal lang file

    Without internal lang tokens hard make universal function for skin programing. Some situation: 1) This code work fine without use internal lang |*if NDOMAINSMAX="unlimited"| <li><span>|LANG_DOMAINS|:</span>|NDOMAINS|</li> |*else| <li><span>|LANG_DOMAINS|:</span>|NDOMAINS| / |NDOMAINSMAX|</li>...
  4. B

    [PLUGIN] CustomBuild 2.0

    Plugin have bad visualisation for skin with icon menu (capri, einDa, etc...) For correct work on skin with icon menu need: 1) span inside <a></a> tags 2) add icon please change admin_img.html to(as variant): <a href="/CMD_PLUGINS_ADMIN/custombuild/index.html"><img border="0"...
  5. B

    [CAPRI SKIN] Free github version

    Github version skin dont have custom login page (original capri login page be not great), but you can add any custom login page from this instructions - http://help.directadmin.com/item.php?id=279 But we can add new login page in future...
  6. B

    [CAPRI SKIN] Free github version

    I think problem with not correct hook/admin_img.html and hook/user_img.html for you plugins. Please look analogy request (in comments) for another plugin - https://github.com/Terrorhawk/Capri/commit/baa8b885ea0179153c103a688463633b03af51e2 I dont have this plugins for give you more information...
  7. B

    [CAPRI SKIN] Free github version

    Skin upgrage for Directadmin 1.49.0... Now finished main part from refactoring code and start work with change system for update (autoupdate) and work with make more strong permition. Need more translators for full localization this project and maybe add new lang.
  8. B

    Dont autocreate php-fpm56 socket for new user.

    Problem be return(( # ./directadmin o Compiled on 'CentOS 6.0' Compile time: Jun 27 2015 at 02:07:32 Compiled with IPv6 # uname -m i686 # cat /etc/redhat-release CentOS release 6.7 (Final) # echo "action=httpd&value=restart" > data/task.queue; ./dataskq d3000 Debug mode. Level 3000 root...
  9. B

    [CAPRI SKIN] Free github version

    Now you can download script from github: wget -O capri.sh https://raw.githubusercontent.com/Terrorhawk/Capri/master/install-script chmod +x capri.sh ./capri.sh Always correct instruction you can look from README.MD Need translators for current and new language. All who want help please write...
  10. B

    show plugin with condition

    enhanced skin dont have icon for plugin... Use php function str_replace is easy but im try make with minimal PHP code... Now use simple: |PLUGIN_0_IMG| |PLUGIN_1_IMG| |PLUGIN_2_IMG| |PLUGIN_3_IMG| |PLUGIN_4_IMG| |PLUGIN_5_IMG| |PLUGIN_6_IMG| |PLUGIN_7_IMG| |PLUGIN_8_IMG| |PLUGIN_9_IMG| for...
  11. B

    [CAPRI SKIN] Free github version

    Correct instruction: wget -O capri.sh http://localserver.flaxe.eu/Capri-install/capri.sh chmod +x capri.sh ./capri.sh
  12. B

    show plugin with condition

    Hello, I create a skin and I want that at absence |PLUGIN_0_IMG | was displayed |PLUGIN_0_TXT | with a custom icon. Not all plugins have user_img.html and its problem. Its work well but i dont have link if plugin dont have user_img.html |*if PLUGIN_0_IMG!=""| |PLUGIN_0_IMG| |*endif| For fix it...
  13. B

    block_ip.sh and iptables, vesion 2.1 RC1

    Why for centos 7 recommend to establish iptables instead of standard firewalld? On firewalld BMF work fine. My block_ip.sh with small changed: #!/bin/sh #VERSION=2.1 BF=/root/blocked_ips.txt EF=/root/exempt_ips.txt OS=`uname`; BLOCK_CHAIN=blocked_ips curriptables() { echo "<br><br><textarea...
  14. B

    [CAPRI SKIN] Free github version

    dont work manually ban ip in BFM Dont work manually ban ip from BMF but on other skin work fine.
  15. B

    Dont autocreate php-fpm56 socket for new user.

    My options.conf: php1_release=5.6 php1_mode=php-fpm php2_release=5.4 php2_mode=php-fpm ... webserver=nginx_apache Allwork well but after create new user in directadmin than not autocreate php-fpm56 socker for this user. Need restart php manually. With php 5.4 any problem. Please help.
  16. B

    problem: "pngfix.c:2182: undefined reference to `inflateReset2' "

    Hi! Need rebuild all directadmin services, but after "./build all d" or after "./build libpng" have error: contrib/tools/pngfix.o: In function `zlib_reset': /usr/local/directadmin/custombuild/libpng-1.6.16/contrib/tools/pngfix.c:2182: undefined reference to `inflateReset2' collect2: ld returned...
Back
Top