Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Medal System 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] Medal System MOD
PostPosted: 04/04/2007 8:02 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
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 Wink

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 Smile

Thanks,

AB
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Medal System MOD
PostPosted: 04/04/2007 8:36 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:50 AM
Location: St Pete, FL
peace.gif
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>&nbsp;

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
&nbsp;<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>&nbsp;

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...

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: [Solved] Medal System MOD
PostPosted: 04/04/2007 8:45 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
The first error solved, now the other which i think you missed Wink

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  dontknow
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Medal System MOD
PostPosted: 04/04/2007 9:02 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:50 AM
Location: St Pete, FL
peace.gif
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...

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: [Solved] Medal System MOD
PostPosted: 04/04/2007 9:10 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Aah, Okay.

I think this was the first time you got a mistake Wink
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
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Medal System MOD
PostPosted: 04/04/2007 9:16 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:50 AM
Location: St Pete, FL
peace.gif
Sorry, I was looking at the usercp_register rather than the usercp_viewprofile file...   Embarassed

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...

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: [Solved] Medal System MOD
PostPosted: 04/04/2007 9:20 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
The one you told me to replace is the same code which is there in original MOD Wink

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

dontknow
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Medal System MOD
PostPosted: 04/04/2007 9:27 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:50 AM
Location: St Pete, FL
peace.gif
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...   Embarassed

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...

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: [Solved] Medal System MOD
PostPosted: 04/04/2007 9:53 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
It installed and not made any trouble  banana  banana  banana

I will now configure through ACP and will let you know what happens the next Wink
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: [Solved] Medal System MOD
PostPosted: 04/04/2007 10:26 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:50 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
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 Very Happy

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  banana  banana  banana
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
 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

Page generation time: 0.1076s (PHP: 52% - SQL: 48%) - SQL queries: 58 - GZIP disabled - Debug on