Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 allow moderator to edit message
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

crash
Advanced Member

Netherlands
2064 Posts

Posted - 05 May 2002 :  18:00:35  Show Profile  Visit crash's Homepage
i would like to know what code i need to change/add to enable my moderators to edit a message posted in a topic. only but in this question is that they should not be able to edit a message posted by me (admin)

can this be done?

thank you for your time!



Crash's Site | Crash is from


Edited by - crash on 06 May 2002 06:56:45

crash
Advanced Member

Netherlands
2064 Posts

Posted - 06 May 2002 :  00:42:05  Show Profile  Visit crash's Homepage
is the question unclear or am i pushing too hard?



Crash's Site | Crash is from


Edited by - crash on 06 May 2002 05:21:26
Go to Top of Page

bad_gurl_2k2
Starting Member

12 Posts

Posted - 06 May 2002 :  09:03:03  Show Profile
Crash - if you think someones gonna reply youre dreamin (n/o)

No one replies to problems

ITS MEANT TO BE A HELP BOARD PEEPS

Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 06 May 2002 :  09:06:49  Show Profile  Visit crash's Homepage
well, as far as i know, most of the people on snitz here do reply. it may take some time though...



Crash's Site | Crash is from
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 06 May 2002 :  11:08:36  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
Not sure why you'd exactly want to do that. You're limiting your mods power, BUT....

In topic.asp, look for this code above a line that says Method=EditTopic:
(AdminAllowed = 1 or rsTopic("MEMBER_ID") = MemberID)

and change it to this:
((AdminAllowed = 1 and rsTopic("MEMBER_ID") <> 1) or rsTopic("MEMBER_ID") = MemberID)

and do the same for the line that has rsReply("MEMBER_ID") above a line that says Method=Edit

You would need to do the same kind of operation in forum.asp, and also add checks to post.asp and post_info.asp

If you need more, please let me know....

Dave Maxwell
--------------
Proud to be a "World Class" Knucklehead
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 06 May 2002 :  11:31:33  Show Profile  Visit Gremlin's Homepage
quote:

Crash - if you think someones gonna reply youre dreamin (n/o)

No one replies to problems



So what do you think the 26,000 active topics on this forum are all about ? we're not just 'shooting the breeze' here you know.

Dave's suggested changes will only work if its actually the Administrator account you want them to not edit, if you are making posts under another Admin Privlidged account then they would still be able to edit them. You need to add another condition into the suggested changes to check for any other additional Administrators Member Id.

ie if you post as Crash, and your MemberId in FORUM_MEMBERS is 55 then I think you would have to adjust the code to look like this

((AdminAllowed = 1 and (rsTopic("MEMBER_ID") <> 1 or rsTopic("MEMBER_ID") <> 55)) or rsTopic("MEMBER_ID") = MemberID)




www.daoc-halo.com
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 May 2002 :  11:53:20  Show Profile  Send ruirib a Yahoo! Message
quote:

Crash - if you think someones gonna reply youre dreamin (n/o)

No one replies to problems

ITS MEANT TO BE A HELP BOARD PEEPS


Looks like you are the one who have been dreaming while browsing the forums. There as lot of help here and if you think otherwise why come here in the first place?
I'll keep in mind not to answer your future posts, don't want to disappoint you

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 06 May 2002 :  12:19:25  Show Profile  Visit crash's Homepage
Gremlin, Dave: thank you for the reply! i most certainly will try that later today!

thanks!



Crash's Site | Crash is from
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 06 May 2002 :  12:57:54  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
Sounds like you may be having problems with Session variables....

Dave Maxwell
--------------
Proud to be a "World Class" Knucklehead
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 06 May 2002 :  13:17:16  Show Profile  Visit crash's Homepage
what are you talking about?



Crash's Site | Crash is from
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 06 May 2002 :  22:06:07  Show Profile  Visit Nathan's Homepage
quote:

Crash - if you think someones gonna reply youre dreamin (n/o)

No one replies to problems

ITS MEANT TO BE A HELP BOARD PEEPS



bad_gurl_2k2- every single person here helping moderating or developing on these forums is doing so as volunteers on our own time. It is likely that this post was not responded to immediately because we try to focus on support issues, customizations take a back seat.

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 07 May 2002 :  03:36:08  Show Profile  Visit Gremlin's Homepage
quote:

what are you talking about?



Crash's Site | Crash is from



when you log into the Admin_Home page, it sets a Session Variable that the other Admin pages check to validate whether you've logged in or not. Thats what Dave's referring to.

I'm not sure though just why you'd have problems with this one Session Variable unless your host has disabled them, or perhaps (very remote possibility) theres a problem with your cookies at your end. You could try deleting your Snitz cookies and logging in again. Whilst Session Variables are not Cookie and shouldnt be confused with them, Cookies must be enabled to allow Session Variables to work correctly.

You could try asking someone else to log in to the admin pages and see if it works for them, that might help narrow the problem down to server or client side.

www.daoc-halo.com
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 07 May 2002 :  04:57:31  Show Profile  Visit crash's Homepage
but why? i am the only one who gets to go to the admin pages? and i presume you're talking about my own site?

how does Dave know this? does he get an error message when visiting?



Crash's Site | Crash is from
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 07 May 2002 :  05:27:51  Show Profile  Visit Gremlin's Homepage
You've missunderstood what I said there I think their Crash.

I said you could try getting someone else to log in to test whether its a problem with your browser or not. Equally you could also try logging in yourself using another PC and see if it works. If it works from another PC then you've narrowed the problem down to being something at your end.

How does Dave know this ? .. Becuase he knows how admin_home.asp works thats all and he was stating that the problem you are having is obviously somehow related to Session Variable (which unless you've made modifications to the code it must be).

www.daoc-halo.com
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 07 May 2002 :  05:31:26  Show Profile  Visit Gremlin's Homepage
Somehow I think these replys from Dave and myself both should be on another thread that was discussing being redirected to admin_home.asp continuously not this one. Not sure if that was just our mistake or somehow these threads have got 'cross-linked' I can't find that thread right now though.

www.daoc-halo.com

Edited by - Gremlin on 07 May 2002 05:32:54
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 07 May 2002 :  05:34:25  Show Profile  Visit crash's Homepage
i see. well, the topic on the redirect was started by some other than myself, but we'll leave it at that. it was not a problem i was experiencing myself by the way...

let's lock this thread so no more mixed-up-posts can get through

again: thanks for the devotion



Crash's Site | Crash is from
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.53 seconds. Powered By: Snitz Forums 2000 Version 3.4.07