This one took me ages to figure out. On my forum front page if an admin posts their name is highlighted in red:
'Who last post is by Response.Write(strTxtBy & " <a href=""../users/" & lcase(strLastEntryUser) & """ class=""smLink"" ") if intAdminGroupID = sarryForums(19,intCurrentRecord) then response.write(" style=""color:" & strAdminColour & ";font-weight:bold;"" ") elseif intModGroupID = sarryForums(19,intCurrentRecord) then response.write(" style=""color:" & strModColour & ";font-weight:bold;"" ") end if
|
Admin group ID = 1. Now on our front page, we have a forum "General" with a subforum "Subforum". If an admin user (group 1) posts in General forum and then a normal user (group 4) posts in subforum, it correctly links to the subforum as the last post and the normal user as the latest post, but it makes their name red because it seems to be taking the group ID from the General forum and not the subforum.
I'm not sure if this strictly qualifies as a bug? sarryForums when I ran it shows the correct group ID for the user as 4, but somewhere between that and printing the users name out the group ID changes to 1.
Edited by Gullanian - 17 September 2011 at 4:02pm