![]() |
@Boofo
You can give this a try: Hook: postbit_display_start PHP Code:
To make it stand out further, you could overwrite the CSS Class here too, or set a $show Flag to check in postbit, or ... @Martin Brining Postcount into play is easy, just change the condition in the _presave Hooks to check $vbulletin->userinfo['posts'] |
Works like a charm! See the attached pic. ;)
What wouod you suggest to make it stand out further? I have no idea how to do what you suggested about the flag or css. ;) |
Quote:
If you added a check on post count, say less than 10 posts, it would auto-moderate the spammer's posts while allowing your real members to use words that might otherwise be filtered, like "free". Just a thought. |
Quote:
It sounds like an interesting idea. I'd like to see what you come up with and try it, if you don't mind. It would come in handy on my new site and I will be dealing with a controverial issue and I don't need any spammers messing things up. ;) Did you incorporate the post count code that Kirby gave you? |
Kirby, how would I go about changing the css or whatever to make the post stand out?
And is there a way to make the icon different than the default for this (like the warning sign)? |
$bgclass='classname';
But I guess this only works for postbit_legacy. You can show any Icon or whatever you want, just set a Flag and check this in Template postbit *rolleyes* |
Quote:
Yes, I suppose I can do a conditional for the post icon. I just thought of something, when Xenon does his Hide post except for staff Mod, he also check for post[visble]. Is there an AND we can use for this as not to interfere with that when it happens? And wouldn't an error message to the poster that his post is being moderated due to a word (or whatever) maybe keep him from reposting the message because he doesn't know why it isn't showing? ;) |
Then he might just try to trick the Filter ... but of course this would be possible.
You'd have to make the check in build_new_post() I did it in the Datamanager to also cover editing. |
Haven't tried it yet, I'm too busy with support stuff right now. Hell, my test board are still on RC1.
Thanks Kirby. I will play with it tonight when I have time :) |
Quote:
Are you gonna add the code you posted for me to try to your Mod? There are others I'm sure that could use it. ;) |
All times are GMT. The time now is 09:29 PM. |
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:
|