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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 first poster = moderator?
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 25 January 2006 :  09:38:13  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
How can I make (for a certain forum) that the user starting the thread get the permission to edit/delete replies, but ONLY to his own thread?

something like "If forumID = XX and memberID = TMember_ID" I suppose?
<

/Tribaliztic
- www.gotlandrace.se -

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 31 January 2006 :  03:22:31  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Am I unclear on what I want done or is this impossible? =)
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 31 January 2006 :  04:32:07  Show Profile  Reply with Quote
WEll, anything is possible, but I've never seen the code for that.<
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 31 January 2006 :  04:37:43  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Tribaliztic, it is doable but it would require some intensive modification of post_info.asp and pop_delete.asp though.<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 31 January 2006 :  05:07:49  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Are you sure Marcel? Couldn't I just include some kind of check like the line I posted where suitable? (ie where there are icons for moderator stuff...).
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 31 January 2006 :  05:33:29  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Just showing the icons won't enable the user to actually delete or edit the post.
If that was the case, simulating the link would enable any user to do that, wouldn't it ?
So, in pop_delete.asp (for deleting), post.asp (the edit interface) and post_info.asp (the actual update script after editing) there are checks built in to check if the user doing the modification is authorised to do so.
Those checks would need to be updated as well.<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 31 January 2006 :  05:44:31  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Okay...
I'll have a look at it, thanks =)
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 31 January 2006 :  05:50:18  Show Profile  Reply with Quote
Yeah, everywhere you see mlev, you will have to check for topic author instead. Your time might be better invested in writing a function with a boolean return value so that you can check it easily in multiple places.<
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 31 January 2006 :  05:52:55  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
uh, laser.. Could you explain that again? =)
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 31 January 2006 :  06:32:41  Show Profile  Reply with Quote
ROFL .. np.

Most of the code checks for mlev (3-moderator, 4-admin, etc..) to see if "they" can edit the post. If you want the topic author to have moderator control I think the easiest way to do it would be to write a function to replace the mlev check. Maybe you would pass the topic_id to the function and it would return the author_id. Check that against the current member_id and if true then the post can be editted.

Does that help or not ? <
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 31 January 2006 :  06:44:24  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Ok, at least I understand what you are writing now =) But I don't have the coding skill to do something like that. I'll leave this thread here and if anyone feel an uncontrolled urge to write this function you are welcome ;)
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

Karel Bata
Junior Member

United Kingdom
122 Posts

Posted - 28 February 2006 :  08:46:04  Show Profile  Visit Karel Bata's Homepage  Reply with Quote

This would be a very cool function if used in association with the sub-forums mod - something that allowed someone posting to create their own sub-forum for which they are the moderator. <
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 28 February 2006 :  09:01:52  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
I think marcel did something like that on oxle?
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

Karel Bata
Junior Member

United Kingdom
122 Posts

Posted - 28 February 2006 :  09:22:42  Show Profile  Visit Karel Bata's Homepage  Reply with Quote

Let me re-phrase that... something that allowed someone posting to create their own sub-forum for which they are then automatically the moderator.

Less work for the webmasters, no?

Marcel's is a paying option. I would guess he sets it up manually for any users.
<

Edited by - Karel Bata on 28 February 2006 09:23:34
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 28 February 2006 :  10:05:32  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Ah, you may have a point there =)
Not exactly what I was asking for but the code should be similar...
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

ILLHILL
Junior Member

Netherlands
341 Posts

Posted - 18 March 2006 :  20:38:20  Show Profile  Reply with Quote
Tnis can be very interesting for my blog thingy to have the author remove comments (replies)
from other members, which might be spam or unfriendly.

I'm going to check this tomorrow, to see if I can make something out of it.

Greets, D
<

CLPPR.com - All The News Only Seconds Away
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07