![]() |
Setting a plugin to activate at a certain post count
In userdata presave:
PHP Code:
In case anyone wonders, I'm trying to be very mean to a certain poster who is bragging all the time about being about to hit 3000 posts. --------------- Added [DATE]1236662338[/DATE] at [TIME]1236662338[/TIME] --------------- Bump? |
Help?
|
Exactly what are you trying to do? Make it so if he makes a post then his post count is not increased?
|
When he reaches a certain post count, it stops his post count.
|
Instead of doing an unset (I'm not sure how you would do that), why not just set it to the postcount you want it to stay at?
PHP Code:
PHP Code:
|
do_unset('posts') was the snippet you gave to me when I asked about this on a slightly less advanced level. But this should work. Thanks. :)
|
I gave it to you? Hehe. I'm not fully caffeinated yet... that is my excuse and I'm sticking to it!
|
I take it back. You didn't directly give it to me, you just put it up in some thread. :p So technically, it comes from you.
|
Hmm, OK, if you say so. :)
So, did you get this to work? You should post what you did so if someone else wants to do this to a user, they can get the code here (would be fun to do something with it for April Fools). |
I'm not sure if it works or not, it hasn't triggered yet.
http://forums.mtgdarkness.com/test-a...th-post-t2126/ I'm using it on the OP of that thread, set to 2999. https://vborg.vbsupport.ru/external/2009/03/102.jpg |
All times are GMT. The time now is 10:52 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:
|