Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Assigning Moderator Role
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Assigning Moderator Role

 Post Reply Post Reply
Author
yad00g View Drop Down
Newbie
Newbie


Joined: 29 May 2005
Location: Australia
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote yad00g Quote  Post ReplyReply Direct Link To This Post Topic: Assigning Moderator Role
    Posted: 07 June 2005 at 1:25am
I'm using version 7.01 (yes I know it's old Embarrassed) and am trying to assign a user Moderator rights to a forum.
 
The user is regsitered in the forum but when I search on his name and select it via admin/find_user.asp and then click on the "Next>>" button i get a message stating "Sorry, no Member with the entered username can be found".
 
This is strange becuase I have just used the "Search for Member" function to find it, so it must exist.
 
I thought it might be a username length issue but I am able to assign Moderator rights to users with longer usernames.
 
The username in question is AaronLancaster
 
Any ideas???
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: 07 June 2005 at 9:53am
This is going back a long way, but I do sort of rember this as being a bug with that version that was fixed in later versions.

Try upgrading to the lastest version.
Back to Top
dmcrae View Drop Down
Newbie
Newbie


Joined: 08 June 2005
Location: Australia
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote dmcrae Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2005 at 3:34am
Yep - must look at upgrading as well
 
I tried that name and it also crashed on me.
 
It turns out that any name with CAST as part of the string will cause a failure.
 
the admin/find_user.asp has a calls a function to replace any sql commands for the username
 
strMemberName = formatSQLInput(strMemberName)
 
that function has, amonst others a call to remove any CAST s
 
strInputEntry = Replace(strInputEntry, "cast", "cast", 1, -1, 1)
 
I now MUST get a later version :)
 
(but if you cannot - just remark the line strMemberName = formatSQLInput(strMemberName) out - Im sure it wont cause any problems, especially considering you are in the admin area)
Back to Top
 Post Reply Post Reply

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.