[RC3]Ajax Shoutbox

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24597
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul » Sat Feb 03, 2007 10:08 am

Use the latest version, and set the encoding correctly. It should work after that.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

OnurDAGDELEN
Registered User
Posts: 6
Joined: Sat Feb 03, 2007 9:59 am

Post by OnurDAGDELEN » Sat Feb 03, 2007 10:11 am

Please look demo page : :cry: :cry: :cry:

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24597
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul » Sat Feb 03, 2007 10:20 am

The demo page hasn't the correct encoding for Turkish, only for english.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

OnurDAGDELEN
Registered User
Posts: 6
Joined: Sat Feb 03, 2007 9:59 am

Post by OnurDAGDELEN » Sat Feb 03, 2007 10:29 am

Thanks paul999...

I was try Turkish Encoding code on latest version. (ISO-8859-9) but it's not worked...

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24597
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul » Sat Feb 03, 2007 10:33 am

Works correctly, has installed turkish language on the testboard, and can post correctly turkish messages.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

OnurDAGDELEN
Registered User
Posts: 6
Joined: Sat Feb 03, 2007 9:59 am

Post by OnurDAGDELEN » Sat Feb 03, 2007 2:25 pm

paul999, i'm not use some character :(

çÇ üÜ öÖ ---> ok

ıİ şŞ ğĞ ----> Not use...

:cry:
Sorry for my English... :cry:

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24597
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul » Sat Feb 03, 2007 2:33 pm

I has found a small problem this morning, and must first fix that before you can use all chars.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

OnurDAGDELEN
Registered User
Posts: 6
Joined: Sat Feb 03, 2007 9:59 am

Post by OnurDAGDELEN » Sat Feb 03, 2007 2:45 pm

Ok, i wait... :)

This lang_turkish file: :wink:

Code: Select all

$lang['missing_div'] = 'DIV taglarinda problem var';
$lang['loading'] = 'Yukleniyor';
$lang['post_message'] = 'Mesaj yaz';
$lang['sending'] = 'Mesaj gonderiliyor';
$lang['message_empty'] = 'Yazili hic bir sey yok';
$lang['invalid_xml'] = 'XML Gecersiz: TABLE tr-td tagi hatali';
$lang['invalid_el'] = 'Gecersiz element: ';
$lang['xml_er'] = 'XML HATASI';
$lang['no_message'] = 'Hic mesaj yok';
$lang['no_ajax'] = 'Ajax yok';
$lang['js_err'] = 'JavaScript hatali. \nError:';
$lang['line'] = 'Satir';
$lang['file'] = 'Dosya';
$lang['flood_error'] = 'Flood Hatasi';
$lang['posted'] = 'Mesaj gonderildi';

$lang['no_quote'] = 'Liste kullanilamiyor, quote yada bbcode.';
$lang['smilies'] = 'Ifadeler'; 
$lang['del_shout'] = 'Bu mesaji silmek istiyor musunuz?';
$lang['no_shout_id'] = 'Bu ID yok';
$lang['msg_del_done'] = 'Mesaj silindi';
Sorry for my English... :cry:

OnurDAGDELEN
Registered User
Posts: 6
Joined: Sat Feb 03, 2007 9:59 am

Post by OnurDAGDELEN » Fri Feb 09, 2007 4:23 pm

paul999 Turkish Chars? :cry:
Sorry for my English... :cry:

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24597
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul » Fri Feb 09, 2007 4:24 pm

OnurDAGDELEN wrote: paul999 Turkish Chars? :cry:
Sorry, haven't had time to look to it yet.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

tariqkhan
Registered User
Posts: 30
Joined: Thu Sep 28, 2006 10:32 am
Location: UK, London
Contact:

Post by tariqkhan » Wed Feb 14, 2007 3:46 pm

Hi Paul,

I would first like to say that this mod is excellent and is a very good replacement for all the non-ajax shoutboxes out there!

Ive got 3 suggestions:

1)
To view smilies you click the smilies button, you will have to click it again to unview the smilies, even if youve posted your message.

I suggest that the smilies automatically hide after selecting one or atleast after the message has been submitted.

2)
The current date format is: 14 Feb 2007 03:42 pm
I think this is unecessary. The day and time should be enough (e.g. Wed 3:42pm). As the shoutbox is going to be frequently used having the year and/or month is unnecessary and is taking up space for no reason. Would it be possible for you to show me how to modify the format in ajax.php if you do not plan to implement this.

3)
You should implement a limit to the amount of shouts stored in the database. For example, after 300 entries to the database; a new shout should replace the oldest (300th) shout stored in the database. Or a method to prune old shouts.

Thanks Paul and I appreciate the work you are doing.

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24597
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul » Wed Feb 14, 2007 3:54 pm

1. This would require a major rewrite of that function, so i don't think i will add that. But i will look into it.
2. It uses atm the standard setted by the user in his profile, maybe there comes for a next version a second option for the shoutbox.
3. Already added for next version.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

tariqkhan
Registered User
Posts: 30
Joined: Thu Sep 28, 2006 10:32 am
Location: UK, London
Contact:

Post by tariqkhan » Wed Feb 14, 2007 4:08 pm

Thank you for the prompt reply.
1. I appreciate that! Its nothing major so it isn't worth implementing if it requires a great deal of work.
2. Is there not a way of easily/manualy setting the date format in the source code?
3.When are you planning to realease the next version?

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24597
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul » Wed Feb 14, 2007 4:22 pm

2. Its somewhere at the end of the file, with the create_date() function.
3. When i has time to fix the encoding problem with turkish and other languages, and some other small things. After that comes a release. I hope this week, but i don't know that yet.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

tariqkhan
Registered User
Posts: 30
Joined: Thu Sep 28, 2006 10:32 am
Location: UK, London
Contact:

Post by tariqkhan » Wed Feb 14, 2007 4:37 pm

Thank you again for your prompt reply

I have found the create date function:

Code: Select all

$row['shout_time'] = create_date($board_config['default_dateformat'], $row['shout_time'], $board_config['board_timezone']);
How would I modify this to display Wed 14?
Im very sorry but Im not very proficient with php.

Thanks for all your help so far, its very much appreciated.

Post Reply

Return to “[2.0.x] MODs in Development”

Who is online

Users browsing this forum: No registered users and 11 guests