Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 33
0 members and 33 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - Modules

Reply
 
LinkBack Thread Tools Display Modes
Removing "sticky's" from glance mod
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 23
Join Date: Nov 2002
Removing "sticky's" from glance mod - 07-13-2003, 08:42 AM

Is there a way to have sticky and announcement threads to act like regular threads in the glance mod?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-13-2003, 02:51 PM

I'll check it for you, should be fairly easy to do


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

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-13-2003, 03: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!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 23
Join Date: Nov 2002
07-14-2003, 01:35 PM

awesome...thanks.

I'll give it a shot in a bit
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random News "YES" / Center Block "NO" Liqid Site design 0 07-06-2005 07:47 PM
Top of box says "charcoal-Forums" instead of " wildefire Theme packs 2 03-03-2003 09:40 AM
"Latest Post From Forums" central Block Stuck... noelmd Purged Topics 5 02-28-2003 08:08 AM
"Edit" and "Delete" -links in section? zlaxzzor Purged Topics 0 12-10-2002 12:04 PM
"Content" vs "Section" (didn't get it) klipywitz Purged Topics 1 12-06-2002 10:01 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31