 | Re: [Solved]Place inline MOD |  |
Posted: 07/25/2007 4:29 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 9:31 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved]Place inline MOD |  |
Posted: 07/25/2007 4:41 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:31 PM
Location: St Pete, FL
|

|
|
|
|
 |
Exactly, this is wrong:
| Code:
|
?>
// Mighty Gorgon - Multiple Ranks - BEGIN
$lang['Staff'] = 'Staff';
$lang['Rank'] = 'Rank';
$lang['Memberlist_Administrator'] = 'Administrator';
$lang['Memberlist_Moderator'] = 'Moderator';
$lang['Memberlist_User'] = 'User';
$lang['Guest_User'] = 'Guest';
$lang['Banned_User'] = 'Banned';
// Mighty Gorgon - Multiple Ranks - END
|
Like I stated before, NOTHING can go after the ?> part of the file. So this should look like this if added correctly:
| Code:
|
// Mighty Gorgon - Multiple Ranks - BEGIN
$lang['Staff'] = 'Staff';
$lang['Rank'] = 'Rank';
$lang['Memberlist_Administrator'] = 'Administrator';
$lang['Memberlist_Moderator'] = 'Moderator';
$lang['Memberlist_User'] = 'User';
$lang['Guest_User'] = 'Guest';
$lang['Banned_User'] = 'Banned';
// Mighty Gorgon - Multiple Ranks - END
?>
|
This is why it has to be a BEFORE, ADD, not an AFTER, ADD...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved]Place inline MOD |  |
Posted: 07/25/2007 4:45 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 9:31 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
Ya..i got check it..coz my forum black page..then i just copy the code after
?>
Just temporary only..i will wait u ask me do the next step ~  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved]Place inline MOD |  |
Posted: 07/25/2007 4:55 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:31 PM
Location: St Pete, FL
|

|
|
|
|
 |
You NEVER want to place code AFTER the ?> or it will cause what you just witnessed. So the command in the MOD script should always be a BEFORE, ADD command after finding ?>...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved]Place inline MOD |  |
Posted: 07/25/2007 5:36 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 9:31 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved]Place inline MOD |  |
Posted: 07/27/2007 4:33 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:31 PM
Location: St Pete, FL
|

|
|
|
|
 |
Awesome!!! Congratulations masteranu84!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|