[ABD] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
RATT
Registered User
Posts: 734
Joined: Fri Aug 19, 2005 6:27 am

Re: [Beta] AJAX Chat/Shoutbox Mod

Post by RATT » Tue Jan 08, 2008 10:10 pm

rhinton wrote:
rshack wrote:OK, for anyone else using the BLACK PEARL style, here is what I had to do, find this code in the 'chat_body.html':

Code: Select all

<!-- IF U_ACP or U_MCP -->
													<a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onclick="delete_post('{chatrow.MESSAGE_ID}')">
														<img src="{T_IMAGESET_LANG_PATH}/icon_post_delete.gif" />
													</a> 
												<!-- ENDIF -->
And replace with this:

Code: Select all

<!-- IF U_ACP or U_MCP -->
<input class="post" type="submit" name="delete" value="{L_DELETE_POST}" onclick="delete_post('{chatrow.MESSAGE_ID}')"/>
</span>
<!-- ENDIF -->
Thanks again GroovePlugs for the great mod, glad I finally got the delete option back :D
fixed it for me. thanks.
All you simply had to do was change

Code: Select all

icon_post_delete.gif
to

Code: Select all

icon_post_delete.png
The delete button is in a .png format

helias
Registered User
Posts: 1
Joined: Fri Jan 11, 2008 12:18 pm

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by helias » Fri Jan 11, 2008 12:21 pm

Hey,
the chat works well, I have configured it for my all themes and also fixed it so it could also be seen for registered members but now I'm looking for some script add so only a certain type of groups can see the chat.

Thanks,
helias

319
Registered User
Posts: 144
Joined: Fri Dec 21, 2007 12:47 am
Contact:

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by 319 » Fri Jan 11, 2008 12:35 pm

How long we can wait alpha release? Thanx!

User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by Handyman` » Fri Jan 11, 2008 8:40 pm

319 wrote:How long we can wait alpha release? Thanx!
alpha? why would you want an alpha release when there is a beta?
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)

Silver24
Registered User
Posts: 1
Joined: Sun Jan 13, 2008 4:40 pm

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by Silver24 » Sun Jan 13, 2008 4:43 pm

Hello !
I have a problème, I can't install it ! i have the following errors :
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/bubble-sims.com/httpdocs/v5/language/fr/common.php:1) in /home/httpd/vhosts/bubble-sims.com/httpdocs/v5/includes/functions.php on line 3395

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/bubble-sims.com/httpdocs/v5/language/fr/common.php:1) in /home/httpd/vhosts/bubble-sims.com/httpdocs/v5/includes/functions.php on line 3397

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/bubble-sims.com/httpdocs/v5/language/fr/common.php:1) in /home/httpd/vhosts/bubble-sims.com/httpdocs/v5/includes/functions.php on line 3398

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/bubble-sims.com/httpdocs/v5/language/fr/common.php:1) in /home/httpd/vhosts/bubble-sims.com/httpdocs/v5/includes/functions.php on line 3399
And I can't stay connected, so I can't connect to the admin to refresh...

Thanks for your hel !

xxxFUELFORFIRExxx
Registered User
Posts: 31
Joined: Wed Aug 03, 2005 11:28 pm

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by xxxFUELFORFIRExxx » Sun Jan 13, 2008 10:23 pm

Great mod! Is there anyway to add a smilie link to the box?

xxxFUELFORFIRExxx
Registered User
Posts: 31
Joined: Wed Aug 03, 2005 11:28 pm

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by xxxFUELFORFIRExxx » Sun Jan 13, 2008 10:49 pm

Also is there anyway to exten the shout history in the shoutbox? Thanks for the help!

Twill
Registered User
Posts: 35
Joined: Mon Nov 05, 2007 1:33 am

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by Twill » Mon Jan 14, 2008 12:24 am

I think it's been requested before, but let me add an extra voice to the fray:

Is it possible to have the chat auto create a room on each sub-forum and thus inherit the permissions set for that chan and insert the chat into the top of each sub-forum? (i.e. put a version of the chat window where the pink "forum rules READ:" notice is at the top of this page)

For example, if we have 5 user groups, each with their own sub-forum that only they can see and then the main forum that everyone can see, we would essentially have 6 completely separate chat rooms, one at the top of each page.

When you are viewing the main forum you can see the whole forum chat, when you view your private usergroup forum you see and type to the private usergroup chat.

That would be peachy keen as they say...

Have a good one and thanks for the dev
Twill

Kyle2k7
Registered User
Posts: 22
Joined: Sat Sep 22, 2007 11:01 am

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by Kyle2k7 » Tue Jan 15, 2008 9:36 pm

Hey

How can i get rid of the extra padding/margin around the chat bit and how can i get rid of the scrollbar?

Thanks

Kyle2k7
Registered User
Posts: 22
Joined: Sat Sep 22, 2007 11:01 am

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by Kyle2k7 » Wed Jan 16, 2008 3:24 pm

How do i make the space between each message smaller because each of the messages on my shoutbox have a big gap apart

Thanks

jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by jimcarrel » Wed Jan 16, 2008 6:54 pm

kyle2k7 and fuelforfire, all your questions have been asked and answered.
Begging your pardon, but either do a search or read the topic as the rest of us.

seriously tho, your questions have been answered.

Enjoy the mod!
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve

xxxFUELFORFIRExxx
Registered User
Posts: 31
Joined: Wed Aug 03, 2005 11:28 pm

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by xxxFUELFORFIRExxx » Thu Jan 17, 2008 1:08 am

Thanks for the reply ;)
I searched all 30 pages before posting. I saw someone asking about smilies and it was said her answer was fulfilled on the startrek forum but I did not see it there.

As for extending the historey I did not see anything. The topic of stretching the box is there but not the history. Even after adjusting the size of the box the history is still limited.

User avatar
Ladysarajane
Registered User
Posts: 441
Joined: Sat Feb 18, 2006 10:05 pm

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by Ladysarajane » Thu Jan 17, 2008 1:27 am

This Mod is still not finished (hence the beta 8).
Handyman is currently in the middle of moving, but once he is settle he plans to finish his mods. He plans in the future(look at page one of this topic on his roadmap) and you will see he plans to have "chat logs" ( I am not sure if that is what you really want)
So patience is required until he settles in his new home and can answer your questions. :)
When all else fails, read the instructions

khouch
Registered User
Posts: 11
Joined: Wed Jan 16, 2008 7:30 am

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by khouch » Thu Jan 17, 2008 3:17 am

is there nay way that i could move the chat up top i dont like it sitting down the bottom :`( :cry:

jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [Beta] AJAX Chat/Shoutbox MOD 2.0.0 Beta 8

Post by jimcarrel » Thu Jan 17, 2008 4:13 pm

okay, lets see if I can relay some of this:

I assume you wish to show more than 25 'shouts' in the shoutbox/chat?!

To do this you need to edit both the chat.php and the shout.php files

open the chat.php and
Find:

Code: Select all

$result = $db->sql_query_limit($sql, 25);
REPLACE WITH (assuming you wish to show 50 'shouts')

Code: Select all

$result = $db->sql_query_limit($sql, 50)
*****that find and replace needs to be done twice.**

open the shout.php file and

FIND

Code: Select all

$result = $db->sql_query_limit($sql, 25);
REPLACE WITH (assuming you wish to show 50 'shout's)

Code: Select all

$result = $db->sql_query_limit($sql, 50);
Next, for smilies

Open : styles\prosilver\template\chat_body.html
Find :

Code: Select all

-->
   </script>
   <style type="text/css">
   <!--

Add before :

Code: Select all

      function addText(instext) 
   {
          var mess = document.getElementById('message');
        //IE support
              if (document.selection) 
      {
                    mess.focus();
                     sel = document.selection.createRange();
                     sel.text = instext;
                     document.message.focus();
              }
      //MOZILLA/NETSCAPE support
      else if (mess.selectionStart || mess.selectionStart == "0") 
      {
         var startPos = mess.selectionStart;
         var endPos = mess.selectionEnd;
         var chaine = mess.value;
                     mess.value = chaine.substring(0, startPos) + instext + chaine.substring(endPos, chaine.length);
                     mess.selectionStart = startPos + instext.length;
                     mess.selectionEnd = endPos + instext.length;
                     mess.focus();
      } 
      else 
      {
         mess.value += instext;
                     mess.focus();
      }
   }
Find :

Code: Select all

<input type="submit" class="button1" value="{L_SUBMIT}" name="submit" tabindex="6" accesskey="s"/><br />
               </form>
Add After

Code: Select all

<br>
<a href="#" onclick="addText(' :D ');return(false)">   
<img src="images/smilies/icon_e_biggrin.gif" alt="Very Happy" border="0" /></a>
<a href="#" onclick="addText(' :) ');return(false)">   
<img src="images/smilies/icon_e_smile.gif" alt="Smile" border="0" /></a>
<a href="#" onclick="addText(' ;) ');return(false)">   
<img src="images/smilies/icon_e_wink.gif" alt="Sad" border="0" /></a> 
<a href="#" onclick="addText(' :( ');return(false)">   
<img src="images/smilies/icon_e_sad.gif" alt="Surprised" border="0" /></a>
<a href="#" onclick="addText(' :o ');return(false)">   
<img src="images/smilies/icon_e_surprised.gif" alt="Surprised2" border="0" /></a>
<a href="#" onclick="addText(' :shock: ');return(false)">   
<img src="images/smilies/icon_eek.gif" alt="Shocked" border="0" /></a>
<a href="#" onclick="addText(' :? ');return(false)">   
<img src="images/smilies/icon_e_confused.gif" alt="Confused" border="0" /></a> 
<a href="#" onclick="addText(' 8-) ');return(false)">   
<img src="images/smilies/icon_cool.gif" alt="Cool" border="0" /></a>
<a href="#" onclick="addText(' :lol: ');return(false)">   
<img src="images/smilies/icon_lol.gif" alt="Laughing" border="0" /></a> 
<a href="#" onclick="addText(' :x ');return(false)">   
<img src="images/smilies/icon_mad.gif" alt="Mad" border="0" /></a>
<a href="#" onclick="addText(' :P ');return(false)">   
<img src="images/smilies/icon_razz.gif" alt="Razz" border="0" /></a> 
<a href="#" onclick="addText(' :oops: ');return(false)">   
<img src="images/smilies/icon_redface.gif" alt="Embarassed" border="0" /></a>
<a href="#" onclick="addText(' :cry: ');return(false)">   
<img src="images/smilies/icon_cry.gif" alt="Crying or Very sad" border="0" /></a> 
<a href="#" onclick="addText(' :evil: ');return(false)">   
<img src="images/smilies/icon_evil.gif" alt="Evil or Very Mad" border="0" /></a>
<a href="#" onclick="addText(' :twisted: ');return(false)">   
<img src="images/smilies/icon_twisted.gif" alt="Twisted Evil" border="0" /></a> 
<a href="#" onclick="addText(' :roll: ');return(false)">   
<img src="images/smilies/icon_rolleyes.gif" alt="Rolling Eyes" border="0" /></a>
<a href="#" onclick="addText(' :| ');return(false)">   
<img src="images/smilies/icon_neutral.gif" alt="Neutral" border="0" /></a>
<a href="#" onclick="addText(' :mrgreen: ');return(false)">   
<img src="images/smilies/icon_mrgreen.gif" alt="Wink" border="0" /></a> 
<a href="#" onclick="addText(' :?: ');return(false)">   
<img src="images/smilies/icon_question.gif" alt="Question" border="0" /></a>
<a href="#" onclick="addText(' :idea: ');return(false)">   
<img src="images/smilies/icon_idea.gif" alt="Idea" border="0" /></a>
<a href="#" onclick="addText(' :geek: ');return(false)">   
<img src="images/smilies/icon_e_geek.gif" alt="Mr. Green" border="0" /></a>
refresh cache and templates.
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve

Locked

Return to “[3.0.x] Abandoned MODs”