Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
ChatBox MOD
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2, 3, 4  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: ChatBox MOD
PostPosted: 09/12/2007 4:09 PM Reply with quote
Citation
2LadyDi
Citation
Posts 826
Word Cnt. 37,329
BDay Oct 2
Sign Libra
Sex Sex:Female
Joined: Apr 03, 2007
Local time: 2:44 AM
Location: Somewhere in Maryland
marylndC.gif
Oh I will, you can beleive that. I accidentally hit the install for the new chat when I was trying to do something else. So if there is a reference for 3, then this is why.

But I see a chatbox_front.php in the root folder. I am checking to see which version this is in now. (Done - it's in this new version)

Ok, me is back and here's my error for version 3:

Code:
FIND FAILED: In file [index.php] could not find:

$template->assign_vars(array(
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),

MOD script line #112
Back to Top
View user's profile Find all posts by 2LadyDi Send private message   Phoogle Map Visit poster's Blog
Re: ChatBox MOD
PostPosted: 09/12/2007 5:04 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:44 AM
Location: St Pete, FL
peace.gif
Once again, this is an example where the MOD author included far too much information in the FIND command, making it likely to fail on more boards than not...

Ok, try this:

OPEN
ChatBox Mod Install.txt

FIND
Code:
#
#-----[ FIND ]---------------------------------------------
#
$template->assign_vars(array(
   'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
   'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
   'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),

REPLACE WITH
Code:
#
#-----[ FIND ]---------------------------------------------
#
$template->assign_vars(array(
'TOTAL_POSTS'

Save, upload, and try again using EM...

munky2
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: ChatBox MOD
PostPosted: 09/13/2007 12:30 PM Reply with quote
Citation
2LadyDi
Citation
Posts 826
Word Cnt. 37,329
BDay Oct 2
Sign Libra
Sex Sex:Female
Joined: Apr 03, 2007
Local time: 2:44 AM
Location: Somewhere in Maryland
marylndC.gif
Ok, I am reading the install.txt and I found what seems to be a typing error:

Quote:
copy support_files/cht_login.php to phpbb/chatbox_login.php


Shouldn't it read cht_login.php to phpbb/cht_login.php or even chatbox_login.php to phpbb/chatbox_login.php ?

Please explain why of no NR. Thank youuu!

Code:
FIND FAILED: In file [templates/subBlack/index_body.tpl] could not find:

<td class="row1" align="center" valign="middle" rowspan="3"><img src="templates/subBlack/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>

MOD script line #170
Back to Top
View user's profile Find all posts by 2LadyDi Send private message   Phoogle Map Visit poster's Blog
Re: ChatBox MOD
PostPosted: 09/13/2007 5:47 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:44 AM
Location: St Pete, FL
peace.gif
Based only on the COPY command, it is difficult to determine whether this is a problem or not.  If you look in the support_files folder, there is a file named cht_login.php, so EM would be able to find the file and copy it into the new name phpbb/chatbox_login.php, which is probably a mistake.  I imagine that the MOD author intended to copy the files to the root of the phpBB forum folder.  So next to determine whether the new filename is correct, I ran a search to see if the MOD author ever defined it in any of the other files, which he didn't.  Strangely, he didn't define cht_login.php either.  So it appears that the file is never used...

I would correct the COPY commands though by removing phpbb/ from the destination path.  Also, I would add the missing wildcard values in the destinations too.  The copies won't work without them...

OPEN
ChatBox Mod Install.txt

FIND
Code:
#
#-----[ COPY ]--------------------------------------------
#
copy chatbox_front.php to phpbb/chatbox_front.php
copy support_files/cht_login.php to phpbb/chatbox_login.php
copy chat/*.* to phpbb/chat/
copy chat/logs/*.* to phpbb/chat/logs/

REPLACE WITH
Code:
#
#-----[ COPY ]--------------------------------------------
#
copy chatbox_front.php to chatbox_front.php
copy support_files/cht_login.php to chatbox_login.php
copy chat/*.* to chat/*.*
copy chat/logs/*.* to chat/logs/*.*

This whole section is sure to fail too:
FIND
Code:
#
#-----[ FIND ]--------------------------------------------
#
<td class="row1" align="center" valign="middle" rowspan="3"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>

#
#-----[ REPLACE WITH ]------------------------------------
#
<td class="row1" align="center" valign="middle" rowspan="3"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>

#
#-----[ FIND ]---------------------------------------------
#
  <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>

REPLACE WITH
Code:
#
#-----[ FIND ]--------------------------------------------
#
rowspan="3"
#
#-----[ IN-LINE FIND ]--------------------------------------------
#
rowspan="3"
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------
#
rowspan="4"
#
#-----[ FIND ]---------------------------------------------
#
{TOTAL_USERS_ONLINE}
#
#-----[ FIND ]---------------------------------------------
#
</tr>

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: ChatBox MOD
PostPosted: 09/13/2007 5:53 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:44 AM
Location: St Pete, FL
peace.gif
You might as well fix these too while you're at it:

OPEN
ChatBox Mod Install.txt

FIND
Code:
#
#-----[ FIND ]---------------------------------------------
#
   $meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';
   $message = $lang['Stored'] . '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');

   return false;
}

//
// Update post stats and details
//

REPLACE WITH
Code:
#
#-----[ FIND ]---------------------------------------------
#
$meta = '<meta http-equiv="refresh"

FIND
Code:
#
#-----[ OPEN and EDIT ]---------------------------------------------
#
#   chat/chatbox_config.php,
#   Set the Settings in this file to suite your needs. everything is labeled.
#   Also you can edit the chatbox css file to change the look if you wish.

REPLACE WITH
Code:
#
#-----[ DIY INSTRUCTIONS ]---------------------------------------------
#
   chat/chatbox_config.php,
   Set the Settings in this file to suite your needs. everything is labeled.
   Also you can edit the chatbox css file to change the look if you wish.

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: ChatBox MOD
PostPosted: 09/13/2007 8:46 PM Reply with quote
Citation
2LadyDi
Citation
Posts 826
Word Cnt. 37,329
BDay Oct 2
Sign Libra
Sex Sex:Female
Joined: Apr 03, 2007
Local time: 2:44 AM
Location: Somewhere in Maryland
marylndC.gif
It installed fine NR after your heavy tweaking. I can see I am going to be very busy "tweaking' it to my site. Wink  Plus I'll check on the MOD forum and see what he's offering for the "donationware" support.

'add chatbox to overall header' is not being recognized by EM. I'll hand code that tmorrow. Looks painless. Boo hoo!

Abdulbasit - this MIGHT be the one... NOW Very Happy
Back to Top
View user's profile Find all posts by 2LadyDi Send private message   Phoogle Map Visit poster's Blog
Re: ChatBox MOD
PostPosted: 09/13/2007 10:39 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:44 AM
Location: St Pete, FL
peace.gif
You should be able to modify the add chatbox to overall header MOD so that EM can install it...

munky2
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: ChatBox MOD
PostPosted: 09/15/2007 12:19 PM Reply with quote
Citation
2LadyDi
Citation
Posts 826
Word Cnt. 37,329
BDay Oct 2
Sign Libra
Sex Sex:Female
Joined: Apr 03, 2007
Local time: 2:44 AM
Location: Somewhere in Maryland
marylndC.gif
Well I did it manually and it is not working.  Brick wall  dontknow
Back to Top
View user's profile Find all posts by 2LadyDi Send private message   Phoogle Map Visit poster's Blog
Re: ChatBox MOD
PostPosted: 09/15/2007 5:35 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:44 AM
Location: St Pete, FL
peace.gif
So why not restore your backups and install it using EM?  I can fix the MOD script so that EM will recognize it...

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: ChatBox MOD
PostPosted: 09/15/2007 10:56 PM Reply with quote
Citation
2LadyDi
Citation
Posts 826
Word Cnt. 37,329
BDay Oct 2
Sign Libra
Sex Sex:Female
Joined: Apr 03, 2007
Local time: 2:44 AM
Location: Somewhere in Maryland
marylndC.gif
While you fix the MOD script so that it is EMC, I will upload the original files. Wink
Back to Top
View user's profile Find all posts by 2LadyDi Send private message   Phoogle Map Visit poster's Blog
 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: Previous  1, 2, 3, 4  Next
Page 3 of 4


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1347s (PHP: 51% - SQL: 49%) - SQL queries: 57 - GZIP disabled - Debug on