The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Is it possible to have a different postbit for premium members. Such as Different Colour? And different layout?
Please reply a.s.a.p Thanks |
|
#2
|
||||
|
||||
|
Open admin/functions.php
Find: Code:
// do posts from ignored users
if (($ignore[$post[userid]] and $post[userid] != 0)) {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
} else {
eval("\$retval = \"".gettemplate("postbit")."\";");
}
Code:
// do posts from ignored users
if (($ignore[$post[userid]] and $post[userid] != 0)) {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
} elseif ($bbuserinfo[usergroupid]==X) {
eval("\$retval = \"".gettemplate("postbit_contributor")."\";");
} else {
eval("\$retval = \"".gettemplate("postbit")."\";");
}
![]() Satan |
|
#3
|
|||
|
|||
|
thankyou very much
|
|
#4
|
|||
|
|||
|
how does it know if the member is a contributor? Is there contribution hack or does it work on usergroupds
|
|
#5
|
||||
|
||||
|
usergroupids
![]() also you can look into my custom postbit for users hack, it can be used for specific usergroups also
|
|
#6
|
|||
|
|||
|
thanks mate!!!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|