rejetto forum
May 24, 2012, 01:45:20 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Question for "upload-results" in 2.1c  (Read 1799 times)
0 Members and 2 Guests are viewing this topic.
Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« on: December 23, 2006, 08:04:06 AM »

When my users successfully upload files, they see the page where is displayed "The file is succesfully uploaded. Back to the folder..."
And I want when the users upload file after that in "page of results" to display the link of the uploaded file. What to paste in section "upload-results" or in "upload-success"?

P.S.: Sorry for my poor English Sad
« Last Edit: December 23, 2006, 11:24:57 AM by Alons0 » Logged

Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #1 on: December 23, 2006, 09:34:09 AM »

I tried %item-link%, but it doesn's work Sad
Logged

TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #2 on: December 23, 2006, 09:38:18 AM »

So you want this section allow the user to be able to open the file? I found that this here works quite nicely. Using the target to open a new window gives the user the ability to still return to the upload section of your server, without the use of the back button.

As you can see it goes into this section   Cheesy

[upload-success]
<li><b>SUCCESS!</b> Uploaded: <a href="%item-name%" target=_blank>%item-name%</a> --- %item-size% (Speed: %speed% KB/s)

Logged

Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #3 on: December 23, 2006, 09:43:03 AM »

So you want this section allow the user to be able to open the file? I found that this here works quite nicely. Using the target to open a new window gives the user the ability to still return to the upload section of your server, without the use of the back button.

As you can see it goes into this section   Cheesy

[upload-success]
<li><b>SUCCESS!</b> Uploaded: <a href="%item-name%" target=_blank>%item-name%</a> --- %item-size% (Speed: %speed% KB/s)
But this shows link to file in my computer, no in my site Sad
I tried with %item-url%, but it displays ex.: http://10.6.13.25/Upload/%item-url%
« Last Edit: December 23, 2006, 09:46:43 AM by Alons0 » Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #4 on: December 23, 2006, 09:46:27 AM »

%item-name% is not encoded, not good for every character
in next build %item-url% will be available
published in few hours
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #5 on: December 23, 2006, 09:47:44 AM »

oh ok nice, i did try this, the first time, but i found it did not work... didn't realise it wasn't available yet in HFS Cheesy
« Last Edit: December 23, 2006, 09:50:28 AM by That_Stevens_Guy » Logged

rejetto forum
« Reply #5 on: December 23, 2006, 09:47:44 AM »

Do you like this software? Consider even $2
 Logged
Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #6 on: December 23, 2006, 09:49:49 AM »

%item-name% is not encoded, not good for every character
in next build %item-url% will be available
published in few hours
I'll wait  Grin Grin Grin
« Last Edit: December 23, 2006, 11:14:55 AM by Alons0 » Logged

Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #7 on: December 23, 2006, 11:13:57 AM »

%item-url% will works in the next beta version. OK. If I upload for ex. 2-3 files, can the command displays the links of the all files?
Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #8 on: December 23, 2006, 11:17:08 AM »

yes, try this version
http://www.rejetto.com/forum/index.php?topic=3791.msg1020427#msg1020427

you don't even need to edit the template
Logged
Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #9 on: December 23, 2006, 11:21:03 AM »

yes, try this version
http://www.rejetto.com/forum/index.php?topic=3791.msg1020427#msg1020427

you don't even need to edit the template
Don't worry. I use damn template(edited of course).
Logged

Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #10 on: December 23, 2006, 11:44:05 AM »

Hey rejetto this code shows wrong link
<li><a href='%item-url%'>%item-name%</a>: <b>OK</b> --- %item-size%  (Speed %speed% KB/s)
Ex.: It displays the link
http://10.6.13.25/Upload/E%3A%5CRocky.Balboa.PROPER.DVDSCR.XViD-mVs%5Cmvs-rocky.nfo
The true link is http://10.6.13.25/Upload/mvs-rocky.nfo
And in the wrong link after "10.6.13.25/Upload/" it displays route to file in my computer(E:\Rocky.Balboa.PROPER.DVDSCR.XViD-mVs). Can you fix this? I think the problem is in the HFS
« Last Edit: December 23, 2006, 11:59:49 AM by Alons0 » Logged

Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #11 on: December 23, 2006, 02:59:03 PM »

Rejetto please help
Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #12 on: December 23, 2006, 03:04:52 PM »

try this one
http://www.rejetto.com/forum/index.php?topic=3791.msg1020456#msg1020456
Logged
Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #13 on: December 23, 2006, 03:12:25 PM »

Thank you man!!! You're the best Grin Grin Grin
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 22, 2012, 09:16:59 AM