Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - athicom

Pages: [1]
1
Ideas / Customize pop3 port of Email
« on: December 01, 2008, 09:14:35 AM »
[database]

- add Field:pop3_port ที่ Table:og_mail_accounts


[coding]

(\application\)

(models\mail_accounts\base\)
- edit File:BaseMailAccounts.class.php add line 25 with
'pop3_port' => DATA_TYPE_STRING,
- edit File:BaseMailAccount.class.php add function
function:getPop3Port
function:setPop3Port

(views\)
- edit File:add_account.php (mail) add
<div>
<label for="mailPop3Port"><?php echo lang('pop3 port')?> <span class="label_required">*</span>
<span class="desc"><?php echo lang('mail account pop3 port description') ?></span></label>
<?php echo text_field('mailAccount[pop3_port]', array_var($mailAccount_data, 'pop3_port',110),
array('id' => 'mailPop3Port', 'tabindex'=>'6')) ?>
</div>

replace tabindex +1 for next field

(controllers\)
- edit File:MailController.class.php at function:edit_account add
'pop3_port' => $mailAccount->getPop3Port(),

(\environment\classes\mail\)
- edit File:MailUtilities.class.php at function:getNewPOP3Mails replace from
$pop3->connect ($account->getServer());
 to
$pop3->connect ($account->getServer(), (int)$account->getPop3Port());

(\language\)
- edit File:emails.php ที่ \language add line
'pop3 server' => 'POP3 Server',
'pop3 port' => 'POP3 Server Port',
'mail account pop3 port description' => ' This is the port in which the server listens to the POP3 Service. The default and most common value is 110.',

2
Feng Office 1 / Re: "Create user from contact" not work
« on: November 18, 2008, 12:35:45 PM »
Final,

function substr have problem with utf-8 if use Thai language,
function return eror string.  ???

3
Feng Office 1 / Re: "Create user from contact" not work
« on: November 18, 2008, 12:27:41 PM »
Hi ignacio,

OK i can fixed it.. :D
I replace line 72
"'username' => substr($contact->getFirstname(),0,1) . $contact->getLastname(),"
with
"'username' => $contact->getFirstname() . ' ' . $contact->getLastname()," in file "UserController.class.php"

Error from function substr.  :(

Thank you  ;)

4
Feng Office 1 / Re: "Create user from contact" not work
« on: November 18, 2008, 05:18:48 AM »
Hi ignacio,
I have answer of this error, when i create contact by name of contact is Thai language and i Create user from this contact, it error.
How can i fix it?

Thank

5
Feng Office 1 / Re: "Create user from contact" not work
« on: November 17, 2008, 05:22:55 AM »
Hi ignacio,

Thank for you answer, i use Thai language, and this error picture.

Thank

6
Feng Office 1 / Re: "Create user from contact" not work
« on: November 16, 2008, 12:43:32 AM »
Hi ignacio,
for this error not show log in 'cache/log.php'.

Thank.

7
Feng Office 1 / Re: "Create user from contact" not work
« on: November 15, 2008, 11:07:08 AM »
When go to New user page in Username textbox show value = "<span id="

Thank.

8
Feng Office 1 / "Create user from contact" not work
« on: November 15, 2008, 11:03:49 AM »
Hi,
I use version 1.0, and i learning to use OpenGoo.
I found any Bug, is "Create user from contact" not work!

Thank for good Project
 ;)

Pages: [1]