Seite 1 von 1

Oscam INfo PHP

Verfasst: Fr 30. Sep 2011, 13:52
von alfakenzo
HI Jungs,

bekomme das mit dem Oscam INfo PHO nicht gebacken egal welchen user oder password ich eingebe oder IP bekomme ich immer alles blanko angezeigt! Also keine daten dabei läuft es im webif!
Habe auch das passwort und user vom webif sowie ip und port vom webif eingetragen in die config.oscam.php!
Was kommt denn dann noch in user rein weil egal was ich eingeben passiert einfach nix!

Wäre super wenn mal einer eine Anleitung oder ähnliches mla bereitstellen könnte dsa englische in der help hilft auch nciht da es grundsätzlich nicht klappt!

Danke

Re: Oscam INfo PHP

Verfasst: Fr 30. Sep 2011, 14:14
von feissmaik
also ich finde das da schon recht gut beschrieben...

config.user.php
In the tabs section you have to define which tabs of OSCam Info
the user can be access. Avaiable are: clients, readers, pairs, log

In the onlyclients section you can define which conncted clients the
user will see. You can set a unique clientname or a protocol. If you
set a protocol all users which are using this protocol will be shown.
To allow to see all clients just uncomment the section or delete it,
like user bill in the example config.

In the onlyreaders section you can define which conncted readers the
user will see. You can set a unique readername or a protocol. If you
set a protocol all readers which are using this protocol will be shown.
To allow to see all readers just uncommend the section or delete it,
like user bill in the example config.

In the oscam section you have to define which oscam servers (defined
in config.oscam.php) the user can access.

Below you see a example with three users with the usernames
john, james and bill.

Code: Alles auswählen

$user["john"] = array(
                 password	=> "mypass", 
                 tabs		=> "clients,readers,pairs,log", 
                 onlyclients => "newcamd,peer1,peer2",
                 onlyreaders => "mouse,reader1",
                 oscam		=> "Server1,Server2,Server3"
                 );
$user["bill"] = array(
                 password	=> "mypass", 
                 tabs		=> "clients", 
                 //onlyclients => "cccam,peer1",
                 //onlyreaders => "mouse",                 
                 oscam		=> "Server1"
                 );
also um zugriff auf alles zu haben:

Code: Alles auswählen

$user["admin"] = array(
                 password	=> "adminpass", 
                 tabs		=> "clients,readers,pairs,log",            
                 oscam		=> "Server1"
                 );
beim oscam = eintrag kommt es eben darauf an wie der server heisst den du in der config.oscam.php eingestellt hast

Code: Alles auswählen

  $server["Server1"] = array(
                        url		=> "192.168.0.1", 
                        port		=> "16002", 
                        user		=> "webinfoUSERNAME",
                        pass		=> "webinfoPASSWORT"
                        );

Re: Oscam INfo PHP

Verfasst: Fr 30. Sep 2011, 14:28
von alfakenzo
Danke jetzt läuft alles!