Author Topic: Live 3.0.1 Module mod - Release 0.3  (Read 6305 times)

0 Members and 1 Guest are viewing this topic.

Offline Roessi

  • Tireless poster
  • ****
  • Posts: 107
    • View Profile
Live 3.0.1 Module mod - Release 0.3
« 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




 <- 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


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?
« Last Edit: March 27, 2012, 12:24:00 PM by Roessi »

Offline Korumera

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #1 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?

Offline Чур

  • Occasional poster
  • *
  • Posts: 67
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #2 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
Thank you!
_____________

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

Было (There was)


Надо (It is necessary)

Offline Чур

  • Occasional poster
  • *
  • Posts: 67
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #3 on: March 22, 2012, 03:42:00 AM »
Update
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"/>

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


Offline Roessi

  • Tireless poster
  • ****
  • Posts: 107
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #4 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 :)

Offline Чур

  • Occasional poster
  • *
  • Posts: 67
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #5 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"/>

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

* 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. :'(
« Last Edit: March 22, 2012, 03:46:38 PM by Чур »

Offline Чур

  • Occasional poster
  • *
  • Posts: 67
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #6 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?

Offline calamaro

  • Occasional poster
  • *
  • Posts: 2
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #7 on: March 22, 2012, 08:07:37 PM »
The additional functions module doesn't work if i disable rss

Offline Roessi

  • Tireless poster
  • ****
  • Posts: 107
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #8 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
« Last Edit: March 23, 2012, 12:17:39 PM by Roessi »

Offline Чур

  • Occasional poster
  • *
  • Posts: 67
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #9 on: March 26, 2012, 04:33:01 AM »
to move the rss feed down you have to move
...


Thank you!


Offline MelkiyProd.

  • Occasional poster
  • *
  • Posts: 69
  • Languages: English, Русский, Українська.
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #10 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.
« Last Edit: March 26, 2012, 08:06:27 PM by MelkiyProd. »

Offline Roessi

  • Tireless poster
  • ****
  • Posts: 107
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.3
« Reply #11 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

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:




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
« Last Edit: March 27, 2012, 11:26:51 AM by Roessi »

Offline MelkiyProd.

  • Occasional poster
  • *
  • Posts: 69
  • Languages: English, Русский, Українська.
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.2
« Reply #12 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. :)
« Last Edit: March 27, 2012, 07:34:51 AM by MelkiyProd. »

Offline Roessi

  • Tireless poster
  • ****
  • Posts: 107
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.3
« Reply #13 on: March 27, 2012, 02:45:03 PM »
Link is there :)
And Thx for the Info in the New hfs:)

Offline MelkiyProd.

  • Occasional poster
  • *
  • Posts: 69
  • Languages: English, Русский, Українська.
    • View Profile
Re: Live 3.0.1 Module mod - Release 0.3
« Reply #14 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 :)