rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: Roessi on March 12, 2012, 05:12:54 PM

Title: Live 3.0.1 Module mod - Release 0.3
Post by: Roessi on March 12, 2012, 05:12:54 PM
 Update
K got it to work, the modules load now all
+ added an rss reader module
+ added loggedin and notloggedin option
- changed additional functions module so parts will only show with permission
-some fixes
Live-3.0.1-m.0.2.zip (http://rawrmodulemod.googlecode.com/files/Live-3.0.1-m.0.2.zip)




 <- theres still a serious bug causing the whole modules not to load if there's more then one
:D haha ^^
But it's just a single | which is in the module list at the beginning , therefore every if function and then for each etc fails :) should be possible to fix till tomorrow
Then I'll make a rss module and a qrcide :)

Anyway the template works if it's only one module

There you go :
Live-3.0.1-m.0.1.zip (http://rawrmodulemod.googlecode.com/files/Live-3.0.1-m.0.1.zip)
(http://img217.imageshack.us/img217/3844/feedtest.jpg) (http://imageshack.us/photo/my-images/217/feedtest.jpg/)

I just wanted to say I'm stopping the work with the rawr template
And try to write a mod for the live template
(have to see how jquery works :/ haven't done a thing yet with jquery)
Progress so far :
Checking all module permissions will be done on the beginning - works
After that a list with modules will be set - works
( currently there's only the off option but options can be added simply
All the modules are stored then in JavaScript objects
And will the be shown on mouseover on an <a>
Tag in the header span in a div below using jquery - works

now I have to get an idea on how to process the submission of forms
To execute serverside scripts through modules
But I think I'll just load an post.txt file from every template in the standard section
Which autochecks if a postvar with the moduleid is given,
Then executes the serverside script and optional creates an HTML file with a response
Which then will be loaded using jquery

 <- submitting a form works now and only the part of the module gets loaded and executed =)

After this the only thing left is writing the modules ( and maybe sometime extend the module system for more functionality)
  <- now only some minor things have to be done,i think ill write a change password module first
       <- k :P it works all pretty well , i nearly can copy the modules from the other template
              ofcourse the layout and css has changed but thist should be a minor problem, some things could be optimized cause i can now use jquery to do some things =) i'll try to port the additional functions module tomorrow =)

Forgot to say I still have to let the template process the macros from the modules
But this should be easy to do, I think it will do it if
Store every content of a module in a single var
 <- done

 
Does even anyone want a module system for the live template?
Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: Korumera on March 20, 2012, 11:17:54 PM
I'll give this a try, on the moment i'm running a modified version of the chicking thingy and it runs fine, but because of the load lagunage it trickers a memory leak. is it posible to remove the way it loas a langauge and just make it english?
Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: Чур on March 21, 2012, 02:08:51 PM
Update
K got it to work, the modules load now all
+ added an rss reader module
+ added loggedin and notloggedin option
- changed additional functions module so parts will only show with permission
-some fixes
Live-3.0.1-m.0.2.zip (http://rawrmodulemod.googlecode.com/files/Live-3.0.1-m.0.2.zip)
Thank you!
_____________

Как опустить RSS?
What lower RSS?

Было (There was)
(http://f10.ifotki.info/thumb/c43c9b922ac2438d2b47203cc7dd41d76d5789114998687.jpg) (http://ifotki.info/10/c43c9b922ac2438d2b47203cc7dd41d76d5789114998687.jpg.html)

Надо (It is necessary)
(http://f10.ifotki.info/thumb/f7ff3d0254aa306214ab58810117e9216d5789114998687.jpg) (http://ifotki.info/10/f7ff3d0254aa306214ab58810117e9216d5789114998687.jpg.html)
Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: Чур on March 22, 2012, 03:42:00 AM
Update
Live-3.0.1-m.0.2.zip (http://rawrmodulemod.googlecode.com/files/Live-3.0.1-m.0.2.zip)



Language problem
Языковая проблема. Если в названиях папок есть русские буквы, выдает абракадабру.

Has Corrected in code of the file .tpl thereby
Исправил в коде файла .tpl таким образом.

There was:
Было:

Code: [Select]
{.$foot.}

[folder]

<div class="item folder {.if not|{.or|{.get|can archive.}|{.get|can delete.}.}| off .}"
item-access="{.if|{.get|can access.}| You can access this item! | This item is protected. .}"
item-added="%item-added%"
item-dl-count="%item-dl-count%"
item-comment="{.replace|>| &gt; |<| &lt; |"|&#34;|%item-comment%.}">
<a href="%item-url%" title="Click to Enter">
<img src="/template/{.!theme.}/images/icons/folder.gif" alt=""/>
{.if|{.get|is new.}|<img class="new" src="/template/{.!theme.}/images/new.png" alt=""/>.}
</a>
<div><a href="%item-url%" title="Click to Enter">%item-name%</a><span>%item-added%</span></div>
</div>

[link]
...

Corrected:
Исправил:

Code: [Select]
{.$foot.}

[folder]

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

<div class="item folder {.if not|{.or|{.get|can archive.}|{.get|can delete.}.}| off .}"
item-access="{.if|{.get|can access.}| You can access this item! | This item is protected. .}"
item-added="%item-added%"
item-dl-count="%item-dl-count%"
item-comment="{.replace|>| &gt; |<| &lt; |"|&#34;|%item-comment%.}">
<a href="%item-url%" title="Click to Enter">
<img src="/template/{.!theme.}/images/icons/folder.gif" alt=""/>
{.if|{.get|is new.}|<img class="new" src="/template/{.!theme.}/images/new.png" alt=""/>.}
</a>
<div><a href="%item-url%" title="Click to Enter">%item-name%</a><span>%item-added%</span></div>
</div>

[link]
...

* Has added in line № 293 such line:
* Т.е., добавил в строку № 293 такую строчку:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

Сейчас русские буквы нормальные (http://109.87.137.103/BOOKS/), но надо ещё проверить с других компьютеров.

Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: Roessi on March 22, 2012, 11:09:42 AM
Thx :)
I'll add it :)
And about the Rss Feed , i think ill do an Position Option too to display Modules either at the Top or bottom :)
Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: Чур on March 22, 2012, 03:38:27 PM
Language problem

* Has added in line № 293 such line:
* Т.е., добавил в строку № 293 такую строчку:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

Сейчас русские буквы нормальные (http://109.87.137.103/BOOKS/), но надо ещё проверить с других компьютеров.

* Has added in line № 293 such line:
* Т.е., добавил в строку № 293 такую строчку:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>


Ерунда какая-то. Это не правильно. Не знаю, почему оно работает, но так не правильно.

О том, как оно работает.

Я создал аккаунт администратора и зашел с прокси на свой комп. Ввёл пароль как администратор и буквы снова превратились в абракадабру.

Рано говорить, что это работает.  :'(

=== English ===

Nonsense. This is not correct. I do not know why it works, but it is not correct.

About how it works.

I created an administrator account and went to the proxy on your computer. Introduced as the administrator password and the letters again turned into gibberish.

Early to say that it works. :'(
Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: Чур on March 22, 2012, 03:42:48 PM
And about the Rss Feed , i think ill do an Position Option too to display Modules either at the Top or bottom
Вопрос не в том, надо это делать или нет в шаблоне.
Вопрос в том, как это сделать в принципе?

============

The question is not whether it is necessary to do so or not in the template.
The question is how to do this in principle?
Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: calamaro on March 22, 2012, 08:07:37 PM
The additional functions module doesn't work if i disable rss
Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: Roessi on March 23, 2012, 12:12:22 PM
to move the rss feed down you have to move
Code: [Select]
{.if|{.^pluginstoload.}|{:
<div id="plugin-container">


{.for each|#module|{.^pluginstoload.}|{:
{.^#{.^#module.}.}
:}.}

</div>
:}.}

this code fromline 234 to line 285

above the footer div


and about the additional functons mod , not working when rss is disabled ,
are you sure u are logged in , it just displays for loggedin users ,
because for me it works , i just gave it a try

and there is a bug in the rss feed ... if you swith to another tab for some time and then switch back, the vticker scrolls superfast for the time you werent on the page , but i think its a problem of vtivker, not sure what i can do about it
Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: Чур on March 26, 2012, 04:33:01 AM
to move the rss feed down you have to move
...


Thank you!

(http://politicon1.at.ua/sml/az.gif)
Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: MelkiyProd. on March 26, 2012, 06:46:00 PM
Please, will finish work also on blue template, and add please bar for change language.
Accounts don't have access to "can change password" group, but they all the same have access to change password, also everybody can create folder on my computer.
And fast disappears menu, i don't have time to enter data.
Title: Re: Live 3.0.1 Module mod - Release 0.3
Post by: Roessi on March 27, 2012, 05:36:25 AM
Finally i got everything to work again ^^ had some weird problems with one postvar, dunno what happened, but i tested everything now i think and it should work , let me know about bugs =)
yout have to set the admingroup in the template options, (edit template)
to your admin group
i'll def go for the 'new' hfs version and try to modify e.g the user permission within the template to work better with it =)

Live-3.0.1-m.0.3.zip (http://rawrmodulemod.googlecode.com/files/Live-3.0.1-m.0.3.zip)

K have some fixes:
-red/blue css has been added
-fixed additionalfunctions module, change pwd and mkdir only works with the right to do so now
+new admin module

with the admin module you can add folders to the vfs of hfs
you can change some flags of the current folder
as well as the access upload delete permisions
and you can execute any macro but just take a look
and say if u got any more ideas for this, just thought some hours ago about why
not making sth like this and just started without a plan but look for yourself:

(http://img196.imageshack.us/img196/3844/feedtest.jpg) (http://imageshack.us/photo/my-images/196/feedtest.jpg/)


but before i upload it ill have to make the serverside permission checkings sure, =) havent done ot yet, just testin if it works =)
but everything works til now and now i go get some sleep

ill do a simple check if the user is in a group called admin, / ill add an group option to the module, so you can specify the group in which the user has to be

@melkiyprod
there you go,
but i dont think the live template has languages ? dunno, if not, i cant really do sth about except maybe writing a googletranslate module or sth like this
and the permissions have been fixed, it was an and to much in the mkdir alias and i used one time {.can change password.} and the other time can change pwd, couldnt even work ^^ thx for the report

the menus shouldnt disappear if you move your mouse over a module within 0.5s until you move it out again,
sometimes its a bit buggy , maybe i'll change it so it opens/closes on clicking and not on hovering
Title: Re: Live 3.0.1 Module mod - Release 0.2
Post by: MelkiyProd. on March 27, 2012, 06:45:58 AM
I'll wait link  :)
And look for - http://www.rejetto.com/forum/index.php/topic,10242.0/all.html.
This new version, and also new rules for accounts. Old rules are working. :)
Do not create bar of Google Translate plz :). I be translate template. :)
Title: Re: Live 3.0.1 Module mod - Release 0.3
Post by: Roessi on March 27, 2012, 02:45:03 PM
Link is there :)
And Thx for the Info in the New hfs:)
Title: Re: Live 3.0.1 Module mod - Release 0.3
Post by: MelkiyProd. on March 27, 2012, 04:02:15 PM
Link is there :)
And Thx for the Info in the New hfs:)

Bad work js show picture :)
Title: Re: Live 3.0.1 Module mod - Release 0.3
Post by: Roessi on March 27, 2012, 04:05:14 PM
Oh i didnt Even thought about that. (previewing Images And stuff)

I'll Give It a Look later
Thx
Title: Re: Live 3.0.1 Module mod - Release 0.3
Post by: Roessi on April 03, 2012, 01:52:33 PM
Sry that i have made no Updates in the past days, but a friend of mine commited suicide :(
But I'll be back on fixing in a few days
Greets




Title: Re: Live 3.0.1 Module mod - Release 0.3
Post by: makridis on April 03, 2012, 03:25:49 PM
I was about to thank you for you work and ask if you could fix the thingy with the images not appearing correctly (in preview mode). Truly sorry to hear this about your friend...
Title: Re: Live 3.0.1 Module mod - Release 0.3
Post by: MelkiyProd. on April 03, 2012, 04:14:48 PM
Sry that i have made no Updates in the past days, but a friend of mine commited suicide :(
But I'll be back on fixing in a few days
Greets

omg, sad when friend goes away to peace other
Title: Re: Live 3.0.1 Module mod - Release 0.3
Post by: Roessi on April 10, 2012, 03:28:31 PM
Update
Idea for a usermanagement module :

[] Use jquery to update the modules conten when a change occurs in the user select list . ( when changed current calues will be written to the previous seleceted object then values from the new selected will update the content.
[] Write the html layout
[] passing over to the server (post ) and updating users
[] serverside permission check (only when loggedin as admin anything at all  will be passed over to the client )
[] function to create new users & delete selected
[] funtion to set new password ( the old passworld itself will not be passed to client )

If you have any other ideas let me hear =)

Quote
omg, sad when friend goes away to peace other

Quote
I was about to thank you for you work and ask if you could fix the thingy with the images not appearing correctly (in preview mode). Truly sorry to hear this about your friend...

Thanks =)
Yea its truly sad =/ and in the first moment hard to realize hes really gone, but life has to go on without him
RIP he really was a nice friend =)


But to let you hear i found the error with the images :D
just change the jquery version back to 1.4.2 on line 142 (haha ^^)
topup doesnt work with 1.6, the image in the te_content row doesnt gets is width and height set therefore it looks like this, but fixing the topoup plugin would be quite hard with my lack of jquery experience

so it hsould work everything with jquery 1.4.2 =)

Btw, where do i cahnge the language of the nwe hfs to english ^^
its a bit weird to work with it in french =)