rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Ryan J on January 02, 2009, 11:02:03 AM

Title: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 02, 2009, 11:02:03 AM
I have made an admin panel that can go in any template.
With the admin panel you can: create new users, change users' passwords, enable/disable the "no limits" function, enable/disable accounts and allow users to access/upload/delete a folder of choice - all remotely!
For security I have added a function that only allows 1 certain user to access this panel-instructions are provided to change this account.
You are welcome to edit the code as much as you like as long as you post a copy here so I can improve my code.
To access the admin panel add: ~adminpanel to the end of your address (e.g http://localhost/~adminpanel)
I have included the Admin Panel in all the RAWR Templates, tested and uploaded them here.

Enjoy!
Ryan J
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: scgdavis on January 02, 2009, 02:30:23 PM
that sounds awesome!
how can It be integrated into TOG4.01??
a simple copy paste did not work.
Thanks!!!!!
 ;D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: r][m on January 02, 2009, 07:39:05 PM
I get the Administration Panel page but when I click on any of the 4
links I get the insufficient privileges - "you must be an admin" page.
I changed all instances of the
Code: [Select]
{.if|{.%user%=admin.}|
To be =my user name.
Is this code OS specific? I'm using an older version of windows on my
server machine. If so, can you advise on how to modify to work around this ?
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: bigdady on January 02, 2009, 09:12:28 PM
very handy feature. thanx. good work
I did it and it works, but there is a problem with Enable/disable a user accunt. it does'nt work.
I creat a accunt and then want to disable it, but nothing happen.
I have also a request. If I creat a new accunt, and my virtuel file system is protected ( just allowed users can see items ), how can I map new user to a file directory(folder).
is it possible under creation a new accunt, can admin see and choose folder avalable in HFS.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 02, 2009, 11:07:24 PM
Quote
that sounds awesome!
how can It be integrated into TOG4.01??
a simple copy paste did not work.
Thanks!!!!!
  ;D

Here you go - all I did was copy and paste the adminpanel document under the line:
Code: [Select]
{.!lv_unauthorizedError.}<br/><br/>Tested and working ;)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TEA-Time on January 03, 2009, 12:50:23 AM
Hi Ryan,

Sounds really cool, but I get a 0 byte Zip file when I try to download it.

I tried your modded TCOG template, but I don't know how to get to the admin panel without the docs in the Zip file. ;)


Edit: Aha!  I figured out how to get to the ~adminpanel. ;D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 03, 2009, 05:47:04 AM
Sorry I should have mentioned it in the main post.
Will edit now ;)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 03, 2009, 05:48:10 AM
Sorry for the 0kb download-will post again when I get home :D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: bigdady on January 03, 2009, 10:54:23 AM
Hello Ryan J
I tried to enable or disable a account again.
if an account is disable, you can active it, but if you want to disable an active account, it is not possible. please help
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 03, 2009, 03:45:43 PM
Hi Ryan J!

Very nice idea your administration panel ... We look forward to following.  :P
"mars" also working on a similar feature ... This promises good templates, this year...

I put your changes in a modified version of rejetto template.
This template already benefit of some changes.
(delete function "slowly" improved,  thumbnails,... and even the comments with the uploads...  only with the French version of hfs.exe).
And cherry on the cake, ;D it is bilingual English-French.
To use it in French, just remove the line:

Code: [Select]
[Remove entierely this line for use this template in french language]
Otherwise, I just changed the look of the Administration panel and I added some shortcuts, perhaps more practical.


After the Alpha version, I expect the Beta version.  ;)

...Soon...
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: r][m on January 03, 2009, 05:22:29 PM
Tried your recent update. Still doesn't work here, nor does the default
template mod.
I get the "you must be an admin" page.
Anyway, thanks for the effort.
Oddly, your first post
http://www.rejetto.com/forum/index.php?topic=6492.msg1039460#msg1039460
to just change user password does work. I may be able to add the other sections
so that it will work on older computers used as NAS, and webservers.
Or perhaps the Mars version will solve this?
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TEA-Time on January 03, 2009, 08:07:57 PM
(using beta build 218)

Disabling accounts doesn't work for me either.  In fact, if I disable an account from inside HFS and then go through the motions of trying to disable it (again) through Admin Panel, it actually gets re-enabled. :-\  Is this maybe a bug in HFS?

The bulk of the contents of template files is still a mystery to me, but I *think* I manged to change the command after a new account is created to set it to be disabled as a test, but it still ends up enabled.  Here is what I changed:

{.set account|{.^accountname.}|enabled=true.}

to:

{.set account|{.^accountname.}|enabled=false.}

:-\

Also, I believe there is a typo in the following line.  In the parenthesis after "false", shouldn't it be "without quotes" instead of "with quotes"?

Then type "true" (without quotes, to enable) or "false" (with quotes, to disable), click submit then click Change.


And finally, I'm afraid I have to ask.  Why is it necessary to click two things to invoke a change?  Isn't it possible to do these things in one step using variables instead of two with intermediate .txt files?
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Mars on January 04, 2009, 12:37:19 AM
The same work but purified well and without my work taken in my chat.tpl

And in more everything works:

On the place  to put 'false' to invalidate the status and the no limits, leave the field empty in opposition to 'true'
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 04, 2009, 02:41:09 AM
Thanks Mars
Will take a look at it now ;D
(using beta build 218)
And finally, I'm afraid I have to ask.  Why is it necessary to click two things to invoke a change?  Isn't it possible to do these things in one step using variables instead of two with intermediate .txt files?
I'm sorry but if you read my first post:
http://www.rejetto.com/forum/index.php?topic=6492.0 (http://www.rejetto.com/forum/index.php?topic=6492.0)
You can see; that I am a complete n00b when it comes to programming of any kind, and the stages it took me to learn about macros.
I am still quite pleased that I managed to learn alot about macros/html and make this in only two days.
I hope I will be able to do things like this properly in the future but for now I am still learning.
(using beta build 218)

The bulk of the contents of template files is still a mystery to me, but I *think* I manged to change the command after a new account is created to set it to be disabled as a test, but it still ends up enabled.  Here is what I changed:

{.set account|{.^accountname.}|enabled=true.}

to:

{.set account|{.^accountname.}|enabled=false.}

:-\
This does indeed disable the account but the line I use is not
Code: [Select]
{.set account|{.^accountname.}|enabled=true.}it is:
Code: [Select]
{.set account|{.^accountname.}|enabled={.^accountstatus.}.}
Are you sure you are editing the:[statuschange] section and not the:[newusermake] section?

The typo is my bad though.

I will hopefully make a newer version later on - probably based on Mars' one in the post above :D

Tried your recent update. Still doesn't work here, nor does the default
template mod.
I get the "you must be an admin" page.
Anyway, thanks for the effort.
Oddly, your first post
http://www.rejetto.com/forum/index.php?topic=6492.msg1039460#msg1039460
to just change user password does work. I may be able to add the other sections
so that it will work on older computers used as NAS, and webservers.
Or perhaps the Mars version will solve this?
By all means see if the Mars version works if not I can't help for the moment.
What version of HFS are you using?
What browser are you using? (e.g firefox 3, IE 6?)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 04, 2009, 02:44:36 AM
Hi Ryan J!

Very nice idea your administration panel ... We look forward to following.  :P
"mars" also working on a similar feature ... This promises good templates, this year...

I put your changes in a modified version of rejetto template.
This template already benefit of some changes.
(delete function "slowly" improved,  thumbnails,... and even the comments with the uploads...  only with the French version of hfs.exe).
And cherry on the cake, ;D it is bilingual English-French.
To use it in French, just remove the line:

Code: [Select]
[Remove entierely this line for use this template in french language]
Otherwise, I just changed the look of the Administration panel and I added some shortcuts, perhaps more practical.

(the Administrator button is at the bottom of the page). :D

After the Alpha version, I expect the Beta version.  ;)

...Soon...

Haha I hope to make another version.
Working on it now as a matter of fact ;)

I see you use the admin panel on your website  :o
Thanks ;D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 04, 2009, 02:52:10 AM
@Mars

I like the postvar macro ;)
Didn't even look at that in the wiki
Good shortcut though :D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 04, 2009, 03:18:53 AM
I have also a request. If I creat a new accunt, and my virtuel file system is protected ( just allowed users can see items ), how can I map new user to a file directory(folder).
is it possible under creation a new accunt, can admin see and choose folder avalable in HFS.
I am currently working on it.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TEA-Time on January 04, 2009, 03:19:40 AM
I'm sorry but if you read my first post:
http://www.rejetto.com/forum/index.php?topic=6492.0 (http://www.rejetto.com/forum/index.php?topic=6492.0)
You can see; that I am a complete n00b when it comes to programming of any kind, and the stages it took me to learn about macros.
I am still quite pleased that I managed to learn alot about macros/html and make this in only two days.
I hope I will be able to do things like this properly in the future but for now I am still learning.

No problem at all.  I was just curious.  I see from mars' version that it is possible to do it in one step, so now we both know. ;)

This does indeed disable the account but the line I use is not
Code: [Select]
{.set account|{.^accountname.}|enabled=true.}it is:
Code: [Select]
{.set account|{.^accountname.}|enabled={.^accountstatus.}.}
Are you sure you are editing the:[statuschange] section and not the:[newusermake] section?

You missed the part where I said I changed the command after an account is created as a test. ;)  It still didn't disable the account, but mars explained that the field actually needs to be blank rather than "false".

The typo is my bad though.

That's ok.  Since the field actually needs to be blank to disable, it needs reworded anyway. ;)

I will hopefully make a newer version later on - probably based on Mars' one in the post above :D

Looking forward to it!
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 04, 2009, 03:30:22 AM
Quote
I see from mars' version that it is possible to do it in one step, so now we both know.
Yes I am using his feature now :P

Quote
Looking forward to it!
Thanks!
I'll try to get it done A.S.A.P
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Foggy on January 04, 2009, 08:01:11 AM
Interesting. good work ;)

If you need help with any macro's just send me a pm and I'll try and give you a hand.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 04, 2009, 09:24:42 AM
Thanks :)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 04, 2009, 09:30:19 AM
I've PM'ed you with a problem :)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 04, 2009, 09:17:41 PM
Attachment updated... Everything works fine!  ;)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TEA-Time on January 04, 2009, 11:45:05 PM
Attachment updated... Everything works fine!  ;)

Where did the English go?? ;)


Edit:
Oh... I figured it out!  Don't ask me how. Heh  I was looking through it and figured that if I "broke" the [special:strings] section that it might work, and it does!  I stuck [blah] in after that tag, but I'm sure the whole section could just be removed, too.

Very clever! :-)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 04, 2009, 11:57:15 PM
Sorry, I forgot!  ::)


Add a false section here:

[special:strings]
menu=.: Menu / Options :.
[fake section]
1Home=Retour vers le Panneau d'Administration
User=Utilisateur
Login=Connexion


EDIT

As you are not obliged to destroy the whole section.

You never know ... If a French is in need near you.  ;) :D


If the section is really unnecessary ... you can remove all ... except:

[special:strings]
menu=.: Menu / Options :.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TEA-Time on January 05, 2009, 12:41:06 AM
Add a false section here:

[special:strings]
menu=.: Menu / Options :.
[fake section]

Ah.. of course.  I hadn't realized I also "broke" the menu text. :o

As you are not obliged to destroy the whole section.

You never know ... If a French is in need near you.  ;) :D

I'd probably need to live a lot farther north east.  With the border that I'm close to, I'm more likely to need Spanish. :D

If the section is really unnecessary ... you can remove all ... except:

[special:strings]
menu=.: Menu / Options :.

The fake section works fine for me!

Thanks!
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: r][m on January 05, 2009, 01:06:59 AM
Ryan J & Mars
Had to use the sections separately, instead of using the links page
but I finally got this to work.
Many thanks to both of you and the others who contributed to this.
As others have noted, the account disable doesn't work. I wonder
if its a HFS bug?
When I disable an account, HFS shows its disabled, but the user can
still log in.
Actually, just changing a user's password would be a real effective
way to disable their account.  ;D
Would it be possible to add "ban" to this?
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 05, 2009, 01:15:12 AM
For me it works normally. An inactive account can not log.

You use the latest version of the code?
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 05, 2009, 02:29:06 AM
Ryan J & Mars
Had to use the sections separately, instead of using the links page
but I finally got this to work.
Many thanks to both of you and the others who contributed to this.
As others have noted, the account disable doesn't work. I wonder
if its a HFS bug?
When I disable an account, HFS shows its disabled, but the user can
still log in.
Actually, just changing a user's password would be a real effective
way to disable their account.  ;D
Would it be possible to add "ban" to this?
The account disable works fine for me aswell.
Which HFS are you using?
Try using the latest beta.
Also try redownloading the adminpanel.zip file - I have updated it.

Banning (I assume you mean Menu>Limits>Bans) isn't currently possible but if Rejetto can add it, I will add it.

Why wouldn't the "Links Page" work?
What happens?
Please post a picture and a copy of your code (all - not just the Admin Panel)

I will hopefully post a newer version with the ability to allow users to access/upload/delete a folder of choice.
Nearly done ;D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 05, 2009, 03:18:43 AM
I have released the latest version of Admin Panel - Please see first post.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 05, 2009, 03:23:17 AM
I am now working on disallowing users to access/upload/delete
Should be done in a couple of minutes ;)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 05, 2009, 04:19:11 AM
Done! ;D
Only problem is disallowing the current user (e.g admin)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: r][m on January 05, 2009, 04:39:15 AM
Quote
The account disable works fine for me aswell.
Which HFS are you using?
Try using the latest beta.
Also try redownloading the adminpanel.zip file - I have updated it.
Banning (I assume you mean Menu>Limits>Bans) isn't currently possible but if Rejetto can add it, I will add it.
Why wouldn't the "Links Page" work?
What happens?
Please post a picture and a copy of your code (all - not just the Admin Panel)
Using build 218
I just DL your last update, try it ASAP
Running it with links page returns "You must be admin" etc. and it doesn't make the changes.
The code is what Mars posted, but without [adminpanel] section.
Starts with [newuser] and has a modified [error] section.
I use it in my Stats page. I'm the only one who will ever use it on my HFS.
On disable account, I find that I can disable (uncheck) an account in the HFS
dialog window, apply, OK and that account can still log in even though that
account is "greyed out" in HFS !! Something set wrong? If so I can't find it.
Edit:
Problem found - had the "Any Account" checked for certain folders. I assumed
that when account was disabled, it meant that it was not available at all, but
for me at least, that's not the case. Either I don't understand how it was meant
to work or its a bug.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 05, 2009, 05:20:05 AM
Using build 218
I just DL your last update, try it ASAP
Running it with links page returns "You must be admin" etc. and it doesn't make the changes.
The code is what Mars posted, but without [adminpanel] section.
Starts with [newuser] and has a modified [error] section.
I use it in my Stats page. I'm the only one who will ever use it on my HFS.
On disable account, I find that I can disable (uncheck) an account in the HFS
dialog window, apply, OK and that account can still log in even though that
account is "greyed out" in HFS !! Something set wrong? If so I can't find it.
Very Nice ;)
Don't know why it isn't working for you though ???
I'd ask Rejetto, especially about:
Quote
On disable account, I find that I can disable (uncheck) an account in the HFS
dialog window, apply, OK and that account can still log in even though that
account is "greyed out" in HFS !!
Sorry I can't be of more help :-[
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: rogernie on January 05, 2009, 08:55:56 PM
Hi there,

thks for your template file! ;D

After using HFS v1.80 with RAWR-Template-0.1.1 With Admin Panel.tpl, the user cannot access to delete file by self, before I'm using template file RAWR-Template-0.1.1 + Delete permission (All language) without problem, can you give me help to enable the delete permiision in your template file?


Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Mars on January 05, 2009, 11:28:22 PM
new tpl with javascript to have accounts list

You have to create an account 'admin' to use this tpl.

then click on HERE at the end of page

Code: [Select]
HttpFileServer 2.3 beta
Servertime: 06/01/2009 00:30:46
Uptime: 02:52:04
Click here to admin.

Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 05, 2009, 11:45:12 PM
WaaaaWWW!  ;D

Excellent!  8)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 05, 2009, 11:56:21 PM
@Mars

I like!
I'm taking a look at the code now ;D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TEA-Time on January 06, 2009, 01:42:35 AM
(build 218)

Nice mars!

One problem, though.  I have an account missing in both dropdowns.  It just happens to be the first one in the list in my HFS.

Also, I was able to change the admin username requirement to my own, but I had to restart HFS to make it take effect.  It's strange that some templates seem to require it and some don't...

Edit:
Hmpf!  Just for the heck of it, I just changed it back to admin and then back again to my login and it worked both times without restarting HFS.  Hmmm...  Beats me! :D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Mars on January 06, 2009, 09:18:21 PM
Small bug indicated by silentpliz:

The accounts containing a space or a comma appeared on two lines

In the tpl both incriminated lines are
var reg=new RegExp("[ ,;]+", "g");

You can correct the problem the by replacing [ ,;]  by [;]  in each of them

or load the attached file
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 07, 2009, 03:03:15 AM
One problem, though.  I have an account missing in both dropdowns.  It just happens to be the first one in the list in my HFS.

Corrected ! (Thanks mars)  ;)

-------------------------------------
New release  ;)

Now, only one place to enter your Administrator Login:

[special:strings]
admin=YOUR_ID

The menu is visible only ... by the administrator.

It is here ... see the enclosed screenshot...

Edit: Cosmetic update... Please reload


Edit: January 09, 2009, 04:24  (23:24 heure fran├žaise)

Small changes in the translation.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TEA-Time on January 07, 2009, 03:17:17 AM
Looking good, guys!

I think Ryan J missed a turn or two, but I'm sure he's learning a lot! ;D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 07, 2009, 03:34:49 AM
I am sure he will bring good surprises.  ;)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: scgdavis on January 07, 2009, 02:12:19 PM
Thanks! I have it working... you have all been very helpful!!!
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: r][m on January 07, 2009, 03:54:13 PM
Thanks, everyone who contributed on this. I have a modified version
working also.

Would it be possible to add a section to the panel that would
create a folder with a name and in a directory of your choice?
I've tried, but without much success.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Mars on January 07, 2009, 08:18:45 PM
A thing  or two that silentpliz forgot to clarify is that you should modify in no way the syntax of check of the authorized admin

Quote
{.if|{.is substring|;%user%;|;{.!admin.};.}|
  .....
|{.section|error.}.}

Here every semicolon is important because it serves for differentiating every admin account

Quote
[special:strings]
admin=admin;administrator;root

So it is enough to modify the 'admin=' line  to give access to the management of the accounts whom we wish it.

If you do not respect the syntax of semicolons, you risk to have an account %user% which is a substring of another account and gives him access to the part administration

by example:
 admin is a substring of administrator

if {.!admin.}=new user;administrator;root  and %user%=user
 then {.is substring|user|new user;administrator;root.} return 'true'
 but  {.is substring|;user;|;new user;administrator;root;.} return 'false' and it is what we hope to obtain
 
It is also reassuring to know as if you do not distribute your template, it is impossible to know what are the accounts authorized for the administration, because all the macro are converted before sending to the user and as well as the section [ special|strings] is inalienable at distance.

Another solution is to create a sub-directory '~adminpanel' , to put it there hidden with the authorizations of access for the authorized accounts and to allocate to him a diff tpl with all the part of administration.

Title: Re: Admin Panel : Creating a proper admin panel.
Post by: r][m on January 08, 2009, 06:30:09 AM
Quote
One problem, though.  I have an account missing in both dropdowns.  It just happens to be the first one in the list in my HFS.
I also have the first account missing in the dropdown list.
Mars
Not sure if this
Quote
You can correct the problem the by replacing [ ,;]  by [;]  in each of them
was to be the "fix" for this. If so, it didn't.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TEA-Time on January 08, 2009, 07:25:41 AM
Quote
One problem, though.  I have an account missing in both dropdowns.  It just happens to be the first one in the list in my HFS.
I also have the first account missing in the dropdown list.
Mars
Not sure if this
Quote
You can correct the problem the by replacing [ ,;]  by [;]  in each of them
was to be the "fix" for this. If so, it didn't.

I don't think that was to fix the bug I reported.  I'm pretty sure it was to fix this:

Small bug indicated by silentpliz:

The accounts containing a space or a comma appeared on two lines

I'm guessing SilentPliz reported it to mars elsewhere, because I never saw a post about it here in this thread.  I did try it anyway just to see if it might help, but it didn't.

However, SilentPliz's default_Updated.tpl in the post right after mars' fix (http://www.rejetto.com/forum/index.php?topic=6498.msg1039573#msg1039573) does work.  Don't ask me what the difference is, though. Heh
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: r][m on January 08, 2009, 08:06:00 AM
Tea Time
Thanks for your reply.
I just removed the drop down. I have
Code: [Select]
Groups: {.get | accounts | groups .} and Linked Accounts&nbsp;( %linked-accounts% )posted right above, so I didn't need it anyway.
Edit: I tried the default one you mentioned. It listed 2 of everything
but it didn't skip the first one  ;D

I'd really like to see an example of how to name and add
a folder to a selected directory. I think that would be as useful
as these other items in admin panel.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 08, 2009, 10:35:30 AM
However, SilentPliz's default_Updated.tpl in the post right after mars' fix (http://www.rejetto.com/forum/index.php?topic=6498.msg1039573#msg1039573) does work.  Don't ask me what the difference is, though. Heh

It should be added in the 2 lines concerned of template.

for (var i=tableau.length-1; i>=0; i--) {

Mars have given me the solution ... but he had to forget for him.  :)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Ryan J on January 08, 2009, 02:55:36 PM
Things have really advanced since I first started!
I am glad that I (hopefully) inspired a few people
I'm sorry I havent posted in a while but i'm only 14 and I was banned for a while off my pc :-[ , i've just started working AND i'm making my family a website :P
I will eventully get around to working on this again but I don't think I can do much more for now due to my limited programming knowledge.
Thanks to every1 here for helping me and I hope to be posting again soon! ;D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 08, 2009, 05:51:04 PM
Hi Ryan J !

Things have really advanced since I first started!
I am glad that I (hopefully) inspired a few people

Absolutely true...It's a good idea you had.  8)

I'm sorry I havent posted in a while but i'm only 14 and I was banned for a while off my pc :
-[ , i've just started working AND i'm making my family a website

Tell your parents that this is a bad idea to banish you of your PC.
You banish cakes and others desserts would be more advantageous for you ... for them ... and for us.   ;) :D

Thanks to every1 here for helping me and I hope to be posting again soon!

We hope ... we are confident. :)

...soon!... :)

Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Mars on January 09, 2009, 12:17:32 AM
new admin tpl with folder permissions

somes bugs are related in the topic build 218

last 10 january 2009
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: rejetto on January 09, 2009, 01:21:34 AM
hi guys!
this is a great topic, and i'm glad to see so much collaboration.
i hope to come back to you in monday, or sooner!
our new apartment is finally ready, and we are very happy.
but i may be busy with my job in the weekend :(
consider it's 2am here and i just had a look at the forum after i stopped working.
i have so many posts to read, some very old.
some already read but need more time to write a good reply.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 09, 2009, 06:48:48 PM
Update default template.
Everything works perfectly.

@ rejetto
You see, you just move house, and we repainting the walls of tpl.  :D

Be happy, you and your girlfriend in yours new apartment.  ;)



Edit: January 09, 2009, 04:24  (23:24 heure fran├žaise)

Small changes "cosmetics".
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TSG on January 28, 2009, 11:59:57 AM
At the RAWR-Designs camp we have been talking today on MSN about creating a proper external admin panel for HFS. The one created here (http://www.rejetto.com/forum/index.php?topic=6498.0) by Ryan J, is great as a proof of concept because it has shown some possible flaws in the way this would work. For instance having to go in and out of pages is irritating, and having to memorise accounts is also. So we would use a mix of Flash or JavaScript and some AHAH for dynamic updating.

First of all, when editing a parameter of a file or folder, for access rights, if you edit a sub-folder of a real-folder, does this edited file or folder and its related directory now appear in the HFS Virtual File System?
What if you turn off download or other access rights for a sub-folder, you can only turn it back on using this external admin panel?

Now, I think for security and simplicity reasons, detecting manually in the template if a user is called 'admin' is not enough. I think a macro like {.get|is admin.} is required. And in the Account Properties of HFS we can place next to 'Enabled, Group, Ignore Limits' a property called 'Administrator'. I think this setting should be used to give the account supreme power. This setting would be great for the HFS owner or nominated administrators. Of course you can then go out of the account properties and turn off certain things after this setting has been set, but as a default setting 'Administrator' would grant supreme power.

I am just concerned that editing the template file to have your preferred username is hard for someone that doesn't know what macro is. What if you want to allow a group of people? or another user who deserves supreme power over the HFS? how will they access the administration panel? So my suggestion is a macro like the following:

{.if|{.get|is admin.}|Pew|Pew.}
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: luca69 on January 28, 2009, 12:11:02 PM
Admin panel: great idea!
My hint: would it be nice to have it somehow separated from the "main" template, so that it would be easy to integrate it into the HFS embedded template.
About the user rights, maybe it is simpler to have a predefined group called "Administrators" in HFS and assign the users to this group.
The macro {.if|{.get|is admin.}|Pew|Pew.} would than check if the user is member of this group.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TSG on January 28, 2009, 12:24:41 PM
Admin panel: great idea!
My hint: would it be nice to have it somehow separated from the "main" template, so that it would be easy to integrate it into the HFS embedded template.
About the user rights, maybe it is simpler to have a predefined group called "Administrators" in HFS and assign the users to this group.
The macro {.if|{.get|is admin.}|Pew|Pew.} would than check if the user is member of this group.

I think the way you have suggested there is a good idea, but it would not really work if you want to name another group as an administrator, that's why I suggested it as a privilege setting... maybe I don't fully understand this whole groups thing...

Also, yes the the Admin Panel we create would be separate. It would require a template though so I would have to use a hfs.diff.tpl and put the folder in the root to use it or something... but that's for later concern. This probably wont happen in full swing until our new website is online, I just have time to think waiting for Richard to come online, but its good to get the ball rolling early with HFS :)

I would also like to add download only selected files to the next template releases, so hopefully this is a priority for rejetto, if not I'll obviously just release an update without it.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 28, 2009, 12:32:46 PM
@TSG

You should download the latest version in the last pages of topic of Ryan J... the first are not updated.

Otherwise, if you're interested ... In "my" French version of hfs ago a version with additional features (ONLY FOR HFS IN FRENCH) :-\.

http://hfsupgradefrench.webhop.org/hfs/hfs220FR.exe

http://www.rejetto.com/forum/index.php?topic=5173.msg1039827#msg1039827

The .tpl may be bilingual in amending the section [special:strings]

[special:strings]
admins=admin;administrator;root;tsg;dad;mum  :D
menu=.: Menu / Options :.
[add an fake section here for use this template in english language]

Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TSG on January 28, 2009, 12:57:03 PM
@TSG

You should download the latest version in the last pages of topic of Ryan J... the first are not updated.

The only one I could get to work was his initial ones... but it was that topic that sparked the idea. I have spent the night scrubbing up my knowledge of HFS and Macros, I was so far behind it was embarrassing lol. As soon as our website is online, its in very early stages, this will be our first move, to create a nice interface administration panel (dynamic, single page with dynamic content) and seamless installation process, hopefully with this Administrator setting and macro implemented so its as easy as adding a folder to implement. Of course with the new website we can write a tutorial to show how it works and how to install it, but all in time :)

I have added you to my MSN SilentPliz, you seem to have better English than mars (no offense), maybe we can have proper conversations about this stuff. With the changes to our website we are looking for experienced HFS users to help out.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 28, 2009, 01:21:25 PM
Ok!

I have a written English better than mars, but I can hardly speak this language ( disaster :-[ ).

As long as we stick to the written word, I should get there.

Mars, however, speaks nicely the "macro language" ... undoubtedly the language of his planet :D ... And most of the additions to my French versions of HFS come from his work.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: rejetto on January 28, 2009, 10:44:16 PM
First of all, when editing a parameter of a file or folder, for access rights, if you edit a sub-folder of a real-folder, does this edited file or folder and its related directory now appear in the HFS Virtual File System?

IDU what are you exactly asking, but isn't quicker to try?

Quote
What if you turn off download or other access rights for a sub-folder, you can only turn it back on using this external admin panel?

yes, with 'set item'

Quote
Now, I think for security and simplicity reasons, detecting manually in the template if a user is called 'admin' is not enough. I think a macro like {.get|is admin.} is required. And in the Account Properties of HFS we can place next to 'Enabled, Group, Ignore Limits' a property called 'Administrator'. I think this setting should be used to give the account supreme power. This setting would be great for the HFS owner or nominated administrators. Of course you can then go out of the account properties and turn off certain things after this setting has been set, but as a default setting 'Administrator' would grant supreme power.

if i make such a thing, it must have a meaning inside HFS itself, and not only for the {.get|is admin.}, but it's easy to think of a flag that will give every right to the account.
It seems a good idea, but i'd like to know if somone think otherwise.
In the while, my advice is to make {.set|isAdmin|{.if|{.%user% = admin.}|1.}.}
so you can make all your admin-panel referring to {.^isAdmin.}.
You'll be able to change the method any time, like {.set|isAdmin|{.get|is admin.}.}

Quote
I am just concerned that editing the template file to have your preferred username is hard for someone that doesn't know what macro is. What if you want to allow a group of people? or another user who deserves supreme power over the HFS?

right... provided the aforesaid, you may expect 'admin' to be a group instead of a user. This will give all the needed flexibility. What's left is you to recognize if a user is part of a group. You may create a way by using %linked-accounts%, but i think it's better to get a specific macro. Maybe in next build.

Quote
how will they access the administration panel? So my suggestion is a macro like the following:
{.if|{.get|is admin.}|Pew|Pew.}

mmm... this would make admins to not see the file list.
It may be good if we may have the panel as a folder. Having the whole panel template as diff template of the folder, would turn the empty folder in a rich administration program. :)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: rejetto on January 28, 2009, 10:51:26 PM
I think the way you have suggested there is a good idea, but it would not really work if you want to name another group as an administrator, that's why I suggested it as a privilege setting... maybe I don't fully understand this whole groups thing...

the latter ;) You can just tell the group "family" is part of the group "administrators".

Quote
Also, yes the the Admin Panel we create would be separate. It would require a template though so I would have to use a hfs.diff.tpl and put the folder in the root to use it or something...

mmm... you may distribute a folder named "admin". This folder will have all the PNGs you need, the software itself as hfs.diff.tpl, and an install.tpl that will only contain a [special:import] to do anything needed to set it up. ;)

Better, i may tell HFS to look for the hfs.diff.tpl as soon as the folder is added and, in case, to run the [special:import]. Do you like it?

Quote
I would also like to add download only selected files to the next template releases, so hopefully this is a priority for rejetto, if not I'll obviously just release an update without it.

i'll see if i'm time.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 29, 2009, 07:35:32 AM
http://www.youtube.com/watch?v=DqwzvtjeYBQ ;D

 ;D LOL ;D -This is quite like me with spoken English.
I also proposed to play the role of Joey in the French version of Friends ... His name will be ... Claude. ;D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Mars on January 29, 2009, 06:04:40 PM
You should never forget that if a template is correctly built, no macro can appear in the web page of the end user.

Quote
About the user rights, maybe it is simpler to have a predefined group called "Administrators" in HFS and assign the users to this group.
The macro {.if|{.get|is admin.}|Pew|Pew.} would than check if the user is member of this group.

Quote
memberof macro is coming
http://www.rejetto.com/forum/index.php?topic=6589.msg1040242#msg1040242

It is already possible to use the following macro:

Quote
{.if|{.account linked|administration.}|  do action| else do error.}

You have to create an account(group) 'administration' without password and without rights on directories, this account is used only for the admin panel.

Other solution is the use of a macro {.! Admins.}

Quote
{.if|{.is substring|;%user%;|;{.!admins.};.}| then do action| else do error.}

[special:strings]
admins=mars;rejetto;silentpliz; ...... // list of accounts allowed as admin

With this last one, you are not limited to the connected user the by replacing %user% by another account.

The problem with the first version ({.account linked|...)  is that an 'administration' account can link another account to the 'administration' group.
To remedy it, it is enough to use the combination of both macro as follows:


Quote
{.if|{.and|%user%|{.account linked|administration.}|{.is substring|;%user%{.! Admins.};.}/and.}|
 then do action | else do error.}

[special:strings]
admins=mars;rejetto;silentpliz; ......    // list of accounts allowed as admin

Only the accounts referenced in the section can use the admin panel, and one of these accounts can be easily invalidated by removing him from the  administrator group, and if accidentally an account is linked  to the administrator group, he cannot have access to the admin panel  if his name is not a part of the list of admins.

It is more binding but a double security is better than a stupid hacking. ;)

If the use of the list of the accounts does not please you in the main template, you can replace the macro {.!admins.}  by the macro following one: {.section|admins|admins.txt.}  

into admins.txt ( in the same folder as hfs.exe) you will find the section
[admins]
mars;rejetto;silentpliz; .....

At the end, we obtain:

Quote
{.if|{.and|%user%|{.account linked|administration.}|{.is substring|;%user%;|;{.section|admins|admins.txt.};.}/and.}|
 then do action | else do error.}

or  with /folderx/admins.txt

{.if|{.and|%user%|{.account linked|administration.}|{.is substring|;%user%;|;{.dequote|{.section|admins|/folderx/admins.txt.};.}/dequote.}/and.}|
 then do action | else do error.}

admins.txt
Quote
[admins]
mars;rejetto;silentpliz; .....
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Mars on January 30, 2009, 12:31:18 AM
Application:
 
Create necessarily in the accounts both following groups
#administration# and #pasword#          Attention # are a part of names, not to omit them

Choose which accounts have to be linked in these groups and put back the list of the 'admin group' in the admins.txt file (that you will put in the same directory as hfs.exe).

There is a double security so that an admin cannot activate another account to be a new admin.
 On the other hand, the fact of deleting an account of the list in admins.txt or of removing the group #administration# for this account, it masks the admin menu 'admin panel' in the web page.

At present, the menu ' change password ' is redirected towards the page of error. I would set up before some days a completely functional version, which will allow the authorized users (which are a part of the #password# group) to change their password freely. This new feature will integrate a verification so that an empty password cannot be registered.


 ;)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: SilentPliz on January 30, 2009, 02:07:14 AM
The same functions as the Admin Panel of mars, but a little better assorted to template.
For those who don't want too exhaust theirs neurons.  :)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: TSG on January 30, 2009, 03:01:08 AM
We'll be keeping all of this in mind for later. At the moment the RAWR-Player is a hot topic, as soon as this is doing everything we need, we'll move onto this, alongside the website, which goes without saying at the moment. We are running two projects at once just to break things up a bit, staring into the same code language can get boring after a time. Variety is the spice of life ;D
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: r][m on February 01, 2009, 02:25:11 AM
TSG
Quote
The only one I could get to work was his initial ones...

Those were all I could get to work at first also, the later ones only returned the
error page, even with a account "admin".
I made it work by restructuring the whole thing, and used real folder that only
I have access to, with a remote diff tpl. Since I have no need to allow users to
access this, it works quite nicely for me.
The only problem is I haven't been able to get a darn add folder by name
and directory, added to it. Can't make it work correctly.

I haven't tried the most recent versions posted in this thread.

On the off chance it might be of use to someone I've attached a trimmed
down version here. I use a macro to prevent a page section from being written
unless I'm the user, for a bit more security.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: rejetto on February 02, 2009, 11:08:32 AM
Quote
memberof macro is coming
http://www.rejetto.com/forum/index.php?topic=6589.msg1040242#msg1040242

It is already possible to use the following macro:

Quote
{.if|{.account linked|administration.}|  do action| else do error.}

thank you mars :D i was puzzling why it was not already done.
I guess it's better to rename some things. {.account linked.} will be {.member of.}
and "Linked account (just like groups)" will be "Member of".

Quote
You have to create an account(group) 'administration' without password and without rights on directories, this account is used only for the admin panel.

well, if he truly likes to give permissions for folders, there's nothing bad about it.

Quote
With this last one, you are not limited to the connected user the by replacing %user% by another account.

alright... in next build {.member of|group|account.} will support the second parameter to be a username.

Quote
The problem with the first version ({.account linked|...)  is that an 'administration' account can link another account to the 'administration' group.

mmm, i didn't understand the problem you are saying...
maybe it's because you are using the double system.
I think using groups is better.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: meph++ on May 14, 2009, 11:56:59 AM
I have read all question and try the "admin panel" of Ryan J

but in this case if I set all user with "admin" (for operate in the admin panel) in the file "adminpanel.txt" user "aaa" can change password to the user "bbb"

it's possible with a mod, or any idea.. exsample user  "aaa" can change ONLY his password.

thanks at all

Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Mars on May 14, 2009, 12:07:14 PM
look at all post in the topic, you will find evoluate template with different admin panel.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: meph++ on May 14, 2009, 01:12:35 PM
Thanks mars,

please you can indicate this evolute template.. I'm italian and my english is poor  :(

Title: Re: Admin Panel : Creating a proper admin panel.
Post by: Mars on May 14, 2009, 01:53:43 PM
This one should satisfy your needs ;)

In the web page Menu > login , and then Menu> change password

only the connected user can change his password by a no empty paswword

all accounts defined as {.!admin.} can make other changes if they are in the section
[special:strings]
adminpanel=mars;rejetto;meph++;

they have access to the menu > admin panel

delete and change the accounts, them have access to the admin panel : generaly only you ;)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: meph++ on May 14, 2009, 02:37:15 PM
ManyThanks, Mars
But I use a customized template "RAWR-Template" and after I replace the .tpl with new "RAWR-Template-0.1.1 With Admin Panel.tpl"

your mods are for the standard template ?? right

it's possible load your "hfs with admin panel and self set password.tpl"  on another folder (Diff. Template) only for change password by user and for the all rest I use RAWR-Template.tpl (original)  ???


or it is difficult to integrate your changes into RAWR-Template.tpl ??????????



would be fantastic

regards..
Title: Re: Admin Panel : Add User To Group
Post by: r][m on June 07, 2009, 05:37:23 PM
For those who haven't added a Admin Panel section that adds a user to a specific group
copy the text file attached, to your Admin Panel section. You will need to add the link to
the Admin Panel page,  your own css link, and change
{.if not | {.match|USER1;USER2|%user%.}| {:{.$error.}:} |
I find it quite useful when adding a new user, to be able to add them to a pre-defined
group, at least at first.
This is based on the early version of the Admin Panel posted by Mars.

Help ! please
I've tried to assemble a macro that would list the members of each group,
by group, as "Group 1: seth;tom;bill" "Group 2: joe;andy" so when I add a
new user he will show in the listing for the group he's added to.
I've tried combinations of
" {.member of |"  &  " {.get | accounts |"   etc,
but with no luck. " get | accounts"   produces a full list, but its ordered by
by the user window list, not by which group a user actually belongs to.
 
Rejetto, Mars, anyone have an example?
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: bacter on June 07, 2009, 08:37:34 PM
I have some macros that allow you to get the lists you want.

In the first place, the macro used to prepare the lists. I load this module when needed in [special:begin].

Code: [Select]
{.comment|------------------------------------------------------------------
macros related to users and groups
creates a list that is easy to use as csv
Note for group naming:
*name = regular group (associated to site, directory)
#name = attribute group (has no acces to anyting, is uses to distinguish
  users with special rights or tastes
examples: #auxadm - allowed to add accounts to his regular group(s)
          #techie - template shows only to them things like speeds,users conected,downloadcounters etc.
--------------------------------------------------------------------.}
{.set|accgroups|{.get|accounts|groups.}.}
{.set|accusers|{.get|accounts|users.}.}
{.set|tg|{.^accgroups.}.}
{.set|ng|{.add|{.count substring|*|{.^accgroups.}.}|{.count substring|#|{.^accgroups.}.}.}.}
{.set|group|.}
{.for|ii|1|{.^ng.}|
{:
{.set|tg2|{.substring||;|{.^tg.}.}.}{.set|tg|{.replace|{.^tg2.};||{.^tg.}.}.}
{.set append|group|[{.cut|2||{.^tg2.}.}:.}
{.set|tus|{.^accusers.}.}
{.set|nu|{.count substring|;|{.^accusers.}.}.}
{.for|jj|0|{.^nu.}|
{:
{.set|tu2|{.substring||;|{.^tus.}.}.}
{.if|{.member of|{.^tg2.}|user={.^tu2.}.}|{:{.set append |group|{.^tu2.};.}:}.}
{.set|tus|{.replace|{.^tu2.};||{.^tus.}.}.}
:}.}
:}.}
{.set append |group|][not in group:.}
{.set|tus|{.^accusers.}.}
{.for|jj|0|{.^nu.}|
{:
{.set|tu2|{.substring||;|{.^tus.}.}.}{.set|tus|{.replace|{.^tu2.};||{.^tus.}.}.}
{.if not|{.pos|{.^tu2.}|{.^group.}.}|{:{.set append |group|{.^tu2.};.}:}.}
:}.}
{.set append |group|].}


here you have some code to show your lists of user groups in different manners (to be placed or called in the section where you want to show the list in your template):

Code: [Select]
        Total groups:{.^ng.}<br />
Groups: {.^accgroups.}<br />
Users: {.replace|;|, |{.^accusers.}.}<br />
Full list:{.replace|;|, |{.get|accounts.}.}<br />
{.comment| the showcsv.. macros are in a separate macro module.}
{.^showcsvrows|{.replace|[|<br />|{.^group.}.}.}
{.^showcsvtable|{.replace|;| - |{.replace|:|,|{.^group.}.}.}.}

To see better the list or even a table, you can use and adapt to your need the following showcsv.. macros (must also be placed before first use!):

Code: [Select]
{.set|showcsvrows|{:{.replace|][|]<br />[|$1.}:}.}
{.set|showcsvtable|{:
{.set|ttab|{.replace|]|</td></tr>|$1.}.}
{.set|ttab|{.replace|[|<tr><td nowrap>|{.^ttab.}.}.}
{.set|ttab|{.replace|,|</td><td nowrap>|{.^ttab.}.}.}
<table border="1">{.^ttab.}</table>
:}.}

that's all  :)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: rejetto on June 07, 2009, 10:22:08 PM
wow bacter

let me suggest you a facility
{.set|#extract till|{:{.set|#temp|{.substring||$1|{.^$2.}.}.}{.set|$2|{.cut|{.add|2|{.length|var=#temp.}.}||{.^$2.}.}.}{.^#temp.}{.set|#asdtemp.}:}/set.}

so that you can
{.set|#gs|{.get|accounts|groups.}.}
{.while|#gs|{:{.^#extract till|;|#gs.} :}.}


i used #static vars because i used the "run script".
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: bacter on June 07, 2009, 11:16:55 PM
Thank you rejetto.

All ideas to improve speed and size are welcome  :).
Specially, as my macro-modules grow and grow. My templates seems not to be html with macro, but will end up being macro-scripts with some html. ;D

Also it's a good idea to use static vars for the lists - but my macro-scripts came from pre-static time  :).
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: rejetto on June 08, 2009, 10:58:24 AM
i don't suggest using them for this purpose.
i justified the fact i used them.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: bacter on June 08, 2009, 11:51:12 AM
Rejetto,

I understood that you used static vars only because you used 'run script', but as there may be more uses for this lists, it would be enough to build the list only when hfs starts and if users are added ore removed, so static var seems not to be a bad idea.

By the way, as i don't know the delphi-compiler, i would like to know if there is a any size limit for a single or list variable, as i project to load some huge files (several Mbytes) y want to process. If there are no limits, y will try to do all processes with macros, otherwise y would use the output of C or tcl programs started with {.exec.}.   
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: rejetto on June 08, 2009, 12:11:40 PM
no limits i know.
would you have speed problems, let me know.
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: r][m on June 08, 2009, 04:36:33 PM
WOW....indeed !
Bacter, thanks for sharing. I'll give your code a try,
although I must confess I'd hoped for something
much simpler.  :)
Title: Re: Admin Panel : Creating a proper admin panel.
Post by: DjNelutzu on August 22, 2010, 11:18:00 AM
and the final code would be all that is needed for administrators panel?