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] FoxyIRCChat
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] FoxyIRCChat
PostPosted: 05/04/2007 8:12 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:38 AM
Location: Birmingham, UK.
greatbrE.gif
I had to fix an error so that EM could process the MOD successfully first, but it's gone on but then when loading up the homepage I'm getting this error

Code:
Parse error: syntax error, unexpected T_STRING in /home/djpassio/public_html/djpassions/language/lang_english/lang_main. php on line 1056


I hate these Parse / Syntax error ones

The mod author only has to miss one character / symbol or have one out of place and it then causes a right nightmare

What’s causing that error guys...  sunny
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] FoxyIRCChat
PostPosted: 05/04/2007 8:19 AM Reply with quote
Caravan
FTM
Caravan
Posts 282
Word Cnt. 31,380
BDay Apr 14
Sign Aries
Sex Sex:Female
Joined: Nov 01, 2006
Local time: 3:38 AM
Location: Denver, PA
usaCa.gif
Can we see the lang_main.php file where you added the stuff for this mod. I might not be able to help, but if I could I would need to see that edited part of that file.  flower
Back to Top
View user's profile Find all posts by FTM Send private message   Visit poster's website Yahoo Messenger
Re: [Solved] FoxyIRCChat
PostPosted: 05/04/2007 8:33 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:38 AM
Location: Birmingham, UK.
greatbrE.gif
Its ok I've just done it

The error was caused by the mod author incorrectly placing a java link, you know the one that plugs to all the visitors and members. So, I just removed the link it was causing the error. Didn't know how to correct it so I just removed it all lol

Here's part of process from the mod

//-- mod : FoxyIRCChat ---------------------------------------------------------------------- ------
//-- add
$lang['foxyfoxychat_win_not_open'] = 'Attention!\n\nUnable to open chat window.';
$lang['foxychat_no_java'] = 'This application need Java to start';
$lang['foxychat_download_java'] = 'If you've not java installed on your computer, you can found it on official Java\'s web site or you can search it on Microsoft\'s web site';
$lang['foxychat_click_to_join'] = 'Click to join chat';
$lang['foxychat_settings'] = 'FoxyIRCChat settings';
$lang['foxychat_server'] = 'IRC Server';
$lang['foxychat_port'] = 'Server port';
$lang['foxychat_channel'] = 'IRC channel with # before';
$lang['foxychat_quitmsg'] = 'Quit message';
$lang['foxychat_showsmile'] = 'Use forum\'s smile in chat';
$lang['foxychat_smilepath'] = 'Path of smile';
$lang['foxychat_smilepath_explain'] = 'Path where are the forum\'s smile, usualy images/smiles';
$lang['foxychat_showbck'] = 'Show a background in chat';
$lang['foxychat_background'] = 'Background picture path';
$lang['foxychat_background_explain'] = 'Path of background picture, example: images/bck.jpg';
//-- end mod : FoxyIRCChat ---------------------------------------------------------------------- --


I removed this bit

Code:
$lang['foxychat_download_java'] = 'If you've not java installed on your computer, you can found it on <a href=\"http://www.java.com/\" target=\"_blank\">official Java\'s web site</a> or you can search it on <a href=\"http://www.microsoft.com/\" target=\"_blank\">Microsoft\'s web site</a>';


the forum loads up now but just one little problem which is 'rowspan="3"' is appearing above Who Is Online

Know that's one bugger I don't know how to fix, could be coming from anywhere. There are no clues with this one though dammit HAHA!  flower
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] FoxyIRCChat
PostPosted: 05/04/2007 8:52 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:38 AM
Location: Birmingham, UK.
greatbrE.gif
hmmm just did a find for it in the mod install file and found this

Code:
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
#  <tr>
#  <td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
whosonline.gif" alt="{L_WHO_IS_ONLINE}
#
#-----[ IN-LINE FIND ]----------------------------------------
#
rowspan="2"
#
#-----[ REPLACE WITH ]----------------------------------------
#
rowspan="3"


ok so there is a clue lol  Embarassed
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] FoxyIRCChat
PostPosted: 05/04/2007 8:58 AM Reply with quote
Caravan
FTM
Caravan
Posts 282
Word Cnt. 31,380
BDay Apr 14
Sign Aries
Sex Sex:Female
Joined: Nov 01, 2006
Local time: 3:38 AM
Location: Denver, PA
usaCa.gif
Code:
$lang['foxychat_download_java'] = 'If you've not java installed on your computer, you can found it on <a href=\"http://www.java.com/\" target=\"_blank\">official Java\'s web site</a> or you can search it on <a href=\"http://www.microsoft.com/\" target=\"_blank\">Microsoft\'s web site</a>';


Did it really have all the \ in it? Why, I wonder? I don't think I have ever seen that before so I would imagine that is what it was throwing the error for.

Yeah, that extra code is probably in your index_body.tpl file. Did you find it?
Back to Top
View user's profile Find all posts by FTM Send private message   Visit poster's website Yahoo Messenger
Re: [Solved] FoxyIRCChat
PostPosted: 05/04/2007 9:05 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:38 AM
Location: Birmingham, UK.
greatbrE.gif
Yeah it did. Guess it's not right

As to the other error I’ve just corrected it

EM didn't process the command properly or added an extra rowspan="3" one or the two as seen below. I've just removed it and it's gone from the index page now wooohoo  headbang

Code:
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr>
   <td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
  </tr>
  <tr>
rowspan="3"
   <td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
   </td>
  </tr>
  <tr>
   <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
    <tr>
        <td class="row1" align="left"><span class="gensmall">
        [ <a href="" onclick="javascript:openchat();return false;">{L_CLICK_TO_JOIN_CHAT}</a> ]
   </span>
   </td>
  </tr>
</table>
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] FoxyIRCChat
PostPosted: 05/04/2007 9:13 AM Reply with quote
Caravan
FTM
Caravan
Posts 282
Word Cnt. 31,380
BDay Apr 14
Sign Aries
Sex Sex:Female
Joined: Nov 01, 2006
Local time: 3:38 AM
Location: Denver, PA
usaCa.gif
awesome, so it's all good now?  headbang
Back to Top
View user's profile Find all posts by FTM Send private message   Visit poster's website Yahoo Messenger
Re: [Solved] FoxyIRCChat
PostPosted: 05/04/2007 9:21 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:38 AM
Location: Birmingham, UK.
greatbrE.gif
yurp, cheers  headbang
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] FoxyIRCChat
PostPosted: 05/04/2007 6:14 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: 3:38 AM
Location: St Pete, FL
peace.gif
Chris Powell wrote:
EM didn't process the command properly or added an extra rowspan="3" one or the two as seen below.

Actually EM did EXACTLY what it was told to do, which wasn't correct.  This is what the MOD author told EM to do:

Code:
#
#-----[ IN-LINE FIND ]----------------------------------------
#
rowspan="2"
#
#-----[ REPLACE WITH ]----------------------------------------
#
rowspan="3"

This is what the MOD author meant for EM to do:

Code:
#
#-----[ IN-LINE FIND ]----------------------------------------
#
rowspan="2"
#
#-----[ IN-LINE REPLACE WITH ]----------------------------------------
#
rowspan="3"

So instead of adjusting the rowspan setting in the line from the FIND statement, it replaced the line in the FIND statement with rowspan="3", which is clearly a mistake.  So if all you did to correct the problem is remove the rowspan="3" line, you need to go back and restore the line that was lost by the invalid line of code from the MOD script...

Shocked
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: [Solved] FoxyIRCChat
PostPosted: 05/04/2007 6:36 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:38 AM
Location: Birmingham, UK.
greatbrE.gif
So that's what it was then  Brick wall dam mod author’s aye Razz

Well in the end I removed the mod anyway because it wasn't the kind I was after. I got this mod from RCF's download page

I went with this plug-in mod instead  

http://www.phpbb.com/community/viewtopic.php?f=16&t=201400&st=0&sk=t&s d=a&sid=82d7b29f0987f8195887a85c2f7b27e2 which works a treat

Turns out that it's the same one you use, I didn't even know you had a chat room until I noticed it earlier, after I’d already installed the newer one on my forum headbang
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
 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.1012s (PHP: 62% - SQL: 38%) - SQL queries: 58 - GZIP disabled - Debug on