![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
Highlight thread
I want to highlight a thread in the forumdisplay if they are in a certain usergroup. Looking at $thread in the threadbit_display hook, it has their user id and username, but no usergroup. I don't want to run a query each time to get their usergroup...
Am I missing something or is this not easy to do? No members have liked this post.
|
|
#2
|
||||
|
||||
|
You need to add a join to the thread queries.
Add a New Plugin Hook Location: forumdisplay_query PHP Code:
You should then be able to use $thread['usergroupid'] to get the thread starters primary usergroup. No members have liked this post.
Last edited by Opserty : 24 Oct 2007 at 10:27. |
||||
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 03:06.


