Форум Donate Engine

Поддержка CMS Donate Engine

Вы не вошли.

#1 12-10-2015 01:21:41

HOST
Пользователь

may i ask for a small favor

hello smile
maybe off topic for the forum..
but i hope you will be able to help me with
i have the shop+forum user registration and login in 1 database now i found a
pocketmine plugin and i want it to make it work with the same user database
this is what i get at the settings.
all fat text is what i dont know what to put exept i think table_prefix could be the database user login table

#Login/Register timeout
timeout: 60
#Minimum password length
minPasswordLength: 6
#Maximum password length
maxPasswordLength: 16
#Password hash [b](your password hash)[/b]
passwordHash: [b]"fill this"[/b]
#ServerAuth language
language: "EN_en"
#ServerAuth message prefix
prefix: "&a[Generation&bCraft] "
#Show join message (defined on join-message in the current language file)
show-join-message: true
#Use MySQL (set this to false if you want to save data in local files)
use-mysql: false
#MySQL settings
mysql:
  #MySQL host
  host: "host"
  #MySQL port (default 3306)
  port: 3306
  #MySQL username
  username: "username"
  #MySQL password (you can leave it blank if your database doesn't need password)
  password: ""
  #MySQL ServerAuth database
[b]  database: "serverauth"
  #ServerAuth table prefix
  table_prefix: "srvauth_"

[/b]

Вне форума

#2 12-10-2015 01:29:59

Online
Administrator

Re: may i ask for a small favor

A password hash is supported by pocketmine plugin?

Вне форума

#3 12-10-2015 02:24:27

HOST
Пользователь

Re: may i ask for a small favor

Yep it does

Вне форума

#4 12-10-2015 10:43:54

Online
Administrator

Re: may i ask for a small favor

use-mysql: true

Вне форума

#5 12-10-2015 11:15:07

HOST
Пользователь

Re: may i ask for a small favor

that i have on but its asking for

#Password hash (your password hash)
passwordHash: "fill this" (i think the salt)

and i still dont know the hash for woltlab O_O

Вне форума

#6 12-10-2015 15:46:49

Online
Administrator

Re: may i ask for a small favor

<!-- l --><a class="postlink-local" href="http://forums.vpn.by/viewtopic.vpn?f=259&t=3354#p17003">viewtopic.vpn?f=259&t=3354#p17003</a><!-- l -->

Вне форума

#7 12-10-2015 17:58:25

HOST
Пользователь

Re: may i ask for a small favor

u tell me crypt(crypt($password, $salt), $salt);

but the settings in the plugin give me this

#Password hash algorithm
passwordHash: "sha128"

i cannot just type

#Password hash algorithm
passwordHash: "crypt(crypt($password, $salt), $salt)"

can i? i know hardly anything about this password hashing stuff i need to learn it..

Добавлено спустя 9 минут 57 секунд:
or i need to take the whole php apart? and change the settings within the php structure?

Добавлено спустя 22 минуты 3 секунды:
i think the whole php for that ...
i can edit the php when i extract the phar file

Вне форума

#8 12-10-2015 21:25:18

Online
Administrator

Re: may i ask for a small favor

Your plugin uses a hash function to authenticate users.

Вне форума

#9 12-10-2015 22:50:03

HOST
Пользователь

Re: may i ask for a small favor

yeah smile but i want it to use the woltlab hash function smile

Вне форума

Низ форума