rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: Roessi on August 18, 2010, 02:58:07 PM

Title: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on August 18, 2010, 02:58:07 PM
Hey Guys,
wanted to release the first fully working mod a lil bit earlier but didnt find the time to publish it:)
and yesterday i saw the 0.1.3 rawr template were released so i updated it to the new version :)

sry that it took that long but first i didnt found a way to use macros in the modcontent.txt in the modules
and so  i had to submit the forms of the module to another diff tpl which lead to the problem that i couldnt check delete permissions after submitting -.-
but now everything works fine :)



Module files & explanation:



Option:Description:
onlylocalif set to 1 the modules will only show on local pcs
loggedinwhen set to 1 the modules show for loggedin users, if set to 0 the moduls wont show for loggedin users
notloggedinwhen set to 1 the modules show for not loggedin users, if set to 0 the moduls wont show for not loggedin users
keyallowwhen set to 1 the module will only be displayed for accounts or groups who have the id of the module in the account notes activated. for example : mod.roessi.additionalfunctions=1
pluginwhen set to 1 the module wont be displayed, only the modcontent.txt is executed.
offwhen set to 1 the module wont be displayed at all
New since 1.1 (26.08.2010) :
rightDisplays the module on the right side
leftDisplays the module on the left side
topDisplays the module on the top
bottomDisplays the module on the bottom
New since 1.2 (29.08.2010):
[paths]set the pathes in which u want the module to be displayed. each path in one line under the section
New since 1.3 (29.08.2010):
pinnedwhen set to 1 the module will be pinned the first time, when set to never the module wil be never pinned, if set to always the module will be always pinned



Addiotional Functions Module (http://rawrmodulemod.googlecode.com/files/mod_additionalfunctions.zip)   Release
Screenshot 1Screenshot 2Screenshot 3
(http://a.imageshack.us/img843/6816/hc038.jpg) (http://img843.imageshack.us/i/hc038.jpg/)
(http://a.imageshack.us/img841/9133/hc037.jpg) (http://img841.imageshack.us/i/hc037.jpg/)
(http://a.imageshack.us/img507/3654/hc030.jpg) (http://img507.imageshack.us/i/hc030.jpg/)

Functions:


Function:Notes:Screenshot
Change Password
Change Username
Create Folder
DeleteJust Check any file to be deleted and press submit.Screenshot 2
RenameJust write the new name in the field;You can rename as many files/folders at a time as you want.Screenshot 3

Changelog:
Date:Description:
18.08.2010Release
22.08.2010Minor fixes
29.08.2010Changed options file



Uploadfolders Module (http://rawrmodulemod.googlecode.com/files/mod_upload.zip)   Release

Function:

This module is to create own , personal upload folders for users automatically

Options:

File: options.txt

Option:Description:
hddpaththis is the path where the existing folder on your hdd is where the folders will be created
vfspaththis is the relative path to the folder in your vfs where the folders will be added to
accessset this to 1 if you want only the user to have acces to his folder
uploadset this to 1 to give the user upload rights automatically once the folder is added
deleteset this to 1 to give the user delete rights automatically once the folder is added
adminaccesswhen set to 1 the user set as admin will get all rights too
adminthe user who will get those rights . you should be able semicolon seperate a list of users to be admin....
dunno why but you cant use a group. it doesnt work when you use the {.set item.} macro and add access for groups  ??? only for users

Description:

It works the following way
if a logged in user loads the page and no folder for him exists in the given path, a folder will be created there
and added to the vfs path you set in the settings.txt
and depending on your settings the permissions for the folders will be given :)


dunno if anyone can use it :) but i use it to give users a personal upload folder where no one else has access to.

Note:
You won't see any new module, its just a script that runs when the module is activated

Changelog:
Date:Description:
22.08.2010Release
29.08.2010Merged settings.txt into options.txt. Changed options file


Register Module (http://rawrmodulemod.googlecode.com/files/mod_register.zip)   Release

Function:
This module is for users, to register an new account.

Options:

File: options.txt

Option:Description:
enabledwhen set to  true  new accounts will be enabled by default. when set to false they will be disabled
member ofset the groups seperated with a ;  the user will be added to by default
notesset the notes you want to have the users account to be added by default
[access]in this section set all the pathes the user should get access permissions by default, one path per line
[upload]in this section set all the pathes the user should get upload permissions by default, one path per line
[delete]in this section set all the pathes the user should get delete permissions by default, one path per line

Changelog:
Date:Description:
29.08.2010Release
31.08.2010Changed the options. So you have [sections] for pathes instead of seperating them with a |

Howto Install a module:
Just extract the zip archive of a module into template/rawr_default/modules.

Planning:



Template:
Changelog:
Date:ChangesNewest Version
21.08.2010TSG fixed a bug in his v0.1.3 RawrTemplate
22.08.2010fixed a bug where modules didnt work when set as Plugin
22.08.2010RAWR-Template-0.1.3 - Module Mod.zip (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.zip)
26.08.2010Added Setting to choose position of module(left,right,top,bottom)Rawr Template Modules Mod v.0.1.3.m.1.1 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.1.zip)
29.08.2010Changed way of handling options and renamed restrictions.txt to options.txt , also removed title.txtRawr Template Modules Mod v.0.1.3.m.1.2
 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.2.zip)
29.08.2010Added the option pinned. Added ids to every module and changed the keyallow optionRawr Template Modules Mod v.0.1.3.m.1.3 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.3.zip)
31.08.2010Changed the way you can set pathes where the module will be displayedRawr Template Modules Mod v.0.1.3.m.1.4 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.4.zip)
[/tr
6.3.2012Added ability to load headerscripts and Rawr Template Modules Mod v.0.1.3.m.1.5.2 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.5.2.zip)


Modules:
Name:Released:Latest Versiont:Attachment:
Additional Functions18.08.201022.08.2010mod_additionalfunctions.zip (http://rawrmodulemod.googlecode.com/files/mod_additionalfunctions.zip)
Uploadfolders22.08.201022.08.2010mod_upload.zip (http://rawrmodulemod.googlecode.com/files/mod_upload.zip)
Register29.08.201031.08.2010mod_register.zip (http://rawrmodulemod.googlecode.com/files/mod_register.zip)



When there are any questions , problems or bugs. Just Reply or PM (http://www.rejetto.com/forum/index.php?action=pm;sa=send;u=5222) me. Ill do my best to solve the problem
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: TSG on August 18, 2010, 03:43:24 PM
 :) cool. And you released it properly. I am not adding these to the old templates, mainly because for me to do it, I have to add the language variables to 16 languages. Not to mention the work involved in doing it how I would do it. So it is just easier for me to leave the templates how they are, but still keep them supported. They worked as epic file server templates in the past, they just lack these admin macros.  Nice that people like you can mod it, its just a 'template' after all.

RAWR-X is my next big project, once I get some time, but I fear I may have to get a second job to support my current one soon. That is life! lol.
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: CivicScootin on August 22, 2010, 12:15:12 AM
PM sent

Have an issue while trying to delete a file or folder...

PM explains the main issue however here are pics below of before and after trying to delete a folder..

Great job though Roessi as you included all that was missing from an already great template..

Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on August 22, 2010, 12:44:31 PM
Thx TSG :)
Thats true , this wold be too much work :)
maybe when i get some time i update the modules with own language files but atm i dont know where i should get this time ;)

Wow cant wait to see what this will bring to us :)
hope u find the time to handle with a great nedw project :)

Thx Civic:)
ummm i cant reproduce the problem, for me it all works :/
try to reload the template and replace the files there are 2 fixed bugs in the template and one in the module
maybe some of these did cause the problem :) if this doesnt work , can u send me the macros.log the i try if i find sth what causes the problem




Uploadfolders module Released (http://www.rejetto.com/forum/index.php/topic,9022.msg1051714.html#msg1051714)

Look at first Post
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: CivicScootin on August 23, 2010, 12:15:51 AM
ummm i cant reproduce the problem, for me it all works :/
try to reload the template and replace the files there are 2 fixed bugs in the template and one in the module
maybe some of these did cause the problem :) if this doesnt work , can u send me the macros.log the i try if i find sth what causes the problem
Every-time I reload the template all is normal until I try to delete a file or folder and the above still happens..
Then I reload the template with in HFS again and everything is fine until I (you guest it) try to delete a file or folder..
Could this just be due to trying to test this with in the same homenetwork?..

When you say replace the files do you mean replace the files with in the template or with in the HFS's root?

Also Ill be more then happy to send the "macros.log" however being a N00b I could use some help to find where this log file is located with in HFS..

Sorry for the dumb questions but I would really like to have this working as it has everything I can think of at this time..

Havent tested your new module that you posted above this post as of yet though..
As I thought it wouldent be needed for the issue I have at hand..

Thanks again and great work,
Civic/Scootin

EDIT:
Even having an issue where the default system icons that are with in my server are no longer showing ither..
Even with in the VFS with in HFS I have the "USE SYSTEM ICONS" however there not showing..
All thats showing is the icons that where supplied within the temple

EDIT II:
Had my buddy who is an admin on my server to check out the new template and mod as well..
Sure enough he is having the same issue as I am so I know its not a local network issue..

Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on August 23, 2010, 05:00:27 PM
Umm really weird :/

Did you had the files of the original rawr template before ? ^^
Re-Downloa (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.zip) the newest version of the template and replace the old ones :)


i changed my up in the newest version so the complete template is uploaded and not only the files , need to be modified

:)

Would be nice if you download it and try if it works now for you ;/

tested it again :/ deleting works for me
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: CivicScootin on August 23, 2010, 05:35:14 PM
Umm really weird :/

Did you had the files of the original rawr template before?

Would be nice if you download it and try if it works now for you ;/

tested it again :/ deleting works for me
Ya I find it odd as well also..
Wish others could test this besides me and post there results..
Even if it did work for others it would be nice to confirm it as it must be settings on my part.

Yes, I did have the original rawr template before..
However (as of late) Ive been testing with a fresh beta build (v#266) and test with newly installed rawr template every time I attempt to test your module..

Just tested your new build on my netbook (sense Im at work)..
However Im having the same issue..
This is with a fresh v#266 beta build and here is a screen shot of the results~

EDIT
NOTE:
The below pic was taken from the ROOT of my site..
However..........
If I where to advance in a folder (page in this case) all that shows is TRANSFERS & the UPLOAD tabs with the boxes still not showing on the right..

The issue must be with my settings or something within HFS if its not a module issue..
However-I would think that using a fresh build (Beta #266 in this case) thats never been touched would resolve this issue...
That is if my settings on my legit HFS server was the cause of the issue at hand..
This doesnt seem to be the case though..

ANY IDEAS ON WHAT I CAN DO TO TRY TO MAKE THIS WORK?..
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on August 24, 2010, 03:53:21 PM
hmmm atm i have no idea what could cause the problem O.o
could you set in hfs : menu -> debug -> enable macros.log and append macros.log
then load the template in hfs , load your site and try to delete sth. and then attach the macros.log :)
ill take a look on it :) maybe it will help us a little bit :)


In the next days ill add an new setting to the template so you can choose in the module settings where to display the module on the page (top,bottom,right) :)



Edit:

K got it ^^ setting position works for top , bottom , right  and left
just have to adjust the css settings but i must go now so ill do it tomorrow ;)
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: CivicScootin on August 24, 2010, 07:01:00 PM
Thank you for being patient on this issue Roessi..
As Im sure the template is fine..
I just must be doing something wrong on my end..

EDIT:

could you set in hfs : menu -> debug -> enable macros.log and append macros.log
then load the template in hfs , load your site and try to delete sth. and then attach the macros.log :)
ill take a look on it :) maybe it will help us a little bit :)
What do you mean by "Delete sth"?..
I have never seen STH found with in HFS..
Then again Ive never hard of "ATM" either (except for money withdraws)
Im taken it its abbreviation for something however I cant figure out what it would be..

Once I figure out what all of the above means Ill be more then happy to send the macros.log..
Plus if anything it would be nice if I could catch you on here Roessi as then I would give you the link to my server to test this in real time
(time permitting on your end of course)
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on August 26, 2010, 01:12:17 PM
No Problem :)

oh ^^ sry i automatically write things this way -.-
sth = something :P i just want you to try to delete sth with macros.log enabled , so i can see what happens :)
atm = at the moment ^^



RAWR-Template-0.1.3 - Module Mod Update
Changes:
rightDisplays the module on the right side
leftDisplays the module on the left side
topDisplays the module on the top
bottomDisplays the module on the bottom

Note:
at the moment you have to specify at least one option to have a module displayed, i will release an update as soon i get it to work that if you dont specify one position , right will be used as default.


Download at Release Post
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: CivicScootin on August 26, 2010, 10:45:50 PM
oh ^^ sry i automatically write things this way -.-
sth = something :P i just want you to try to delete sth with macros.log enabled , so i can see what happens :)
atm = at the moment ^^
Thank you for clearing that up..

Well I just tryed your new module that you posted above and now no modules are showing..

Funny thing is everyonce in a while when I reload your template & after clearing my cache in my Firefox browser the modules will show at times..
But of course at that time I do not have the macros.log enabled so no logs are filed..
However the main delete issue on my end is still found..

Whats weird now with your above module is now when the models do not show they REALLY DONT SHOW (see pix)..

I even tryed changed the layout for the modules for top,bottom,left & the default right.. Still nothing..
Only at times when ever the server feels like it - it will show the module boxes.. And only then its still a sometimes factor..

Ill try to get the log to ya one way or another..
I would give you a macros.log now however Im trying to find out whats going with the modules not showing at all now (Im sure its my doing)..

Ither way great work on the modules..
Sure wish others would post here on there outcomes to this mod..

NOTE: Pix below is once being logged in while the other is before login
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: rejetto on August 27, 2010, 12:58:59 PM
this looks like a very interesting project!
i love to see people exploiting the capabilities.
i'm currently in a rush because i have many old posts to read, but even from a very superficial look of it i can suggest an improvement:
you use file restrictions.txt  for options. Instead of having all options separated by pipes, give users something like this

# the module will only be displayed on pcs in the local network
local=0
# the module will only be displayed for users who are logged in
loggedin=1

With default values, and comments about it. You can {.load|var=X.} and {.from table|X|local.}

1. it's much more USABLE
2. it will let you have non-boolean options
3. you can discard file title.txt and put it as another line: title=Hello
4. i would rename the file to options.txt therefore
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on August 29, 2010, 05:00:15 PM
@civic:
umm k thats really weird :/ have no clue why the modules could show sometimes and sometimes not O.o
would be nice if you get to catch the moment where the modules shohw and could post the macos.log :)
hope well get that to work for you too :)
@rejetto
thx :) i put all me time i can spent on in it :)
i realized your suggestion after an hour of searching a nice way how to implent the new way how theoptions will be treated :)
and this got me even to the way that i finally could add a new option : path
you can now specify pathes/folders/subfolders where the modules only show in :)
thx :)

i have no time to release it properly now :) ill do this tomorrow
this is how the options.txt looks like now for example.

Code: [Select]
loggedin=1
notloggedin=0
position=right
plugin=0
onlylocal=0
off=0
keyallow=0
path={:/Music|/Misc|/HFS:}
title=Additional Functions
i added loggedin and notloggedin so you can choose for both if the modules get displayed:)
for position u can use right,left,top or bottom
plugin is the same just set it to 1 if its needed
local is changed to onlylocal if set to 1 module will only show on 127.0.0.1 , 192.168...
when off is set to 1 the module wont show
when keyllow is 1 the user or group has to have the modulename=1 in the notes . ill change it tomorrow that every module has an id . in this way the foldernames wont do anything if you change them to sort modules in  a different order:)
path : specify as many pipe seperated pathes in which of them  u want the module to be displayed.
title is the title of the module :)

if anyone wants to take a look at it : Rawr Template Modules Mod v.0.1.3.m.1.2 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.2.zip)

EDIT:
worked the whole night now till 7 am
Added a new option to the template:

pinned
the values can be 1 , 0 , always , never
if set to 1 the module will be pinned the first time if theres no cookie
if its set to always the module will always be pinned , if set to never the module will never be pinned.

and i changed the keyallow option
every module now has an id , u have to use for example mod.roessi.additionalfunctions=1 now in the notes sections to have a module displayed

and i made a new module to register new accounts
the options for the module are in the options.txt
and are :

enabled=true/false
member of=
notes=
access={::}
upload={::}
delete={::}

set enabled to true if you want the new account to be enabled by default
in the member of , specify groups u want the new account to be added to by default
in notes , set notes u want to have in a new created account
and for access,upload,delete , set the pathes the user has default permissions on , seperate the pathes with a pipe.

ill release everything properly the next days :) but now im too fucking tired to do anything else as sleeping ;)

here are the files :

-note : you need the lates version of the template to get the modules working , cause they have all changed :)
btw. all modules are included in the zip file and turned on
except the uploadfolders plugin this is turned off by default :)
mod_additionalfunctions.zip (http://rawrmodulemod.googlecode.com/files/mod_additionalfunctions.zip)
mod_register.zip (http://rawrmodulemod.googlecode.com/files/mod_register.zip)
mod_upload.zip (http://rawrmodulemod.googlecode.com/files/mod_upload.zip)
Rawr Template Modules Mod v.0.1.3.m.1.3.zip (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.3.zip)

and now i go to bed.
Roessi
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: TSG on August 30, 2010, 06:02:44 AM
worked the whole night now till 7 am

;D welcome to my world.
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: rejetto on August 31, 2010, 09:39:21 AM
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.
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on August 31, 2010, 03:19:38 PM
;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 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.4.zip)

Edit:
Updated the Release Post
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Lagger on September 01, 2010, 05:20:25 AM
;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 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.4.zip)

Edit:
Updated the Release Post



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

(http://i89.photobucket.com/albums/k227/kkqqo/m14.png)
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on September 01, 2010, 08:22:26 PM
uhh thx ill take a look on it O.o
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on September 10, 2010, 05:24:33 PM
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 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.4.zip)
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: strigoy on September 14, 2010, 01:45:50 AM
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!
Title: Re: Rawr Template 0.1.3 - Modules Mod Release 4
Post by: pascal02 on September 28, 2010, 11:44:06 AM
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
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: SilentPliz on September 29, 2010, 03:59:10 PM
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.}:}.}:}
.}


:}.}


:}.}
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on October 01, 2010, 02:41:52 PM
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 -.-
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: SilentPliz on October 01, 2010, 02:57:29 PM
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.}
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on October 02, 2010, 04:19:04 PM
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
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: SilentPliz on October 04, 2010, 02:24:43 AM
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. ;)
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Ranger on November 12, 2010, 07:24:31 PM
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)
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Asif Sajjad on November 17, 2010, 07:59:01 PM
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
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on November 30, 2010, 04:04:25 PM
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 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.5.zip)

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 :/
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Rome on December 07, 2010, 03:11:57 AM
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=$$$
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Quarter on December 26, 2010, 09:15:50 AM
The Additional Functions Mod does not seem to work probaply ...
When i try to delete or rename a folder i get redirected to the template folder and the folder still exists or does not got renamed :(
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on December 29, 2010, 05:31:21 PM
Ill give it a Look when in back at my pc
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Quarter on December 30, 2010, 12:07:46 PM
BTW could you add a function for settings comments on files or files :) this would be nice.

and i found my problem on the false redirection.

i tried to add a comment function and somehow i removed lines im not allowed to :P
i just recovered the zip file contents and all is fine.
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on February 03, 2011, 11:59:56 PM
=) this is a nice idea
ill try to do this as soon as possible =)
just have to think about a smooth way to get the comments deleted when the file doesnt exist anymore
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Sakanade on February 05, 2011, 11:22:20 AM
    Roessi, many thanks to you for work! Forgive for my English)
There is a request to you. It is all it will be useful.
 ---(Rawr Template Modules Mod v.0.1.3.m.1.5)---

1) I Have found an error: By default all is good, but
If any module
(mod_additionalfunctions,
mod_register,
mod_shoutbox,
mod_statistics,
mod_foldertasks)
To put at the left (position=left), the module "mod_foldertasks" - Advanced Search.... Too always at the left also doesn't work!

 Please correct and lay out a template  /-_-/

   1
(http://s43.radikal.ru/i101/1102/49/479846bd891ft.jpg) (http://radikal.ru/F/s43.radikal.ru/i101/1102/49/479846bd891f.jpg.html)

   2
(http://s016.radikal.ru/i337/1102/f6/8960d0d24f5et.jpg) (http://radikal.ru/F/s016.radikal.ru/i337/1102/f6/8960d0d24f5e.jpg.html)

   3
(http://i042.radikal.ru/1102/a7/cea3c9333e83t.jpg) (http://radikal.ru/F/i042.radikal.ru/1102/a7/cea3c9333e83.jpg.html)

2)   Roessi, wishes still. It very much will improve Rawr!
 a) Earlier in a template was Highslide JS, now he isn't present (. (On a clique increase and image curling)
 b) you Can make a photo of a preview of files of pictures as in "Live"

(http://s008.radikal.ru/i303/1102/b9/71fdf4bdfa1bt.jpg) (http://radikal.ru/F/s008.radikal.ru/i303/1102/b9/71fdf4bdfa1b.jpg.html)

 c) Whether it is possible to make in Rawr transition on pages (it is admissible 10 files/folders-new page) - for example:

(http://s45.radikal.ru/i107/1102/60/97f4d21232a6t.jpg) (http://radikal.ru/F/s45.radikal.ru/i107/1102/60/97f4d21232a6.jpg.html)

Help please! New version 1.6)))
Thanks.
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Azumanga on February 05, 2011, 11:26:06 AM
Sakanade = It i Azumanga))
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Kieren on April 19, 2011, 10:44:25 AM
Hello,

Just wanted to say that this is brilliant the themeing and the mods on letting the user change to the password.. Had to alter the code alittle bit so that the user didnt change their username. But am wondering if anyone out there would beable to help out with this issue im currently having.

When the user first logs in to the broswer credtials that are first assigned within HFS work ok. Username/ Password seem to work fine, however when the user tries to change the password, it goes directly to the ~\template\rawr_default\modules folder, and than comes up with the user promt to enter their details in again. But, when the user tries to input the new password it doesnt let you in, and also when you try to use the old password it wont work either. I have noticed as well the stylesheet doesnt always load up properly, or not at all, which is very strange as the internet speed here is meant to be the quickest connection at the moment during the upload while a new or old user is browsing the url..

FYI; I have altererd the code alittle to remove registration on the RAWR_DARK theme as well as the options to change the username, however the rest of the code should be original. I'm not sure in the code of those modules if theres something dynamic to the other modules or if they link together.

Any help with this issue is GREATLY apprecitated, as this FTP software is one of the better ones I have tried. 

~Also just a quick general question, for some reason I am not able to view any of the www.rejetto.com domain though a Windows Seven computer, however when logged onto my FTP Server running WinXP Pro I am able to view this website. I have done a small amount of diagnostics including checking AV firewalls etc as well as trying to ping to the domain on the Win 7 Machine with no luck, however I am able to ping from the XP Machine with no worries.. Very very strange. If any one knows I would really like to know, but this is not really importan as I am able to access this through the XP Machine..

Thank-you
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: rejetto on April 20, 2011, 08:15:19 AM
i have Win7 and no problems browsing rejetto.com
no idea, sorry
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on July 05, 2011, 11:09:13 PM
Hey had a little time again ^^

Changes:

fixed redirect when changin password
fixed searchbox being displayed wrong if any modules set to left position
changed additionalfunctions module so you can set per user setting whether can change password/name or not if canchangename is set to 0 in options



k Kieren =) the password thing should work now this was caused by an wrong(old) entry in the action field of the form^^
and to not let users change their name/password you can set in the options.txt of the module changename/changepass to  0

if some users shall be able to change it then just add an note in the form
canchangepassword=1
canchangename=1
to their notes field


@Sakanade

i'll try to to the preview and pages as soon as i can
but i had just the time now to fix the searchbox



Rawr Template Modules Mod v.0.1.3.m.1.5.1 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.5.1)
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: dennisymb on August 15, 2011, 08:38:38 AM
Why I can't enable the modules?
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: MogepaTop on September 27, 2011, 11:14:09 PM
I'm with HFS 2.3 Build 279 and I can not launched modules  :-\ :-\ :-\
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on February 27, 2012, 10:57:20 AM
sry to let u all wait this long =/ but as always i just have little time ...

i got an mail , regarding problems with the modules not working under hfs > 266
i downloaded the latest beta again ( my pc is down, have to use my sisters laptop )
and the template ( 0.1.3.5 ) cant unpack the latest ^, i just realized its not a zip container o.O ( sry for thta - gotta wait until i can install 7zip )

and for me everything works fine, i need mor detailed infos whats not working , or the macros.log

( i just added the template folder to hfs as an real folder and load the templat itself
then it should work [ if you see the foldertasks and statistics then the modules work and the other modules are either disabled or display only when loggedin ... just check /template/rawr_default/modules/MODULEFOLDER/options.txt )

i hope i can answer some questions =/ and if sths not working mail me ill try to give it a look , but for me everything works fine on an laptop with fresh hfs and template downloaded


i added a new module for loading rss feeds as i was asked for by mail
( its not releasable yet but it works )

and for this to work prperly i also added a "headerscripts.txt" to the modules
so if necessary u can load javascript in  the html header , just put code in the file ( enclosed with <script> tag )
(http://img401.imageshack.us/img401/3844/feedtest.jpg)


Do you want an rssfeed module where you can set feed urls in sections ? and how should the output be ? like a newsticker or as a lst or output options like "mode 1 mode 2 ... " =) any ideas ?
=)
roessi
and i just want to let u know im trying to work on this project
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on March 04, 2012, 10:50:34 AM
1.5.2: Rawr Template Modules Mod v.0.1.3.m.1.5.2 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.5.2.zip)

K got an macros.log on which i could take a look on
and it seems the problem causing the modules not to display is the {.dir.} function which just dont return anything
therefore the other scripts dont know the list of modules and they can't be loaded
( as said on my laptop it works fine with 279 , others seem to experience this problem since 267  )
as i have no idea why the dir function isnt working you can try to workaround this
by replacing ling 59 :

modules={.dir|template/rawr_default/modules/|separator=;.}
with
modules=mod_additionalfunctions;mod_foldertasks;mod_register;mod_shoutbox;mod_statistics;mod_upload

then it should work again but it doesnt load new/other modules automatically

if anyone has an idea why this isnt working , please tell me =)
thx

Edit:
Update - got the template to load the headerscripts properly , only if the module has permissions to show/load the headerscripts will be loaded

-- rss module should be finished the next days along with an updated template

until the dir function is working again i will put a simple check whether it returns anything or not , if not the modules will be loaded from a static list of modules , so if for u the function doesnt work , u have to edit the template if any new modules have been put in the modules folder

update2 - wrote a simple qr code module using the qrtag api which displays the current url as an qr code,

update3 - k the rss feed module is working now, the updated template is finished and should be working again =)
              
               i also added the ability to load code into the quickclm of the template , so you can add buttons through modules in a simple way , placeholder like %mod-iu% and %mod-in% will be replaced by the item name/url of the file entry so you can interact with the module through buttons with js or so

the qr module uses this and gives any entry an button which then , when preswsed, displays a qr-code with the link to the file , se screenshot

(http://img339.imageshack.us/img339/8770/screnq.png) (http://imageshack.us/photo/my-images/339/screnq.png/)

ill upload the new template tomorrow
#


-- here it is:

Rawr Template Modules Mod v.0.1.3.m.1.5.2 (http://rawrmodulemod.googlecode.com/files/Rawr%20Template%20Modules%20Mod%20v.0.1.3.m.1.5.2.zip)
Roessi
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: crazyboris on March 13, 2012, 07:29:40 PM
very nice!!
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: Roessi on March 14, 2012, 10:24:02 AM
Thanks :)
I appreciate it :)
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: calamaro on March 22, 2012, 08:10:00 PM
There's a bug on the mp3 player, with this template i can't use player commands. Someone has found a fix?

Edit:

I've found how to fix it. The issue is more relevant on safari.
Title: Re: Rawr Template 0.1.3 - Modules Mod Release
Post by: shadowtheultimate on October 22, 2012, 05:32:27 AM
Can anyone tell me how to add these mods to the template? I cant seem to figure it out =\

Thanks!