 | [Solved]Change Poster MOD |  |
Posted: 07/24/2007 6:35 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 6:31 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
Install the change poster MOD
| Code:
|
Error Detail
Critical Error
FIND FAILED: In file [language/lang_english/lang_main.php] could not find:
//
// That's all, Folks!
// -------------------------------------------------
MOD script line #90 :: FAQ :: Report
|
|
|
Last edited by masteranu84 on 07/25/2007 3:47 PM; edited 1 time in total |
|
 |
 |
| Back to Top |
|
|
 | Re: Change Poster MOD |  |
Posted: 07/24/2007 6:47 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:31 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
In the install file you could try this:
Replace
| Code:
|
//
// That's all, Folks!
// -------------------------------------------------
|
with this
Might not be working at the moment because you don't have
| Code:
|
//
// That's all, Folks!
// -------------------------------------------------
|
in your lang_main.php file
I'm sure a few times I had the same error so I just added the code before
instead.
Might work for you too |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Change Poster MOD |  |
Posted: 07/24/2007 6:57 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 6:31 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
| Code:
|
Error Detail
Critical Error
FIND FAILED: In file [templates/subSilver/viewtopic_body.tpl] could not find:
<td width="100%"><a href="{postrow.U_MINI_POST}">
MOD script line #113 :: FAQ :: Report
|
Ya..the 1st step process.2nd step i get this error msg now. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Change Poster MOD |  |
Posted: 07/25/2007 12:53 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:31 PM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, try this:
OPEN
change_poster/install.mod
FIND
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
<td width="100%"><a href="{postrow.U_MINI_POST}">
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
{postrow.IP_IMG}
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Change Poster MOD |  |
Posted: 07/25/2007 3:59 AM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 6:31 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
Now get this error
| Code:
|
Error Detail
Critical Error
FIND FAILED: In file [templates/subSilver/viewtopic_body.tpl] could not find:
{postrow.IP_IMG}#
|
|
|
|
 |
 |
| Back to Top |
|
|
 | Re: Change Poster MOD |  |
Posted: 07/25/2007 2:26 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:31 PM
Location: St Pete, FL
|

|
|
|
|
 |
You made a small mistake when you made the last edit. The # character at the end of the line belongs on the next line. So do this to correct the new problem:
OPEN
change_poster/install.mod
FIND
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
{postrow.IP_IMG}#
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
{postrow.IP_IMG}
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Change Poster MOD |  |
Posted: 07/25/2007 3:39 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 6:31 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
| Code:
|
Parse error: syntax error, unexpected T_VARIABLE in /home/wtfone/public_html/forum/language/lang_english/lang_main.php on line 1284
|
Huhu, i get this error msg when access my forum..this i dunno how to fix..  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Change Poster MOD |  |
Posted: 07/25/2007 3:46 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 6:31 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
Ok.master, i has fix it again~~~I has learn manys thing from here!!!!Thanks ~~~
I change the code :
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// Change Poster
//
$lang['Change_poster'] = 'Change poster';
$lang['Post_updated'] = 'Post succesfully updated';
$lang['Select_new_user'] = 'Select new user for this posting';
$lang['Click_return_post'] = 'Click %sHere%s to return to the post';
$lang['Move_all'] = 'Tick this checkbox to change <em><b>all</b></em> posts by <b>%s</b> to the new user (**WARNING!! This action is irreversible - use at your own risk**)';
$lang['Moved_posts'] = '%d posts moved from <b>%s</b> to <b>%s</b>';
$lang['Move_posts_confirm'] = 'Are you sure that you want to move all posts from <b>%s</b> to <b>%s</b>?';
|
To
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
//
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// Change Poster
//
$lang['Change_poster'] = 'Change poster';
$lang['Post_updated'] = 'Post succesfully updated';
$lang['Select_new_user'] = 'Select new user for this posting';
$lang['Click_return_post'] = 'Click %sHere%s to return to the post';
$lang['Move_all'] = 'Tick this checkbox to change <em><b>all</b></em> posts by <b>%s</b> to the new user (**WARNING!! This action is irreversible - use at your own risk**)';
$lang['Moved_posts'] = '%d posts moved from <b>%s</b> to <b>%s</b>';
$lang['Move_posts_confirm'] = 'Are you sure that you want to move all posts from <b>%s</b> to <b>%s</b>?';
|
|
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved]Change Poster MOD |  |
Posted: 07/25/2007 4:19 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:31 PM
Location: St Pete, FL
|

|
|
|
|
 |
The first version is actually better than your correction, especially for sites that are using multiple languages. That wouldn't have caused your problem...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved]Change Poster MOD |  |
Posted: 07/25/2007 4:26 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 6:31 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
| Nightrider wrote:
|
The first version is actually better than your correction, especially for sites that are using multiple languages. That wouldn't have caused your problem...
|
I just found this mod on phpbb ..so i try to install this..i want change my forum Admin post to masteranu84 Anyway .thanks master. |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|