Group Rank Hack Install problem!
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
- RyosukeZ
- Registered User
- Posts: 302
- Joined: Sun Oct 01, 2006 12:40 am
- Location: Woodlands, Singapore
- Contact:
Re: Group Rank Hack Install problem!
did i? lol.
let me try again ^^
let me try again ^^
Bored? Come and have fun at my forum!!
Lets rock the hse!!
Lets rock the hse!!
-
- Registered User
- Posts: 7219
- Joined: Tue Nov 16, 2004 8:54 pm
- Location: Florida, US
- Contact:
- RyosukeZ
- Registered User
- Posts: 302
- Joined: Sun Oct 01, 2006 12:40 am
- Location: Woodlands, Singapore
- Contact:
Re: Group Rank Hack Install problem!
haha new one lol
But which one is correct?
lol i think both of them is wrong
hope u can correct for me ^^
Code: Select all
Error Detail
Critical Error
FIND FAILED: In file [admin/admin_ranks.php] could not find:
$sql = "SELECT * FROM " . RANKS_TABLE . "
ORDER BY rank_min, rank_title";
MOD script line #476 :: FAQ :: Report
Code: Select all
1)$sql = "SELECT * FROM " . RANKS_TABLE . "
ORDER BY
$sql = "SELECT * FROM " . RANKS_TABLE . " ?
hope u can correct for me ^^
Bored? Come and have fun at my forum!!
Lets rock the hse!!
Lets rock the hse!!
-
- Registered User
- Posts: 7219
- Joined: Tue Nov 16, 2004 8:54 pm
- Location: Florida, US
- Contact:
Re: Group Rank Hack Install problem!
This one was a bit of a challenge to figure out...
Ok, try this:
OPEN
Install.txt
FIND
REPLACE WITH
Save, upload, and try again using EM...
Ok, try this:
OPEN
Install.txt
FIND
Code: Select all
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT * FROM " . RANKS_TABLE . "
ORDER BY rank_min, rank_title";
Code: Select all
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT * FROM " . RANKS_TABLE . "
ORDER BY
- RyosukeZ
- Registered User
- Posts: 302
- Joined: Sun Oct 01, 2006 12:40 am
- Location: Woodlands, Singapore
- Contact:
Re: Group Rank Hack Install problem!
new one
Probably change to
or
Code: Select all
Error Detail
Critical Error
FIND FAILED: In file [admin/admin_ranks.php] could not find:
"L_SPECIAL_RANK" => $lang['Special_rank'],
Code: Select all
"L_SPECIAL_RANK" => ?
Code: Select all
"L_SPECIAL_RANK" ?
Bored? Come and have fun at my forum!!
Lets rock the hse!!
Lets rock the hse!!
-
- Registered User
- Posts: 7219
- Joined: Tue Nov 16, 2004 8:54 pm
- Location: Florida, US
- Contact:
Re: Group Rank Hack Install problem!
Yes, use the first one...
- RyosukeZ
- Registered User
- Posts: 302
- Joined: Sun Oct 01, 2006 12:40 am
- Location: Woodlands, Singapore
- Contact:
Re: Group Rank Hack Install problem!
now new one, this one i don't know how to try haha
Code: Select all
Error Detail
Critical Error
FIND FAILED: In file [admin/admin_ranks.php] could not find:
"SPECIAL_RANK" => ( $special_rank == 1 ) ? $lang['Yes'] : $lang['No'],
MOD script line #505 :: FAQ :: Report
Bored? Come and have fun at my forum!!
Lets rock the hse!!
Lets rock the hse!!
-
- Registered User
- Posts: 7219
- Joined: Tue Nov 16, 2004 8:54 pm
- Location: Florida, US
- Contact:
Re: Group Rank Hack Install problem!
This section of the admin_ranks.php file has been radically modified by one or more of the phpBB Updates. So the following is an educated guess of what you should do. Since it is a guess, I can't be 100% certain that it is correct, but I think it will work...
OPEN
Install.txt
FIND
REPLACE WITH
Save, upload, and try again using EM...
OPEN
Install.txt
FIND
Code: Select all
#
#-----[ FIND ]------------------------------------------
#
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$rank_is_special = ( $special_rank ) ? $lang['Yes'] : ( $rank_rows[$i]['rank_group'] > 0 ? $rank_rows[$i]['group_name'] : $lang['No'] ); // ADDED BY Group Rank Hack
#
#-----[ FIND ]------------------------------------------
#
"SPECIAL_RANK" => ( $special_rank == 1 ) ? $lang['Yes'] : $lang['No'],
#
#-----[ REPLACE WITH ]------------------------------------------
#
"SPECIAL_RANK" => $rank_is_special, // REPLACED '( $special_rank == 1 ) ? $lang['Yes'] : $lang['No']' WITH '$rank_is_special' BY Group Rank Hack
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT * FROM " . RANKS_TABLE . "
ORDER BY rank_min, rank_title";
#
#-----[ REPLACE WITH ]------------------------------------------
#
$sql = "SELECT r.*, g.group_name
FROM " . RANKS_TABLE . " r
LEFT JOIN " . GROUPS_TABLE . " g ON g.group_id = r.rank_group
ORDER BY r.rank_special DESC, rank_group ASC, r.rank_min ASC"; // ADDED 'r.' AND ', g.group_name' AND 'r LEFT JOIN " . GROUPS_TABLE . " g ON g.group_id = r.rank_group' AND 'rank_group ASC, ' BY Group Rank Hack
#
#-----[ FIND ]------------------------------------------
#
"L_SPECIAL_RANK" => $lang['Special_rank'],
#
#-----[ REPLACE WITH ]------------------------------------------
#
"L_SPECIAL_RANK" => $lang['Group_Rank_special'], // ADDED 'Group_' BY Group Rank Hack
#
#-----[ FIND ]------------------------------------------
#
$rank_is_special = ( $special_rank ) ? $lang['Yes'] : $lang['No'];
#
#-----[ REPLACE WITH ]------------------------------------------
#
$rank_is_special = ( $special_rank ) ? $lang['Yes'] : ( $rank_rows[$i]['rank_group'] > 0 ? $rank_rows[$i]['group_name'] : $lang['No'] ); // ADDED '( $rank_rows[$i]['rank_title'] > 0 ? $rank_rows[$i]['group_name'] :' AND ')' BY Group Rank Hack
Code: Select all
#
#-----[ FIND ]------------------------------------------
#
$rank_is_special = ( $special_rank ) ? $lang['Yes'] : $lang['No'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$rank_is_special = ( $special_rank ) ? $lang['Yes'] : ( $rank_rows[$i]['rank_group'] > 0 ? $rank_rows[$i]['group_name'] : $lang['No'] ); // ADDED BY Group Rank Hack
- RyosukeZ
- Registered User
- Posts: 302
- Joined: Sun Oct 01, 2006 12:40 am
- Location: Woodlands, Singapore
- Contact:
Re: Group Rank Hack Install problem!
yay working fine.
but got unprocessed commands
but got unprocessed commands
Code: Select all
Unprocessed Commands
AFTER, THE ABOVE FOUND CODE, ADD #231
*/
Bored? Come and have fun at my forum!!
Lets rock the hse!!
Lets rock the hse!!
-
- Registered User
- Posts: 7219
- Joined: Tue Nov 16, 2004 8:54 pm
- Location: Florida, US
- Contact:
Re: Group Rank Hack Install problem!
Ok, try this:
OPEN
Install.txt
FIND
REPLACE WITH
Save, upload, and try again using EM...
OPEN
Install.txt
FIND
Code: Select all
#
#-----[ AFTER, THE ABOVE FOUND CODE, ADD ]------------------------------------------
#
*/
Code: Select all
#
#-----[ AFTER, ADD ]------------------------------------------
#
*/