PDA

View Full Version : New Posts Code not working in header


johnstires
10-16-2006, 07:10 PM
I move this block of code to my header template. It was from the welcome block and was redundant.

The $newposts works on my vba pages but does not work on my regular pages. It just says "New posts: " without a number. Why would this be?

<a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts

Brian
10-18-2006, 04:36 PM
The header template is evaled before that module is ever processed, so that variable is not going to work unless you add a separate hack.

Our Sponsors
 

trv
11-08-2006, 09:11 AM
What hack? How can i have this functionality? :)