View Full Version : Usergroups and Membergroups in Postbit
Thanatos
09-22-2005, 06:22 PM
Is there an easy way to do this in 3.5?
*whoops, sorry, wrong forum - please move at your convenience!*
Andreas
09-22-2005, 08:08 PM
postbit_display_complete
foreach (fetch_membergroupids_array($this->post, false) AS $usergroupid)
{
$ugstr .= ', ' . $this->registry->usergroupcache["$usergroupid"]['title'];
}
$ugstr = substr($ugstr, 2);
If this is what you want.
Thanatos
09-23-2005, 12:57 PM
postbit_display_complete
foreach (fetch_membergroupids_array($this->post, false) AS $usergroupid)
{
$ugstr .= ', ' . $this->registry->usergroupcache["$usergroupid"]['title'];
}
$ugstr = substr($ugstr, 2);
If this is what you want.
Looks greek to me...I'll try it out with a copy/paste in that template and let you know lol
Thanks Kirby.
Andreas
09-23-2005, 12:58 PM
Template?
I did not mention any Template ...
Thanatos
10-10-2005, 04:56 AM
okay, here's what I'm trying to accomplish...I found a link:
https://vborg.vbsupport.ru/archive/index.php/t-61305.html
In retrospect, I eventually DID figure out you were talking about making a plugin.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.