XFileSharing Pro - Renaming download link

Powerfull XFileSharing version

Moderator: admin

Message
Author
chaoss
Posts: 1
Joined: Oct 15, 2010 8:31 pm

Renaming download link

#1 Postby chaoss » Oct 15, 2010 9:00 pm

Hello,

Im intersted if it's posible to rename the download link.
Example:
I want "http://www.domain.com/5iibjoxac4f8" to be generated as
"http://www.asdasd.com/5iibjoxac4f8"
I've tried something like here http://www.sibsoft.net/forum/pre-sales-question-t951.html?highlight=ww1

Code: Select all

       $_->{download_link} = $ses->makeFileLink($_);
       $_->{download_link}=~s/\&/&/gs;
   if($ses->getUser && $ses->getUser->{premium})
   {
    $_->{download_link}=~s/asdasd.com/;
   }
    elsif($ses->getUser)
   {
    $_->{download_link}=~s/asdasd.com/;
   }
    else
   {
    $_->{download_link}=~s/asdasd.com/;
   }
but it didnt work.
Is it possible?

Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests