Brf wrote:You mean like:
Code: Select all
'user_group_id' => $row['groupId'],
where $user_cache[] is being filled and
Code: Select all
'POST_AUTHOR_GROUP_ID' => $user_cache[$poster_id]['user_group_id'],
where postrow is being filled?
Note that that will only set your poster's default group, not all of their groups.
I could be doing something wrong, but that does not return the poster's group id. I will continue to test and post if the results change.
As far as only the poster's default group, that is fine and exactly what I am looking for.
What I want to do is get the post author's group id, and then in the template viewtopic_body.html, I wanted to have it
Code: Select all
<div class="postbody<!-- IF user_group_id == 5 -->5<!-- ENDIF -->">
That would allow the administrator's postbody to be different than everyone else's.
In other words, I want to be able to do something like this:
http://www.phpbb.com/community/viewtopi ... 0&t=647935, however Omarvelous seems to have abandoned the mod. I tried contacting him several times without any response.
I hope that helps clarify all ambiguity. Anyone who helps me will receive full credit or could even release it themselves if they wanted to

. Again, I thank everyone in advance who helps me.