View Single Post
Old
  (#3 (permalink))
Mighty_Y
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-13-2003, 04:10 PM

Okay, I wanted to post the whole glance.php but that killed the functions_search.php so you'll have to do some replacements
open glance.php and find
Code:
                    case POST_ANNOUNCE:
            			$latest_anns[] = $topic_row;
                        break;
                    case POST_STICKY:
            			$latest_stickys[] = $topic_row;
                        break;
and replace with
Code:
                    case POST_ANNOUNCE:
            			$latest_topics[] = $topic_row;
                        break;
                    case POST_STICKY:
            			$latest_topics[] = $topic_row;
                        break;
then find
Code:
        $latest_topics = array_merge($latest_anns, $latest_stickys, $latest_topics);
and replace with
Code:
        $latest_topics = array_merge(/*$latest_anns, $latest_stickys, */$latest_topics);
That should do it


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Reply With Quote