New Posts Icons not working properly

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   New Posts Icons not working properly
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 60
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
For some reason the icons that change to notify users of a new post in the fourms aren't working properly. Here's what is happening.

When I make a post in a forum, I see the "new posts" icon in the forum marking the post I just made.

When there are several forums with new posts, I see several "new posts" icons, but when I read the first post, all the "new posts" icons go away.

I have been going over cookies, code and searches and still have had no luck. Anyone have any ideas as to what is going on?




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#2   re: New Posts Icons not working properly
madman
CZ Moderator
madman has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Dec 06, 2004
0.00 posts per day
Posts: 21
Points: 1,234
 Yahoo Messenger  
Output buffering probably might solve the problem. You need to modify header.php and footer.php located on phpnuke root directory. First, open header.php and find this line:
require_once("mainfile.php");

Before, add:
ob_start();


Now open footer.php and find this line:
die();

Replace with:
// die();

Find this line:
foot();

After, add:
$nuke_contents = ob_get_contents();
ob_end_clean();
print($nuke_contents);
die();




_________________
Cheers,
madman
Back to top Reply with quote
#3   re: New Posts Icons not working properly
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 60
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
Thanks for the help madman. I made the changes and will let you know what the results were.




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum