The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Request ~ Ban a user from a thread
Here's what the hack could do:
- Only users who have posted in the thread already EXCLUDING the thread starter can be banned from the thread. - It should work on a threadid system (just giving ideas on how it could be made) - You should be able to un-ban users from threads. - You should be able to ban more than one person from a thread. - in the postbit for every user who has posted in the thread except the thread starter, there is a link "ban from thread" and if the user is already banned from the thread, the link should read "un-ban from thread". If the user is the thread starter, first of all, the first post shouldn't have the ban from thread link, and everytime the userid who started the thread posts in the thread, the ban from thread link doesn't show. - If a user is banned from a thread, he can still view the thread and everything, but he cannot reply to it. I think this is a good idea and can stop thread-hi-jackers who just ruin threads. Stopping them from posting in it again is a great way to clean up threads. Please please please someone take this idea up and make a hack out of it . If you're a daring hacker, there's more you can do though (this is optional stuff): - AdminCP integration into user's profile: shows threadids and threadtitles of the threads they're banned from. - Records of who banned who, and when, which thread, why (a give-reason system), which forum. - Can re-voke bannings from threads in user's profile in adminCP. - Page in adminCP which lists all threads where a user is banned from and after it in brackets, states the name and userid of the person who is banned from them. |
#2
|
||||
|
||||
heh i think this would be an excellent idea for a hack, since sometimes on my forums we usually have problems with arguments on certain political subjects
|
#3
|
||||
|
||||
hmm, looks like a really intresting idea truely...
as it should be dynamically, you have to save it into the db. i'd suggest to create a new field in the threadtable and save the banned userids there... (like the buddylist is saved..) the unban feature can be one extra page, or always displayed for the mods when viewing a thread... i'd do it if i'd have more time, but unfortunately i don't have enough for my todolist.. i hope at least the tips could help |
#4
|
|||
|
|||
I'll try to make this on the weekend Xenon, but I think it's a little too advanced for my amateur skills in PHP. I'm guessing this is going to add 2 queries to showthread?
|
#5
|
|||
|
|||
It would probably only add one query to newreply.php.
|
#6
|
|||
|
|||
I should be able to do something like this sometime fairly soon as we need something like this for one of our forums and I'm thinking that I can probably do it without adding any extra queries on a normal page view.
|
#7
|
|||
|
|||
Quote:
|
#8
|
||||
|
||||
it could be done without a single extraquery yes
if it's saved in the threadtable it is catched from the db always when showthread is called. then normal php functions can do the rest..... @Dan: i'm intrested in your way of doing it exactly it's surely a nice feature..... |
#9
|
|||
|
|||
Quote:
|
#10
|
|||
|
|||
Ok, i'll leave it to you then .
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|