![]() |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Could this be changed to show usergroup ranks or rank images?
I'd like to show multiple rank images in the postbit. |
Gary, I just noticed something odd...
I have a bunch of users whom I Mass Moved into another UserGroup. However, although in the "User" Table, the "usergroupid" field shows the correct New Group - the "displaygroupid" field still has their old UserGroup. Now, I don't know if this is what is supposed to happen or not - however, this hack seems to pull from the "displaygroupid" field, instead of the "usergroupid" field. As such, a large number of users now show up with the wrong Group info in the Postbit! Assuming that this is not a problem with vB (in other words, assuming that the "displaygroupid" field is *supposed* to show the old Group) - than what needs to be changed in this hack to reflect the correct field being used? |
Replace
HTML Code:
$post[displaygrouptitle] HTML Code:
$usergroupcache[$post[usergroupid]][title] |
Gary, I tried the replacement you suggested, and I got a Parse Error.
Parse error: parse error, unexpected '[', expecting ']' in C:\WebSite\forums\includes\adminfunctions_template .php(3037) : eval()'d code on line 74 |
In the includes/functions_showthread.php find
PHP Code:
Then put $usergroupname in the postbit template wherever you want the usergroup to showu p. |
Thanks, Gary! That did the trick perfectly!
|
All times are GMT. The time now is 08:41 AM. |
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:
|