PDA

View Full Version : [fixed] $post[usertitle] doesn't get parsed in announcebit


Jake Bunce
Fri 2nd Nov '01, 5:15am
vb 2.2.0
template: announcebit
find: $post[usertitle]

it seems that this does not parse when viewing an announcement. this is in the default vb style. i had to change it to bbuserinfo[usertitle] to get it to parse.

tubedogg
Fri 2nd Nov '01, 6:01am
$bbuserinfo[usertitle] would give the wrong result, but I will check on the $post[usertitle] thing.

tubedogg
Fri 2nd Nov '01, 6:03am
'twould appear you are correct, sir.

Moving to bugs...

Jake Bunce
Fri 2nd Nov '01, 6:10am
$bbuserinfo[usertitle] gives the correct result for me...

G0D
Fri 2nd Nov '01, 8:59am
$bbuserinfo[usertitle] shows the usertitle of the person who is viewing the announcement. not the usertitle of the person who made the annoucement

Chen
Fri 2nd Nov '01, 10:32am
So I guess Jake announce the announcement and because of that got the correct result. ;)

Freddie Bingham
Fri 2nd Nov '01, 11:45am
Remove this unset($post[usertitle]); from announcement.php

Jake Bunce
Fri 2nd Nov '01, 5:47pm
Originally posted by G0D
$bbuserinfo[usertitle] shows the usertitle of the person who is viewing the announcement. not the usertitle of the person who made the annoucement

Originally posted by FireFly
So I guess Jake announce the announcement and because of that got the correct result. ;)

doh! http://www.mac-gamer.com/images/smilies/smashtard.gif

Jake Bunce
Fri 2nd Nov '01, 6:15pm
Originally posted by freddie
Remove this unset($post[usertitle]); from announcement.php

that worked :)