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 - Ginko

Pages: [1]
1
Feature requests / Re: Edit single instances of repeating events
« on: November 21, 2010, 03:31:58 am »
Please make this feature sponsorable. It is really needed.

2
Feature requests / Re: WYSIWYG HTML editor for Task, and Note
« on: May 20, 2010, 04:44:03 am »
At now we can use Firefox with any Wysiwyg extension and enable wysiwyg in any textarea.
For example, this: https://addons.mozilla.org/en-US/firefox/addon/6147/?collection_uuid=2c6514dd-3789-f119-aba5-0f18182545b4

Thanks for tip, it's an interesting plugin but as far as I understand it just adds html tags to the text in a more user friendly way. It doesn't solve the problem until html tags are allowed in task descriptions, comments, notes etc.

3
Applications / Re: Is it worth of creating a hook?
« on: May 06, 2010, 08:35:11 am »
As far as I understand I'll need a hook if I want the modification to be upgrade safe. Can someone help with creating a hook? Any help will be appreciated.

4
Applications / Re: Is it worth of creating a hook?
« on: April 23, 2010, 07:47:28 pm »
I doubt that it can be useful for someone, it's rather single-purpose ;-) The basic idea is to search a pattern of a log file name in the text and to add next to the log a link to external log viewer. Here's diff with original general.php file (I've replaced my domain with <my_domain>):

Code: [Select]
diff -aur general_original.php general.php
--- general_original.php        2010-04-11 14:19:50.000000000 +0300
+++ general.php 2010-04-24 01:31:54.000000000 +0300
@@ -573,6 +573,9 @@
        //Convert every word starting with "www." into a hyperlink
        $text = preg_replace('@(>|\s|^)(www.([-\w\.]+)+(:\d+)?(/([%\w/_\-\.\+]*(\?[^\s<]+)?)?)?)@', '$1<a href="http://$2" target="_blank">$2</a>', $text);

+       //log viewer
+       $text = preg_replace('(([0-9A-F]{8}) ([0-9A-F]{8}) ([0-9A-F]{8}) ([0-9A-F]{8}))', '$1 $2 $3 $4 <a style="border: 1px solid; background: #ffffbb;" href="http://<my_domain>/sip-log-viewer/index.html?h323id=$1+$2+$3+$4&master=<my_domain>" target="_blank"><b>(log)</b></a>', $text);
+
        //Convert every email address into an <a href="mailto:... hyperlink
        $text = preg_replace('/([^\:a-zA-Z0-9>"\._\-\+=])([a-zA-Z0-9]+[a-zA-Z0-9\._\-\+]*@[a-zA-Z0-9_\-]+([a-zA-Z0-9\._\-]+)+)/', '$1<a href="mailto:$2" target="_blank">$2</a>', $text);
        return $text;



 

5
Feature requests / Re: Edit single instances of repeating events
« on: April 22, 2010, 08:27:32 am »
I agree it'll be a very useful feature. If FengOffice has this feature we can completely move our working schedule to the Calendar module.

Are there any chances that the feature will be implemented?

6
Applications / Is it worth of creating a hook?
« on: April 16, 2010, 08:06:51 pm »
I've made a small modification to links highlighting in environment/functions/general.php

Just added several strings to the function 'convert_to_links'. I'm interested whether such patch will be upgrade safe or I'll have to create a hook.

Pages: [1]
anything