 | [Solved]topic_description_1.15.2a |  |
Posted: 07/10/2007 5:37 AM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 3:01 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
Ok..i got a error when install with em.It got a error as like below :
| Code:
|
Error Detail
Critical Error
FIND FAILED: In file [templates/subSilver/posting_body.tpl] could not find:
//-->
</script>
|
I was go inside my subsilver posting_body.tpl file and seach..it have no that code.Can someone tell me why? Where i need to manually add the code?
Below is my both files..can some help me?
http://wtfone.com/forum/viewtopic.php?p=2627#2627 Download the files at my forum.
Nighttider are very busy right now..so i hope another PRO can help me ~ |
|
Last edited by masteranu84 on 07/18/2007 1:39 PM; edited 1 time in total |
|
 |
 |
| Back to Top |
|
|
 | Re: topic_description_1.15.2a |  |
Posted: 07/14/2007 9:17 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:01 AM
Location: St Pete, FL
|

|
|
|
|
 |
You installed the BBCode box, which removed a ton of code from your posting_body.tpl file. So you can probably do this to correct the MOD script to work in your heavily modified posting_body.tpl file...
OPEN
topic_desc_1.15.2.mod
FIND
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
//-->
</script>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// mod topic description function
function desc_charleft( object, maxlength )
{
left = maxlength - object.value.length;
document.getElementById( "desc_charleftrep" ).innerHTML = '{L_DESC_LEFT1}' + left + '{L_DESC_LEFT2}';
}
// mod topic description end
|
REPLACE WITH
| Code:
|
#-----[ FIND ]------------------------------------------
#
</script>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<script language="JavaScript" type="text/javascript">
// mod topic description function
function desc_charleft( object, maxlength )
{
left = maxlength - object.value.length;
document.getElementById( "desc_charleftrep" ).innerHTML = '{L_DESC_LEFT1}' + left + '{L_DESC_LEFT2}';
}
// mod topic description end
</script>
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: topic_description_1.15.2a |  |
Posted: 07/14/2007 9:27 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 3:01 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
Ok, i was change the code.Now have another 2 error msg :
| Code:
|
Error Detail
Warning
FIND FAILED: In file [templates/Avalanche/viewtopic_body.tpl] could not find:
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br />
|
| Code:
|
Error Detail
Critical Error
FIND FAILED: In file [language/lang_english/lang_main.php] could not find:
$lang['Search_title_msg'] = 'Search topic title and message text';
|
|
|
|
 |
 |
| Back to Top |
|
|
 | Re: topic_description_1.15.2a |  |
Posted: 07/14/2007 11:17 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:01 AM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, try this:
OPEN
topic_desc_1.15.2.mod
FIND
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br />
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<br />
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<span class="gen">{TOPIC_DESC}</span><br />
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
{TOPIC_TITLE}</a>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{TOPIC_TITLE}</a>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<br /><span class="gen">{TOPIC_DESC}</span>
|
Save, upload, and try again using EM...
Based on your lang_english/lang_main.php file, you already have this MOD installed. This is the line from your lang_main.php file that is supposed to be modified in your second error. Notice it already has the modifications applied to it...
| Code:
|
|
$lang['Search_title_msg'] = 'Search topic title,topic description and message text';
|
You really don't want to double install the MOD...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: topic_description_1.15.2a |  |
Posted: 07/15/2007 12:18 AM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 3:01 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
OMG, got another error again now, Ya just this morning i check the langmain.php file. i got see the MOD name description.maybe i has double install the..What i need to do now?
On the list i have install the MOD b4, But i don't seen the function can be working.
| Code:
|
Error Detail
Warning
FIND FAILED: In file [templates/Avalanche/viewtopic_body.tpl] could not find:
{TOPIC_TITLE}</a>
MOD script line #1919 ::
|
| Code:
|
Error Detail
Critical Error
FIND FAILED: In file [language/lang_english/lang_main.php] could not find:
$lang['Search_title_msg'] = 'Search topic title and message text';
MOD script line #2208
|
I have no idea to install this mod..  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: topic_description_1.15.2a |  |
Posted: 07/15/2007 5:17 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:01 AM
Location: St Pete, FL
|

|
|
|
|
 |
The Avalanche and subSilver viewtopic_body.tpl files are different enough that I can't suggest a change to the original line in the MOD script to work in both template files. So you need to add the following section to the MOD script. You will still see the same warning error for the Avalanche/viewtopic_body.tpl file, but after adding the following code, you can ignore the warning...
Ok, try this:
OPEN
topic_desc_1.15.2.mod
FIND
| Code:
|
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
|
BEFORE, ADD - Do not overwrite the code you just found
| Code:
|
#
#-----[ OPEN ]------------------------------------------
#
templates/Avalanche/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{TOPIC_TITLE}
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{TOPIC_TITLE}
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<br /><span class="gen">{TOPIC_DESC}</span>
|
Since the following code has already been added to your lang_main.php file, you can remove it from the MOD script:
FIND & DELETE
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
$lang['Search_title_msg'] = 'Search topic title and message text';
#
#-----[ IN-LINE FIND ]------------------------------------------
#
topic title
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, topic description
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: topic_description_1.15.2a |  |
Posted: 07/16/2007 10:45 AM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 3:01 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
Thanks to nightrider , i can success to install the MOD now.But i have a 2 question to ask .
Now the problme is solved , But do i know why got the toolkit on my viewforum page?Issit is default settings? It is the Back to Top function i think.can delete it if i don't like ? Where to delete the it?
And i want to ask the second question , Does i imposible make the new column line for my Description topic ?
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: topic_description_1.15.2a |  |
Posted: 07/16/2007 10:58 AM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 3:01 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
Ok, i just seen on my admin panel and it got a option there and i was disable the tookits function.1st question Solved. And now i want to know how to make a new column line for my topic description on viewtopic page.
And the last where to change the Description line color? i Avanlanche.css file? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: topic_description_1.15.2a |  |
Posted: 07/16/2007 10:49 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:01 AM
Location: St Pete, FL
|

|
|
|
|
 |
Your FTP Server seems to be unavailable at the moment. It claims that the login failed even though I successfully logged in earlier...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: topic_description_1.15.2a |  |
Posted: 07/17/2007 12:32 AM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 3:01 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
| Nightrider wrote:
|
Your FTP Server seems to be unavailable at the moment. It claims that the login failed even though I successfully logged in earlier...
|
Ya, have a same problem here.Is my FTP server problem ??? Until now i also cannot login....what wrong ~~!?!?!!?!? |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|