Skocz do zawartości
Hosting webh.pl - 20%

Pytanie

Rekomendowane odpowiedzi

Opublikowano

zainastlowałem tego moda

This mod will add a second password for those who has access to the ACP for security.

When you try to login to the ACP, you'll be ask to enter you forum password & this security password.

The security password is md5 encrypted & stored in the database. Each member that has the ACP access

will has his/her own security password that can be change via User CP or in ACP where you change the forum password.

The default password that came with this mod is test (lower case). You need to change it immediately after the mod is installed

and inform all the other user that can access the ACP so they know their pass & change it to their desire.

Files to edit:

forum/sources/action_admin

Root folder/forum/skin_acp/IPB2_Standard/acp_skin_html/cp_skin_global

Warning: With this mod you needn’t to upload install anything. You must only edit some files.

Root folder /forum/sources/action_admin search for: login.php

Tìm:

CODE

if ( empty($this->ipsclass->input['password']) )

{

$this->login_form("You must enter a password before proceeding");

}

add below:

CODE

if ( empty($this->ipsclass->input['ppassword']) )

{

$this->login_form("You must also enter a security password before proceeding");

}

find:

CODE

$pass = md5( $this->ipsclass->input['password'] );

add below:

CODE

$ppas = md5( md5( $this->ipsclass->input['ppassword'] ) );

find :

CODE

if ( $this->ipsclass->converge->converge_authenticate_member( $pass ) != TRUE )

{

$this->login_form("The password you entered is not correct");

}

Add below:

CODE

else

{

if ( $ppas != "d444443e37cf2cd7828ec3febd201af")

{

$this->login_form("The password you entered is false");

}

Save and upload file login.php

Open Root folder/forum/skin_acp/IPB2_Standard/acp_skin_html search for file cp_skin_global:

find :

CODE

try

{

if ( document.getElementById('namefield').value != '' )

{

document.getElementById('passfield').focus();

add below:

CODE

document.getElementById('passfield2').focus();

search for:

CODE

<tr>

<td align='right'><strong>User Name</strong></td>

<td><input style='border:1px solid #AAA' type='text' size='20' name='username' id='namefield' value='$name'></td>

</tr>

<tr>

<td align='right'><strong>Password</strong></td>

<td><input style='border:1px solid #AAA' type='password' size='20' name='password' id='passfield' value=''></td>

</tr>

add below:

CODE

<tr>

<td align='right'><strong>Your Security Password</strong></td>

<td><input style='border:1px solid #AAA' type='password' size='20' name='ppassword' id='passfield2' value=''></td>

</tr>

<tr>

i mam przy ACP hasło do podania jeszcze jedno niż od konta i wpisuje obojętnie jakie i moge wejść co jest jak mam ustawić hasło np na jamagic?

Opublikowano

wchodzisz do UCP i tam ustawiasz na samym dole, a pozatym podczas instalacji mozna było ustawić

Opublikowano
  • Autor
wchodzisz do UCP i tam ustawiasz na samym dole, a pozatym podczas instalacji mozna było ustawić

do UCP ?

co to?

a gdzie ustawić przy instalacji w które miejsca??

bo bede od nowa to instalował ?

Opublikowano

ucp = Panel kontrolny

jak dajesz instalacje na bazie danych to tam przynajmniej w 2.0 się ustawiało jakie hasło ma być

nawet

DE

<tr>

<td align='right'><strong>Your Security Password</strong></td>

<td><input style='border:1px solid #AAA' type='password' size='20' name='ppassword' id='passfield2' value=''></td>

</tr>

<tr>

tu masz podane że tu się hasło zmieniać będzie :D ehhh czytać się nie chce :D
Opublikowano
  • Autor

Czyli gdzie dokładnie w tym co wpisałeś mam wpisać hasło wpisz tam jamagic a ja sobie podmienie

wiesz jestem ciemny :D

Opublikowano

wchodzisz do panelu kontrolnego zjeżdzasz na sam dół i będzie Ci pisać chage your ACP security password, przynajmniej powinno jeżeli wszystko z instalacji zrobiłeś dobrze

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.