Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods
Author Message
helix512
Hangin' Around



Joined: Aug 07, 2006
Posts: 40

PostPosted: Sun Aug 13, 2006 5:18 pm Reply with quote

i have News: Version 2.02.02 released 04/20/2006! and want to know if this file BBtoNuke2021.zip can update the phpbb and if its stabe? im having member_List issues and want to see if this may fix it but i don tthink it will thanks in advance
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Aug 14, 2006 12:32 am Reply with quote

I don't believe 2.0.21 is stable yet. I would wait until it is properly integrated into RavenNuke. However if its just the Members_List module, you can try uploading a clean file from your package

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
helix512







PostPosted: Mon Aug 14, 2006 6:28 am Reply with quote

yea i have tryed that already. its really really weird whay i cant access theis module and half annoying now. :/
 
evaders99







PostPosted: Mon Aug 14, 2006 9:21 am Reply with quote

What is the issue specifically? Any error messages?
 
helix512







PostPosted: Mon Aug 14, 2006 12:22 pm Reply with quote

i posted it here Cant link to Members_List

when i click on this link in my menu i get the error "You cant link directly to this.."

and i really woudl like to get this to work since our member do use it.
 
evaders99







PostPosted: Tue Aug 15, 2006 2:45 am Reply with quote

Post the first block of code after the copyrights in the modules's index.php file
 
helix512







PostPosted: Tue Aug 15, 2006 6:27 am Reply with quote

if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
die ("You can't access this file directly...");
}
$module_name = basename(dirname(__FILE__));
require("modules/Forums/nukebb.php");

define('IN_PHPBB', true);
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);

//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_VIEWMEMBERS, $nukeuser);
init_userprefs($userdata);
//
// End session management
//

$start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;

if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{
$mode = ( isset($HTTP_POST_VARS['mode']) ) ? htmlspecialchars($HTTP_POST_VARS['mode']) : htmlspecialchars($HTTP_GET_VARS['mode']);
}
else
{
$mode = 'joined';
}

if(isset($HTTP_POST_VARS['order']))
{
$sort_order = ($HTTP_POST_VARS['order'] == 'ASC') ? 'ASC' : 'DESC';
}
else if(isset($HTTP_GET_VARS['order']))
{
$sort_order = ($HTTP_GET_VARS['order'] == 'ASC') ? 'ASC' : 'DESC';
}
else
{
$sort_order = 'ASC';
}
 
helix512







PostPosted: Tue Aug 15, 2006 9:24 am Reply with quote

just for giggies i removed this

if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
die ("You can't access this file directly...");
}

and now it works fine. no clue what this was in the file but its gone and seems to be working fine now..


thanks for the help
 
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Tue Aug 15, 2006 9:52 am Reply with quote

what version of nuke are you using and is it patched?

If it is Ravennuke or patched, its shouldnt be:

if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
die ("You can't access this file directly...");
}

but should be:

if ( !defined('MODULE_FILE') ) {
die ("You can't access this file directly...");
}

Although I must admit, I also see this in ravennuke.
and it works just fine without changing the code.

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
helix512







PostPosted: Tue Aug 15, 2006 10:03 am Reply with quote

im using ravenuke that is off the front page.. i have not patched it to 3/1 or 3.2 im kinda chickn to i dont want to lose what i have got done or the mods i ahve did lol

but when i did remove that section th euser list works perfectly.. i may try to put the code you posted in ans see what happeneds

i inserted the code you posted and it works fine with your edit so im happy thanks Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©