Two Word Ranks and CrackTracker

Support for IntegraMOD 141

Moderator: Integra Moderator

Two Word Ranks and CrackTracker

PostAuthor: Omni-Lee » Fri Feb 02, 2007 10:04 am

Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?
Attempting to create Ranks with two words ex. Senior Member


What was done to try to solve the problem?
Use CrackTracker debug log to edit appropriate file



De.scription and Message

CrackTracker responded with the following in the log:

Script-Filename: /forum/admin/admin_ranks.php
----------------

Request-Method: POST

Matching rule: or
In variable: title_default
In variable: title_female

Possible solution:
------------------

#
#-----[ OPEN ]------------------------------------------
#
/forum/admin/admin_ranks.php

#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', 1);

#
#-----[ AFTER, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('title_default','title_female');

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Error continued to occur. Using your variable naming conventions I assumed the missing variable was 'title_male', this turned out to be correct. It appears as though CrackTracker missed one of the variables responsible for the error.

Corrected Code:
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('title_default','title_female','title_male');
Last edited by Omni-Lee on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Out, out, brief candle! Life's but a walking shadow, a poor player that struts and frets his hour upon the stage and then is heard no more: it is a tale told by an idiot, full of sound and fury, signifying nothing" - Macbeth ACT V, Scene V by William Shakespeare
User avatar
Omni-Lee
Members
Members
 
Posts: 69
Likes: 0 post
Liked in: 0 post
Joined: Thu Feb 01, 2007 12:07 am
Cash on hand: 0.00

Re: Two Word Ranks and CrackTracker

PostAuthor: Teelk » Sat Feb 03, 2007 6:35 am

Thanks Omni, I'll add it to the patch.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]