rejetto forum
February 10, 2012, 03:12:06 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: 1 [2] 3 4 ... 6
  Print  
Author Topic: Admin Panel : Creating a proper admin panel.  (Read 15869 times)
0 Members and 1 Guest are viewing this topic.
Ryan J
Experienced poster
***
Offline Offline

Australia Australia

Posts: 38


Soon to be coder...

ryanjolliffe@hotmail.co.uk
View Profile
« Reply #15 on: January 03, 2009, 08:52:10 PM »

@Mars

I like the postvar macro Wink
Didn't even look at that in the wiki
Good shortcut though Cheesy
Logged
Ryan J
Experienced poster
***
Offline Offline

Australia Australia

Posts: 38


Soon to be coder...

ryanjolliffe@hotmail.co.uk
View Profile
« Reply #16 on: January 03, 2009, 09:18:53 PM »

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.
Logged
TEA-Time
Experienced poster
***
Offline Offline

Posts: 45


View Profile
« Reply #17 on: January 03, 2009, 09:19:40 PM »

I'm sorry but if you read my first post:
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. Wink

This does indeed disable the account but the line I use is not
Code:
{.set account|{.^accountname.}|enabled=true.}
it is:
Code:
{.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. Wink  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. Wink

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

Looking forward to it!
Logged
Ryan J
Experienced poster
***
Offline Offline

Australia Australia

Posts: 38


Soon to be coder...

ryanjolliffe@hotmail.co.uk
View Profile
« Reply #18 on: January 03, 2009, 09:30:22 PM »

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 Tongue

Quote
Looking forward to it!
Thanks!
I'll try to get it done A.S.A.P
Logged
Foggy
Insane poster
*****
Offline Offline

Australia Australia

Posts: 806


View Profile
« Reply #19 on: January 04, 2009, 02:01:11 AM »

Interesting. good work Wink

If you need help with any macro's just send me a pm and I'll try and give you a hand.
Logged
Ryan J
Experienced poster
***
Offline Offline

Australia Australia

Posts: 38


Soon to be coder...

ryanjolliffe@hotmail.co.uk
View Profile
« Reply #20 on: January 04, 2009, 03:24:42 AM »

Thanks Smiley
Logged
rejetto forum
« Reply #20 on: January 04, 2009, 03:24:42 AM »

Do you like this software? Consider even $2
 Logged
Ryan J
Experienced poster
***
Offline Offline

Australia Australia

Posts: 38


Soon to be coder...

ryanjolliffe@hotmail.co.uk
View Profile
« Reply #21 on: January 04, 2009, 03:30:19 AM »

I've PM'ed you with a problem Smiley
Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1023


....... chut ! shh!


View Profile WWW
« Reply #22 on: January 04, 2009, 03:17:41 PM »

Attachment updated... Everything works fine!  Wink

* default_Updated.tpl (44.44 KB - downloaded 168 times.)
« Last Edit: January 09, 2009, 08:18:32 PM by SilentPliz » Logged
TEA-Time
Experienced poster
***
Offline Offline

Posts: 45


View Profile
« Reply #23 on: January 04, 2009, 05:45:05 PM »

Attachment updated... Everything works fine!  Wink

Where did the English go?? Wink


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! :-)
« Last Edit: January 04, 2009, 05:56:32 PM by TEA-Time » Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1023


....... chut ! shh!


View Profile WWW
« Reply #24 on: January 04, 2009, 05:57:15 PM »

Sorry, I forgot!  Roll Eyes


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.  Wink Cheesy


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

[special:strings]
menu=.: Menu / Options :.
« Last Edit: January 04, 2009, 06:17:28 PM by SilentPliz » Logged
TEA-Time
Experienced poster
***
Offline Offline

Posts: 45


View Profile
« Reply #25 on: January 04, 2009, 06:41:06 PM »

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

As you are not obliged to destroy the whole section.

You never know ... If a French is in need near you.  Wink Cheesy

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

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

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

The fake section works fine for me!

Thanks!
Logged
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 339


View Profile
« Reply #26 on: January 04, 2009, 07:06:59 PM »

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.  Grin
Would it be possible to add "ban" to this?
Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1023


....... chut ! shh!


View Profile WWW
« Reply #27 on: January 04, 2009, 07:15:12 PM »

For me it works normally. An inactive account can not log.

You use the latest version of the code?
Logged
Ryan J
Experienced poster
***
Offline Offline

Australia Australia

Posts: 38


Soon to be coder...

ryanjolliffe@hotmail.co.uk
View Profile
« Reply #28 on: January 04, 2009, 08:29:06 PM »

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.  Grin
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 Grin
Logged
Ryan J
Experienced poster
***
Offline Offline

Australia Australia

Posts: 38


Soon to be coder...

ryanjolliffe@hotmail.co.uk
View Profile
« Reply #29 on: January 04, 2009, 09:18:43 PM »

I have released the latest version of Admin Panel - Please see first post.
Logged
Pages: 1 [2] 3 4 ... 6
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page December 20, 2011, 12:30:10 PM
anything