Log in

View Full Version : Access the Usergroup of Thread Starter


davide101
09-19-2006, 09:09 PM
Good evening,

I've implemented Google revenue sharing in my forum and want to offer different sharing percentages based on the usergroup. I'm almost there. Here's my last obstacle:

In showthread.php, how do I determine if the threadstarter is in a secondary usergroup of 9?

I'm performing all my operations right after this line of Showthread.php (about 1068):

if (!isset($FIRSTPOSTID)) {

But how do I tease out the usergroup let alone a secondary usergroup?

I appreciate any input you can offer. I've been trying for hours and I'm completely stuck!


what usergroups the threadstarter is in. In particular, I want to know if the user has a secondary usergroup of 9. Here's what I have so far

davide101
09-21-2006, 01:18 PM
Bump.

I'm still trying to figure out any way of accessing a secondary (or primary if necessary) usergroup in showthread.php. Any help is greatly appreciated.