![]() |
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! |
I think you would need to write plugin to add a title only for those users.
postbit_display_complete PHP Code:
|
ah ok, I'll see what happens... thanks!
|
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? |
What do you mean "how do i assign to members"? You would write the condition for their userid like I had above.
|
i got ya, plugin their username under the "x" field and the month in "XXXXX" field.. is that correct?
|
Yeah, I believe so. Try it on your test site and see if it does what you want.
|
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:
|
$post[userid] should be a number - the userid - not a name.
|
any specific number?
|
All times are GMT. The time now is 03:24 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:
|