Jump to content


Photo

PPanels Description/Function


  • Please log in to reply
15 replies to this topic

#1 dweeb4

  • Senior Member
  • 138 posts

0
Neutral

Posted 19 August 2007 - 03:35

Is there a list of PPanels with descriptions of functionality?

Re: PPanels Description/Function #2 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,473 posts

+118
Excellent

Posted 19 August 2007 - 11:09

have a look in your box

/var/etc/ppanels/sample_ppanel.xml



Re: PPanels Description/Function #3 dweeb4

  • Senior Member
  • 138 posts

0
Neutral

Posted 19 August 2007 - 12:37

Yes that describes how it works, thanks, but what I was looking for was a description of the functionality of the ppanels that I can download - what does each downloadable ppanel do?

Re: PPanels Description/Function #4 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,473 posts

+118
Excellent

Posted 19 August 2007 - 12:54

see the title, that isnt too hard to understand is it?
else why dont you have a look for a few seconds...

Re: PPanels Description/Function #5 jonc

  • Senior Member
  • 2,667 posts

0
Neutral

Posted 30 August 2007 - 12:04

It is well described in /var/etc/ppanels/sample_ppanel.xml and we have written one we include in all images that includes;

Internet tools (man this saves so much time guessing)
News from us to the users - new asian satellites, channels, dns changes on the Thai WAN etc
Smart card set up
Nagra 1 set up
Updates and truckloads more besides - the public beta are here http://www.jsat.tv/files/panel.htm

Enjoy
It's a hobby, so mileage varies Tell your friends about our Pli Wiki as it is there to help you - Click here for the PLi Wiki

Re: PPanels Description/Function #6 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 1 January 2008 - 23:27

PPanels are nice, but how I can make automatically exiting PPanel+PLi_panel, when function in own PPanel is ending ?

Kdo nic nedělá, nic nezkazí!

Re: PPanels Description/Function #7 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 1 January 2008 - 23:33

PPanels are nice, but how I can make automatically exiting PPanel+PLi_panel, when function in own PPanel is ending ?

From PPanel_tutorial.xml:

<!-- About "quit"
For almost each xml tag, it's possible to close, restart or hide the PPanel afterwards.
Use quit="restart" to restart the PPanel again. This may be needed if the xml file of
the PPanel has been changed and must be reloaded, for example in "Download latest menu".
Use quit="exit" to exit the PPanel and return to the application which called the PPanel.
Use quit="hide" to hide the PPanel and show a small "press OK" button in the left top corner
of the screen. After pressing OK the PPanel will be shown again. This is very useful for <media>.

Example:

<execute name="Download latest menu"
condition="[ ! -f /var/etc/ppanelautodownload ]"
target="ppanelupdate.sh http://pli.dreamvcr....software.tar.gz /; rm -f /tmp/ppanelrefresh"
confirmation="Are you sure to download the latest menu?"
quit="restart"/>
-->


Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: PPanels Description/Function #8 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 1 January 2008 - 23:47

Yes, I know this , but it doesnt work for me... still must "red-exit-exit"

<!-- Muj Samba.xml panel -->
    
<directory name="Samba - Iolite">
 
             <execute name="zakazat Samba"
             target="killall -9 smbd;
                     killall -9 nmbd;
                     sleep 1;
                     mv /usr/sbin/smbd /usr/sbin/smbd.old;
                     mv /usr/sbin/nmbd /usr/sbin/nmbd.old"
             helptext="smbd,nmbd -> smbd.old,nmbd.old"              
             confirmation="skutecne zakázat?"
             quit="exit"/>
             
             <separator/>
             
             <execute name="povolit Samba"
             target="mv /usr/sbin/smbd.old /usr/sbin/smbd;
                     mv /usr/sbin/nmbd.old /usr/sbin/nmbd;
                     smbd -D;
                     nmbd -D"
             helptext="smbd.old,nmbd.old -> smbd,nmbd"              
             confirmation="skutecne povolit?"
             quit="exit"/>
             
       
</directory>

Kdo nic nedělá, nic nezkazí!

Re: PPanels Description/Function #9 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 2 January 2008 - 00:00

Yep, that's right. It closes the current PPanel but can't close the screens before that.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: PPanels Description/Function #10 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 2 January 2008 - 00:12

quit="exit" close nothing...
Kdo nic nedělá, nic nezkazí!

Re: PPanels Description/Function #11 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 2 January 2008 - 00:17

quit="exit" close nothing...

I'll check that.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: PPanels Description/Function #12 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 2 January 2008 - 20:40

quit="exit" close nothing...

I'll check that.

I've tested it. If you open your PPanel you can choose zakazat or povolit. If you choose one, it opens a screen which you need to close with red or exit. After that you will be back in "Installed PPanels", so it closes your own PPanel.

PPanel can't close the script output screen and can't close Installed PPanels. So without the "exit" you need a keypress extra. I can't do anything more about that.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: PPanels Description/Function #13 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 2 January 2008 - 22:35

Thanks. It was my mystake ( I thought, that quit="exit" will closing output screen too).
Kdo nic nedělá, nic nezkazí!

Re: PPanels Description/Function #14 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 24 January 2008 - 22:45

How can I use condition="[ ]"

for test f.eg: /proc/fs/cifs/DebugData ? ( /proc/fs/cifs/DebugData is 0 or 1 and can be displayed with: cat /proc/fs/cifs/DebugData )


Kdo nic nedělá, nic nezkazí!

Re: PPanels Description/Function #15 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 25 January 2008 - 08:15

"condition" just checks for the return value of the shell command: condition = "<shell command>". I think something like "grep 1 /proc/fs/cifs/DebugData" could work.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: PPanels Description/Function #16 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 25 January 2008 - 11:04

I am afraid that it doesnt work... "cat /proc/fs/cifs/DebugData" or "grep 1 /proc/fs/cifs/DebugData" or grep with -q hasno effect in "condition" ...
Kdo nic nedělá, nic nezkazí!


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users