PDA

View Full Version : How to pull user id in postbit


gdguide
05-17-2009, 04:40 PM
I'm trying to add a link to the postbit that will do a search for threads posted in Forum X by the posting user, but using this code doesn't pull the userid like I expected it to:

$userinfo[userid]

Is there another hook that will correctly insert it into a link in the postbit?

Lynne
05-17-2009, 05:20 PM
Use $post[userid] instead of $userinfo[userid]