21
moss
Re: chat module for xoops
  • 2013/2/18 17:01

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


I forgot AJAX-Chat. I tried a xoops module adaptation of this...

Too complicated and too much things for me and my users. There are many and many options



22
moss
Re: chat module for xoops
  • 2013/2/18 15:30

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


Quote:
showing message time is also vital (Achat lacks).


Default setting show message time only on hover of pseudo, but you can override template to show it directly, I did it

Quote:
http://xoops.ws/modules/news/article.php?storyid=36


Thanks for the links, I will try it



23
moss
Re: chat module for xoops
  • 2013/2/18 15:07

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


Quote:

But we still have too many Chat modules, so we need to make a list of features what you like in each module, and what reasons do you have not to use a particular chat module, so we could maybe merge them into one, with all the good features and none of the bad.


Why not, but we need to know which module exist ?

Personally, I use :
.aChat
+ simple
+ way of answer (recent at bottom)
+ ajax
+ progressive disclosure for smiley and color personalization by user
+ archive
+ no online user (I prefer to use who is online system block of the site)
- need to go to admin to delete a post by id

and I tried :
.XIM
+ bottom bar presentation
- only one to one
- doesn't work very well in my case

.Shoutbox
- inverse way of answer (recent at the top)
- online user (I prefer to use who is online system block of the site)

I used :
.Khat (very old but very simple, a kind of aChat without ajax)
+ delete post directly in front-office when you are admin of course
- no ajax

I don't know Chat 2.1, what is the last version, where can i found it to try it ?

It's a feedback of many year so I don't try the last version of each one... I hope it can help



24
moss
Re: chat module for xoops
  • 2013/2/18 13:03

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


Thank you Mamba for the conversion to XOOPS 2.5.5 Admin GUI. I truly think this module deserve it



25
moss
Re: chat module for xoops
  • 2013/2/18 9:44

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


I use "aChat" module :http://xoops-demo.niluge-kiwi.info/modules/mydownloads/index.php

I don't know if it is what you search, but I like it, very simple... ajax working good... unfortunately it is not updated since a long time...

This module should be a blue move...

You can find it here :http://sourceforge.net/apps/trac/xoops/browser/XoopsModules/aChat/releases/0.23.2?rev=1833



26
moss
Re: MyComments 1.01 Beta 1 ready for testing on XOOPS 2.5.5
  • 2013/1/28 10:54

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


any idea how to add the number of comments per item ?

I add the php code to help...

function b_mycomments2_show($options

    global 
$xoopsUser
    include_once 
XOOPS_ROOT_PATH.'/modules/mycomments/include/comment_constants.php';
    
$limit 10// If you  are not getting suficient results, please increase a little more this number
    
$block $comment_config $trackedItems = array(); 

    
$comment_handler =& xoops_getmodulehandler('comment','mycomments');
    
$moduleperm_handler =& xoops_gethandler('groupperm'); 
    
$member_handler =& xoops_gethandler('member'); 
    
$module_handler =& xoops_gethandler('module'); 

    
$criteria = new CriteriaCompo(new Criteria('com_status'MYCOM_ACTIVE));
    
$criteria->setLimit(intval($options[0] * $limit)); 
    
$criteria->setSort('com_created'); 
    
$criteria->setOrder('DESC'); 

    
$comments $comment_handler->getObjects($criteriatrue); 
    
$modules $module_handler->getObjects(new Criteria('hascomments'1), true); 

    
$count 0
    foreach (
array_keys($comments) as $i) { 
        if ( 
$count == $options[0])  continue; 
        
$mid $comments[$i]->getVar('com_modid'); 

        if (
$xoopsUser) { 
            if (!
$moduleperm_handler->checkRight('module_read'$mid$xoopsUser->getGroups())) { 
                continue; 
            } 
        } else { 
            if (!
$moduleperm_handler->checkRight('module_read'$midXOOPS_GROUP_ANONYMOUS)) { 
                continue; 
            } 
        } 

          
$com['module'] = '<a href="'.XOOPS_URL.'/modules/'.$modules[$mid]->getVar('dirname').'/">'.'<img src="'.XOOPS_URL '/modules/' $modules[$mid]->getVar('dirname''n') . '/images/ico.gif" />'.'</a>'
        if (!isset(
$comment_config[$mid])) { 
            
$comment_config[$mid] = $modules[$mid]->getInfo('comments'); 
        } 
        
$com['id'] = $i
        
$com['title'] = '<a href="'.XOOPS_URL.'/modules/'.$modules[$mid]->getVar('dirname').'/'.$comment_config[$mid]['pageName'].'?'.$comment_config[$mid]['itemName'].'='.$comments[$i]->getVar('com_itemid').'&com_id='.$i.'&com_rootid='.$comments[$i]->getVar('com_rootid').'&'.htmlspecialchars($comments[$i]->getVar('com_exparams')).'#comment'.$i.'">'.$comments[$i]->getVar('com_title').'</a>'
        
$com['icon'] = htmlspecialchars$comments[$i]->getVar('com_icon'), ENT_QUOTES ); 
        
$com['icon'] = ($com['icon'] != '') ? $com['icon'] : 'icon1.gif';
        
$com['time'] = formatTimestamp($comments[$i]->getVar('com_created'),'s'); 
        if (
$comments[$i]->getVar('com_uid') > 0) { 
            
$poster =& $member_handler->getUser($comments[$i]->getVar('com_uid')); 
            if (
is_object($poster)) { 
                
$com['poster'] = '<a href="'.XOOPS_URL.'/userinfo.php?uid='.$comments[$i]->getVar('com_uid').'">'.$poster->getVar('uname').'</a>'
            } else { 
                
$com['poster'] = $GLOBALS['xoopsConfig']['anonymous']; 
            } 
        } else { 
            
$com['poster'] = $GLOBALS['xoopsConfig']['anonymous']; 
        } 
        if (
count($trackedItems) > 0) { 
            
$itemMatch false
            foreach (
array_keys($trackedItems) as $j) { 
                if (
$comments[$i]->getVar('com_modid') == $trackedItems[$j]['modid'] && $comments[$i]->getVar('com_itemid') == $trackedItems[$j]['itemid']) { 
                    
$itemMatch true
                } 
            } 
            if (!
$itemMatch) { 
                
$block['comments'][] =& $com
                
$trackedItems[] = array('modid' => $comments[$i]->getVar('com_modid'), 'itemid' => $comments[$i]->getVar('com_itemid') ); 
                
$count++; 
            } 
        } else { 
            
$block['comments'][] =& $com
            
$trackedItems[] = array('modid' => $comments[$i]->getVar('com_modid'), 'itemid' => $comments[$i]->getVar('com_itemid') ); 
            
$count++; 
        } 
        unset(
$com); 
    } 
    return 
$block
}


Thank you for your help



27
moss
Re: MyComments 1.01 Beta 1 ready for testing on XOOPS 2.5.5
  • 2013/1/26 13:43

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


This module is fantastic.

I use the block with the last commented items on my website and I would just add the number of comments by items to see his popularity, How to do this ?

Thans for your information and sorry for my english.



28
moss
Lock the comment's edition in xoops 2.5
  • 2010/11/25 10:31

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


Hi,

I want to lock the edition of comments for user in xoops 2.5. Because I don't want user can change their comments 2 days after…

Is it possible ?

thanks for your advice and sorry for my english



29
moss
Re: Basic Smart Faq Problem
  • 2010/11/25 10:26

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


I have problem with redirection when I submit a open question or answer, it doesn't redirect me.

It send it to database, but I stay on form page...

If I click on oher link, he will display the jgrowl success message...

I use xoops 2.5, smartfaq 1.09 from Trabis, and jgrowl redirection is activated...



30
moss
Re: todo module (PHP5)
  • 2010/2/22 22:04

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


Someone know where I can find this module... links is dead

thanks




TopTop
« 1 2 (3) 4 »



Login

Who's Online

148 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 148


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits