Hi,
another bug: JD 4.0.39, J 4.4.2, PHP 8.2.13 . Configured to show usernames and not real names.
When you edit a Download in frontend and assign it to a user, it will show a dropdown list with real names - no matter whether you configured to use username instead of real names. As I am responsible for breach of data security I had to find a solution
It is in components/com_jdownloads/forms/download.xml where I changed section P7 to show username :
<!--P7 created by -->
<field
name="created_by"
type="sql"
label="COM_JDOWNLOADS_CREATED_BY"
description="COM_JDOWNLOADS_CREATED_BY_DESC"
query="SELECT id , username FROM #__users ORDER BY username asc"
multiple="single"
default="0"
key_field="id"
value_field="username">
<option value="0">COM_JDOWNLOADS_SELECT_A_USER</option>
</field>
BTW: This is an old bug that I had already reported in JDownloads 3.9
Hi
I confirm the bug. Solution given is a permanent selection which is OK if you always need the username.
Options - Frontend - 'Use real user name' is presently not used but it should be used
The XML needs modifying to select the correct item - but not simple to do!!!
Colin
Hi,
I think the changes above are a good solution for now. So it will be part of the next version.