Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Edit Profile (pop_editprofile.asp)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Edit Profile (pop_editprofile.asp)

 Post Reply Post Reply Page  12>
Author
Mikeap View Drop Down
Newbie
Newbie


Joined: 12 March 2003
Location: United States
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikeap Quote  Post ReplyReply Direct Link To This Post Topic: Edit Profile (pop_editprofile.asp)
    Posted: 18 July 2003 at 10:50am

I am not sure if this a problem with the code or whether or not my usergroups are messed up but here goes.

No matter who is logged in, no matter what usergroup, if a user goes into a post, clicks the "PROFILE" button under the post he can see the "EDIT PROFILE" button and of course this allows him to change any information about the person.  It's nice that he can't change their password but all the information non-the-less.

I've tried to change the IF statement around the button and nothing seems to work.  I am about to remove the button all together.

Has anyone else had this problem?

Back to Top
huwnet View Drop Down
Senior Member
Senior Member


Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
Post Options Post Options   Thanks (0) Thanks(0)   Quote huwnet Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2003 at 12:33pm
Usally only an administrator or Moderator can click edit profile. If any users can then your files are corrupted!

Huw
Back to Top
Arowen View Drop Down
Newbie
Newbie


Joined: 13 August 2003
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Arowen Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2003 at 7:41pm
I have this problem with the version 7.01 at our site as well.. Was discovered just today... I hope that someone may have a fix for it...
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2003 at 1:11am

Unless you have set moderator permissions on the group then this is not possible unless you have corrupted files.

Check your group permissions setup for all your groups and make sure that only the modertor group (which only people you set as modertors should be part of) has moderator permissions. Also check the set up of the generic permissions themselves.

Back to Top
jamwiz View Drop Down
Newbie
Newbie


Joined: 02 September 2003
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamwiz Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2003 at 4:18pm

Hello,

I think there is a serious problem in the pop_profile_edit.asp around line 384.

The line:

If ((blnAdmin) OR (blnModerator AND intUsersGroupID <> 1)) Then

should be

If blnAdmin Then

This should fix the problem.

If the OR condition is assumed to be OK, then there must be something else broken before getting to this point in the code.

Jamal

Originally posted by -boRg- -boRg- wrote:

Unless you have set moderator permissions on the group then this is not possible unless you have corrupted files.

Check your group permissions setup for all your groups and make sure that only the modertor group (which only people you set as modertors should be part of) has moderator permissions. Also check the set up of the generic permissions themselves.

Back to Top
dead_angel View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 02 May 2003
Location: United Kingdom
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote dead_angel Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2003 at 5:34pm

that line is obviously used by all webwiz users.. and so should not really cause you any problem as it is used fine by others..

OR (blnModerator AND intUsersGroupID <> 1))  is used to allow MODERATORS permission to edit the profile is it not? so you need that piece of code..

again, like the others have said, you either have corrupt files (try reuploading them) or your permissions are set incorrect..

Back to Top
jamwiz View Drop Down
Newbie
Newbie


Joined: 02 September 2003
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamwiz Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2003 at 10:14pm

Hello,

I know for sure the files are not corrupted. I just started this webwiz forum and I haved converted the database to Access 2002 fromat to see what happens, but without luck.

I don't know if this has any effect, but I created a private group which has no moderation status, but still any member edit the others' profiles, of course if I did not make modification in the code.  Just like the others, as an Admin, I did not know about until a user informed me about it. I just can't believe that all the others who posted about the same problem have corruption in their databases. I'll dig thru the asp code and I'll see to find the cause, but there is definitly a problem.

Jamal

Originally posted by dead_angel dead_angel wrote:

that line is obviously used by all webwiz users.. and so should not really cause you any problem as it is used fine by others..

OR (blnModerator AND intUsersGroupID <> 1))  is used to allow MODERATORS permission to edit the profile is it not? so you need that piece of code..

again, like the others have said, you either have corrupt files (try reuploading them) or your permissions are set incorrect..



Edited by jamwiz
Back to Top
b_bonnett View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote b_bonnett Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2003 at 10:59pm

Well, its obviously something to do with your server, as the majority of people (myself included) have no problem whatsoever with that code - only the people who are allowed to (admin and moderators) can edit a users profile.

Blair

Webmaster, The Plane Gallery
Greetings From Christchurch
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.