an ip filter for editor and options ?

  • Hi Klaus,

    It would be nice to have a ip filter on the two main plugin useful for debug :

    editor.swf and options.swf

    The idea would be to enter our IP in a parameters of the plugin. And the plugin will be show only if the IP corresponds.

    With this, I'll not have to explain again and again to my customers "yes, don't worry, I need this stuff, but I'll remove when the virtual tour is finished ..." *cool*

  • <plugin name="editors" keep="true" url="hidden1pixelpicture.png" enabled="false"/>
    <plugin name="options" keep="true" url="hidden1pixelpicture.png" enabled="false"/>

    <plugin name="editorbutton" url="%SWFPATH%/plugins/textfield.swf"
    align
    ="leftbottom" width="5" height="10" x="0" y="0" children="false"
    html
    ="data:openeditor"
    visible
    ="true" enabled="true"
    background
    ="false"
    textglow
    ="4"
    textglowcolor
    ="0xFFFFFF"
    textshadow
    ="1"
    zorder
    ="15"
    autosize
    ="center"
    onclick
    ="set(plugin[editors].url ,%SWFPATH%/plugins/editor.swf); set(plugin[editors].enabled ,true);
    set(plugin[options].url ,%SWFPATH%/plugins/options.swf); set(plugin[options].enabled ,true);
    />

    we use this method pratically, put a 1pixel transparent png file in the page after that you will open editor and no one see, :)

    ofcourse your idea is good, but this pratically one *wink*

  • this is wht i do...

    [code]<action name="addeditor">
    addplugin(option);
    set(plugin[option].url,./plugins/options.swf);
    </action>

    <action name="removeeditor">
    removeplugin(option);
    </action>

    <action name="keydown">
    trace(keydown - keycode=,keycode);
    </action>

    <action name="keyup">
    trace(keyup - keycode=,keycode);
    if(keycode == 45, action(addeditor,true); );
    if(keycode == 19, action(removeeditor,true); );
    if(keycode == 122, action(nextpano,true); );
    if(keycode == 123, action(prevpano,true); );
    if(keycode == 54, action(scene04,true); set(step,1); set(idletime,30); set(events.onidle, autotour() ); );
    </action>
    /code]

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!