![]() |
I did a quick & dirty hack that has much of the same effect but without the query JOIN -- (removes a person's posts but lets them see 'em normally so they don't know what happened)...
https://vborg.vbsupport.ru/showthrea...threadid=35589 |
JOINS are only a problem if the field(s) you are joining are not-indexed.
|
Freddie, you so smart... and it appears usergroupid is already indexed. So his original showthread join with the user would not have been a problem eh? Sorry intellected! I see you already changed it to use a new field, post.hellban. If the original way really didn't add much overhead, it was probably the more elegant solution rather than adding a new field to post.
|
I don't know, I didn't look at his code so I have no comment on it's effectiveness at utilizing the database.
|
I think the usergroup is already read at showpost / newreply / newthread time.
So there is that info at postbit level, and we can use it without adding the hellban field to post & thread tables. What do you think about ? Thnx |
Same thing.....same error....can't get the query to work....help plz?
|
I like hellban idea, but there is another way.
If you created 666 usergroup you find in admin/ functions.php PHP Code:
PHP Code:
Or change postbit_ignore template for more suited. |
Quote:
|
n/m, got it to work in phpmyadmin
|
i found a better method if you got admins out there that like members you ban. simalar to the one above but im using it and it works
in functions.php find PHP Code:
PHP Code:
then deleate everything from postbit_ignore |
All times are GMT. The time now is 06:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|