Feng Forum

Other Topics => Development => Community Contributions => : mirko February 04, 2009, 07:28:39 PM

: Chat extension
: mirko February 04, 2009, 07:28:39 PM
Hi,
I have written a chat extension for opengoo. Probably it’s not the most important extension, but maybe helpful. ;-) I implement it in version 1.0, but it should also work with later versions. The zip file includes all files and some instructions to install it - it's simple. And before anyone ask: the color choice is just a dummy. I still have a problem with the timezones, you can see it in the ChatEntries class.

If I should install it somewhere, ask me.

I welcome any comment!!!

Mirko


PS: Newer versions in later posts.
: Re: Chat extension
: Number8 February 04, 2009, 09:30:31 PM
In step 2, "Add the panel item", what file/function does that go in to?

Thanks for the new feature.
: Re: Chat extension
: mirko February 04, 2009, 09:54:01 PM
Oh, it's public/assets/javascript/og/layout.js. Approximately line 46 (in my version), depending on where you want it in your tab bar.
I update the zip file.
: Re: Chat extension
: ignacio February 05, 2009, 08:26:54 AM
Wonderful, Mirko!

Haven't tried it yet, but it's great that you could write this extension. You should add to your setup.txt instructions on how to create the database for the chat extension.

Coincidientally, I was writing a tutorial on the development wiki about how to write a chat extension, but I didn't get to finish it. Would you like to continue it or to write your own on the wiki? So that it will be easier for other developers to dive into the OpenGoo source code. Here (http://wiki.opengoo.org/doku.php?id=chat_application)'s my work in progress and here (http://wiki.opengoo.org/doku.php?id=chat_application_source) I was writing down the source code.
: Re: Chat extension
: mirko February 05, 2009, 09:47:02 AM
Hi,
I hasn't read your wiki pages. :o Bacause they aren't liked from the developers homepage (http://wiki.opengoo.org/doku.php?id=developers).

If I had known that, I would have perhaps chosen a different extension. ;) Is your chat working? Then I reluctantly want to change your nice wiki pages, otherwise I will try.

I update the zip file.
: Re: Chat extension
: mirko February 05, 2009, 02:41:33 PM
Ok, my extension is a little bit simpler. I don't have extra "chatrooms". The most difficult was the javascript - to get not everytime a additional timer. ;)

You can combine some fields, because the have the same content, for example in the BaseChats class start_date and created_on. Or in the BaseChatLines class sender_id and created_by_id.

But it was interesting, what you write about the content objects. I choose the chat, cause I don't have the necessary knowlege of this co's. ;)

Maybe a generator for the model classes will be helpful, because it's much to write and it's every time the same. I often used the symfony framework and this has such a generator.
: Re: Chat extension
: ignacio February 06, 2009, 09:49:39 AM
My chat extension is not working because it's not finished. I just started with the tutorial one day but haven't had any time to go on with it. So if you want to write your own tutorial please go ahead and we will use it. Maybe I then can add something about Content Objects to it. Do it as simple as you want, the simpler the easier it will be to follow by new users.

We don't have a generator for our objects. OpenGoo is based on activeCollab, that used it's own framework, and we don't have access to that framework. We were thinking on changing the framework to CakePHP or some other, but that would be one big change. I think CakePHP is the most popular, but I've read that it is the worst performing. Ignition is supposed to be one of the best performing, but it has much less features. I guess symfony would lie somewhere in the middle between those two.
: Re: Chat extension
: mirko February 06, 2009, 07:38:45 PM
Ok, if I find some time I'll start writing a tutorial. Currently I don't understand much of the model classes. Like you can see in the code. ;)

And I fixed the timezone problem.
: Re: Chat extension
: phongca07 February 07, 2009, 12:54:06 PM
To be honest to say I love this Chat extension. However, chat panel does not have chat icon. So can you tell me how to put icon in the panel. Thanks
: Re: Chat extension
: phongca07 February 07, 2009, 03:08:29 PM
I've found down an error like

Statement on line 682: Syntax error Backtrace: ... Line 682 of linked script http://myweb.com/office/public/assets/javascript/og/og.js window.eval(match[2]); ... Line 10 of linked script http://myweb.com/myoffice/public/assets/javascript/extjs/adapter/ext/ext-base.js function(){if(this.locked){return false}this.locked=true;var R=!F;if(!R){R=(I>0)}var Q=[];for(var M=0,L=H.length;M

It happens when I use IE and Opera. I then can not login to chat. Is there any way to fix it? Thank
: Re: Chat extension
: phongca07 February 07, 2009, 03:12:41 PM
I have a question about chat extension. My question is how do we know the other member available or online or in used? Because if you lick on chat it might not show anything and if you send a message to other member they will not you know that. I think the best way is we should have a popup when you send a message to someone at that time. They will know you and they you answer or chat. That is my suggestion. Thank you.
: Re: Chat extension
: mirko February 07, 2009, 04:43:36 PM
Thanks for the comments. :)
If you have an icon and send it to me, I'll put it into the zip package. That would be nice. Otherwise you can read in the hello world totorial, to know where you can set it. The css class is named ico-chat.

I only use firefox, ;)  what og version do you use?

This is the simplest way realizing a chat. Nowhere is saved, wheaher a user is online or offline. So this will be a new feature.
: Re: Chat extension
: mirko February 07, 2009, 09:07:23 PM
New version:
Now you get an standard information window at the top, when a message is coming in, if the chat tab isn't open and you are logged in.
And you see all users, they are logged in. When the don't use the logout button of the chat, they will be logged out automatically after an hour of no activity in og.
: Re: Chat extension
: phongca07 February 07, 2009, 10:36:27 PM
I am using the icon of yahoo. It is a smile icon.
: Re: Chat extension
: phongca07 February 07, 2009, 10:58:33 PM
I already tested your new version. It is great version. I will let you know if I find some bugs. Thank you!
: Re: Chat extension
: phongca07 February 07, 2009, 11:52:12 PM
i think input text is too short. So is there any way to make it longer a little bit? Thank you!
: Re: Chat extension
: phongca07 February 08, 2009, 03:21:56 AM
I just wonder you want to chat or ask somebody for privacy about something you are not so sure and you don't want to say out load before making a public discussion. But the thing is whenever you send a message everybody in group will know that. You are a egocentric fear of making a dumb or stupid suggestion because you don't want everybody look down on you. So is there any way to chat privately with somebody before making a public discussion. It would be great if you have something like that for this chat extension. I just wanna show what I understand about this chat extension. For me, It's a great work ever. Thank you.
: Re: Chat extension
: mirko February 10, 2009, 08:40:52 PM
Hi,
little update: Now it should work in IE (solve IE problem 80020101 by removing <!-- --> in the script), longer text field and if you want you can use an icon from og repository for the chat-tab.
Have fun! ;)

Private messages are not supported, but I have an idea how it can be realized...

Mirko
: Re: Chat extension
: zero February 11, 2009, 04:38:59 AM
Hey there, pretty cool extension. It took me a while to install it properly (too bad module installation isn't as simple in OpenGoo as in Drupal...) but it works fine.

I have a suggestion: would it be possible to save a conversation as a new document? I mean, you could hit a "save as document" button anytime, creating a new document doing so. It would be great for archiving stuff during brainstorming sessions. And once you've saved a related document, you could create a new revision automatically each time you hit a "update current conversation archive" button. I know you can copy and paste a conversation manually into a new document, but this kind of feature would make the integration with the whole OpenGoo workflow very smooth.

Anyway, keep up the great work :)
: Re: Chat extension
: mirko February 11, 2009, 08:26:54 PM
Yes, the "plugin-system" is not a really one. OG is more a monolithic software regarding plugins and not easy extensible. In my opinion, an software must be extensible to reach a large community, espacally an open source software. Maybe later it will be. :)
: Re: Chat extension
: phongca07 February 12, 2009, 02:33:51 AM
Great work! I love version 4. Thank you
: Re: Chat extension
: zero February 12, 2009, 06:18:20 AM
Yes, the "plugin-system" is not a really one. OG is more a monolithic software regarding plugins and not easy extensible. In my opinion, an software must be extensible to reach a large community, espacally an open source software. Maybe later it will be. :)
In fact it's the biggest complain I have about OpenGoo. Honestly it's quite an awesome piece of software, very user friendly, but when it comes to plugins or theming it's quite a painful process. I'm used to very modular softwares built with plugins in mind like Drupal (http://drupal.org) or Vanilla (http://getvanilla.com), and being back to the old "let's edit three different files to make something work and edit them again after each new update" was quite a bad surprise. I hope there will be kind of an admin section for enabling/disabling plugins in the future, and and automatic update check, or at least a dedicated plugin folder. I know OG isn't supposed to be as extensible as a CMS, but oh boy that would be sweet.

Back to your chat extension, would there be a way to access directly the conversations saved in the database, like a chat history ordered by chat sessions or something like that? Right now it's a nifty little plugin, but it would become really useful if users had access to previous conversations.
: Re: Chat extension
: ignacio February 12, 2009, 08:28:58 AM
We are aware of how much an API would benefit OpenGoo. We are always thinking on how to approach this issue, and we may have a first step towards this goal for version 1.3, or more likely 1.4. We won't have a formal API for some versions, because OpenGoo's core will probably suffer big changes in the following months, but we may have a way of creating autonomous plugins for OpenGoo (that will outlive an upgrade) in the following versions.
: Re: Chat extension
: zero February 12, 2009, 10:01:45 AM
That's excellent news :)
I'm looking forward to this, keep up the great work guys!
: Re: Chat extension
: Mark March 04, 2009, 11:09:46 AM
I found this GNU open source Ajax chat: https://blueimp.net/ajax/ (https://blueimp.net/ajax/)

It does look neat!
: Re: Chat extension
: Tide March 31, 2009, 05:25:34 PM
I have installed version 4 of the chat module.  While I was doing it I decided to integrate it a little further.  I have included new instructions that will add the ability to enable/disable the module just as you can the other modules.

Thanks for making this!  I really appreciate it!
: Re: Chat extension
: anurag May 28, 2009, 11:27:17 AM
Hi,

I followed the Setup instructions to the T, but I am not able to get the chat extension installed.

After doing all the changes like in the Setup.txt, it shows me a blank page. I tried debugging in Eclipse, but that didnt help. Couldnt find anything on the Net too.

Any pointers?

Regards
Anurag
: Re: Chat extension
: Syrion August 27, 2009, 02:04:23 AM
@project admins
Is it possible to include this extension into the core by default?
: Re: Chat extension
: Junkah September 25, 2009, 09:44:23 AM
Hi,

I followed the Setup instructions to the T, but I am not able to get the chat extension installed.

After doing all the changes like in the Setup.txt, it shows me a blank page. I tried debugging in Eclipse, but that didnt help. Couldnt find anything on the Net too.

Any pointers?

Regards
Anurag

Did you ever find a solution? I have the same problem...
: Re: Chat extension
: adrinoe October 05, 2009, 06:12:01 AM
Hello,
I had this application , but when i add a message  i see this but when i refresh this page i don't see the latest message .

But all messages are in the database  .

: Re: Chat extension
: wickidgrafx October 11, 2009, 08:49:35 PM
I have installed version 4 of the chat module.  While I was doing it I decided to integrate it a little further.  I have included new instructions that will add the ability to enable/disable the module just as you can the other modules.

Thanks for making this!  I really appreciate it!

I used your version of the setup you wrote and now I can't login. I get a HTTP 500 error. Anyone know what causes this so I can fix it? I am using OpenGoo for my project collab for my businees and time is money. Thanks in advance.
: Re: Chat extension
: Fabianb November 03, 2009, 10:03:16 AM
Any updates regarding this?
: Re: Chat extension
: McKay November 05, 2009, 09:10:33 AM
Hey,

i refer to "setup.txt" and tried it with 1.6beta - the same result:
it shows the opengoo head area and the rest is a blank page!

i will be glad also to support,

McKay
: Re: Chat extension
: Guite January 12, 2010, 09:29:59 AM
@project admins
Is it possible to include this extension into the core by default?

I second that. It would be a nice addition, but many users won't start hacking their installation for it. Thus including it into the core would be a good approach for keeping it running.
: Re: Chat extension
: chadwick342 February 14, 2010, 07:58:13 PM
Where can I download the chat extension for FengOffice. My organization could really benefit from that application.
: Re: Chat extension
: justme February 25, 2010, 10:31:13 AM
Only registered users can see the files.

Just register and log in. :)
: Re: Chat extension
: boydzethuong February 27, 2010, 12:10:13 PM
first thank mirko so much for this great extension ^^

in addition, can you make the message text box more effective (e.g bold, italic, underline, smileys, ... ) so it will become a real shoutbox.

i would appreciate it so much!
: Re: Chat extension
: TomMcc March 09, 2010, 08:04:03 PM
Has anyone been successful installing the chat on v 1.6.2?
I've made every adjustment I can think of and still end up with this every time I click the chat icon in the menu:

"We are sorry, but Feng Office is not currently able to execute your request. An Error Report has been sent to the administrator."

I can't find an error report anywhere either, any ideas?  ???
thanks
: Re: Chat extension
: Cenatex July 06, 2010, 08:28:15 AM
Hi,

I followed the Setup instructions to the T, but I am not able to get the chat extension installed.

After doing all the changes like in the Setup.txt, it shows me a blank page. I tried debugging in Eclipse, but that didnt help. Couldnt find anything on the Net too.

Any pointers?

Regards
Anurag

Did you ever find a solution? I have the same problem...


Is there a solution to this problem?

please help.
Thanks
: Re: Chat extension
: bms-guer August 13, 2010, 03:39:24 PM
I have got the same blank screen problem, i found a solution : it was just a missing coma into language/en_us/general.php, at the end :
'chat logged out' => 'You are logged out!' , <---

Hope it will help you !
: Re: Chat extension
: Lawyer707 October 30, 2010, 11:20:35 AM
Hi! A am newbie, help me please. Anyone can upload all the replacing files (including Fengoffice files) which need to replace? (for Feng 1.7.2) And required SQL request.
Something as "Easy install", if you understand.
When I trying to setup it by myself, Feng is not working.
Thanks! Sorry for my English.
: Re: Chat extension
: filriyadh February 01, 2011, 11:52:23 AM
@Anurag and others

I had the same problems as I had tried to install it with 1.7.3 .. BUT
I went back and traced my steps. This first thing you will notice is that FO will continue to function regardless of if you mess up mostly any of the steps except the step that has to do with general.php . If you mess up general.php you will get BLANK SCREENS all day :) and night too ;p
 
My scripting expertise is pretty much equal to 0. However, what I did was copy some of the existing fields already in each of the files, and paste them again right under it, and then TYPED OUT the changes in them, rather than simply copy/paste.

I have done everything, my FO is working, but I cant use the chat as I do not see the tab for chat, i think the issue is somewhere in

   .ico-chat {
      background-image: url(../../images/16x16/types/message.png) !important;

can not say really.    =(

Nonetheless at least the rest of my FO is working.


** CORRECTION :: WORKING NOW!

I have attached copies of the files i used to get it to work. Please use at your own risk. The problem for me was the quotation mark vs. single apostrophy. got it to work.

thanks much contributor!!!!!


Successfully integrated :
Gantt Charts
Send Mails to Multiple Reciepients
Chat Extension
: Re: Chat extension
: xcore July 19, 2011, 11:48:07 AM
Perhaps someone would put together a new setup instruction file with the latest hacks?

I am trying to piece this all together for a 1.7.5 install and while I am fortunate enough not to have any errors (yet), there is no evidence I've made any changes at all. I have logged out and back in and cleared my cache.

Thanks!
: Re: Chat extension
: indra August 07, 2011, 11:50:26 PM
Thank you Mirko for this nice plug-in.
Also thanks to all the great posters here for with your help (and some of my own guess work) i seemed to get the chat working properly.
I used Tide's setup.txt along with hints from the chatfiles.rar and used a different icon (its in og/og.css ,not in general/layout.css) anyways too late for a walktru now (4:44 in the morning).
I'll just attach all edited files for fengo office 1.7.5 in proper folder structure. So unzip over your site should  get it working, or screw your site. No warranty, just works for me :-)
Feel free to try and let us know.

PS attached file updated for compatibility with setup instructions from next post ;-)
: Re: Chat extension
: indra August 08, 2011, 08:46:28 AM
So yes, got some sleep, tried my setup package from yesterday. Works for me on a fresh installed feng office 1.7.5. Merged the package with the chatextension04 for convenience.

So easy install goes like this :

Backup your installation (optional but recommended :-D)
Download attached chat_install-175.zip, extract it in your Feng office root folder.
Overwrite existing files!
And do the last 2 steps from Tide's setup.txt :

Create a table by executing the following query in your feng office database:

CREATE TABLE IF NOT EXISTS `og_chats` (
  `id` smallint(5) unsigned NOT NULL auto_increment,
  `created_on` datetime NOT NULL default '0000-00-00 00:00:00',
  `created_by_id` int(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  KEY `created_on` (`created_on`)
);

CREATE TABLE IF NOT EXISTS `og_chat_entries` (
  `id` smallint(5) unsigned NOT NULL auto_increment,
  `message` text collate utf8_unicode_ci,
  `created_on` datetime NOT NULL default '0000-00-00 00:00:00',
  `created_by_id` int(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  KEY `created_on` (`created_on`)
) ;

Add config option:

INSERT INTO `og_config_options` VALUES ('', 'modules', 'enable_chat_module', '1', 'BoolConfigHandler', 0, 0, 'Enable or disable chat tab.');

But do mind the prefix ;-) (og_ in this case)

I also attached an updated setup.txt
Thanks Mirko for this fine extension and Tide for the integration.
: Re: Chat extension
: chester August 28, 2011, 01:33:38 PM
Worked like a dream!!! :D
: Re: Chat extension
: VER November 18, 2011, 08:06:31 PM
Worked as a charm at this side as well!!

Thanks!

I placed the chat tab as first one, in order to get my users (kids) to log in automatically when logging into the site.
In this way they will automatically see who's online. And the first one will get noticed automatically when someone posts a message.

The only thing I'm thinking of is that it should be workspace related (if you have a FO site with different clients you obviously don't want them to chat together...)

Thx again
: Re: Chat extension
: indra November 18, 2011, 09:21:46 PM
Placing it first as a way to make the logon automatic is realy clever dho i'm afraid my users (office people) wont like to lose the overview. I like the auto logon idea, but not at the expense of functionality.
And having it workspace releated should be a nice feature also.

Thanks for the feedback
: Re: Chat extension
: ozkish November 22, 2011, 01:49:37 PM
Dear Indra,

Thank you for all your efforts and help. It worked for me. Though chat could still have a lot of more features, however I am not complaining one bit and thank you again for all the time spent to make this work.

Take care.
: Re: Chat extension
: indra November 22, 2011, 10:34:31 PM
With pleasure, yes more features would be fun! But as my programming experience is rather dim, I make do with what I find. And finding is the key, last weekend a friend pointed me to Openmeetings (dot de).
A feature rich open source web conferencing platform, same blueish look as Feng, a little bit different feel.
Got it running pretty easy on my zentyal (ubuntu) server alongside Feng Office both on their own mysql databases. Both support LDAP, so there might be a path for integration, later :-).
: Re: Chat extension
: chester November 27, 2011, 10:30:59 AM
I have started trying to get FreiChat to integrate with Feng Office (1.7.5). Everything works fine except that users are displayed as Guest - ### (# being either a digit or a numeral).

I have edited the header section of .../application/layouts/website.php  as follows:

<?php

$ses = null; // Return null if user is not logged in

if(isset($_SESSION['userid'])){
if($_SESSION['userid'] != null) // Here null is guest
{
$ses=$_SESSION['userid']; //LOOK now userid will be parsed to FreiChatX
}
}

if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){

       if(is_file("C:/KSGServer/www/meetpoint/freichat/arg.php")){

               require "C:/KSGServer/www/meetpoint/freichat/arg.php";

               $temp_id =  $ses . $uid;

               return md5($temp_id);

       }
       else
       {
               echo "<script>alert('module freichatx says: arg.php file not
found!');</script>";
       }

       return 0;
}
}
?>

Any help would be great.
: Re: Chat extension
: indra November 27, 2011, 03:00:36 PM
I think this is an other plugin you're talking about, maybe you should start a new thread.
: Re: Chat extension
: jjoloka February 18, 2012, 09:50:43 AM
I have started trying to get FreiChat to integrate with Feng Office (1.7.5). Everything works fine except that users are displayed as Guest - ### (# being either a digit or a numeral).

I have edited the header section of .../application/layouts/website.php  as follows:

<?php

$ses = null; // Return null if user is not logged in

if(isset($_SESSION['userid'])){
if($_SESSION['userid'] != null) // Here null is guest
{
$ses=$_SESSION['userid']; //LOOK now userid will be parsed to FreiChatX
}
}

if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){

       if(is_file("C:/KSGServer/www/meetpoint/freichat/arg.php")){

               require "C:/KSGServer/www/meetpoint/freichat/arg.php";

               $temp_id =  $ses . $uid;

               return md5($temp_id);

       }
       else
       {
               echo "<script>alert('module freichatx says: arg.php file not
found!');</script>";
       }

       return 0;
}
}
?>

Any help would be great.


I do not work:

      <div id="userboxWrapper"><?php echo render_user_box(logged_user()) ?></div>
      <div id="searchbox">
         <form name='search_form' class="internalForm" action="<?php echo ROOT_URL . '/index.php' ?>" method="get">
            <table><tr><td>
            </td>
            <td id="searchboxSearch">
               <div id="searchboxButton" style="display:none"></div>
            </td>
            <td style="padding-left:10px">
               <div id="quickAdd" style="display:none"></div>
            </td>
            </tr>
            </table>
         </form>
      </div>
      <?php Hook::fire('render_page_header', null, $ret) ?>
   </div>
</div>

<?php
   $ses = null; // Return null if user is not logged in
   function freichatx_get_hash($ses)
   {
      if(is_file("/library/freichat/arg.php"))
      {
         require "/library/freichat/arg.php";
         $temp_id =  $ses.$uid;
         return md5($temp_id);
      }
      else
      {
         echo "<script>alert('module freichatx says: arg.php file not found!');</script>";
      }
      return 0;
   }
   
   if(isset($_SESSION['userid'])){
      if($_SESSION['userid'] != null) // Here null is guest
      {
         $ses = $_SESSION['userid']; //LOOK now userid will be parsed to FreiChatX
      }
   }
   if(!function_exists("freichatx_get_hash"))
   {
      freichatx_get_hash($ses);
   }
?>
<!-- /header -->

I unzipped evnix.com/drupal2/ in /library/ :

type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a1cc; PEAR
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a361; browser
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a31a; cssmin
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a355; feed
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a310; filerepository
type=dir;sizd=4096;modify=20120218122756;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a019; freichat
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a30e; html2text
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a27e; htmlpurifier
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a31c; icalendar
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a34f; jsmin
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a35c; json
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a327; pdf
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a1c5; simplegd
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a11d; swift
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a351; textile
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a261; utf8
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a353; vcard
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a363; zend
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a35f; zip
type=dir;sizd=4096;modify=20120216145610;UNIX.mode=0755;UNIX.uid=1479;UNIX.gid=1477;unique=831ga8a34b; zipimport
: Re: Chat extension
: alexcatalin July 16, 2012, 12:40:08 AM
Your attachments do not work, is there any other way to get the extension?
: Re: Chat extension
: indra July 16, 2012, 08:11:20 AM
Chat module files for 1.7.5 repost (old post attachments seem to be gone)

Installation instructions for the Attached module :

Backup your installation (optional but recommended :-D)
Download attached chat_install-175.zip, extract it in your Feng office root folder.
Overwrite existing files!
And do the last 2 steps from Tide's setup.txt :

Create a table by executing the following query in your feng office database:

CREATE TABLE IF NOT EXISTS `og_chats` (
  `id` smallint(5) unsigned NOT NULL auto_increment,
  `created_on` datetime NOT NULL default '0000-00-00 00:00:00',
  `created_by_id` int(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  KEY `created_on` (`created_on`)
);

CREATE TABLE IF NOT EXISTS `og_chat_entries` (
  `id` smallint(5) unsigned NOT NULL auto_increment,
  `message` text collate utf8_unicode_ci,
  `created_on` datetime NOT NULL default '0000-00-00 00:00:00',
  `created_by_id` int(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  KEY `created_on` (`created_on`)
) ;

Add config option:

INSERT INTO `og_config_options` VALUES ('', 'modules', 'enable_chat_module', '1', 'BoolConfigHandler', 0, 0, 'Enable or disable chat tab.');

But do mind the prefix ;-) (og_ in this case)

Updated setup.txt attached with manual installation steps.
Thanks Mirko for this fine extension and Tide for the integration.
: Re: Chat extension
: indra July 16, 2012, 08:27:14 AM
Manual setup instructions for 1.7.5 (from Setup-updated-175.txt)

1. Copy the files into the application directory:

   application/controllers/ChatController.class.php
   application/models/chat_entries/ChatEntries.class.php
   application/models/chat_entries/ChatEntry.class.php
   application/models/chat_entries/base/BaseChatEntries.class.php
   application/models/chat_entries/base/BaseChatEntry.class.php
   application/models/chat/Chats.class.php
   application/models/chat/Chat.class.php
   application/models/chat/base/BaseChats.class.php
   application/models/chat/base/BaseChat.class.php
   application/views/chat/index.php

2. Add the panel item into public/assets/javascript/og/layout.js:

    -Look for :    

      og.panels.weblinks = new og.ContentPanel({
         title: lang('web pages'),
         id: 'webpages-panel',
         iconCls: 'ico-webpages-layout',
         refreshOnWorkspaceChange: true,
         defaultContent: {
            type: 'url',
            data: og.getUrl('webpage', 'init')
         }
      }),

    -Insert after :
    (or anywhere in the // SETUP PANEL LAYOUT var panels = [..., will determine its place in the tab bar )

      og.panels.chat = new og.ContentPanel({
         title: lang('chat'),
         id: 'chat-panel',
         iconCls: 'ico-chat',
         refreshOnWorkspaceChange: false,
         defaultContent: {
            type: "url",
            data: og.getUrl('chat','index')
         }
      }),

    -In //hide disabled modulesAfter :

   if (!og.config['enable_reporting_module']) if (panel = Ext.get('tabs-panel__reporting-panel')) panel.setDisplayed(false);

    -Insert :

   if (!og.config['enable_chat_module']) if (panel = Ext.get('tabs-panel__chat-panel')) panel.setDisplayed(false);

    -At // ENABLE / DISABLE MODULES add

   og.eventManager.addListener('config enable_chat_module changed', function(val) {
      if (val == 1) {
         Ext.get('tabs-panel__chat-panel').setDisplayed(true);
      } else {
         Ext.get('tabs-panel__chat-panel').setDisplayed(false);
      }
   });

    at the end (just before // BUILD VIEWPORT)

3. Add enable/disable javascript functionality public/assets/javascript/ogmin.js

    -Find :

{'render':function(){if(!og.config['enable_notes_module'])if(panel=Ext.get('tabs-panel__messages-panel'))panel.setDisplayed(false);

    -Replace with :

{'render':function(){if(!og.config['enable_chat_module'])if(panel=Ext.get('tabs-panel__chat-panel'))panel.setDisplayed(false);if(!og.config['enable_notes_module'])if(panel=Ext.get('tabs-panel__messages-panel'))panel.setDisplayed(false);

4. Add the module to administration language/en_us/administration.php

   'config option name enable_chat_module' => 'Enable Chat Module',

5. Add the enable/disable button to the website layout application/layouts/website.php

    After :

   'enable_weblinks_module': <?php echo json_encode(module_enabled('weblinks')) ?>,

    Add :

   'enable_chat_module': <?php echo json_encode(module_enabled("chat")) ?>,

6. Add the panel text into language/en_us/lang.js

   'chat': 'Chat',

7. Set a panel icon in public/assets/themes/default/stylesheets/og/og.css

   I use a icon from feng office's repository (comment icon).

.ico-chat {
   background: transparent url(../../images/16x16/all_16_16_sprite.png) no-repeat scroll 0 -1342px !important;
}

8. Add some translations to language/en_us/general.php

   'chat' => 'Chat',
   'chat message' => 'Message',
   'chat status' => 'Your username is <b>{0}</b> and the chat was started at <b>{1}</b>',
   'chat userlist' => 'Active Users',
   'chat system' => 'System',
   'chat logged in' => 'You are logged in!',
   'chat logged out' => 'You are logged out!',

9. Create a table by executing the following query in your feng office database:

    MIND YOUR PREFIX !!!!!! (og_ or fo_) this ones still for og_
    (my softaculous used fo_ , sounds more logical to me)

CREATE TABLE IF NOT EXISTS `og_chats` (
  `id` smallint(5) unsigned NOT NULL auto_increment,
  `created_on` datetime NOT NULL default '0000-00-00 00:00:00',
  `created_by_id` int(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  KEY `created_on` (`created_on`)
);

CREATE TABLE IF NOT EXISTS `og_chat_entries` (
  `id` smallint(5) unsigned NOT NULL auto_increment,
  `message` text collate utf8_unicode_ci,
  `created_on` datetime NOT NULL default '0000-00-00 00:00:00',
  `created_by_id` int(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  KEY `created_on` (`created_on`)
) ;

10. Add config option:

INSERT INTO `og_config_options` VALUES ('', 'modules', 'enable_chat_module', '1', 'BoolConfigHandler', 0, 0, 'Enable or disable chat tab.');

Again mind the prefix!!
All done.
: Re: Chat extension
: A-nix October 12, 2012, 03:12:55 AM
Here is a chat for feng 2.x.
Now its designed as a plugin.
To install - unpack it to /feng_root/plugins folder and install+activate in administration section of feng gui.


: Re: Chat extension
: xai_tim October 22, 2012, 07:14:40 AM
Hi there,

we´re running feng office 2.2 and installed the chat extension as described in the post.

Actually, we cannot see the extension in the admin section (Tabs)...

How can you help?
: Re: Chat extension
: madjoe November 15, 2012, 12:38:11 PM
Here is a chat for feng 2.x.
Now its designed as a plugin.
To install - unpack it to /feng_root/plugins folder and install+activate in administration section of feng gui.


  • bbcode
  • some bugs fixed
After installing and activating your plugin, my FengOffice doesn't show the content below the header bar. How could I resolve this? Thanks!
: Re: Chat extension
: A-nix November 23, 2012, 07:24:08 AM
hmm, i can't reproduce this bug on my installation
: Re: Chat extension
: mirl January 13, 2013, 06:27:26 PM
Howdy,
i seem to be getting the same error as madjoe

- i upload the plugin
- edit the config so i can enable the plugin.
- enable the plugin
- then anything above the header bar does not appear.

Any help to resolve this would be great.
Best Regards
Mirl
: Re: Chat extension
: tungpt154 March 26, 2013, 02:44:41 PM
Hi there,
As I have known, Feng Office has a feature called "chat module", which is developed by some programmers. I have been googling for some times. Unfortunately, all links and file attachments available now are no longer existed.
If by any chance you have the "chat module", would you mind sending me via my email address: tungpt154@gmail.com ? I am using Feng Office version 2.2.3

Thank you!
: Re: Chat extension
: dhikanbiya September 29, 2013, 11:26:57 PM
i found an error when i activated the plugin,,
it says
 
:
Error installing plugin 'chat': Query failed with message 'Unknown column 'name' in 'field list''
did someone having the same issue?? how could i fix it?

thanks in advance

: Re: Chat extension
: encinmat October 26, 2013, 04:33:21 PM
Hi Mirko,

I have the version 2.3.2.1, I try to implement the Chat extention but I have a black screen when an login to FengOffice.

Please could you update your funtionality to version 2.3.2.1.

Actually, I am testing other funtion like:
> IntraMessenger - I don't like it because not permis use other Client to login to chat.
> Coment Chat - I still investigation about it.

I am not programmer, just I want to help me team to have a good way to communication. I'm incident/problem manager a chat funtion into fengoffice will very helpfully.

I think a chat link facebook as a panel retractil will greate because if possible see that chat in any page into fengoffice but also is a good idea ingress using client software.

I'll appreciate your comment if you have any news.

Thanks,
Matias
: Re: Chat extension
: saosangmo April 05, 2014, 03:10:36 PM
hi,
How can I download the plugin?
Every click on attachment displays the message:
"404 - Attachment Not Found"

thanks
: Re: Chat extension
: lewism June 04, 2014, 01:02:05 PM
Have to believe that no one is working on this anymore.
In fact, plugins, extensions, almost a community seems to be missing from feng office community edition?
Where are the plugins? Where are the extensions which could make this a better solution?

: Re: Chat extension
: Baveskara July 28, 2022, 08:46:52 PM
generic cialis vs cialis (https://buycialikonline.com) Cialis 20mg Side Effects
: doxycycline and swollen ankles
: Baveskara September 19, 2022, 01:42:10 PM
In addition to the mechanical problems imposed by amyloid fibril deposition, small soluble monomers, and oligomers are extremely toxic and believed to play a major role in cell and tissue toxicity. buy doxycycline dose for std (https://buydoxycyclineon.com) The smaller and more dependent on enzyme concentration inactivation of S.
: cialis vision loss treatment
: Baveskara November 11, 2022, 12:01:15 AM
buy generic cialis (https://abrandcialis.com) Data extraction and synthesis Investigators abstracted data on methods, participant characteristics, eligibility criteria, outcome ascertainment, and follow up
: varities of tadalafil
: Baveskara December 20, 2022, 03:30:11 AM
stromectol 3 mg tablet (http://stromectol.lol) In light of these findings, clinicians and imaging providers should record the date and side of the vaccination and inform patient of potential false positive results to reduce patient anxiety and unnecessary tests as COVID 19 vaccines become widely available