[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.
User avatar
KeithR
Former Team Member
Posts: 750
Joined: Mon Jun 16, 2008 6:59 pm
Location: Manchester, UK
Name: Keith R

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

Post by KeithR » Wed Jan 14, 2009 8:33 pm

ryan_46307 wrote:I'm not sure if this has already been discussed, but is it possible to make hidden users hidden in the online list
Read the two posts by Mickroz and janmyszkier in this page:
http://www.phpbb.com/community/viewtopi ... &start=990

Fackl
Registered User
Posts: 23
Joined: Wed Jun 04, 2008 8:08 am

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

Post by Fackl » Wed Jan 14, 2009 9:32 pm

kmklr72 wrote:
Fackl wrote:I would need your help. I have a user on my board (---BMWE30---) and when he is online in the shoutbox, the box with the online users is under the text. I think it depends on the "---" letters. Furthermore I can't not write this three letters in my shoutbox!?
Your database tables for the chat may not be utf8. You should use a tool like phpMyAdmin to look at your SQL tables. Make sure the chat tables have the collation set to utf8.

Regards,
kmklr72
Now I have checked my SQL tables with this results:
phpbb_chat:
username varchar(255) utf8_bin
message text utf8_bin

I think this should be ok. What do you think?

Thank you!

kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

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

Post by kmklr72 » Wed Jan 14, 2009 10:55 pm

It looks right to me, but if that isn't the reason then I'm not sure what it could be. utf8 can display that character, and the chat uses utf8, so something isn't adding up. I don't have the files in front of me, but when I do, I'll look at them to see what could be the problem.

Fackl
Registered User
Posts: 23
Joined: Wed Jun 04, 2008 8:08 am

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

Post by Fackl » Thu Jan 15, 2009 4:04 pm

I have found the solution for my issue:

http://www.phpbb.com/community/viewtopi ... 0#p6984535

Thank you all for your help!

User avatar
Flash619 [GN]
Registered User
Posts: 240
Joined: Fri Apr 27, 2007 8:54 pm
Contact:

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

Post by Flash619 [GN] » Thu Jan 15, 2009 7:02 pm

How do i change the high of the colored boxes that the shouted text goes in.;

I've also seen to more questions like this in this topic that were NOT answered. :shock:
Image

User avatar
Locou
Registered User
Posts: 80
Joined: Wed Apr 30, 2008 11:47 am
Location: Germany

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

Post by Locou » Thu Jan 15, 2009 7:25 pm

Hello,
which files do I have to edit to add a working link to the "more smilies"-link like in posting_body.html?

I've found the html stuff:

Code: Select all

<a class="nav" href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_SMILIES}</a>
I've inserted this part in chat_body.html.
If I click the link, a popup appears with the index_body.

"{L_SMILIES}" is shown as {L_SMILIES}, but at the posting_body.html it shows up as "Smilies".


Any help? ;)


subsilver2 btw

User avatar
will_hough
Former Team Member
Posts: 1952
Joined: Mon Feb 06, 2006 8:47 pm
Location: Michigan
Name: Will Hough
Contact:

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

Post by will_hough » Fri Jan 16, 2009 10:16 pm

Correct me if I'm wrong, but I believe there is an error in your code to clear the chat logs.

Code: Select all

		$sql = 'SELECT * FROM ' . CHAT_TABLE . ' ORDER BY message_id DESC';
        $result = $db->sql_query_limit($sql, 25);
        $rows = $db->sql_fetchrowset($result);
        $db->sql_freeresult($result);

        $delete_id = 0;
        foreach ($rows as $row)
        {
            if ($count++ == 0)
            {
                $last_id = $row['message_id'];
            }
            $template->assign_block_vars('chatrow', array(
                'MESSAGE_ID'    => $row['message_id'],
                'USERNAME_FULL'    => clean_username(get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], $user->lang['GUEST'])),
                'MESSAGE'        => generate_text_for_display($row['message'], $row['bbcode_uid'], $row['bbcode_bitfield'], $row['bbcode_options']),
                'TIME'            => $user->format_date($row['time']),
                'CLASS'            => ($row['message_id'] % 2) ? 1 : 2,
            ));
            $delete_id = $row['message_id'];
        }
        
        $sql = 'DELETE FROM ' . CHAT_TABLE . '
            WHERE message_id < ' . $delete_id;
        $db->sql_query($sql);  
This:

Code: Select all

'USERNAME_FULL'    => clean_username(get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], $user->lang['GUEST'])),
Shoud be:

Code: Select all

'USERNAME_FULL'	=> get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], $user->lang['GUEST']),

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 16, 2009 10:20 pm

fixed… thanks :)
don't know how that got in there… somebody poisoned my code :x
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)

User avatar
Flash619 [GN]
Registered User
Posts: 240
Joined: Fri Apr 27, 2007 8:54 pm
Contact:

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

Post by Flash619 [GN] » Fri Jan 16, 2009 11:33 pm

Will i get a answerer to my question above soon?
Image

kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

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

Post by kmklr72 » Fri Jan 16, 2009 11:48 pm

Flash619 [GN] wrote:Will i get a answerer to my question above soon?
Just off the top of my head, I believe the colors are the same as the forum list colors (ex. background of "MODs in Development" forum link on the board index).

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` » Sat Jan 17, 2009 12:34 am

kmklr72 wrote:
Flash619 [GN] wrote:Will i get a answerer to my question above soon?
Just off the top of my head, I believe the colors are the same as the forum list colors (ex. background of "MODs in Development" forum link on the board index).
correct.

Flash, to change it, you would have to create a couple new classes and modify the chat_body.html to your specifications.
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)

User avatar
Flash619 [GN]
Registered User
Posts: 240
Joined: Fri Apr 27, 2007 8:54 pm
Contact:

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

Post by Flash619 [GN] » Sat Jan 17, 2009 12:55 am

ok so all i would have to do is re - create the css style that has a custom height?

I don't know what to edit in the HTML file there were a lot of div's, so just to make sure what is the css style called?
Image

ScanWalker
Registered User
Posts: 129
Joined: Wed Jan 07, 2009 5:38 pm

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

Post by ScanWalker » Sat Jan 17, 2009 9:39 am

Hi ! I need help to change my color in the shoutbox, like in the messages it is all white, you can take a look in www.scanwalkers.com.

Then i got another problem too, i can't make the text and so smaller.

Can anyone help me ?

azzam
Registered User
Posts: 345
Joined: Sat May 03, 2008 11:33 am

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

Post by azzam » Sat Jan 17, 2009 10:04 am

When next version will be released? :|
Azzam Malik
I love mods :)

Patexocet
Registered User
Posts: 28
Joined: Sun Dec 23, 2007 12:13 pm
Contact:

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

Post by Patexocet » Sat Jan 17, 2009 12:42 pm

Great mod, easy to install, thanks for your job :D
Sorry for my poor english, I am from Belgium and I speak french

Pat

Locked

Return to “[3.0.x] Abandoned MODs”