Author |
Topic  |
Hopper
Junior Member
 
192 Posts |
Posted - 15 December 2000 : 10:46:54
|
*laugh* Im very good at asthetic concepts and ideas for making things easier to use.. wish i had the ASP skills to actually do them.. so instead, I give them to those who DO have those skills. *smile* together, we get things looking sweet. hehehe.. you should be honored.
|
 |
|
Da_Stimulator
DEV Team Forum Moderator
    
USA
3373 Posts |
Posted - 15 December 2000 : 10:52:49
|
I feel special..............
<font color=red>Da_Stimulator</font id=red> <font color=red>http://www.cfm-resources.com/s/stimmy/</font id=red> <font color=blue>response.write("I know what you coded last summer!")</font id=blue> http://www.tek-tips.com - The community where computer proffesionals meet and talk. |
 |
|
wedont
Junior Member
 
Canada
344 Posts |
Posted - 15 December 2000 : 23:48:08
|
Thanks Da_stimulator,
Its up and running !
Wedont snitz ver3.1 sr2 |
 |
|
Da_Stimulator
DEV Team Forum Moderator
    
USA
3373 Posts |
|
Hopper
Junior Member
 
192 Posts |
Posted - 18 December 2000 : 21:30:42
|
Its updated for SR3?
|
 |
|
Da_Stimulator
DEV Team Forum Moderator
    
USA
3373 Posts |
|
Hopper
Junior Member
 
192 Posts |
Posted - 18 December 2000 : 23:23:15
|
You took out the asterisk that you put in earlier.. and you didnt do any of the other things I suggested *sad look* would be nice to have a button next to the names instead of the little dot.. that you click to turn access on and off.. that way you dont have to keep dropping back to the forum list and then back to the moderator list every time you change someones access.
|
 |
|
work mule
Senior Member
   
USA
1358 Posts |
Posted - 19 December 2000 : 02:23:23
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Hey DA, how about instead of clicking on the persons name, then comming up with a new screen and another click to give/remove moderator access to a forum, you simply put a button next to their name on the first screen and click it to remove/grant access .. you could even (if you wanted) change the word on the button .. that way you could get rid of the asterisk and just use the button to show who has access. It would also get rid of that second click, and also let you do more then one change without going back to the main topic list between each change. Hows that for an idea. <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 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 |
 |
|
Hopper
Junior Member
 
192 Posts |
Posted - 19 December 2000 : 09:14:24
|
OoooOOoOo.. Mule.. I just installed that and its fantastic.. just what I wanted. Thanks
|
 |
|
tilttek
Junior Member
 
Canada
333 Posts |
Posted - 19 December 2000 : 11:53:52
|
quote: nothing needed to be changed specifically for SR 3, I just made it look nicer.
Hey Stim, put it into your "Snitz Forums Addons"... You tell others people to do it but you don't.
Philippe Gamache http://www.tilttek.com http://www.lapageamelkor.com |
 |
|
John
Junior Member
 
USA
427 Posts |
Posted - 19 December 2000 : 11:58:57
|
work mule:
1) transactions don't work in mysql. 2) <BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> If the member is currently a moderator for the list, then the checkbox will be checked <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
The functionality we'd (I think I can say we, Mike asked me before if I could make it work that way) like is basically show a list of a level 2/3 (mod/admin) users with checkboxes. If checked, they're a moderator. If not, they aren't. Is this how you implemented it?
Other than that, GREAT! I was working on this myself, but I guess I don't really need to now <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> |
 |
|
Da_Stimulator
DEV Team Forum Moderator
    
USA
3373 Posts |
Posted - 19 December 2000 : 13:23:43
|
tilttek, I cannot put it into my snitz forums addons :( the asp is screwed up in some way I cannot fix. I will have to rewrite that entire script.
<font color=red>Da_Stimulator</font id=red> Stimmy's Forums - Using 3.1 SR3 "We all die someday, but your goin down before I do" - Me |
 |
|
work mule
Senior Member
   
USA
1358 Posts |
Posted - 19 December 2000 : 13:46:36
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> 1) transactions don't work in mysql. <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Hmm...the transactions were a nice feature, but I don't think it's necessary for this function. Does mysql support the UpdateBatch method? I'm not familiar with mysql - I have good intentions to start using - but I still have a lot to learn about SQL Server too.
If it doesn't support UpdateBatch, then it's no big deal. All that would do is consolidate all the changes into one trip to the database. Either way, I'll look at changing that section of code.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> The functionality we'd (I think I can say we, Mike asked me before if I could make it work that way) like is basically show a list of a level 2/3 (mod/admin) users with checkboxes. If checked, they're a moderator. If not, they aren't. Is this how you implemented it? <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I didn't modify the SQL that resulted in the list of members. Here's what was there: <pre id=code><font face=courier size=2 id=code>strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.M_LEVEL > 1 " </font id=code></pre id=code>So I think the answer to your question is yes. Oh, and if the member was a moderator for the list, the checkbox was checked. If not, then the checkbox was not checked.
|
 |
|
tilttek
Junior Member
 
Canada
333 Posts |
Posted - 20 December 2000 : 14:16:52
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> 1) transactions don't work in mysql. <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Depending of what ASP you are using, you might use the new Transction command of ASP.
Philippe Gamache http://www.tilttek.com http://www.lapageamelkor.com |
 |
|
Mori
Starting Member
10 Posts |
Posted - 21 December 2000 : 08:21:20
|
I looked through all messages. It works on SR2 & SR3 with no problem. Does this work on v3.1 Final which is the latest version ?...
cheers~
|
 |
|
Topic  |
|