» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 71
0 members and 71 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on Removing "sticky's" from glance mod within the Nuke 6.5 to 6.9 - Modules forums, part of the PHP-Nuke 6.5 to 6.9 category; Is there a way to have sticky and announcement threads to act like regular threads in the glance mod?...


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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2003, 09:42 AM
Junior Member
 
Join Date: Nov 2002
Posts: 23
Removing "sticky's" from glance mod
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
  #2 (permalink)  
Old 07-13-2003, 03:51 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
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
  #3 (permalink)  
Old 07-13-2003, 04:10 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
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
  #4 (permalink)  
Old 07-14-2003, 02:35 PM
Junior Member
 
Join Date: Nov 2002
Posts: 23
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 08:47 PM
Top of box says "charcoal-Forums" instead of " wildefire Theme packs 2 03-03-2003 10:40 AM
"Latest Post From Forums" central Block Stuck... noelmd Purged Topics 5 02-28-2003 09:08 AM
"Edit" and "Delete" -links in section? zlaxzzor Purged Topics 0 12-10-2002 01:04 PM
"Content" vs "Section" (didn't get it) klipywitz Purged Topics 1 12-06-2002 11:01 PM


All times are GMT -5. The time now is 10:49 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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