The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change User Group By post Count
is there a hack out of a bit of template editing or can someone make it please
what i mean is like you get 10 posts you move to another group automaticly |
#2
|
|||
|
|||
you could just manually add it in to the newthread and newreply.php files... for instance...
PHP Code:
g-force2k2 |
#3
|
|||
|
|||
thanx d00d but where do i put it
|
#4
|
|||
|
|||
not working
|
#5
|
|||
|
|||
i put it here under
eval("standarderror(\"".gettemplate("error_toolong ")."\");"); } |
#6
|
||||
|
||||
Put it after
PHP Code:
PHP Code:
You can use $bbuserinfo[posts] > 10 instead of $bbuserinfo[posts] == 10 (as g-force suggested) and it will help you to automatically convert users with more than 10 posts whenever they post, but if you use $bbuserinfo[posts] == 10, you'll save 1 query in every new reply and thread. Of course then you need to manually update members more than 10 posts and the hack will apply to new users (members with less than 10 posts) only.. Your call.. |
#7
|
|||
|
|||
still not working
|
#8
|
||||
|
||||
If you applied my code, you have to test it out under these conditions:
1- Testing user must be a "normal" member (usergroup id=2) 2- It should be tested at the moment he has "10" posts in your board. (Not more, not less) 3- The user must reply a thread or create a new thread to change his usergroup |
#9
|
|||
|
|||
i have not working
|
#10
|
||||
|
||||
Right before the hack code, add this:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|