View Full Version : IS there really no way to...
Jubei
12-30-2012, 04:11 PM
...add a person's usergroup to the postbit legacy (WITHOUT using usertitles?). It was pretty simples in vB 3.x but I can't find a solution for vB 4.x.
Thanks.
Lynne
12-30-2012, 04:33 PM
How about using Ranks? The same options are available in vB4 that existed in vB3.
Or maybe {vb:raw post.displaygrouptitle}? There's also {vb:raw post.displayusertitle}, but that uses the "User Title" field from the usergroup manager, so I don't know if that's what you meant when you said you didn't want to use usertitles. But like Lynne said, those should have been available in vb3 as well.
vbresults
12-30-2012, 08:18 PM
Create a new plugin;
Hook Location: showthread_postbit_create
Execution Order: 500
Plugin PHP Code:
if ($postinfo['userid']) {
$postinfo['usertitle'] = $vbulletin->usergroupcache[$postinfo['usergroupid']]['title'];
}
Jubei
12-30-2012, 09:01 PM
Or maybe {vb:raw post.displaygrouptitle}? There's also {vb:raw post.displayusertitle}, but that uses the "User Title" field from the usergroup manager, so I don't know if that's what you meant when you said you didn't want to use usertitles. But like Lynne said, those should have been available in vb3 as well.
Worked like a charm. Many thanks! :)
(Ranks were already being used, btw)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.