rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: TSG on February 18, 2008, 05:35:38 PM

Title: RAWR-Template-0.0.7 BETA
Post by: TSG on February 18, 2008, 05:35:38 PM
RAWR-Template-0.0.7 Released

(http://www.rawr-designs.com/?downloadbutton=48) (http://www.rawr-designs.com/?download=48)

[fix] Page generation time improved immensely, around .5 of a second, due to an incorrect macro quoting. {{load}} inside a hidden macro was contacting rawr-designs.com every page load. This is the macro that checks for template updates. It caused a increase depending on the host download bandwidth and our host server response time. The {{load}} will now only fire when ?updates=1 is assigned to the url. RAWR-Template is back to being the most powerful template ever :)

[upd] All the language updates are included from the last release thread.

NOTE: Still expect strange behaviour from the shoutbox... :(

I will continue support for the old update notification methods until 0.1.0 No longer supported, making big changes at the homepage.. Then it will run from the new website database. (supported since 0.0.4)
Title: Re: RAWR-Template-0.0.7 BETA
Post by: ladiko on February 18, 2008, 07:17:45 PM
interesting:
in 0.0.5 i still had the bug, when reloading the page with active shoutbox, my router reconnects - no everything is fine with 0.0.7. but i also updated my routers firmware from beta x to beta y ^^

what is the deeper sence of sym_ip=on - i cannot find any information about that. only [new] Setting to have sym_ip on/off.

is it possible to save the user's ip in the filename too if he uses the shoutbox?
Title: Re: RAWR-Template-0.0.7 BETA
Post by: AYEHAN on February 19, 2008, 02:28:19 AM
awesome Template

but i have a issue

lv_sortBy:
lv_age, lv_hits, lv_name, lv_size, lv_type

why it shows everything like that

lv_  << in start of every word
Title: Re: RAWR-Template-0.0.7 BETA
Post by: Foggy on February 19, 2008, 05:17:11 AM
why it shows everything like that

It is because hfs cannot find the file containing the strings. Make sure that the template folder is placed inside the folder containing the hfs executable.

TSG. Maybe you should include a test to see if the language file can be found, this has occurred a couple times now.
Title: Re: RAWR-Template-0.0.7 BETA
Post by: TSG on February 19, 2008, 12:06:09 PM
I will look into making a few error messages for next build.

sym_ip was made for people running their HFS behind an apache server, the %ip% was showing the ip of the apache server.

Yes i probably can log the ip on the shoutbox posts.
Title: Re: RAWR-Template-0.0.7 BETA
Post by: AYEHAN on February 19, 2008, 01:57:36 PM
shout box not working for me

when i click on shout it just reload and nothing happen


can i show others that what files are downloading and from which IP .. in Progress page?
Title: Re: RAWR-Template-0.0.7 BETA
Post by: TSG on February 19, 2008, 02:12:03 PM
Yes the shoutbox works randomly at the moment.

No I don't think that is possible with HFS yet.
Title: Re: RAWR-Template-0.0.7 BETA
Post by: AYEHAN on February 19, 2008, 06:22:40 PM
oh okies

another thing if possible

we have 6 theme, can we show Random theme on each page

like i have folders A B C D

when i open folder A it show black or any colour
when i open folder B it show red or any colour

each theme on each page randomly or if not atleast  diffrent theme color to diffrent IP
Title: Re: RAWR-Template-0.0.7 BETA
Post by: TSG on February 19, 2008, 07:06:20 PM
[special:strings]
theme=themeName

If it works in Diff template go for it.
Title: Re: RAWR-Template-0.0.7 BETA
Post by: AYEHAN on February 19, 2008, 07:29:15 PM
no i mean it shows a Random theme on each reload/refresh/load

i am no programmer but something like

{{comment|   Global Settings }}
theme=random theme

i saw a site some years back with random page on every reload i want this thing but with random theme
Title: Re: RAWR-Template-0.0.7 BETA
Post by: ladiko on February 19, 2008, 11:14:44 PM
<a href="?tpl=list&amp;folders-filter=%5C{{if|{{get|can recur}}|&amp;recursive}}" etc. ...
directs me to
http://localhost/?tpl=list&folders-filter=%5C&recursive
and this dont work. i get a blank page - what do i wrong?
Title: Re: RAWR-Template-0.0.7 BETA
Post by: TSG on February 20, 2008, 09:03:51 AM
No I don't think thats possible with macro at the moment.

<a href="?tpl=list&amp;folders-filter=%5C{{if|{{get|can recur}}|&amp;recursive}}" etc. ...
directs me to
http://localhost/?tpl=list&folders-filter=%5C&recursive
and this dont work. i get a blank page - what do i wrong?

I have no idea... maybe you have no files in the folder? It filters out folders.
Title: Re: RAWR-Template-0.0.7 BETA
Post by: ladiko on February 20, 2008, 10:12:18 AM
http://localhost/?tpl=list&folders-filter=%5C&recursive should mean that it lists all files recursive from the root?!? there are files, but only in password protected subfolders and i was logged in with a  correct username.
Title: Re: RAWR-Template-0.0.7 BETA
Post by: TSG on February 20, 2008, 10:38:02 AM
No idea then... do you have recursive listing on?
Title: Re: RAWR-Template-0.0.7 BETA
Post by: ladiko on February 20, 2008, 07:51:48 PM
ok here is what i get now, all files in one line:
(http://img3.imagebanana.com/img/t1nbx77k/thumb/filelist.jpg) (http://img3.imagebanana.com/view/t1nbx77k/filelist.jpg)
cant image what's wrong oO

and how to preset the advanced search to set the default to "from current directory" ? seems to be a problem with hfs, isnt it?
Title: Re: RAWR-Template-0.0.7 BETA
Post by: Baggio on February 21, 2008, 02:34:25 AM
As from versions 0.0.3, still down language in version 179. What correct this problem?
Help please!


Начиная с версии 0.0.3 Бета до сих пор слетает руссификатор. Как исправить эту проблему?
Помогите пожалуйста!
Title: Re: RAWR-Template-0.0.7 BETA
Post by: TSG on February 21, 2008, 02:26:35 PM
Oh, Ladiko its appearing like that cause that custom filelist.tpl we made is now obsolete. Delete it and you will see it correctly.

No idea what your on about Baggio.
Title: Re: RAWR-Template-0.0.7 BETA
Post by: ladiko on February 21, 2008, 03:36:36 PM
but i like the custom filelist =(
it will never work again?
Title: Re: RAWR-Template-0.0.7 BETA
Post by: Ивашко on February 21, 2008, 04:37:09 PM
1)how i can turn off "update box" on main page?
2)how i can turn off highlighting files and folders on mouse hover because it use a lot of CPU resources when i scroll page
sorry my bad english :D
Title: Re: RAWR-Template-0.0.7 BETA
Post by: TSG on February 21, 2008, 04:44:41 PM
Uhm, it seems to just need a line break, probably possible for us to edit it. I will play with it.

1) You can't but don't worry external IP addresses cannot see it.
2) Don't use Internet Explorer 6 ;) It is a javascript fix, only noticeable on old machines. (I actually intend to remove it anyway, maybe next build)
Title: Re: RAWR-Template-0.0.7 BETA
Post by: AYEHAN on February 21, 2008, 07:45:18 PM
to disable update check box go to line 98 u will something like that

Code: [Select]
127.*;10.*;192.168.*
Replace it like that and it will never show again :) not on LAN nor on WAN

Code: [Select]
{{if|{{match|255.*|%ip%}}|
ok tog team another question :/

i made a simple html page on IIS and i wanna show the Statistic box on this page

Possible?

i made the shoutbox working there but didnt understand how i add statistic box there as it have %ip% things and only HFS understands that.

i put it this way on my page

Code: [Select]
<iframe id="datamain" src="http://521176.myshoutbox.com/?extcss=http://10.255.243.169:8081/code/ToG-Shoutbox.css" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" height="780" scrolling="yes" width="185"></iframe>
Title: Re: RAWR-Template-0.0.7 BETA
Post by: Giant Eagle on February 21, 2008, 08:56:10 PM
Quote from: AYEHAN
i made a simple html page on IIS and i wanna show the Statistic box on this page

Possible?


Link your iframe to http://10.255.243.169:8081/~stats.htm, just make sure you use the same or partially the same CSS file as the one that rawr-template uses (so that the <span>'s float to the right)


ok here is what i get now, all files in one line:
(http://img3.imagebanana.com/img/t1nbx77k/thumb/filelist.jpg) (http://img3.imagebanana.com/view/t1nbx77k/filelist.jpg)
cant image what's wrong oO

It was bugged from HFS #177 and up, the fix:

http://www.rejetto.com/forum/index.php?topic=5688.0
Title: Re: RAWR-Template-0.0.7 BETA
Post by: ladiko on February 21, 2008, 09:18:11 PM
thank you Giant Eagle :-)

like That_Stevens_Guy (and me too) guessed, there was a line break missing, but i dont thought, that a simply line break in the text file is enough. i thought there is something like <br/ > or %newline% missing.
Title: Re: RAWR-Template-0.0.7 BETA
Post by: txrx on February 22, 2008, 02:50:21 PM
I got one problem. i cannot find the FAQ for a LOGIN page. i want to have a main page for LOGIN. any help is appreciated.
Cheers...
Title: Re: RAWR-Template-0.0.7 BETA
Post by: TSG on February 22, 2008, 03:16:35 PM
HFS doesn't have a login page. It is possible to fake a login page, but it is complicated. ToG uses the old method, I believe it would be better done with macro. But HFS doesn't have a login page naturally, I have removed this for simplicity in this template. I found it quite annoying when the login page would show up every now and then while logged in.
Title: Re: RAWR-Template-0.0.7 BETA
Post by: txrx on February 22, 2008, 03:26:10 PM
That_Stevens_Guy thank for the quick reply, i appreciate if you can guide me to some info so i can do on my own. i have a lot of users so i only want some close friends to have access to it instead of everyone. Sorry to trouble you.
Thanks and appreciated:-

Regards
Simon
Title: Re: RAWR-Template-0.0.7 BETA
Post by: TSG on February 23, 2008, 05:53:21 PM
To explain it would be like writing a book on the template engine. Download ToG 3.0.0, install the login version and learn how to do it on your own, I'm sorry but I just do not have time to write out a step by step guide. A simple solution would be to not host things on the top level. People wont have access to your stuff if they are protected. You can protect the root of the server, which will prompt login before anyone sees the website, or you can protect all the files and folders on the top level. HFS doesn't naturally support a login page. Just a login prompt.
Title: Re: RAWR-Template-0.0.7 BETA
Post by: AYEHAN on February 26, 2008, 01:17:15 PM
Quote from: AYEHAN
i made a simple html page on IIS and i wanna show the Statistic box on this page

Possible?


Link your iframe to http://10.255.243.169:8081/~stats.htm, just make sure you use the same or partially the same CSS file as the one that rawr-template uses (so that the <span>'s float to the right)

can you please define it a little more as i am no web designer nor programmer, i just know how to edit a pre-made code :) what i understand is i have to made a ~stat.htm page .. and use the template CSS but how? if u get a little free time can u code this for me
Title: Re: RAWR-Template-0.0.7 BETA
Post by: TSG on February 26, 2008, 03:00:49 PM
~stats.htm is already embedded in the template. It is what the updating statistics works from.