Author |
Topic  |
John
Junior Member
 
USA
427 Posts |
Posted - 21 December 2000 : 13:18:16
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Guys,
This may sound stupid, but how do you grant
a member a moderator or an admin status
without doing so in the database table?!!<img src=icon_smile_blush.gif border=0 align=middle> <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
When logged in as admin, go into members, click the edit pencil, and change "Member" to "Moderator" or "Administrator" <img src=icon_smile.gif border=0 align=middle>
<b><font size=2>John Miller</font id=size2> <font color=green>Snitz Moderator</font id=green></b> <img src="http://www.forum.snitz.com/forum/icon_star_gold.gif" border=0><img src="http://www.forum.snitz.com/forum/icon_star_gold.gif" border=0> |
 |
|
frankie
Junior Member
 
Vatican City
304 Posts |
Posted - 21 December 2000 : 21:57:46
|
john, Thanks for the short cut!
I think I was <img src=icon_smile_sleepy.gif border=0 align=middle> when I went thru it.
ô¿~ |
 |
|
KoRnholio
Starting Member
30 Posts |
Posted - 24 December 2000 : 00:19:03
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Maybe I can go one better....<img src=icon_smile_wink.gif border=0 align=middle>
I grabbed a copy of DA's admin_moderators.asp file. I liked what he did with displaying the categories and the forum lists. Very nice.
I've made a change to the process of how moderators are added and deleted. When you click on the forum, to the right appears a list of all members eligible to be moderators with a checkbox. If the member is currently a moderator for the list, then the checkbox will be checked. Now you can make all your moderator changes to a forum in one fell swoop. Check/uncheck and click submit and the moderator changes are complete for that forum.
Let me know if this is the type of functionality that you're looking for or not.
Download the file: Admin_moderators_alt.zip
The only thing I'm not sure of is that I'm using my_Conn.BeginTrans and my_Conn.CommitTrans. Is this okay and will it work for everyone? Other than that, it's pretty normal asp. Should work fine (famous last words <img src=icon_smile.gif border=0 align=middle>).
Edited by - work mule on 20 December 2000 04:04:15 <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I'm having a bit of a problem....when I select or unselect some, and press submit, it gives me an error and then on further inspection, it didn't do the changes(so it wasn't just a problem with the HTML output)
Oh, here's the error message..
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver]Attribute cannot be set now /s/sicomnet/forum/admin_moderators.asp, line 173
I checked line 173 and it was just a blank line....
Edited by - KoRnholio on 24 December 2000 00:21:41 |
 |
|
Topic  |
|
|
|