The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
User Title Help!
So I'm having an issue here. I want to add a second user title. The problem is it only wants to be set up based on post count. Well on my site we have ROTM (Ride Of The Month), I want the title ROTM Winner for their second title. Since user titles are post counted based how do I get around that? I only want the winners to have that title, obviously.
Thanks! |
#2
|
||||
|
||||
I think you would need to write plugin to add a title only for those users.
postbit_display_complete PHP Code:
|
#3
|
|||
|
|||
ah ok, I'll see what happens... thanks!
|
#4
|
|||
|
|||
so where would i plug this in at? .. im trying to find "postbit_display_complete" no luck so far
edit: got it made.. now how do i assign to members? |
#5
|
||||
|
||||
What do you mean "how do i assign to members"? You would write the condition for their userid like I had above.
|
#6
|
|||
|
|||
i got ya, plugin their username under the "x" field and the month in "XXXXX" field.. is that correct?
|
#7
|
||||
|
||||
Yeah, I believe so. Try it on your test site and see if it does what you want.
|
#8
|
|||
|
|||
so im in plugin & products>plugin manager.. i have my fields set as: Product: VBulletin; Hook Location: postbit_display_complete; Title: ROTM; Execution order: 1; and the php code:
PHP Code:
|
#9
|
||||
|
||||
$post[userid] should be a number - the userid - not a name.
|
#10
|
|||
|
|||
any specific number?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|