Log in

View Full Version : Profilefield in Forumdisplay


Saskia
06-27-2007, 12:21 PM
Okay I've been struggling with this for a bit, but I haven't been able to find the solution yet and I've come to realise that writing plugins that involve queries are not my friends.

Basically, what I want to do is get a certain custom profilefield to display in forumdisplay next to a user's name (eg. with the "lastpostinfo" and "loggedin" variables). I think the location of the hook I want should be forumdisplay_query but I'm struggling with what I should write in it. Tried a couple of things but because they are different variables ("lastpostinfo", "loggedin") I'm kind of stuck.

If anyone could help me out or steer me into the right direction, I would greatly appreciate it. I really want to learn more about queries and how to call on certain database fields.

Thanks!

(If it makes any difference, I'm using vB 3.6.x.)