rejetto forum

New Module System for Rawr-Template

Roessi · 32 · 12587

0 Members and 1 Guest are viewing this topic.

Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
@gio attached your zip file. changed the parts that were only in german ^^ sry....
but err i dunno why the module doesnt show up for you O.o for me its beeing displayed at the bottom O.o

but atm im trying on a new module to change password create folder rename and so on....
you could try again the template and see if it loads the module O.o if not attach the macros.log pls :)
« Last Edit: February 13, 2010, 02:35:05 PM by TSG »


Offline Gio

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
It's still not working...I don't know why. Moreover, I see only the directory window, but not the statistics, sutbox, etc.
I attach the log and a snapshot.
Thanks
« Last Edit: February 18, 2010, 06:36:18 PM by rejetto »


Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
omg stupid xD
... sry i think its my fault

exctract the attached zip into the template folder :)
so its
template/functions/...


Offline Gio

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
Wow, now it's working!
Just a remark: the connection is extremely slow respect to the standard template configuration. Do you know why?
Thank you.



Offline Gio

  • Occasional poster
  • *
    • Posts: 24
    • View Profile

Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
umm
for me it makes no noticeable difference using the standard or the modified template


Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
Finally i got it :) and the modules will be loaded automatically :)

to get restricitons work theres now another txt file inside a module : restrictions.txt .
this is the file u can change in existing modules to change the behaviour od the module . :

u can use :

local
      -> the module is only displayed if the ip matches a local ip.
off
     -> the module isnt displayed at all.
loggedin
     -> the module is only displayed to logged in users.
!loggedin
     -> the module is only displayed to not logged in users ( could be used for a registration module )
keyallow
    -> the module is only displayed if a user or a group the user is member off has a key in the notes section with mofulefoldername = 1 (f.e.   mod_foldertasks=1 )

plugin
   -> the module is loaded anyway but not into a table only the modcontent.txt content is going to be loaded ( if u just want to use the module for executing macros or sth.)


i currently did not thought about a nice solution to sort the modules so for the moment u have to name the module folders like
a_mod_foldertasks if u want the foldertask module to be displayed first :)

attached :
everything u need to use it if u use the rawr templatet :) if not first download the rawr template and replace everything with the content of the archive ;)
just extract it to the hfs root folder :)



..............


everyone is free to use it :)

but now since everythings loading automatically and hfs has even mor macros to handle  i have to say that i notice a lil speed slow down :) EDIT: " xD forgot to turn macros.log off :P now no slow down noticeable for me ^^"but just take a look at it :)
if you find mistakes or things which could be improved :) pls post

roessi



edit : attachment is on first post ->
« Last Edit: February 13, 2010, 07:50:17 PM by Roessi »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
Haha! I tried to find with my mouse a hidden link in the message.

I thought it was a joke !

 ;D ;)


Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
xD
wth why always do such things happen to me :P
now files attached


Edit:

Quote
you had better attach it to the first post  :P
done  :P
« Last Edit: February 12, 2010, 12:33:03 PM by Roessi »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
new version :P

lil fix so you can use %modulename% in modules which will be replaced by the name of the module / modulefolder


attached at first post


Offline Gio

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
@rejetto. Please, can you delete my attachment "macro.log" posted on reply #16, 11th of February?
Thank you


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile