vBulletin Modifications

[Req.] Thread kicker

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 07-24-2006, 06:28 PM   #1
vB Newbie
Join Date: Sep 2005
Ml2tal is on a distinguished road

Default [Req.] Thread kicker
Version: 3.5.x
Hack Category: Add-On Releases

I would like to request something like this.

Quote:
This hack allows administrators and moderators to kick users from individual threads (topics). People who start threads may also kick anyone except administrators and moderators, but only if the administrator allows them these powers. Users are kicked/unkicked by clicking the appropiate image next to their posts.

Admin Features:

- Full administration available via admin control panel.
- Unkick users (many at the one time).
- Change whether normal users may have the powers or if only administrators and moderators may have the powers.
- Decide whether the kicked user can read the thread or not.
- Ban any individual user from having the powers. This option is available by changing the setting in user management in the admin control panel.

User Features:

- Any user can kick anyone from a thread, but only if they started the thread (and the administrator has allowed normal users the powers).
- Normal users cannot kick administrators and moderators - they can never be kicked.
- If there are users kicked from a thread, a link in viewtopic.php (bottom left of page) takes you to a page where you have similar options to the administrator page. These options are limited and only accessible by people who are authorized to kick in the thread.
- If a user is kicked by an administrator, then moderators and users can not unkick that user.
- If a user is kicked by a moderator, only administrators and moderators can unkick that user.
- If a user is kicked by a normal user (thread starter), anyone can unkick them.
- When a user gets kicked from a thread, their posts remain.
- Users are informed if they are kicked from a thread and are told who kicked them.
- Admins can kick anyone.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07-29-2006, 06:47 PM   #2
vB Newbie
Join Date: Sep 2005
Ml2tal is on a distinguished road

Default

bumpity bump bump




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-29-2006, 10:02 PM   #3
xyz
Coder
Join Date: Jul 2006
xyz is on a distinguished road

Default

I'm thinking off the top of my head!

1. Forum permission (single switch), can be done in that forum!
2. Base permission (usergroup), over-rides forum permission
3. Switch in usergroup panel (over-ride by admin selected user)

This will allow you to turn it off for the complete group, but still allow a single user to use the permissions in that group! The user over-ride would be found in the user manager panel!

Here is all that would need to be done!

1. new table (allowed)

forum id, post id, topic id, topic owner, full ban, write ban, users allowed

The (topic owner) is the person that owns the topic. The (full ban) is a set of users that have been fully ban from the topic, (no access [read/write]), (write ban) means they can read but not reply, (users allowed) would mean that these users can not be ban.

This way, one single row controls one topic, so that you can inner join it as it is being displayed, no extra query!

So...

1. Alter table usergroup (add a bit index permissions group) (controls ban permissions)

2. add on table called (what ever => allowed) (controls topic view permissions)

3. add another table that will hold the permissions for the control (it's only used in the admin cp, the permissions are cached with the result of the forum permissions!

4. Alter table user (add the (bit) group over-ride permissions)

5. 5 script edits (forum)

6. 3 script edits (admin)

7. 4 edits (templates)

8. 40 phrases for the user help (facts)

9. 60 to 80 admin cp phrases (depending on the permissions added), I think 15 switches are needed for the complete system!

1. forum permissions! (user or group can have private topics)
2. usergroup permissions! (allow user group to control private topics)
3. usergroup permissions! (if group permission are off, allow single user access to allowed users)
4. usergroup permissions! (user can not ban these groups)
5. usergroup permissions! (user can not ban these users)
6. usergroup permissions! (topic owner can not be removed by other users)

Then, you will need a global permissions panel for the kick control (ie: admin ban can not be over-ruled, ...)

I can write this in few hours, but I don't feel like writing all the phrases. If you agree to write the phrases for the admin cp, then I will write all the edits.


me!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2006, 05:27 AM   #4
vB Newbie
Join Date: Sep 2005
Ml2tal is on a distinguished road

Default

surely what do i put in for the admin cp phrases?

Last edited by Ml2tal; 08-01-2006 at 05:31 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2006, 06:52 PM   #5
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Wink

This sounds a lot like the 'ban a member from thread' hack...




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2006, 11:36 PM   #6
Coder
G_man's Avatar
Join Date: Feb 2006
G_man is on a distinguished road

Default

Quote:
Originally Posted by Colonel Ingus
This sounds a lot like the 'ban a member from thread' hack...

That is what I was thinking. ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-02-2006, 02:06 AM   #7
vB Newbie
Join Date: Sep 2005
Ml2tal is on a distinguished road

Default

I guess... But it dosen't have that features for members who created the topic thread to have that ban functions. Unless they are Admin or Mod.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-02-2006, 05:34 AM   #8
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Wink

That's because allowing members to do that tends to cause havic on a forum ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-02-2006, 06:00 AM   #9
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

like if a member doesn't like another member then you are a bit doomed...

i suppose it wouldn't be to hard to modify the ban a user if really necessary




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-02-2006, 02:37 PM   #10
vB Newbie
Join Date: Sep 2005
Ml2tal is on a distinguished road

Default

Quote:
Originally Posted by Colonel Ingus
That's because allowing members to do that tends to cause havic on a forum ;)
yeah that's why it has
Quote:
- Any user can kick anyone from a thread, but only if they started the thread (and the administrator has allowed normal users the powers).




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comment hack using thread from forum kkiely vBulletin Modification Requests 1 08-06-2005 06:32 AM
Ratio THREAD vs. POST aikanarov vBulletin Modification Requests 2 05-23-2005 11:21 PM
Mods/admins make thread have no post count Keyser Söze vBulletin Modification Requests 2 09-09-2004 12:33 PM
Just got the Thread Count Hack by TouchingVirus Infamouz Nex General vBulletin Support 7 04-26-2004 01:38 AM


All times are GMT -3. The time now is 10:56 AM.


SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc. (Patent Pending)