PDA

View Full Version : Why can't I get $post[posts] to work in Forumhome?


Gutspiller
01-11-2003, 08:58 PM
I'm trying to get it so that I can show users their their postcount on the frontpage of the forum. When I put it in, it doesn't grab their post count, it does show anything. What's going on? Shouldn't this work?

JulianD
01-11-2003, 09:56 PM
Try using this instead:

$bbuserinfo['posts'] But I'm not sure if this will work because I haven't tested it.

Dean C
01-11-2003, 09:56 PM
Because $post[posts] is only a variable defined in showthread.php :p

You need $bbuserinfo[posts] :)

- miSt

JulianD
01-11-2003, 10:06 PM
Umm yeah... If you need to display it on a template you must use $bbuserinfo[posts] (no single quotes)