 | [Solved] MODS in limbo/suspense |  |
Posted: 08/19/2007 6:55 PM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 7:58 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
I have several MODS that will not install for whatever reason. Greatly appreciate any feedback/critics/suggestions on this. I am going to start off with one and then add each one and it's error message too until I am done. Here's MOD #1 and it's error:
MySpace Button MOD
ERROR
| Code:
|
FIND FAILED: In file [includes/usercp_register.php] could not find:
$strip_var_list = array('email' => 'email',
MOD script line #330
|
|
|
Last edited by 2LadyDi on 09/02/2007 7:26 PM; edited 1 time in total |
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] MODS in limbo/suspense |  |
Posted: 08/20/2007 11:16 PM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 7:58 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
| I see I failed to include the fact that I am trying to use EM to install the MODS in limbo/suspense. Anyone? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] MODS in limbo/suspense |  |
Posted: 08/21/2007 2:57 AM |
|
|
|
|
|
| Owl |
| Posts |
168 |
| Word Cnt. |
14,430 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Aug 02, 2007
Local time: 7:58 AM
|

|
|
|
|
 |
That line may have been changed by a previous mod installation.
See if you can find the line manually.
I was able to find that line in Phpbb 2.0.22 so open that file in word click on edit/find and paste in:
| Code:
|
|
$strip_var_list = array('email' => 'email',
|
And see if its there.
It should be directly after this line:
| Code:
|
$current_email = trim(htmlspecialchars($HTTP_POST_VARS['current_email']));
}
|
And before this line:
| Code:
|
'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests', 'confirm_code' => 'confirm_code');
// Strip all tags from data ... may p**s some people off, bah, strip_tags is
|
FN
|
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] MODS in limbo/suspense |  |
Posted: 08/21/2007 8:48 AM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 7:58 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
Above is the screen cap of, seemingly if I am reading right with my glasses, the line IS already there FN. I know it is inline with other stuff, but is that not where it should be?? Funny, this MOD and one other MOD have the necessary line already in place, still won't install. Clues?? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] MODS in limbo/suspense |  |
Posted: 08/21/2007 7:44 PM |
|
|
|
|
|
| Owl |
| Posts |
168 |
| Word Cnt. |
14,430 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Aug 02, 2007
Local time: 7:58 AM
|

|
|
|
|
 |
Try replacing
| Code:
|
|
$strip_var_list = array('email' => 'email',
|
With this:
| Code:
|
|
$strip_var_list = array('email' => 'email', 'myspace' => 'myspace',
|
Do this manually and see if it works for you.
I'm still learning how EM works myself but if you do this manually it should work.
FN |
|
|
 |
 |
| Back to Top |
|
|
 | Re: MODS in limbo/suspense |  |
Posted: 08/22/2007 12:56 PM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 7:58 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
FN - forgive me but if copy it over the
| Code:
|
|
'username' => 'username'
|
, isn't that going to mess the entire code up? Seems you are saying if it read
| Code:
|
|
$strip_var_list = array('username' => 'username', 'email' => 'email', 'icq' => 'icq',
|
and I follow your instructions, it will now read
| Code:
|
|
$strip_var_list = array('email' => 'email', 'myspace' => 'myspace',
|
. Hope I am not being a pain bit it looks as if I lose information while adding some?!?!? Is the general idea JUST to get
| Code:
|
|
$strip_var_list = array('email' => 'email', 'myspace' => 'myspace',
|
inline?? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] MODS in limbo/suspense |  |
Posted: 08/22/2007 1:48 PM |
|
|
|
|
|
| Owl |
| Posts |
168 |
| Word Cnt. |
14,430 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Aug 02, 2007
Local time: 7:58 AM
|

|
|
|
|
 |
Ok I think I see where your getting confused..
You don't over write the entire line in the file you only overwrite that one snippet of it.
What they are trying to get you to do is to add this small bit of code .
| Code:
|
|
'myspace' => 'myspace',
|
Into this line of code.
| Code:
|
|
$strip_var_list = array('email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests', 'confirm_code' => 'confirm_code');
|
Like this:
| Code:
|
|
$strip_var_list = array('email' => 'email', 'myspace' => 'myspace', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests', 'confirm_code' => 'confirm_code');
|
Notice the "myspace" code inserted into the line of code in the last example?
FN |
|
|
 |
 |
| Back to Top |
|
|
 | Re: MODS in limbo/suspense |  |
Posted: 08/22/2007 2:07 PM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 7:58 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
Yes, I understand and did what you said and have new errors to report:
| Quote:
|
Error Detail
Warning
FIND FAILED: In file [templates/subBlack/subBlack.cfg] could not find:
$images['icon_www'] = "$current_template_images/{LANG}/icon_www.gif";
MOD script line #525
|
It shows this error 6 times?!?!? And then it reads:
| Quote:
|
|
Processing completed successfully!....
|
Waiting for me to do the next step????? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] MODS in limbo/suspense |  |
Posted: 08/22/2007 2:48 PM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 7:58 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
Ok FN and all... I figured it out. subBlack has six colors in it. So I did edit that .cfg files to read what the script is actually calling for. And..... the MOD is installed and working on subSilver, at least. Next.... (laughs)
Using EM still... the Signature Characters Left or Signature Max MOD gives me this error:
| Quote:
|
FIND FAILED: In file [templates/subSilver/profile_add_body.tpl] could not find:
<textarea name="signature"style="width: 300px" rows="6" cols="30" class="post">{SIGNATURE}</textarea>
MOD script line #82
|
|
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] MODS in limbo/suspense |  |
Posted: 08/22/2007 3:17 PM |
|
|
|
|
|
| Owl |
| Posts |
168 |
| Word Cnt. |
14,430 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Aug 02, 2007
Local time: 7:58 AM
|

|
|
|
|
 |
Yes it apears that if you solve one problem with the EM installer the next one seams to pop up .LOL
I think all these issues could be solved by making the mod EM Friendly like Nightrider does.
Your next error is telling you that EM can't find the line:
<textarea name="signature"style="width: 300px" rows="6" cols="30" class="post">{SIGNATURE}</textarea> in templates/subSilver/profile_add_body.tpl
So open up profile_add_body.tpl and see if you can find it manually.
If its a big file try the search function edit/find
If you can not find the entire line with the search function then perhaps it has been changed by another mod installation. In this case try searching for pieces of the code such as <textarea name="signature" to see if you can find the line. It most likely will be changed slightly if it wasn't found by the first search so be careful you have the correct line by searching the rest of the file for similar snippets.
Also you can find the line by opening up an unaltered copy of phpbb, finding the file, and searching for its location there to compare to the code in the file you are trying to modify.
Happy hunting
FN
|
|
|
 |
 |
| Back to Top |
|
|
 |
 | Information |  |
|