Is there a list of the mods that could be installed with EM?

Wondering why that MOD you have won't install correctly? Let's take a look
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!
Locked
flesh
Posts: 139
Joined: Tue Aug 01, 2006 3:28 pm

Re: Is there a list of the mods that could be installed with

Post by flesh »

Nightrider wrote: Without seeing the MOD or your profile_add_body.tpl file, I can only guess at what you should do. It might be easier driving a car with a blindfold on...

This would be my guess of what you should do:

OPEN
xdata-mod_100.txt or whatever it is called...

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------ 
#
<td class="row1"><span class="gen">{L_ICQ_NUMBER}:</span></td>
<td class="row2">
<input type="text" name="icq" class="post" style="width: 100px" size="10" maxlength="15" value="{ICQ}" />
</td>
</tr>
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------ 
#
{ICQ}
</td>
</tr>
Save, upload, and try again using EM...

Image

thank you ... i uploaded them here
could you, please, take a look ;)
and tell me if something's wrong

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Is there a list of the mods that could be installed with

Post by Nightrider »

Yep, what I suggested should work fine. Go ahead and make the changes to the MOD script, save, upload, and try again using EM...

Image

flesh
Posts: 139
Joined: Tue Aug 01, 2006 3:28 pm

Re: Is there a list of the mods that could be installed with

Post by flesh »

Nightrider wrote: Yep, what I suggested should work fine. Go ahead and make the changes to the MOD script, save, upload, and try again using EM...

Image

now it gives me this problem :(
Critical Error

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

<tr>
<td class="row1"><span class="gen">{L_AIM}:</span></td>
<td class="row2">
<input type="text" class="post" style="width: 150px" name="aim" size="20" maxlength="255" value="{AIM}" />
</td>
</tr>

MOD script line #1585 :: FAQ :: Report

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Is there a list of the mods that could be installed with

Post by Nightrider »

The answer is going to be similar. EM only needs to match a unique word or phrase from each line in order for it to know where to move the file pointer...

Ok, do this:

OPEN
XData_CPF.mod

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------------
#
	<tr> 
	  <td class="row1"><span class="gen">{L_AIM}</span></td>
	  <td class="row2"> 
		<input class="post" type="text" name="aim" size="20" maxlength="255" value="{AIM}" />
	  </td>
	</tr>
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------------
#
{AIM}
</td>
</tr>
You will probably have to do the same thing for MSN, YIM, WEBSITE, LOCATION, OCCUPATION, INTERESTS, and SIGNATURE in the upcoming FIND statements...

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

Image

flesh
Posts: 139
Joined: Tue Aug 01, 2006 3:28 pm

Re: Is there a list of the mods that could be installed with

Post by flesh »

Nightrider wrote: The answer is going to be similar. EM only needs to match a unique word or phrase from each line in order for it to know where to move the file pointer...

Ok, do this:

OPEN
XData_CPF.mod

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------------
#
	<tr> 
	  <td class="row1"><span class="gen">{L_AIM}</span></td>
	  <td class="row2"> 
		<input class="post" type="text" name="aim" size="20" maxlength="255" value="{AIM}" />
	  </td>
	</tr>
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------------
#
{AIM}
</td>
</tr>
You will probably have to do the same thing for MSN, YIM, WEBSITE, LOCATION, OCCUPATION, INTERESTS, and SIGNATURE in the upcoming FIND statements...

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

Image

you are right but i am not doing somthing right ... i tried 4 or five times and it gives me the same error ...
after i did the last thing you wrote ... for the {AIM} I dont know exacly what to do with the others ... it now gives me this error ...
Critical Error

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

<tr>
<td class="row1"><span class="gen">{L_MESSENGER}:</span></td>
<td class="row2">
<input type="text" class="post" style="width: 150px" name="msn" size="20" maxlength="255" value="{MSN}" />
</td>
</tr>

MOD script line #1595 :: FAQ :: Report

so you were right that it should be ... but would you please show me how to change the others (MSN, YIM, WEBSITE, LOCATION, OCCUPATION, INTERESTS, and SIGNATURE)
i really need your help

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Is there a list of the mods that could be installed with

Post by Nightrider »

If you can understand how I go from the original to the suggested part, you will be able to resolve most MOD install problems...

Ok, do this:

OPEN
XData_CPF.mod

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------------
#
	<tr> 
	  <td class="row1"><span class="gen">{L_MESSENGER}</span></td>
	  <td class="row2"> 
		<input class="post" type="text" name="msn" size="20" maxlength="255" value="{MSN}" />
	  </td>
	</tr>
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------------
#
{MSN}
</td>
</tr>
Notice how all I need is a fragment from each line from the original. If you compare the before and after, you will be able to see {MSN} on one line, </td> on the next, and </tr> on the last. Since the next line in the MOD script is an AFTER, ADD, then this is all EM needs to know where to move the file pointer to make the changes. So try to guess what the modification for the next {YIM} FIND will be? You really need to learn this and as long as I spoon feed you every single time, you will never be able to do these MODs without help. Hopefully this is starting to make sense to you...


Image

flesh
Posts: 139
Joined: Tue Aug 01, 2006 3:28 pm

Re: Is there a list of the mods that could be installed with

Post by flesh »

Nightrider wrote: If you can understand how I go from the original to the suggested part, you will be able to resolve most MOD install problems...

Ok, do this:

OPEN
XData_CPF.mod

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------------
#
	<tr> 
	  <td class="row1"><span class="gen">{L_MESSENGER}</span></td>
	  <td class="row2"> 
		<input class="post" type="text" name="msn" size="20" maxlength="255" value="{MSN}" />
	  </td>
	</tr>
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------------
#
{MSN}
</td>
</tr>
Notice how all I need is a fragment from each line from the original. If you compare the before and after, you will be able to see {MSN} on one line, </td> on the next, and </tr> on the last. Since the next line in the MOD script is an AFTER, ADD, then this is all EM needs to know where to move the file pointer to make the changes. So try to guess what the modification for the next {YIM} FIND will be? You really need to learn this and as long as I spoon feed you every single time, you will never be able to do these MODs without help. Hopefully this is starting to make sense to you...


Image

yes ... but i tryed many times before asking ... i tried with
#
#-----[ FIND ]------------------------------------------------
#
{L_MESSENGER}
</td>
</tr>

how should i guess that it is {MSN} ??? O.o
an before starting work with easy mod i ve read all the information for installing mods without easy mod ... but how to guess what is the reason ???
edit: i did it with the most of them but now it occures this error ... it's not similar so what to do ?
Critical Error

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

<tr>
<td class="row1"><span class="gen">{L_SIGNATURE}:</span><br /><span class="gensmall">{L_SIGNATURE_EXPLAIN}<br /><br />{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
<td class="row2">
<textarea name="signature" style="width: 300px" rows="6" cols="30" class="post">{SIGNATURE}</textarea>
</td>
</tr>

MOD script line #1662 :: FAQ :: Report

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Is there a list of the mods that could be installed with

Post by Nightrider »

flesh wrote: yes ... but i tryed many times before asking ... i tried with
#
#-----[ FIND ]------------------------------------------------
#
{L_MESSENGER}
</td>
</tr>

how should i guess that it is {MSN} ??? O.o
an before starting work with easy mod i ve read all the information for installing mods without easy mod ... but how to guess what is the reason ???

It appears that you're beginning to get the idea. The reason {L_MESSENGER} didn't work in your FIND is because it is on a different line than the one you specified. In the FIND above, you are telling EM to find 3 lines of code that have {L_MESSENGER} somewhere on one line, </td> on the next, and </tr> on the last. But if you look at your phpBB file, there isn't anything that matches that. You could have made the FIND look for the following though and it would have worked:
#
#-----[ FIND ]------------------------------------------------
#
{L_MESSENGER}
<td
{MSN}
</td>
</tr>

The reason I only grabbed the last three lines is because I really didn't need to provide any more than that for EM to find the correct spot in the file. So anything more would have been unnecessary. With EM, less is best most of the time. So this solution should have worked just fine...
#
#-----[ FIND ]------------------------------------------------
#
{MSN}
</td>
</tr>

flesh wrote: it's not similar so what to do ?
Critical Error

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

<tr>
<td class="row1"><span class="gen">{L_SIGNATURE}:</span><br /><span class="gensmall">{L_SIGNATURE_EXPLAIN}<br /><br />{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
<td class="row2">
<textarea name="signature" style="width: 300px" rows="6" cols="30" class="post">{SIGNATURE}</textarea>
</td>
</tr>

MOD script line #1662 :: FAQ :: Report
This is still very similar. You can do this:

OPEN
XData_CPF.mod

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------------
#
	<tr> 
	  <td class="row1"><span class="gen">{L_SIGNATURE}</span><br />
		<span class="gensmall">{L_SIGNATURE_EXPLAIN}<br />
		<br />
		{HTML_STATUS}<br />
		{BBCODE_STATUS}<br />
		{SMILIES_STATUS}</span></td>
	  <td class="row2"> 
		<textarea class="post" name="signature" rows="6" cols="45">{SIGNATURE}</textarea>
	  </td>
	</tr>
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------------
#
{SIGNATURE}
</td>
</tr>
Save, upload, and try again using EM...

Image

flesh
Posts: 139
Joined: Tue Aug 01, 2006 3:28 pm

Re: Is there a list of the mods that could be installed with

Post by flesh »

ooh i did it and it gave me no errors while installing ... but after installing when i view profile it shows nothing :( :( it shows this in the profile
Fatal error: Cannot redeclare load_bbcode_template() (previously declared in /users/irontree/public_html/forums/includes/bbcode.php:45) in /users/irontree/public_html/forums/includes/bbcode.php on line 43

can I do something to correct this error :(( please help !

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Is there a list of the mods that could be installed with

Post by Nightrider »

I assume that this redeclare load_bbcode_template error has been resolved since you are now working beyond this point through PM. If not, let me know and we can go from there...

Image

Locked