Multiple file module....

Back to Module Development

Page: 1  
From User Message Body
Addramyr
Post #316
user avatar
Member
Date: 5:30 pm, Aug 15 2006
Posts: 43


Hi all, i have a module that is currently near 2,000 lines, with various access levels etc. what i want to do is move each access level into its on dependant file, to keep it clean an easy to do, i have tried several methods of doing this but to no avail :(, does anyone have any idea that might help me on this....

File Layout:
/modules/ulandaserv/ulandaserv.php
/modules/ulandaserv/access10.php
20 - 30 - 40 - 50 - 60 - 70 - 80 - 90
/modules/ulandaserv/access100.php

___________
Addramyr
CEO Skieweb Technologies
http://wwww.skieweb.com
Manick
Post #317
user avatar
Admin
Date: 8:56 pm, Aug 15 2006
Posts: 223


Figure it out? I think juice was telling you some stuff over msn...

--Manick
PHP-IRC Developer
Addramyr
Post #319
user avatar
Member
Date: 1:46 pm, Aug 16 2006
Posts: 43


dont worry... got it :)

___________
Addramyr
CEO Skieweb Technologies
http://wwww.skieweb.com
dracozny
Post #763
Member
Date: 7:57 am, Jul 22 2008
Posts: 30


can we get an example to this?
I thought I had a clue but cant seem to get past
Code
Fatal error: Call to undefined method 




aragno
Post #888 - Reply to (#316) by Addramyr
Member
Date: 10:47 am, Dec 28 2008
Posts: 15


I'd love to see how you manage the access part.

* How you let ppl log in
* How you check that a person is logged in when trying to use a command

Any chance you would make some part of the mod available so this part could be reused for other things?

// aragno

you'll find me in #5thelement on netgamers
   

Back to Module Development