rejetto forum

Macro Fustration

0 Members and 1 Guest are viewing this topic.

Offline SpiderPig902

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
Ok, im working on a new integrated admin panel for Terayon 1.3.3. Im using the HFS 2.3 beta build 257.
For some reason many symbols are not working and i cannot figure out why. For example, i cant show any data for files being uploaded or downloaded. All the symbols come back on the page like this:
Upstream:
%filename%
%done-bytes% / %total-bytes% bytes
Current upload speed:
%speed-kb% KB/s
Percentage complete: %perc%
.
Is there something that im missing? many of the others do work like all the server stats (ie. time/date/inbound traffic.......)

Help!!!

Thanks

Tony



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
welcome Tony!
if the symbols are not working, it's likely you are using them in the wrong place.
they work only inside [progress-upload-file] and [progress-download-file]
double check.


Offline SpiderPig902

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
Hi, thanks for the reply.
I think i understand what you mean but still am a little confused. What im trying to do is make a page that shows "%progress-files%" on my admin page. the admin page is ~adminpanel and not ~progress, is that why?
The description for "%progress-files%" is QUOTE""""
inserts the HTML from section [progress-nofiles] if no file is transferred with the current client, otherwise the list of transferring files got by pasting each file after the pertinent section [progress-download-file] and/or [progress-upload-file] is inserted """""

So shouldnt it show me ALL the files being uploaded and downloaded?
If not even when i click on transfers at the top it always show no files being transferred UNLESS they are being transferred by ME.
Im kinda unclear as to what to do.
My goal is to be able to go to my admin page and see a list of files being uploaded and downloaded... (iframe???)

Thanks again

Tony


Offline SpiderPig902

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
ok, i tried a iframe and that seemed to work with %progress-files%. However, it doesent show any files being transferred. the graph does show traffic but below says "No Transfers"
any ideas on how to show up and down in a list?

Thanks


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
it currently works only in ~progres.
i will consider changing this in the future.
so, at the moment you can solve in 2 ways
- use a frame or iframe
- use ajax

in the new template i'm building i have the same problem, and i use ajax.

P.S.
oh, i see you found the solution while i was writing :)
are you sure the iframe is accessed as the same IP address?
example. you may be working locally, access your hfs by localhost/127.0.0.1 and making your iframe load from 192.168.0.1
that would not work. your iframe shoulod point to "/~progress".
HFS lets you list transfers only from YOUR address, for privacy.
« Last Edit: March 03, 2010, 02:37:03 PM by rejetto »


Offline SpiderPig902

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
Shouldnt it show me all downloads and uploads? or only MY uploads?
Right now i can only see what im transferring and not anyone else.
as for the ajax, im assuming is not a cut and dry solution? im working with iframe right now. Do you have a link or a direct you could point me to for the ajax and what you did with HSF?

thanks