 | [Solved] Medal System MOD |  |
Posted: 04/04/2007 8:02 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Hello NightRider,
I tried to install Medal System MOD through EM and it gave me lots of errors in it which I fixed it by NOT simplifying it too much
Now I got 2 errors which I was unable to fix it and I would attach the MOD install file as well as errors I will type it.
| Code:
|
Critical Error
FIND FAILED: In file [templates/subSilver/overall_header.tpl] could not find:
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
MOD script line #845 :: FAQ :: Report
|
And the other was this
| Code:
|
Critical Error
FIND FAILED: In file [includes/usercp_viewprofile.php] could not find:
'USERNAME' => $profiledata['username'],
MOD script line #686 :: FAQ :: Report
|
I don't know how to fix these errors or If i will try, they will get too much simplified and will conflict with other MODs after installation.
Can you please fix only these 2 errors and install it. I think even after installation it will conflict some MOD like democracy MOD as it has reputation MOD. If it will conflict I will disable the Reputation system in Democracy MOD but this is something really nice one though.
Hope to hear from you soon
Thanks,
AB |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Medal System MOD |  |
Posted: 04/04/2007 8:36 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:50 AM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, try this:
OPEN
Medal_System_MOD/install_en.txt
FIND
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{L_USERGROUPS}</a>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<a href="{U_MEDALS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_medal.gif" width="12" height="13" border="0" alt="{U_MEDALS}" hspace="3" />{L_MEDALS}</a>
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
{L_USERGROUPS}
#
#-----[ AFTER, ADD ]------------------------------------------
#
<a href="{U_MEDALS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_medal.gif" width="12" height="13" border="0" alt="{U_MEDALS}" hspace="3" />{L_MEDALS}</a><br />
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Medal System MOD |  |
Posted: 04/04/2007 8:45 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
The first error solved, now the other which i think you missed
| Code:
|
Critical Error
FIND FAILED: In file [includes/usercp_viewprofile.php] could not find:
'USERNAME' => $profiledata['username'],
MOD script line #686 :: FAQ :: Report
|
Will this conflict with other MOD? How we can know that a new MOD will conflict with the already installed MOD? Any idea  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Medal System MOD |  |
Posted: 04/04/2007 9:02 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:50 AM
Location: St Pete, FL
|

|
|
|
|
 |
Usually there is no way to know if a MOD will conflict with another until after it is installed. That's why you should always thoroughly test everything after installing each MOD to make sure no new problems were introduced...
Ok, try this:
OPEN
Medal_System_MOD/install_en.txt
FIND
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
'USERNAME' => $profiledata['username'],
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
'USERNAME' => isset(
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Medal System MOD |  |
Posted: 04/04/2007 9:10 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Aah, Okay.
I think this was the first time you got a mistake
Now it says
| Code:
|
Critical Error
FIND FAILED: In file [includes/usercp_viewprofile.php] could not find:
'USERNAME' => isset(
MOD script line #686 :: FAQ :: Report
|
|
|
|
 |
 |
| Back to Top |
|
|
 | Re: Medal System MOD |  |
Posted: 04/04/2007 9:16 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:50 AM
Location: St Pete, FL
|

|
|
|
|
 |
Sorry, I was looking at the usercp_register rather than the usercp_viewprofile file...
Ok, try this:
OPEN
Medal_System_MOD/install_en.txt
FIND
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
'USERNAME' => isset(
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
'USERNAME' => $profiledata['username'],
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Medal System MOD |  |
Posted: 04/04/2007 9:20 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
The one you told me to replace is the same code which is there in original MOD
So now it says this error
Critical Error
FIND FAILED: In file [includes/usercp_viewprofile.php] could not find:
'USERNAME' => $profiledata['username'],
MOD script line #686 :: FAQ :: Report
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Medal System MOD |  |
Posted: 04/04/2007 9:27 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:50 AM
Location: St Pete, FL
|

|
|
|
|
 |
See, I told you not to put me too high up on that pedastal. I screwed up again by providing the code from a vanilla file rather than the one from your site...
Last time, this will work...
OPEN
Medal_System_MOD/install_en.txt
FIND
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
'USERNAME' => $profiledata['username'],
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
'USERNAME' => $username_color,
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Medal System MOD |  |
Posted: 04/04/2007 9:53 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
It installed and not made any trouble
I will now configure through ACP and will let you know what happens the next  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Medal System MOD |  |
Posted: 04/04/2007 10:26 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
This is a great MOD but there is some problem which you can only solve it. When I go to ACP, Medal Admin, Allow Medal Display in Viewtopic, and tick the YES and submit. And went to see the viewtopic and it is disaster
It goes right left, half on right side, half on left side. Can you please fix this so that we can show the medals in viewtopic which is really good.
Hope this problem will be fixed  |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|