NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes · NukeForums · NukeZone Hosting · Nuke Sites · Nuke Skins
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·php nuke background
·Php nuke one click install on plesk 10.4
·Blocks
·vbulletin migration
·How would I add a clickable link in a Modules Block?
·eregi_replace() is deprecated
·Admin Security login jpeg not showing
·PHP-NUKE CALENDAR MODULE. Does it exist?
·God Account
·Security Code showing up for everything EXCEPT new user reg

read more...
Top10 Links
· 1: Nuke Forums
· 2: Windows Installation: PHP
· 3: PHPNukeFiles
· 4: NukeSkins
· 5: Nuke Templates
· 6: EcomJunk
· 7: MDesign
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: xSuellenZavalaa
Today: 0
Yesterday: 0
Overall: 15850

Visitation:
Guests: 209
Members: 0
Total: 209


You are Anonymous user. You can register for free by clicking here
Sponsor Links
Nuke Sites Link Directory
Nuke Sites Link Directory

NukeResources :: View topic - BB2Nuke 2.0.18 bug report & fix
NukeResources Forum Index

NukeResources Forum Index -> Bug Fixes -> BB2Nuke 2.0.18 bug report & fix
Post new topic  Reply to topic    View previous topic :: View next topic 
BB2Nuke 2.0.18 bug report & fix
PostPosted: Fri Nov 18, 2005 2:52 am Reply with quote
toolbox
Resource Newbie
Resource Newbie
 
Joined: Feb 13, 2005
Posts: 21




< this is a copy of the post in my dev. site forums >
Source Link: http://www.nukekorea.net/modules.php?name=Forums&file=viewtopic&p=1567#1567

After upgrading BB2Nuke 2.0.17 by myself (without BB2Nuke 2.0.18 by chatserv), I compared the whole codes of mine with chatserv's great work of BB2Nuke 2.0.18 np.

Unfortunately, I found a critical bug. When you did not fix this bug, your forum topic can not move when you click on pagination numbers. Therefore, simply replace a fractional code block in viewtopic.php (phpBB2 stand-alone 2.0.18 has the exact same codes as below).

in MODification format:
Code:

#
# -------- [ OPEN ] -----------
#
<nuke-root>/modules/Forums/viewtopic.php

#
# -------- [ FIND ] -----------
#
//
// Decide how to order the post display
//
if ( !empty($HTTP_POST_VARS['postorder']) || !empty($HTTP_GET_VARS['postorder']) )
{
   $post_order = (!empty($HTTP_POST_VARS['postorder'])) ? htmlspecialchars($HTTP_POST_VARS['postorder']) : htmlspecialchars($HTTP_GET_VARS['postorder']);
if (!eregi("^((asc)|(desc))$",$post_order) )
{
        message_die(GENERAL_ERROR, 'Selected post order is not valid');
}
        $post_time_order = ($post_order == "asc") ? "ASC" : "DESC";
}
else
{
        $post_order = 'asc';
        $post_time_order = 'ASC';
}

#
# --------- [ REAPLCE WITH ] ---------------
#
//
// Decide how to order the post display
//
if ( !empty($HTTP_POST_VARS['postorder']) || !empty($HTTP_GET_VARS['postorder']) )
{
   $post_order = (!empty($HTTP_POST_VARS['postorder'])) ? htmlspecialchars($HTTP_POST_VARS['postorder']) : htmlspecialchars($HTTP_GET_VARS['postorder']);
   $post_time_order = ($post_order == "asc") ? "ASC" : "DESC";
}
else
{
   $post_order = 'asc';
   $post_time_order = 'ASC';
}

#
# ----- [ EoM ] ----------
#

Other minor bugs found but they are trivail enough and do not bother BB2Nuke.

Once again, I always appreciate chatserv's great contribution.
View user's profile Send private message
PostPosted: Sun Nov 20, 2005 5:20 pm Reply with quote
chatserv
Site Admin
Site Admin
 
Joined: Apr 21, 2002
Posts: 1732
Location: Puerto Rico




Both zips updated.

_________________
NukeResources | ScriptHeaven
View user's profile Send private message Visit poster's website
PostPosted: Sun Nov 20, 2005 8:10 pm Reply with quote
toolbox
Resource Newbie
Resource Newbie
 
Joined: Feb 13, 2005
Posts: 21




I always appreciate your great work, chatserv. Laughing
View user's profile Send private message
BB2Nuke 2.0.18 bug report & fix
 NukeResources Forum Index -> Bug Fixes
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
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 78 unique hit(s) in the past 24 hours.
Forums ©
Nuke Sites Link Directory


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.55 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::