Hey ppl i hope ur doing good,
First of all how to make keywords visible on the download page? if i copy the meta code for keywords than its not showing up on the site.
Second
I want to use the Remote Upload Premium fields in a different way.
Ex.: Fileserve: login/password into Website: http://site.com
and than make it visible on the download page. But its the same with keywords if i copy the code than its not showing on the page.
I know it could be customized to have webiste twitter facebook etc. files but why not use already exisiting unused fields.
i hope somebody understand what i mean and can help me out
Best
XFileSharing Pro - Keywords & Custom Fields
at the same part dimS suggested
'facebook' => $ses->getUser->{name of database field in user table},
I use a very old version of xfs so i don't know if this works with the new ones.
Edit; This just displays the facebook of the user who is downloading, if you want the user that uploaded the file you need to do some more steps
in download1 in this query;
add u.nameofuserfield to the select part
then 'facebook' => $file->{nameofuserfield}
'facebook' => $ses->getUser->{name of database field in user table},
I use a very old version of xfs so i don't know if this works with the new ones.
Edit; This just displays the facebook of the user who is downloading, if you want the user that uploaded the file you need to do some more steps
in download1 in this query;
Code: Select all
my $file = $db->SelectRow(bla bla FROM (Files f, Servers s)
LEFT JOIN Users u ON f.usr_id = u.usr_id
WHERE f.file_code=?
then 'facebook' => $file->{nameofuserfield}