Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #16  
Old 10 Mar 2012, 03:53
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Originally Posted by gsmlover4u View Post
Originally Posted by gsmlover4u View Post
there is nothing in arcade.php
Originally Posted by gsmlover4u View Post
why you confused sir
You said,,,you installed 2.7.2+ and the code below isnt in the arcade.php file..


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Look on line 5575 in the arcade.php file..
__________________
vb ibProArcade: Download Game, Game Challenge, Report Game Systems.
Need Custom Arcade Work ?? ,,Plus more can be found at: next-level-arcade.com
Reply With Quote
  #17  
Old 23 Mar 2012, 00:48
boggseric's Avatar
boggseric boggseric is offline
 
Join Date: Sep 2009
Originally Posted by VBDev View Post
I have used stangger5 fix but was getting the reported issue with stristr on a customer forum.

I did the below edit, code will do the same and is simpler.

In arcade.php search for the ibp_cleansql function, search for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then search for :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Comment it out :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add after :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That does the same but is fairly simpler...

Though I must admit that Mrz fixed the 2.7.1 security issue rather uglily...
That bit of code could remove actual correct content ...
I made these changes but now there error moved down one line.

Fatal error: Call to undefined function: str_ireplace() in /home/ls2com/public_html/forums/arcade.php on line 5601


2.7.2 does it now required PHP5?

my code in arcade.php

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #18  
Old 24 Mar 2012, 16:03
hohleweg's Avatar
hohleweg hohleweg is offline
 
Join Date: Oct 2005
Real name: Joachim
Hey
function ibp_cleansql($value)
{
if( get_magic_quotes_gpc() )
{
$value = stripslashes( $value );
}
//check if this function exists
if( function_exists( "mysql_real_escape_string" ) )
{
$value = mysql_real_escape_string( $value );
}
//for PHP version < 4.3.0 use addslashes
else
{
$value = addslashes( $value );
}

// remove any SQL-commands
$sqlcomm = array();
$sqlcomm[] = 'create';
$sqlcomm[] = 'database';
$sqlcomm[] = 'table';
$sqlcomm[] = 'insert';
$sqlcomm[] = 'update';
$sqlcomm[] = 'rename';
$sqlcomm[] = 'replace';
$sqlcomm[] = 'select';
$sqlcomm[] = 'handler';
$sqlcomm[] = 'delete';
$sqlcomm[] = 'truncate';
$sqlcomm[] = 'drop';
$sqlcomm[] = 'where';
$sqlcomm[] = 'or';
$sqlcomm[] = 'and';
$sqlcomm[] = 'values';
$sqlcomm[] = 'set';
$sqlcomm[] = 'password';
$sqlcomm[] = 'salt';
$sqlcomm[] = 'concat';
$sqlcomm[] = 'schema';
//$value = recursive_str_ireplace($sqlcomm, '', $value);
foreach ($sqlcomm AS $key => $needle)
{
$value = str_ireplace($needle, '', $value);
}
return $value;
}
with this code it work fine!
Greetings Jo
__________________
www.buggy-forum.de : The best side vor Buggys!
Reply With Quote
  #19  
Old 29 Mar 2012, 23:23
silpher silpher is offline
 
Join Date: Nov 2010
Originally Posted by VBDev View Post
I have used stangger5 fix but was getting the reported issue with stristr on a customer forum.

I did the below edit, code will do the same and is simpler.

In arcade.php search for the ibp_cleansql function, search for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then search for :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Comment it out :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add after :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That does the same but is fairly simpler...

Though I must admit that Mrz fixed the 2.7.1 security issue rather uglily...
That bit of code could remove actual correct content ...
Thanks, that worked for me
Reply With Quote
  #20  
Old 14 Apr 2012, 18:11
CristianoDiaz CristianoDiaz is offline
 
Join Date: Jun 2007
Originally Posted by VBDev View Post
I have used stangger5 fix but was getting the reported issue with stristr on a customer forum.

I did the below edit, code will do the same and is simpler.

In arcade.php search for the ibp_cleansql function, search for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then search for :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Comment it out :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add after :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That does the same but is fairly simpler...

Though I must admit that Mrz fixed the 2.7.1 security issue rather uglily...
That bit of code could remove actual correct content ...
Thank you! This fixed the problem for me, it's been driving me nuts.
Reply With Quote
  #21  
Old 20 Apr 2012, 00:36
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Hey guys -

Is it possible for stangger5 and Hippy to get "joint custody" of this script since Mr Z is too busy? Having to sift through multiple threads with lengthy discussions about which code to use, what edits are best and why 2.7.1 is the version to use and not 2.72 (???!!!???) gets pretty confusing for us non-coders.

For a long time now, this script is has been officially dormant with new versions few and far between, while fixes (or not) abound in the forums. I understand the original author has expanded his family and his outside comimtments, and I'm not trying to criticize him in the least. Without him, this wouldn't be here in the first place.

That said, stangger5 and Hippy have been doing most of the heaving lifting on this script for some time now, and it seems it would be to everyone's benefit to give them equal access to the official releases along with Mr. Z to make this an equal partnership. The code could get back on track to be the awesome script it could be, instead of limping along and propped up with forum post file edits. They both have demonstrated a commitment to the script, and on their own sites have expanded its capabilities. Let's give 'em a chance to take this script to new heights instead of limiting their talents to covering it with bandaids.

Do I hear an "amen?"

Last edited by doubleclick : 20 Apr 2012 at 00:43.
Reply With Quote
  #22  
Old 20 Apr 2012, 21:55
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
in my sig youll find a link to the post I made with everything youll needl I did the reading and sifting for you all..

If anyone stangger5 is the man..
when it come to this arcade..
but i will be here helping all the same to keep this arcade alive
Reply With Quote
  #23  
Old 24 Apr 2012, 21:31
dlewisr dlewisr is offline
 
Join Date: Mar 2011
Originally Posted by Hippy View Post
so it should like this ?

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I been using stangger5's edit and works on every update I did..
I am just wondering at this moment.. thanks
This worked for me. Cheers for that Hippy
Reply With Quote
  #24  
Old 04 May 2012, 02:11
boggseric's Avatar
boggseric boggseric is offline
 
Join Date: Sep 2009
Originally Posted by boggseric View Post
I made these changes but now there error moved down one line.

Fatal error: Call to undefined function: str_ireplace() in /home/ls2com/public_html/forums/arcade.php on line 5601


2.7.2 does it now required PHP5?

my code in arcade.php

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In case anyone cares, the new version of Arcade DOES require PHP5, str_ireplace is not available in PHP4.
Reply With Quote
  #25  
Old 04 May 2012, 04:09
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Originally Posted by boggseric View Post
In case anyone cares, the new version of Arcade DOES require PHP5, str_ireplace is not available in PHP4.
try this ... relace your root arcade file with this one

http://www.vbulletin.org/forum/attac...6&d=1335142146
Reply With Quote
  #26  
Old 10 May 2012, 17:45
Raptor Raptor is offline
 
Join Date: Nov 2001
Originally Posted by Hippy View Post
try this ... relace your root arcade file with this one

http://www.vbulletin.org/forum/attac...6&d=1335142146
here is where the confusion creeps in again

do we all use the arcade.php you linked to here or do we do the edits that the rest of the thread talks about as the 2 are completely different
Reply With Quote
  #27  
Old 11 May 2012, 00:11
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
I did the eidtes in the attached file to make it easy for everyone
Reply With Quote
  #28  
Old 02 Sep 2013, 16:43
Heldenverband Heldenverband is offline
 
Join Date: Mar 2006
Hi,

in the forum it works fine. But in the VB admin section (main settings) these errors displayed :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any Idea ?

--------------- Added 02 Sep 2013 at 16:57 ---------------

Solved.

modify of arcade.php in admincp folder.
Reply With Quote
  #29  
Old 02 Sep 2013, 17:10
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
http://www.vbulletin.org/forum/showthread.php?p=2328579

I also have one posted here with the edits
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 15:20.

Layout Options | Width: Wide Color: