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

BaghdadGhost


Farjo

"I know only the mod creator is the one who should make changes to a mod"
If we stuck to that rule there would be no SMF2 version and it wouldn't work in Chrome.

I wrote to the mod author - he first said he would give the mod away and later said he would update it himself, however he evidently does not have the time to do this so it is up to us to keep it updated.

When I assembled the various fixes that others had made, and changed the version compatibility for SMF2 I called it 3.2.2b - why not package your changes into a version 3.2.3?

T3CHN0

Thanks guys... I just might do that. and fix the install template at same time for custom themes if I can.. depends on how many like it and want it..
will call it 3.2.2b_plus :)

Farjo

How about writing to the mod author asking for the mod. Like I say he was willing to give it away before but nobody took him up on the offer: http://www.simplemachines.org/community/index.php?topic=257973.msg3119535#msg3119535

In any case call it 3.2.3 (or even 3.3 :) ).

JamesCameron

Quote from: hcfwesker on November 30, 2011, 03:46:35 AM
Quote from: societyofrobots on November 30, 2011, 01:18:19 AM
Any chance of getting this updated to work with 2.0.1?

I tried reverting to SMF 2 RC3, but there were just too many manual edits. In the past I took the manual edit route, but I ended up pulling my hair out for every SMF upgrade to keep track of all the changes. :-\

Using the search tab  'in this topic' is a powerful tool ;)

http://www.simplemachines.org/community/index.php?topic=257973.msg3211488#msg3211488
I tried to use that,
but normal users can't see the shoutbox -
guests and admins do.

Anyone knows a solutio n?

Farjo

Have a look at the settings in Admin - Members / Permissions / General Permissions.

JamesCameron

Unbelieveable...
Just worked for hours on this,
watched every dawn file that was installed
and every code that was changed,
and also saw this permissions on the screenshot,
but i looked at the wrong page.

Thanks, my lord :D

Farjo


hcfwesker

Quote from: hcfwesker on November 29, 2011, 09:17:41 PM
I do have a question.  what file to we goto to edit the Chat Help menu, the on that opens up when you click the (?) mark in the chat.

I want to add in custom commands we have.  I already found where to add them in the language file, but dont know where to go to add them into the actual Help menu in the chat.

Any ideas where to locate the file.  I checked them all, and searched for the language strings from en.php from the help language strings listed ... and no luck :(

maryclare


T3CHN0

Quote from: hcfwesker on November 29, 2011, 09:17:41 PM
I do have a question.  what file to we goto to edit the Chat Help menu, the on that opens up when you click the (?) mark in the chat.

I want to add in custom commands we have.  I already found where to add them in the language file, but dont know where to go to add them into the actual Help menu in the chat.
Are you looking for this
/chat/js/chat.js
find
    getUserNodeStringItems: function(encodedUserName, userID) {

and look below that.. shows the settings in there for most things in help and so on

hcfwesker

Quote from: T3CHN0 on November 30, 2011, 07:04:58 PM
Quote from: hcfwesker on November 29, 2011, 09:17:41 PM
I do have a question.  what file to we goto to edit the Chat Help menu, the on that opens up when you click the (?) mark in the chat.

I want to add in custom commands we have.  I already found where to add them in the language file, but dont know where to go to add them into the actual Help menu in the chat.
Are you looking for this
/chat/js/chat.js
find
    getUserNodeStringItems: function(encodedUserName, userID) {

and look below that.. shows the settings in there for most things in help and so on

OK, i don't think that was it.   I'm looking for the file where it calls for these language strings, that produce the items in the HELP menu in the chat labeled with a (?)

$lang['helpItemDescJoin'] = 'Join a channel:';
$lang['helpItemCodeJoin'] = '/join Channelname';
$lang['helpItemDescJoinCreate'] = 'Create a private room (Registered users only):';
$lang['helpItemCodeJoinCreate'] = '/join';
$lang['helpItemDescInvite'] = 'Invite someone (e.g. to a private room):';
$lang['helpItemCodeInvite'] = '/invite Username';
$lang['helpItemDescUninvite'] = 'Revoke invitation:';
$lang['helpItemCodeUninvite'] = '/uninvite Username';
$lang['helpItemDescLogout'] = 'Logout from Chat:';
$lang['helpItemCodeLogout'] = '/quit';
$lang['helpItemDescPrivateMessage'] = 'Private message:';
$lang['helpItemCodePrivateMessage'] = '/msg Username Text';
$lang['helpItemDescQueryOpen'] = 'Open a private channel:';
$lang['helpItemCodeQueryOpen'] = '/query Username';

T3CHN0

Are you trying to make help display in another language ?
or have you added commands to do something and want to add them to the help "?" for members to be able to read
Help is only a readme so to speak.
if your wanting commands to be added I can help with that...

hcfwesker

I actually just found it :)

chat/lib/template/loggedIn.html

<div id="helpContainer" style="display:none;">
<h3>[LANG]help[/LANG]</h3>
<div id="helpList">
<table>
<tr class="rowOdd">
<td class="desc">[LANG]helpItemDescJoin[/LANG]</td>
<td class="code">[LANG]helpItemCodeJoin[/LANG]</td>
</tr>
<tr class="rowEven">
<td class="desc">[LANG]helpItemDescJoinCreate[/LANG]</td>
<td class="code">[LANG]helpItemCodeJoinCreate[/LANG]</td>

</tr>
<tr class="rowOdd">
<td class="desc">[LANG]helpItemDescInvite[/LANG]</td>
<td class="code">[LANG]helpItemCodeInvite[/LANG]</td>


That's the file where I can display our custom chat commands.   We already have them added, and work great, just we wanted some place simple to have them for members.


T3CHN0

OK sweet. thanks for letting me know. I found this link http://www.simplemachines.org/community/index.php?topic=257973.msg2100280#msg2100280
Thought it might have helped but your under control. Good job. could I ask for your url so I can have a look when your finished. might be something I can add

maryclare

I have searched this thread for a way to move the shoutbox from its default position at the top to the bottom of the screen. 

The one answer I found is this:


open Sources/Load.php
find:

Code: [Select]
      array_splice($context['template_layers'], 1, 0, 'shout');

replace with

Code: [Select]
      //array_splice($context['template_layers'], 1, 0, 'shout');

open your index.template.php or boardindex.termplate.php and place

Code: [Select]
template_shout_above();
anywhere you want



My problem is that I can't find the index.template.php file or the boardindex.template.php file in my forum directory, sources directory, or shoutbox directory.


All I want to do is move the shoutbox to the bottom of the screen.

Thanks.

Farjo

They're in ./Themes/default or ./Themes/(name of your theme)

maryclare

Thanks for the file location.  Unfortuneately it didn't work.

I am running SMF 2.01 and Ajax Chat 3.2.2b. 

If anyone knows a way to move the shoutbox to the bottom, I'd appreciate it.  I am running the default theme, and only have the shoutbox on the main page.

JamesCameron

Can anyone tell me, why the shoutbox needs hell of long to load ?
Default server settings...

TheListener

Quote from: maryclare on December 01, 2011, 09:00:33 AM
Thanks for the file location.  Unfortuneately it didn't work.

I am running SMF 2.01 and Ajax Chat 3.2.2b. 

If anyone knows a way to move the shoutbox to the bottom, I'd appreciate it.  I am running the default theme, and only have the shoutbox on the main page.

Moving the shoutbox to the bottom has been covered within the topic before.

Advertisement: