rejetto forum

Rawr Template 0.1.3 - Modules Mod Release

Roessi · 47 · 44361

0 Members and 1 Guest are viewing this topic.

Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
;D welcome to my world.
;D its a tough fate^^

i'm not home these days, but by a quick look i can suggest for paths:
try to put them in a section this way:

[paths]
/music
/misc
/hfs


and then you {.$paths|file=options.txt.}
and then split the lines in some way i can't remember now.

:) made it like this :) its much more handier on the userside :)

and also changed the registration module , now you have to put the pathes for access upload and delete
in the same way as above , for the paths option in all modules .)
thx again for the suggestion

code looks now this way:
Code: [Select]
{:{.if not|{.pos|1|{.for each|#modpath|{.cut|5|{.replace|/|{:{:{:|:}:}:}/|{.trim|{.$paths|file=template/rawr_default/modules/$2/options.txt.}.}.}.}|{:{.if|{.pos|{.^#modpath.}|%folder%.}|1|0.}:}.}.}|{.if|{.$paths|file=template/rawr_default/modules/$2/options.txt.}|0.}.}:}works fine:)
and if no path is set it will be displayed too :)

again have no time to change release post properly -.-
maybe on weekend :)
but heres the updatet template:

Rawr Template Modules Mod v.0.1.3.m.1.4

Edit:
Updated the Release Post
« Last Edit: September 01, 2010, 02:20:45 AM by Roessi »


Lagger

  • Guest
;D its a tough fate^^

:) made it like this :) its much more handier on the userside :)

and also changed the registration module , now you have to put the pathes for access upload and delete
in the same way as above , for the paths option in all modules .)
thx again for the suggestion

code looks now this way:
Code: [Select]
{:{.if not|{.pos|1|{.for each|#modpath|{.cut|5|{.replace|/|{:{:{:|:}:}:}/|{.trim|{.$paths|file=template/rawr_default/modules/$2/options.txt.}.}.}.}|{:{.if|{.pos|{.^#modpath.}|%folder%.}|1|0.}:}.}.}|{.if|{.$paths|file=template/rawr_default/modules/$2/options.txt.}|0.}.}:}works fine:)
and if no path is set it will be displayed too :)

again have no time to change release post properly -.-
maybe on weekend :)
but heres the updatet template:

Rawr Template Modules Mod v.0.1.3.m.1.4

Edit:
Updated the Release Post



m.1.4 doesn't work properly.
It crashed.
Many thanks




Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
sry for letting you wait this long
didnt found the time :/

i updated the m1.4 now :) and everything should work again now :)

had to upload the archive a thousand times till the file wasy really the new packed one on googlecode O.o
Rawr Template Modules Mod v.0.1.3.m.1.4


Offline strigoy

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
Hello sir, I'm long time HFS user and with mostly RAWR templates, but I have to say you've done incredible job with those modules structure.
You literally brought good old RAWR template to life for me as you added few of those extra features I always missed. Thank you for that, I greatly appreciate your work.

There is 1 issue that I noticed: you can not create properly named folders in unicode (UTF-8). For example if I use Russian letters for my new folder I get a bunch of hieroglyphs, same thing happens when I try to rename folder using Cyrillic symbols, however the delete function works flawlessly.
Though it's not critical as I myself rarely name folders in Russian, but it would be nice if you can fix this problem.

Once again, great work so far, keep it up!


Offline pascal02

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
Hello,

- Rawr Template Modules Mod v.0.1.3.m.1.4 -

I have an error in a code.

Template error at 74,3 : unmatched marker: .}   .} ...


Why ?

Sorry for my english very poor !!!
Thanks
Pascal
Cordialement votre,
Pascal


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
Salut Pascal ! :)

Indeed, there is an error in this template:

Looking for the following text (beginning at line 128) and you remove the macros markers in blue.


{: {.^modhtml|$1|$2|plugin.}:}.}:}
.}


:}.}


:}.}
« Last Edit: September 30, 2010, 05:23:41 PM by SilentPliz »


Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
sry guys didnt had time for a while :/
@strigoy :/ i know about this :/ but i dont know how to fix it :/ charset is set to UTF-8 but
when i e.g. use an ä in a name its looks really weird :/
when i come to an solution ill fix it as soon as possible

@Pascal
sry i didnt find the time
im atm fixing all the things i can
- fixed that the modulecol was shown when no module was active
- fixed the advanced search box which looked strange
-atm fixing the colors in the css files
-replaced my logo with the original one -.- forgot to do this before releasing the times before -.-


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
sry guys didnt had time for a while :/
@strigoy :/ i know about this :/ but i dont know how to fix it :/ charset is set to UTF-8 but
when i e.g. use an ä in a name its looks really weird :/
when i come to an solution ill fix it as soon as possible

For fix this issue, you can try to use some {.force ansi|.}... and make some test to find the necesary placement for them.

Samples in the default template:

[ajax.mkdir|no log]
{.break|if={.not|{.can mkdir.}.}|result=forbidden.}
{.set|x|{.force ansi|%folder%{.postvar|name.}.}.}
{.break|if={.exists|{.^x.}.}|result=exists.}
{.if|{.length|{.mkdir|{.^x.}.}.}|ok|failed.}

[ajax.rename|no log]
{.break|if={.not|{.can rename.}.}|result=forbidden.}
{.set|x|{.force ansi|%folder%{.postvar|from.}.}.}
{.set|y|{.force ansi|%folder%{.postvar|to.}.}.}

{.break|if={.not|{.exists|{.^x.}.}.}|result=not found.}
{.break|if={.exists|{.^y.}.}|result=exists.}
{.if|{.length|{.rename|{.^x.}|{.^y.}.}.}|ok|failed.}

[ajax.move|no log]
{.set|dst|{.force ansi|{.postvar|dst.}.}.}
{.break|if={.not|{.and|{.get|can delete.}|{.get|can upload|path={.^dst.}.}/and.}.} |result=forbidden.}
{.for each|fn|{.replace|:|{.no pipe||.}|{.postvar|files.}.}|{:
   {.set|x|{.force ansi|%folder%{.^fn.}.}.}
    {.set|y|{.^dst.}/{.^fn.}.}
    {.if not |{.exists|{.^x.}.}|{.^x.}: not found|{:
        {.if|{.exists|{.^y.}.}|{.^y.}: already exists|{:
            {.if not|{.length|{.move|{.^x.}|{.^y.}.}.}|{.^fn.}: not moved.}
        :}.}
    :}.}
    ;
:}.}

[ajax.comment|no log]
{.break|if={.not|{.can comment.}.} |result=forbidden.}
{.for each|fn|{.replace|:|{.no pipe||.}|{.postvar|files.}.}|{:
    {.set item|{.force ansi|%folder%{.^fn.}.}|comment={.force ansi|{.postvar|text.}.}.}
:}.}
ok

[ajax.changepwd|no log]
{.break|if={.not|{.can change pwd.}.} |result=forbidden.}
{.if|{.length|{.set account||password={.force ansi|{.postvar|new.}.}.}/length.}|ok|failed.}
« Last Edit: October 01, 2010, 03:12:16 PM by SilentPliz »


Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
thx sp:)
Umm but if I use {.force|ANSI
only latin letters will be shown correctly
cyrillic letters won't work at all:/

the best woul be if utf-8 works correctly


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
the best woul be if utf-8 works correctly

Hi Roessi !

 :) Everyone here agrees with you ... the ideal is always the best solution ;).
But this is not simply a matter of correctly displaying the web page, the version of Delphi used to compile HFS is not "unicode". So, HFS is not entirely "Unicode". Although rejetto uses some "workarounds" to achieve a satisfactory performance in "Unicode", ansi is required for certain interactions with hfs.exe. (Creating accounts, passwords ... etc).

You should still put you in accordance with the default template by using "(.force ansi...", because I noticed a lot of impossibilities with your modules and Latin characters, and these problems already could be solved ... Cyrillic will come probably if rejetto focuses on the issue... I trust him. ;)

Anyway, I appreciate your work on these modules. ;)
« Last Edit: October 04, 2010, 02:29:59 AM by SilentPliz »


Offline Ranger

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
Just installed these modules and they are great!

One question, is there any way for deleted files/logs to be output to the HFS log screen? I like to see if something is deleted. (Before upgrading they used to show up in Blue)


Asif Sajjad

  • Guest
I have installed your MOD on HFS 272 Build (beta)

Whenever I change a pass of an account I am forwarded to :

""http://localhost/template/rawr_default/modules/mod_additionalfunctions/""

Can I ask why?

Any help will be appreciated

PS: I also have to exit and login to enter a new password after this issue
However, the password is changed successfully

TIA


Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
Sry guys for letting you wait this long again
but i had too much exams

but heres an new update
Rawr Template Modules Mod v.0.1.3.m.1.5

still dont have the time for a proper release but these are the changes

Quote
Whenever I change a pass of an account I am forwarded to :

""http://localhost/template/rawr_default/modules/mod_additionalfunctions/""
This is now fixed
thx :)
+ added teemplatecolor black green just for fun
+ added an option in the additional functions module so you can set in the options file if changepass and changename are shown.
- fixed that the modulecol was shown when no module was active
- fixed the advanced search box which looked strange
- fixing the colors in the css files
- replaced my logo with the original one (rawr_black)-.- forgot to do this before releasing the times before -.-

dunno if theres more it is some time ago i fixed the last things

Quote
PS: I also have to exit and login to enter a new password after this issue
However, the password is changed successfully

this is because of the basic http auth
i could forward the page with the password included so you would auto relogin with the new password
but i dont know if it isnt too insecure
i could make an option so you can choose
relogin=1
in the next update
got to go now sry for having not the time to answer questions in time
the next days i answer the other posts and pms but im in a hurry
Roessi


Edit:

Tried with redirecting with user and password but doenst semm to work nice
would be nice if there would be an macro like {.base64|A.}
then the auth field in the header could be edited
Code: [Select]
{.if|{.{.modopt|mod.roessi.additionalfunctions|relogin.}=1.}|{:{.add header|Authorization: Basic {.base64|%user%:{.get account||password.}:}|{:{.redirect|%folder%.}:}.}
dont know how to do it right now :/
« Last Edit: December 13, 2010, 05:13:34 PM by Roessi »


Rome

  • Guest
Hey im haveing trouble with the uploadfolders mod. i cant get it to make the folders in my Upload folder

is this right?

Code: [Select]
loggedin=1
notloggedin=0
position=right
plugin=1
onlylocal=0
off=0
keyallow=0
path={:/:}
title=Uploadfolders
id=plugin.roessi.uploadfolders
hddpath=J:\Upload
vfspath=/Upload/
access=1
upload=1
delete=1
adminaccess=1
admin=$$$