Redirecting users to registration after download

Phoca Download - download manager
rodobor
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Mar 2012, 15:49

Redirecting users to registration after download

Post by rodobor »

Hello Jan!

First of all, thanks for the top quality content you're developing. It's not so common these days.

I've implemented your Phoca Download in a project for a client of mine.

Just a quick question,I'm sure it won't be a big issue to handle: when an unregistered user tries to download a protected file, he's redirected to a login page.

I'd like to redirect him, instead, to another page of mine, so I could easily implement a registration module. Could you suggest me where to edit the url redirection link? I've looked all over the PHP files but can't seem to find it.

Or better, is there a way to modify that user login page?

Thanks for attention
Best wishes
Rodolfo
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48595
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Redirecting users to registration after download

Post by Jan »

Hi, you should modify the php code, just search the frontend files for "redirect" string

Jan
If you find Phoca extensions useful, please support the project
rodobor
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Mar 2012, 15:49

Re: Redirecting users to registration after download

Post by rodobor »

Thanks for the reply!

I went into /components/com_phocadownload and looked in various php files but can't seem to find the right line of code.
Could you point me to the exact file to modify?


I'm mainly a front end/graphic designer so PHP it's a bit "out of my routine".

thanks
R
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48595
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Redirecting users to registration after download

Post by Jan »

Hi, I am not on my PC now, so cannot point to directly to the code as I don't know it ( forum-rules.php 9 ) :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply