News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

AjaxChat Integration (latest version 3.2.1)

Started by .HuNTeR., August 27, 2008, 12:59:06 AM

Previous topic - Next topic

mrtrc266

@ MatrixWD
In 300 + pages I've never seen that one before. Have you read the Known Issues regarding Pretty URLS's?
http://ajcintegration.co.cc/index.php/topic,50.0.html

Scarecrow7170

Quote from: mrtrc266 on May 14, 2010, 01:00:43 AM
Quote from: Scarecrow7170 on May 14, 2010, 12:18:15 AM
having issues that I did not see before:

[12-May-2010 21:44:00] PHP Warning:  Invalid argument supplied for foreach() in /home/xxxxxx/public_html/shoutBox/lib/class/AJAXChat.php on line 1461

It seems to be what is causing a lot of the execution errors we have been getting. please help.

Thank you for your time & patience.

What seems to be the problem and what's on line 1461 in the AJAXChat.php?

on line 1461 is the following:

Quoteforeach($this->_onlineUsersData as $userData){

going to give ya the paragraph it is in as well to be redundant.. lol

Quotefunction isAllowedToWriteMessage($id) {
foreach($this->_onlineUsersData as $userData){
//move to find user
if($userData['userID'] != $id)
continue;
//found him;)
else
return true;
if($userData['shout_access'])
return true;
return false;
}

function isAllowedToWriteMessage($id) {
foreach($this->_onlineUsersData as $userData){    <--- Line 1461
//move to find user
if($userData['userID'] != $id)
continue;
//found him;)
else
return true;
if($userData['shout_access'])
return true;
return false;
}

Thank you for your time & effort

adbrad

either you pasted the code twice or you have the exact code twice in the same file which could be causing the errors

mrtrc266

#6223
Quote from: adbrad on May 15, 2010, 03:38:43 AM
either you pasted the code twice or you have the exact code twice in the same file which could be causing the errors

Bingo!  ;)

mittal

i tried to install this mod in my 2.0rc3 but i got error.

anybody can help me in this error


adbrad

you only have errors in the custom themes so just make thos edits manually.

mittal

how to make it manually.

which files i have to edit. and wat code i have to put in that file

adbrad


mittal

i m using curve_gold now but i have 5 more themes installed in my site.

adbrad

should install fine on that theme
do you allow users to choose their own theme

mittal


hcfwesker

A staff member of mine seen this option on another AjacChat I'd like to have.  It's an extra color command that allows members to use custom HTML color codes as their color font, instead of the basic colors available.  The added button is in an image below.



I checked the FAQ and the Wiki, couldn't find anything relevant to this.

new200

How do you disable other languagew listing and listing for channels?

I only want one channel with English as the language. I've edit some tuff in chat/config.php but doesn't help!

TheListener

The following link will help.

Also please have a look at the link to the mod in mrtrc266s signature.

adbrad

Quote from: Brack1 on May 15, 2010, 05:25:58 PM
The following link will help.

Also please have a look at the link to the mod in mrtrc266s signature.
errr what link lol


adbrad

Quote from: mittal on May 15, 2010, 02:01:42 PM
how to make it manually.

which files i have to edit. and wat code i have to put in that file
go to the mod page http://custom.simplemachines.org/mods/index.php?mod=1319
and parse the manual install instructions and make the edits to the files that failed in your screenshot

mrtrc266

Quote from: mittal on May 15, 2010, 01:00:08 PM
i tried to install this mod in my 2.0rc3 but i got error.

anybody can help me in this error

ALL Mods are made to install on the default theme ONLY! If you try to install on other themes then manual edits will be required so go ahead and install the Mod just don't install it on themes that have the "failed test" then do the manual edits for the other themes.
Manual Installation of Mods

mrtrc266

Quote from: hcfwesker on May 15, 2010, 04:15:47 PM
A staff member of mine seen this option on another AjacChat I'd like to have.  It's an extra color command that allows members to use custom HTML color codes as their color font, instead of the basic colors available.  The added button is in an image below.
I checked the FAQ and the Wiki, couldn't find anything relevant to this.

Someone has added that on their own, please provide a link to the site and I'll take a look.

mrtrc266

Quote from: new200 on May 15, 2010, 05:19:09 PM
How do you disable other languagew listing and listing for channels?

I only want one channel with English as the language. I've edit some tuff in chat/config.php but doesn't help!

/chat/lib/config.php
Find
$config['langAvailable'] = array('ar','bg','bp','ca','cy','cz','de','el','en','es','et','fi','fr','gl','he','hr','hu','in','it','ka','kr','ja','nl','no','pl','ro','ru','sk','sl','sr','sv','tr','uk','zh','zh-tw');

Replace with
$config['langAvailable'] = array('en');
Find
$config['langNames'] = array('ar'=>'عربي','bg'=>'Български','bp'=>'Português (Brasil)','ca'=>'Català','cy'=>'Cymraeg','cz'=>'Česky','de'=>'Deutsch','el'=>'Ελληνικα','en'=>'English','es'=>'Español','et'=>'Eesti','fi'=>'Suomi','fr'=>'Français','gl'=>'Galego','he'=>'עברית','hr' => 'Hrvatski','hu' => 'Magyar','in'=>'Bahasa Indonesia','it'=>'Italiano','ja'=>'日本語','ka'=>'ქართული','kr'=>'한글','nl'=>'Nederlands','no'=>'Norsk','pl'=>'Polski','ro'=>'România','ru'=>'Русский','sk'=>'Slovenčina','sl'=>'Slovensko','sr'=>'Srpski','sv'=>'Svenska','tr'=>'Türkçe','uk'=>'Українська','zh'=>'中文 (简体)', 'zh-tw'=>'中文 (繁體)');

Replace with
$config['langNames'] = array('English');

Advertisement: