Elyna
New Member
%7C10%7C
Posts: 31
|
Post by Elyna on Jan 10, 2008 11:03:40 GMT -5
I was wondering if you could rewrite this code for me so that only the admin can edit the various options. If you could that would be great. Also, is it possible to write it so that the Location field isn't removed? If not, can you make it so that I can choose which options can be edited by the users themselves and which don't? Thanks if you're going to do this.
|
|
Blink
Addicted Member
Posts: 1,699
|
Post by Blink on Jan 10, 2008 15:23:34 GMT -5
The only way to set it so only admins can edit it would be to not allow any other staff to modify headers footers.
If anyone has access to your headers/footers who you don't trust to edit it then they shouldn't have access! Even if it was re-written, they could just change the code back if they wanted.
The location field is removed because that is where the data is stored, so not it's no possible - it would require an online database of some sort which loads very slow... or another field be removed from the profile.
|
|
Elyna
New Member
%7C10%7C
Posts: 31
|
Post by Elyna on Jan 10, 2008 19:00:36 GMT -5
I'm the only one having acess to the admin panel, so I'm the only one who can modify the Headers/Footers.
Sorry, but I think I explained what I want wrong... what I really meant was that in the profile area only the admin may change the options. I re-read how I explained it and figured out why you answered me like that. Sorry for this little misunderstanding. I hope I could explain the problem now?
|
|
Kahless
Administrator
Guitar Star
Posts: 1,045
|
Post by Kahless on Jan 10, 2008 19:31:20 GMT -5
I can change it if you like, but it wont be very secure, all your staff have to do to edit it is disable JS on their browser
|
|
Elyna
New Member
%7C10%7C
Posts: 31
|
Post by Elyna on Jan 11, 2008 9:17:09 GMT -5
And Aaron won't have any problems with that? I didn't ask directly for someone else than him to change it because of the copyright. But if it's ok with that sure, that'd be great! ;D
And about the staff, I don't give access to these kinds of things to people I don't know and trust. I'm the only staff who has acess to that.
|
|
Kahless
Administrator
Guitar Star
Posts: 1,045
|
Post by Kahless on Jan 16, 2008 17:06:36 GMT -5
Most of the codes in the database are open source, all of aarons are, you dont need his permission to change it or use parts of it. Ill have it up soon
|
|
Elyna
New Member
%7C10%7C
Posts: 31
|
Post by Elyna on Jan 17, 2008 11:29:05 GMT -5
Oh, alright then. Thanks for the help
|
|
Elyna
New Member
%7C10%7C
Posts: 31
|
Post by Elyna on Mar 4, 2008 10:31:17 GMT -5
sorry for the double post but Kahless, do you have done this already?
|
|
|
Post by Schubaltz on Mar 4, 2008 15:44:47 GMT -5
It's a two-second job if you want it done. Though I can make it more secure if you're willing to give up the custom title area instead.
|
|
Elyna
New Member
%7C10%7C
Posts: 31
|
Post by Elyna on Mar 5, 2008 7:05:58 GMT -5
Mh... the stupid thing is that I need that area :/ But would you explain me why it makes the code more secure that way? Can you make the Karma area to be removed instead of the Location area?
|
|
|
Post by Schubaltz on Mar 5, 2008 15:43:53 GMT -5
Well, to store the information, I have to use text fields. The code will basically record the user's input into a field that is displayed in the miniprofile (like location, posts, custom title, etc). The reason using custom title would be more secure is that no one can edit that field without your permission, whereas though I can hide the location field, people can still find ways to modify its contents.
I think the custom title area actually doesn't have a character limit, though. So I could store the information there in addition to what you use the field for, and essentially not have to take away any field at all.
Sound good?
|
|
Elyna
New Member
%7C10%7C
Posts: 31
|
Post by Elyna on Mar 6, 2008 9:09:52 GMT -5
yep, ok. you convinced me Thanks a lot Aaron!
|
|