TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Altering phpBB - Missing something

Page: 1 Reply
Nov 25th 2001#21375 Report
Member since: Mar 18th 2001
Posts: 1452
Ok, I might just be overlooking something, but this is bugging me.

This is in a file, where pretty much all the global variables are stored:[code]$l_statsblock = '$statsblock = "Total Posts: $total_posts | Members: $total_users |
Welcome to our newest member: <a href=\"$profile_url\">$newest_user</a>.";'; [/code]In the page header file, is this code:[code] <?php
eval($l_statsblock);
print $statsblock;
?>[/code]

Now the header is called with every page (index, forums, topics, etc) but the info only shows on the index page. The 'Total Posts', 'Members' and 'Welcome to our....' text shows on the other pages, but the stats for each disappear.

You can see here: http://thewaltdisneynut.com/phpbb/

Any ideas, what might be causing this to only show on the root index file? I haven't seen anything that's particular, the header.php file is a global file, and so is the one that the first code is located in. :confused:
Reply with Quote Reply
Nov 25th 2001#21384 Report
Member since: Mar 18th 2001
Posts: 1452
Nevermind. I got it all figured out.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum