Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ThomasJSmart

    Third party PHP plugins in a closed web application?

    damn, thought that seemed too good to be true >.< we do have some protection in we wont be letting anonymous people upload plugins, their accounts will need to be fully verified first (id/address/company registration proof) I will prototype a scripted solution first i think, see how that works...
  2. ThomasJSmart

    Third party PHP plugins in a closed web application?

    I like the node idea. that could work well and be automated. User would go through an upload process, upload a packaged php plugin, phing perhaps, then the uploader parses it, checking the file structure first, then it puts it through a reader/xdebug to evaluate the code. its either rejected and...
  3. ThomasJSmart

    Third party PHP plugins in a closed web application?

    we have that functionality already through the rest API. So they can self-host an entire interface and just interact with our api for the data and back-end processing we offer. the idea for the plugin is to allow users to add small pieces for functionality to our standard interface, either...
  4. ThomasJSmart

    Third party PHP plugins in a closed web application?

    but this basically means running it in a completely separate environment. then might as well tell them to host their own plugin and just interact with our API, was hoping to make it a bit more simple for the user :/ 3b is sounding more and more like the way to go. limited scripting language...
  5. ThomasJSmart

    Third party PHP plugins in a closed web application?

    Has anyone worked on something like this before? We have a closed web application coded in php/javascript, the usual. This application supports plugins to provide different features in the front-end. Kind of like widgets I guess. We want to open this up to users so they can add plugins for...
  6. ThomasJSmart

    Nginx location: all REAL files in path

    How to set this location in the nginx site config file 2 possible paths: /en/Content/fileX.xxx /en/Content/fileY.yyy /Content/fileX.xxx /Content/fileY.yyy both of these paths have files in the root as well as in multiple subdirectories. fileX.xxx does not exist as a real file, there is a...
  7. ThomasJSmart

    absolute parent, children that expand width of parent up to max.

    it is out of the flow, isnt it? it needs to fill the available page width. container 1 is relative so that container 2 can be absolute and in the correct location with top/left 0 container 2 is absolute so that it (visually) sits to the side of container 3 container 3 has no position, it just...
  8. ThomasJSmart

    absolute parent, children that expand width of parent up to max.

    sorry, 1 more thing that should be in there: http://jsfiddle.net/Nc5Y9/6/ site | http://thomassmart.com / http://tswwh.com blog | http://weblog.thomassmart.com
  9. ThomasJSmart

    absolute parent, children that expand width of parent up to max.

    ah, i need that one absolute because there is one under/next to it that needs to scale with the width of the screen. updated: http://jsfiddle.net/Nc5Y9/4/ I see what you mean though with limited in width to its parent :/ perhaps its going to need js after all. site |...
  10. ThomasJSmart

    absolute parent, children that expand width of parent up to max.

    @vacunita: doesnt seem to be doing it. Perhaps I left out some important information in this. have recreated a simplified version of my code on jsfiddle (cssfiddle is apparently an seo trap) http://jsfiddle.net/Nc5Y9/ @Chris: now I want pizza! :P site | http://thomassmart.com /...
  11. ThomasJSmart

    absolute parent, children that expand width of parent up to max.

    Trying to achieve the following: 1. A parent container positioned absolute, because of reasons. 2. child elements that should be next to each other horizontally and push the parent width out. The number of child elements is dynamic but will not change after initial page load. 3. the above...
  12. ThomasJSmart

    Php function to force parent function to return

    hehe good to include for academic completeness reasons but indeed dog ugly :p site | http://thomassmart.com / http://tswwh.com blog | http://weblog.thomassmart.com
  13. ThomasJSmart

    Php function to force parent function to return

    i like that one, that could be useful :) I have split up the parent function into 2 parts now and using the quitobject, working really nice :) thanks! site | http://thomassmart.com / http://tswwh.com blog | http://weblog.thomassmart.com
  14. ThomasJSmart

    Php function to force parent function to return

    i looked at something similar to delete future plugins in the queue which worked ok but had trouble applying it to the parent. placing it after the parent function would have been a bit inefficient, the code further down the parent function is quite intensive which is why i want to skip it...
  15. ThomasJSmart

    Php function to force parent function to return

    the full version of my plugin class is actually quite similar to the wordpress one ;) i didnt use their actions part though, didnt see much use for it in this application. returning a quitobject is indeed quite pretty, but still the same issue of the extra check, cant be helped though and...
  16. ThomasJSmart

    Php function to force parent function to return

    but this results in the same dilemma as checking for a return flag. in most plugins the return data is changed, but the parent function should continue as normal. having this hook quit the function when it changes would be different behaviour and inconsistent again. Also, the return data for...
  17. ThomasJSmart

    Php function to force parent function to return

    yea didn't think so :/ will have to use another way. In short, I have an application with a bunch of classes and in those classes a bunch of functions. In many of these functions I have plugin hooks and in most cases the hooks can simply edit the data and return it, or, if no plugin is...
  18. ThomasJSmart

    Php function to force parent function to return

    Is this possible? function parent_function(){ $data = 'middle'; echo 'start'; child_function($data); echo 'end'; } function child_function($data){ parent::return $data; } the result i want when parent_function() is called is that only 'start' is echo'd, but that the child function...
  19. ThomasJSmart

    call_user_func and object context

    good points, in the app i was using this autoloader in i knew the files existed so didnt want to add overhead for file checking but for a more generic use that would indeed be a good idea. i needed clearstatcache() the other day when doing unit tests >.< couldnt figure out why the next step of...
  20. ThomasJSmart

    call_user_func and object context

    i see, :) cool. thanks! site | http://thomassmart.com / http://tswwh.com blog | http://weblog.thomassmart.com

Part and Inventory Search

Back
Top