Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
Contact the Webmasters of RCFContact   Invite a friend to Join usRecommend   Chat in IRCChat   EZ Template Change OptionEZStyle   Listen to Internet Radio while you browse...iRadio   See your private message.Login for PMs   Important LinksLinks
Member Website LinksWeb Links   Play/View our GamesGames   Register.Register
calendar_open_closeCalendar 
[Solved]Mutiple rank MOD
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2, 3  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved]Mutiple rank MOD
PostPosted: 07/24/2007 6:34 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 9:57 AM
Location: Klang, Malaysia
malaysiC.gif
I install the Mutiple rank mod.I get this error :

Code:
Error Detail
 
Critical Error

FIND FAILED: In file [templates/subSilver/viewtopic_body.tpl] could not find:

<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td>

MOD script line #279 :: FAQ :: Report
 


Last edited by masteranu84 on 07/27/2007 5:36 PM; edited 3 times in total
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Mutiple rank MOD
PostPosted: 07/25/2007 12:47 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,678
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:57 AM
Location: St Pete, FL
peace.gif
Ok, try this:

OPEN
add_multiple_ranks_1_3_5.txt

FIND
Code:
#
#-----[ FIND ]------------------------------------------
#
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td>

REPLACE WITH
Code:
#
#-----[ FIND ]------------------------------------------
#
{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}

Save, upload, and try again using EM...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Mutiple rank MOD
PostPosted: 07/25/2007 4:04 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 9:57 AM
Location: Klang, Malaysia
malaysiC.gif
Code:
Error Detail
 
Critical Error

FIND FAILED: In file [memberlist.php] could not find:

$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm, user_avatar, user_avatar_type, user_allowavatar


Now this~~~
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: [Solved]Mutiple rank MOD
PostPosted: 07/25/2007 5:58 AM Reply with quote
Citation
poomerio
Citation
Posts 407
Word Cnt. 10,993
BDay May 28
Sign Gemini
Sex Sex:Male
Joined: Feb 25, 2007
Local time: 9:57 AM
Location: SE England
greatbrE.gif
OPEN:
add_multiple_ranks_1_3_5.txt

FIND:
Code:
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm, user_avatar, user_avatar_type, user_allowavatar


REPLACE WITH:
Code:
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT username, user_id,


Save, upload and try again.

- Poomie
Back to Top
View user's profile Find all posts by poomerio Send private message   Phoogle Map
Re: Mutiple rank MOD
PostPosted: 07/25/2007 6:03 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 9:57 AM
Location: Klang, Malaysia
malaysiC.gif
Code:
Error Detail
 
Critical Error

FIND FAILED: In file [templates/subSilver/memberlist_body.tpl] could not find:

<td class="catBottom" colspan="8" height="28">&nbsp;</td>

MOD script line #571 :: FAQ :: Report


Thanks poomerio for help ~~ Now this error.. Embarassed
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: [Solved]Mutiple rank MOD
PostPosted: 07/25/2007 6:08 AM Reply with quote
Citation
poomerio
Citation
Posts 407
Word Cnt. 10,993
BDay May 28
Sign Gemini
Sex Sex:Male
Joined: Feb 25, 2007
Local time: 9:57 AM
Location: SE England
greatbrE.gif
OPEN:
add_multiple_ranks_1_3_5.txt

FIND:
Code:
#
#-----[ FIND ]------------------------------------------
#
<td class="catBottom" colspan="8" height="28">&nbsp;</td>


REPLACE WITH:
Code:
#
#-----[ FIND ]------------------------------------------
#
<td class="catBottom" colspan="


Save, upload and try again.

- Poomie
Back to Top
View user's profile Find all posts by poomerio Send private message   Phoogle Map
Re: Mutiple rank MOD
PostPosted: 07/25/2007 6:11 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 9:57 AM
Location: Klang, Malaysia
malaysiC.gif
Code:
Error Detail
 
Critical Error

FIND FAILED: In file [admin/admin_ranks.php] could not find:

if($special_rank)

MOD script line #781 :: FAQ :: Report


and this now.. Embarassed
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Mutiple rank MOD
PostPosted: 07/25/2007 3:54 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,678
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:57 AM
Location: St Pete, FL
peace.gif
This must be an old MOD.  The code was changed as phpBB was updated...

Ok, try this:

OPEN
add_multiple_ranks_1_3_5.txt

FIND & DELETE
Code:
#
#-----[ FIND ]------------------------------------------
#
         if($special_rank)
#
#-----[ REPLACE WITH ]------------------------------------------
#
         // Mighty Gorgon - Multiple Ranks - BEGIN
         $rank_img_sp = ( $rank_rows[$i]['rank_image'] != "" ) ? ( '../' . $rank_rows[$i]['rank_image'] ) : ( '../images/spacer.gif' );
         $rank .= '<br /><img name="rank_image" src="' . $rank_img_sp . '" border="0" alt="" />';

         if( !$special_rank == 0 )
         // Mighty Gorgon - Multiple Ranks - END
#
#-----[ FIND ]------------------------------------------
#
            "SPECIAL_RANK" => ( $special_rank == 1 ) ? $lang['Yes'] : $lang['No'],
#
#-----[ REPLACE WITH ]------------------------------------------
#
            // Mighty Gorgon - Multiple Ranks - BEGIN
            "SPECIAL_RANK" => ( !$special_rank == 0 ) ? $lang['Yes'] : $lang['No'],
            // Mighty Gorgon - Multiple Ranks - END

Save, upload, and try again using EM...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Mutiple rank MOD
PostPosted: 07/25/2007 4:17 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 9:57 AM
Location: Klang, Malaysia
malaysiC.gif
Ok, it has success to process to next step ..but i get the SQL msg

Proposed Database Alterations for your mysql Database   Allow

Code:
SQL PROCESSING ERROR:
No SQL alterations will be performed. However, you may skip SQL processing, continue installing the MOD, and deal with the SQL manually

The following error occured:

Error:
Unexpected or unknown attribute "AFTER USER_RANK", in "user_rank2 INT(11) DEFAULT ___0___ AFTER user_rank", statement: 1, table: "phpbb_users"

SQL:
ALTER TABLE phpbb_users ADD user_rank2 INT(11) DEFAULT '0' AFTER user_rank


What should i need to do ?
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Mutiple rank MOD
PostPosted: 07/25/2007 4:35 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,678
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:57 AM
Location: St Pete, FL
peace.gif
EM doesn't recognize the AFTER SQL command.  So since the AFTER part really isn't necessary, you can simply remove it from the SQL query:

Ok, try this:

OPEN
add_multiple_ranks_1_3_5.txt

FIND
Code:
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE phpbb_users ADD user_rank2 INT(11) DEFAULT '0' AFTER user_rank;
ALTER TABLE phpbb_users ADD user_rank3 INT(11) DEFAULT '0' AFTER user_rank2;

REPLACE WITH
Code:
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE phpbb_users ADD user_rank2 INT(11) DEFAULT '0';
ALTER TABLE phpbb_users ADD user_rank3 INT(11) DEFAULT '0';

Save, upload, and try again using EM...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

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 cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2, 3  Next
Page 1 of 3


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group
  ImageShack  
  Putfile  
  TinyURL  
  CommonDreams  
  Log in  

Page generation time: 0.1712s (PHP: 76% - SQL: 24%) - SQL queries: 62 - GZIP enabled - Debug on