Jump to content

Blesta Addons

Alpha Developers
  • Posts

    4,868
  • Joined

  • Last visited

  • Days Won

    389

Posts posted by Blesta Addons

  1. Hello Attached the plugin for 2.5 , use it at your own risk .

     

    NO support/feedback/bug for the this version .

     

    openvz Only Support NOW .

     

    but you can keep your notes for the next release for the V3 .

     

    i will code it next week if i have time , so no promise to the community .

     

    i have also the ovh server management in my wichlist .

     

    i have a comented line in 510 , please uncomment the line , if no ,  the shutdown will not work

     

      //$first_node = $node_name[0];

    proxmoxv2.zip

  2. just to not i have not tested it with the order form , maybe it will have a bug ,

     

    you can add vps without provision . and then the moule provisionning the vps with

     

    stop/start/shutdown/delete . it suppoer suspend/unsuspned/remove action .

     

    as i told it maybe not complete but usefful .

     

    no feedback/bugs reported , because i will not lose time in module of 2.5 .

  3. Nice to see. Where can I get the Module for v2.5 ? :)

     

    the module is not public, and used for some internal use .

     

    if you want it i can give you a copy , just give me sometime to remove some code that is not related to the proxmox , because we have complicated cloud system with proxmox .

  4. Hello Scott ,

     

    thanks for the share , i have get some new knowledge for this subject .

     

    your methode is not what i want  .

     

    you want to includes the tabs plugins from module by module code . i want the reverse .

     

    includes tabs in the module without touching the module class .  (something semilar to wordpress)

     

    for example i want a plugin to attach thier tabs auto to the module X (if installed) without touching the class module .

     

    as i see this is not possible no, i have fetched the module.php for some rules or code that can do this .

     

    like wordpress has a registred function like head() body() , we can include some extra data to this placement with the plugin itself .

     

    i have see some plugins of whm** has the same rules , the plugin attach some extra tabs and function to another plugin/module .

     

    i hope the idea is now clear . we will waiting the blesta staff commenting this . this is a modular code:)

  5. The module will have to support the functionality and views for those tabs, and check if the required plugin is installed before loading them. Cody or Tyson may be able to comment on how you check if a plugin is installed.

     

    i have the code to check if plugin is installed ...

     

    left now how to attach the tabs from plugin to module .

  6. i have recieved you pic in PM . the probleme is the order-id and ns1.... .. ns5 missing from the service field

     

    the import script import just the first (normally named user1 ). also the logicbox in v2.5 has not the same tructure tables of the v3.

     

    the staff ned to make  a new script to corect/add the missing field

     

    i have wrote a thread about the serviec field structure here

     

    http://staging.blesta.com/forums/index.php?/topic/674-service-fields-table/

  7. I suppose you would need to make your module aware of the plugin and load those extra functions when/if they are meant to be applied.

     

    Loading a plugin is pretty straight forward from a module, adding tabs is a little more weird but there was a conversation I had with Cody about this back in Alpha. From memory you had to define the tabs inside __call() in order to override the pre-defined definitions.

     

    I'm pretty sure you were in that group so this might be the best place to see how it works..

     

    http://staging.blesta.com/forums/index.php?/topic/87-admin-tabs-best-approach/

     

    If I understand correctly, you could load your plugin from your module in the __call() method, then add extra tabs as required from the plugins own classes/methods.

     

     

    Hello scott ,

     

    thanks for the replay . i have already see that threa in the past ... but really i have not found way to add extra tabs to the module X if the plugin Y installed .

     

    i'm able to check if the plugin Y installed and then add extra tabs from the module .

     

    Now i want like to force the plugin add extra tabs in the module X when it run by user .

     

    like adding link to main navigation .

     

    i see is possible to call the plugin X function with the above thred (not yet tested by me) , but i'm asking for thing to see if possible or not

     

    just to not loss time in testing something that will not work !!!

     

    waiting the staff to confirm  or deny .

  8.  

    Ok I replaced the files and got:

     

    Attempt to assign property of non-object on line 961 in /home/cwadminb/public_html/components/modules/logicboxes/logicboxes.php

     

     

     

    the domain has been added with provisionning or without provisionning ?

     

    you have empty order-id or empty domain ?

  9. i'm coding a plugin , and i want this plugin to add some extra tabs in my module .

     

    is this possible ?

     

    i have looked at the event , but really i have not found a solution .

     

    my modules has some tabs (for admin/clients)

     

    i want to make the plugins add extra tabs (templates also)  to the module .

     

     

  10. i have searched the docs but no answer for this question

     

    i have a js file in the module view directory .

     

    how i can add it to the header section or add it to the end of body ?

     

    fo css i found a tips with blestaSetHeadTag . i have tried to convert it but not working

    $(this).blestaSetHeadTag("script", {type:"text/javascript",  href: "<?php echo $this->Html->safe($this->view_dir . "js/my.js");?>"});

     

  11. Hello All ,

     

    i have relooked and added some enhacement to the logicbox .

     

     

    1 - ability to edit the domain name & order-id locally .

    2 - get the order-id with checkbox

    3 - Redisigned the whois and the settings Tabs

    4 - added getAdminServiceInfo view - not complete -

     

    i have not upgraded the module , so it remain in 1.0.1 , until the staff correct the module and push it officialy .

     

    some pictures

     

    post-13-0-95541800-1375580050_thumb.jpg

     

    post-13-0-14891600-1375580064_thumb.jpg

     

     

    post-13-0-28038700-1375580317_thumb.jpg

     

    any suggestion or observation are welcome

    logicboxes.zip

×
×
  • Create New...