• Content Count

  • Joined

  • Last visited

  • Days Won


wohali last won the day on April 1 2016

wohali had the most liked content!

Community Reputation

5 Neutral

About wohali

  • Rank
    Advanced Member
  1. HI Kevin, We're running into this too, and it's holding us back from being able to upgrade to 4.4. Any chance of looking into this sooner rather than later? We do pay our support fees regularly....
  2. Thanks. We don't own Rules, so I'll work out how to implement two of my own in my own app. I know I could use the free Rules app but I'd rather not force the dependency if I can avoid it. Thanks!
  3. I'm working on an external integration with Group Collaboration. Is there a REST API endpoint I can use (with an admin-level token) to add/remove existing website members from a group? I'm full up with other projects right now, so I haven't the time to go read through the code...sorry about that.
  4. Hi Kevin, I'm getting the following exceptions when activating IN_DEV mode on my 4.2.2 development instance and browsing to a collab's index page (Collabs 1.4.1 installed). Can you help? Whoops\Exception\ErrorException thrown with message "Undefined variable: showTimeline" Stacktrace: #11 Whoops\Exception\ErrorException in /var/www/site/system/Theme/Theme.php:4290 #10 Whoops\Run:handleError in /var/www/site/system/Theme/Theme.php:4290 #9 IPS\Theme\theme_collab_front_tabs_stream in /var/www/site/system/Theme/Dev/Template.php:169 #8 call_user_func_array in /var/www/site/system/Theme/Dev/Template.php:169 #7 IPS\Theme\Dev\_Template:__call in /var/www/site/applications/collab/modules/front/collab/collabs.php:119 #6 IPS\Theme\Dev\Template:stream in /var/www/site/applications/collab/modules/front/collab/collabs.php:119 #5 IPS\collab\modules\front\collab\_collabs:viewCollab in /var/www/site/applications/collab/modules/front/collab/collabs.php:56 #4 IPS\collab\modules\front\collab\_collabs:manage in /var/www/site/system/Dispatcher/Controller.php:96 #3 IPS\Dispatcher\_Controller:execute in /var/www/site/system/Content/Controller.php:50 #2 IPS\Content\_Controller:execute in /var/www/site/applications/collab/modules/front/collab/collabs.php:30 #1 IPS\collab\modules\front\collab\_collabs:execute in /var/www/site/system/Dispatcher/Dispatcher.php:146 #0 IPS\_Dispatcher:run in /var/www/site/index.php:12 If I add error_reporting(E_ALL & ~E_NOTICE) to constants.php I then get the following: Whoops\Exception\ErrorException thrown with message "Declaration of IPS\collab\_Collab::mergeIn() should be compatible with IPS\Content\_Item::mergeIn(array $items, $keepLinks = false)" Stacktrace: #20 Whoops\Exception\ErrorException in /var/www/site/applications/collab/sources/Collab/Collab.php:22 #19 Whoops\Run:handleError in /var/www/site/applications/collab/sources/Collab/Collab.php:22 #18 require_once in /var/www/site/init.php:282 #17 IPS\IPS:autoloader in [internal]:0 #16 spl_autoload_call in /var/www/site/applications/collab/Application.php:407 #15 IPS\collab\_Application:activeCollab in /var/www/site/applications/collab/Application.php:546 #14 IPS\collab\_Application:affectiveCollab in /var/www/site/init.php:448 #13 IPS\collab_hook_ipsApplication:allExtensions in /var/www/site/system/Member/GroupPromotion.php:351 #12 IPS\Member\_GroupPromotion:matches in /var/www/site/system/Member/Member.php:3624 #11 IPS\_Member:checkGroupPromotion in /var/www/site/system/Member/Member.php:316 #10 IPS\_Member:save in /var/www/site/system/Session/Session.php:210 #9 IPS\_Session:init in /var/www/site/system/Session/Session.php:93 #8 IPS\_Session:i in /var/www/site/system/Member/Member.php:145 #7 IPS\_Member:loggedIn in /var/www/site/system/Dispatcher/Front.php:643 #6 IPS\Dispatcher\_Front:baseCss in /var/www/site/init.php:448 #5 call_user_func_array in /var/www/site/init.php:448 #4 IPS\Dispatcher\collab_hook_ipsDispatcherFront:baseCss in /var/www/site/system/Dispatcher/Front.php:63 #3 IPS\Dispatcher\_Front:init in /var/www/site/init.php:448 #2 IPS\Dispatcher\collabgreet_hook_greetCheck:init in /var/www/site/init.php:448 #1 IPS\Dispatcher\collab_hook_ipsDispatcherFront:init in /var/www/site/system/Dispatcher/Dispatcher.php:103 #0 IPS\_Dispatcher:i in /var/www/site/index.php:12 If I give up and further set error_reporting(E_ALL & ~E_NOTICE & ~E_USER_ERROR & ~E_STRICT); then I'm able to browse to the collab's home page. Thanks for your assistance!
  5. wohali

    Bug on delete member content

    Sadly I didn't get a full stack trace, and I've fixed the system by now via the method I described. This suggests (to me) that it was that user's ownership of a collab that was causing the trace at least; by transferring ownership the job probably stopped trying to delete "his collab" and finished normally. I get your point about the mass delete...and am actually thankful this error prevented the delete from occurring. I wonder if you could recreate it by creating a user, having that user create a collab, then using the ACP button to delete all of that user's content?
  6. Hey Kevin, Got a weird one. One of my admins went nuts and decided to delete all of his own content. He was also an owner of a collab. This lead to a PHP error and and a job that showed up on the ACP Dashboard that wouldn't go away ("Deleting <Member> content"). The error is: PHP Fatal error: Cannot use object of type IPS\Member as array in /var/www/site-name/applications/collab/sources/Collab/Collab.php on line 1849 The error continued to show up in the cronjob output (I use cron to trigger jobs with IPS 4) until I reassigned the owner of the collab to someone else and retriggered the job. I'm conflicted on the right answer here. I feel like deleting an entire collab just because IPS is trying to delete all the owners' content is probably the wrong answer, but I don't know if at the time that occurs there's any way to intercept the attempt to delete the Node and do something else (like assign it to a different user).
  7. OK, glad we're on the same page. I'm guessing this isn't going to be an overnight thing...any guess as to an ETA so I can get back to my users?
  8. Hi again Kevin, I've just gotten a bug report from one of my group admins. They are trying to message their entire group's membership with a PM. Right now their group has just shy of 100 members. When they use the Manage Roles > Start Group Conversation link to send a group message, it is capping out around 20 members in the group receiving the PM. It's also starting the message as a mass group PM, which doesn't really make a whole lot of sense for sending an announcement to all users. They just need to be push-notified of something, and a PM is the best way to do that (since not all users are "watching" the collaboration to be notified of any changes to it). What options do we have? Ideally, we'd like something that could give us the old rsyvarth-style "mass PM" functionality, where the system user starts ~100 new PMs with the notification, then has the system user "leave" each one so it can't proceed from there. I could look at coding an add-on to provide this functionality if you aren't willing, but my plate is a bit full right now and I'm hoping you can help us out. FYI, we have groups with roles that have larger membership who will be asking to do this shortly as well, so some sort of solution that scales higher than 100 members would be ideal. Thanks, wohali
  9. wohali

    Poll widget config error when not admin

    Validated that the fix worked. Bug filed with IPS: https://invisionpower.com/4bugtrack/active-reports/ambiguous-column-error-if-application-has-db-column-named-title-r11929/ Feel free to like/comment/upvote at your convenience.
  10. wohali

    Poll widget config error when not admin

    Thanks Kevin, this makes sense. Have you reported the bug upstream to Invision Power? If not I can do so on your behalf.
  11. wohali


    Yup, that's me. And it's getting closer to me needing to author something like this. I'll let you know if and when a fire gets lit underneath my proverbial arse.
  12. Got a bit of a strange one for you, Kevin. One of my moderators is trying to place a poll widget on a forum index. When he goes to configure the poll widget, he never receives back any results from searching for a topic. I logged in as him, and I see the browser is receiving back a 500 error from the server. The URL it is trying to hit is: https://mysite.com/index.php?app=core&module=system&controller=widgets&do=getConfiguration&block=app_forums_poll_xx1opz5b7&pageApp=forums&pageModule=forums&pageController=topic&pageArea=sidebar&csrfKey=XXXXX&_itemSelectName=widget_poll_tid&q=sfr&csrfKey=XXXXX In the Error log of my IPS installation, I see: Column 'title' in where clause is ambiguous SELECT forums_topics.*, author.*, last_commenter.*, core_tags_cache.tag_cache_text FROM `prefix_forums_topics` AS `forums_topics` LEFT JOIN `prefix_forums_forums` AS `forums_forums` ON forums_topics.forum_id=forums_forums.id LEFT JOIN `prefix_core_tags_cache` AS `core_tags_cache` ON tag_cache_key=MD5(CONCAT(?,forums_topics.tid)) LEFT JOIN `prefix_core_members` AS `author` ON author.member_id = forums_topics.starter_id LEFT JOIN `prefix_core_members` AS `last_commenter` ON last_commenter.member_id = forums_topics.last_poster_id LEFT JOIN `prefix_collab_memberships` AS `collab_memberships` ON collab_memberships.member_id=2145 AND collab_memberships.status='active' AND collab_memberships.collab_id=forums_forums.collab_id LEFT JOIN `prefix_core_permission_index` AS `collab_core_permission_index` ON collab_core_permission_index.app='forums' AND collab_core_permission_index.perm_type='collab_forum' AND collab_core_permission_index.perm_type_id=forums_forums.id WHERE title LIKE CONCAT('%', ?, '%') AND poll_state IS NOT NULL AND ( forums_forums.can_view_others=1 OR forums_topics.starter_id=? ) AND ( ( forums_forums.collab_id=0 ) OR ( collab_core_permission_index.perm_2='*' OR ( ISNULL( collab_memberships.id ) AND collab_core_permission_index.perm_2 LIKE '-1%' ) OR (collab_memberships.id IS NOT NULL AND (collab_core_permission_index.perm_2='0' OR ( ( FIND_IN_SET(5,collab_core_permission_index.perm_2) OR FIND_IN_SET(86,collab_core_permission_index.perm_2) OR FIND_IN_SET(81,collab_core_permission_index.perm_2) OR FIND_IN_SET(68,collab_core_permission_index.perm_2) OR FIND_IN_SET(91,collab_core_permission_index.perm_2) ) ))) ) ) AND forums_topics.approved < 2 AND ( NULLIF(forums_topics.moved_to, '') IS NULL ) AND forums_topics.forum_id IN(11,15,35,41,42,46,47,49,50,51,54,55,56,59,68,114,118,120,121,122,125,127,140,141,143,146,147,148,151,155,156,158,160,179,180,181,183,184,186,188,191,192,193,195,196,197,199,200,201,203,204,205,206,207,208,210,211,212,213,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229) ORDER BY LENGTH(title) ASC LIMIT 0,20 Array ( [0] => forums;forums; [1] => sfr [2] => 2145 ) | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | /system/Db/Db.php | [IPS\Db\_Exception].__construct | 388 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Db/Select.php | [IPS\_Db].preparedQuery | 346 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Db/Select.php | [IPS\Db\_Select].runQuery | 402 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | | [IPS\Db\_Select].rewind | | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Helpers/Form/Item.php | [IteratorIterator].rewind | 98 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Helpers/Form/FormAbstract.php | [IPS\Helpers\Form\_Item].html | 260 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Helpers/Form/Form.php | [IPS\Helpers\Form\_FormAbstract].rowHtml | 465 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /applications/core/modules/front/system/widgets.php | [IPS\Helpers\_Form].customTemplate | 222 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | | [IPS\core\modules\front\system\_widgets].getConfiguration | | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Dispatcher/Controller.php | [].call_user_func | 85 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /applications/core/modules/front/system/widgets.php | [IPS\Dispatcher\_Controller].execute | 39 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Dispatcher/Dispatcher.php | [IPS\core\modules\front\system\_widgets].execute | 129 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /index.php | [IPS\_Dispatcher].run | 13 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' The following things do work: Trying to edit the config for the poll widget as a site admin Trying to create a poll widget as the moderator, but on a forum not inside of a collab I was all ready to post this as a bug with IPS until I hit point 2...the fact that it works for him outside of Group Collabs suggests this is likely a Group Collabs bug. Any ideas? I could try writing my own Collab-aware poll widget but I'd rather not.
  13. wohali


    Raffles are something I've been pondering writing as an add-on for collabs (with specific collab awareness). I might tie it into the Points Economy system Kevin has written as well. Would something involving points be something you were interested in as well?
  14. wohali

    Default order for collabs

    I'd like to sort by popularity (# of posts and/or # of members).
  15. In the regular Forums area (non-GC), you can click on the chat bubble on the left-hand side to mark a particular topic as read. However, I have not been able to do this for any gc forum board on our site. In both images below, my mouse is hovering over the bubble icon. The first is on a regular (non-GC) forum, the second is on a GC forum listing. vs.