The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
post count and user group
Sorry if this already exists, but i'm looking for a hack for vbulletin 2.2.9 that will change a user's post count automatically when he reaches a certain post count.
Thanks. |
#2
|
||||
|
||||
if ($post[posts] >= 300) {
$DB_site->query("UPDATE user SET posts='XXXX' WHERE userid='$post[userid]'"); } something like that? |
#3
|
|||
|
|||
ok, where does that go? I am very new to Vbulletin and hacking it (2 days) .
|
#4
|
||||
|
||||
hmm, put that before the ending ?> tag in global.php:
PHP Code:
|
#5
|
|||
|
|||
that's it? then it'll all work out?
How do I find a groupid? |
#6
|
||||
|
||||
yes that's it
by highlighting the edit group link in the acp you can see it |
#7
|
|||
|
|||
dude, arggg, okay, i'm an idiot, explain it to me like I am retarded, because I really have no idea what I should change in what you gave me.
|
#8
|
||||
|
||||
i don't know the usergroupids of your board....
you have to find out yourself which usergroupid the new usergoup has. if it's the first custom group it would be 8 or 9 depending if there's the banning group already.. |
#9
|
|||
|
|||
I want it so that if the number of posts a user has 5 or more posts then he assigned to groupid 8 .
|
#10
|
||||
|
||||
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|