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]topic_description_1.15.2a
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved]topic_description_1.15.2a
PostPosted: 07/10/2007 5:37 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 1:58 PM
Location: Klang, Malaysia
malaysiC.gif
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? Brick wall

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
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: topic_description_1.15.2a
PostPosted: 07/14/2007 9:17 PM 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:58 AM
Location: St Pete, FL
peace.gif
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...

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: topic_description_1.15.2a
PostPosted: 07/14/2007 9:27 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 1:58 PM
Location: Klang, Malaysia
malaysiC.gif
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
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: topic_description_1.15.2a
PostPosted: 07/14/2007 11:17 PM 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:58 AM
Location: St Pete, FL
peace.gif
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...

dontknow
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: topic_description_1.15.2a
PostPosted: 07/15/2007 12:18 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 1:58 PM
Location: Klang, Malaysia
malaysiC.gif
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


Brick wall  I have no idea to install this mod.. dontknow
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: topic_description_1.15.2a
PostPosted: 07/15/2007 5:17 PM 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:58 AM
Location: St Pete, FL
peace.gif
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...

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: topic_description_1.15.2a
PostPosted: 07/16/2007 10:45 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 1:58 PM
Location: Klang, Malaysia
malaysiC.gif
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 ?





  headbang
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: topic_description_1.15.2a
PostPosted: 07/16/2007 10:58 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 1:58 PM
Location: Klang, Malaysia
malaysiC.gif
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
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: topic_description_1.15.2a
PostPosted: 07/16/2007 10:49 PM 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:58 AM
Location: St Pete, FL
peace.gif
Your FTP Server seems to be unavailable at the moment.  It claims that the login failed even though I successfully logged in earlier...

dontknow
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: topic_description_1.15.2a
PostPosted: 07/17/2007 12:32 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 1:58 PM
Location: Klang, Malaysia
malaysiC.gif
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...

dontknow


Ya, have a same problem here.Is my FTP server problem ???  Brick wall Until now i also cannot login....what wrong ~~!?!?!!?!?
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
 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  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0748s (PHP: 84% - SQL: 16%) - SQL queries: 57 - GZIP disabled - Debug on