Jump to content

bubblesnout

Clients
  • Posts

    13
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by bubblesnout

  1. Some time ago I added a simple message widget to our login page which notes to users that they can use either their email address or display name to login. With the upcoming changes that will prevent users from logging in with their display name I want to remove this widget, but for the life of me I can't find where to do so. Obviously on most pages when logged in as admin I can hit the little flyout button on the left to adjust these widgets, but I can't visit the login page while already logged in to do so!

    It was many years ago I added this in the first place (and many versions ago) so I don't remember at all how I added it initially, doesn't look like a manual modification to the theme(s) or anything.

    Note I am aware of the following plugin, but we are not using it and have never had it installed

     

  2. 9 hours ago, DawPi said:

    Check this:

     

    That's a really strange feature to remove, any idea why they would remove a feature as simple as the ability to show birthdays in the calendar and in a widget? Users still have their birthdays on their profile, seems really strange to not be able to show these on the calendar.

    8 hours ago, Marc Stridgen said:

    If you go to the support area of your admin CP, you will see an optional patch that will resolve this issue

    Thanks, I have applied this which seems to have resolved the error. A little miffed we can't display users birthdays in a widget anymore, our users would use this quite heavily to recognise other users birthdays and make "happy birthday" topics.

  3. Today I’ve updated to the latest version (4.7.3) and now I am sporadically receiving the following error when accessing our forums home page.

    Looks to be related to the calendar and/or the “Todays Birthdays” widget which we have on the home page - this is currently not appearing.

     

    Error: Call to undefined method IPS\calendar\Date::getBirthdays() (0)
    #0 /www/wwwroot/forums/system/Widget/Widget.php(833): IPS\calendar\widgets\_todaysBirthdays->render()
    #1 /www/wwwroot/forums/system/Widget/Widget.php(888): IPS\_Widget->_render()
    #2 /www/wwwroot/forums/system/Theme/Theme.php(885) : eval()'d code(18168): IPS\_Widget->__toString()
    #3 /www/wwwroot/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer()
    #4 /www/wwwroot/forums/system/Theme/Theme.php(885) : eval()'d code(6738): IPS\Theme\_SandboxedTemplate->__call()
    #5 /www/wwwroot/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
    #6 /www/wwwroot/forums/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
    #7 /www/wwwroot/forums/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
    #8 /www/wwwroot/forums/system/Dispatcher/Front.php(630): IPS\Dispatcher\_Standard->finish()
    #9 /www/wwwroot/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
    #10 /www/wwwroot/forums/index.php(13): IPS\_Dispatcher->run()
    #11 {main}

  4. On 10/5/2022 at 1:50 AM, Telemacus2 said:

    Hi Stuart. 

    Error: Call to undefined method IPS\calendar\Date::getBirthdays() (0)
    #0 /home/ajedreci/public_html/foros/system/Widget/Widget.php(833): IPS\calendar\widgets\_todaysBirthdays->render()
    #1 /home/ajedreci/public_html/foros/system/Widget/Widget.php(888): IPS\_Widget->_render()
    #2 /home/ajedreci/public_html/foros/system/Theme/Theme.php(885) : eval()'d code(18575): IPS\_Widget->__toString()
    #3 /home/ajedreci/public_html/foros/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')
    #4 /home/ajedreci/public_html/foros/system/Theme/Theme.php(885) : eval()'d code(15726): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
    #5 /home/ajedreci/public_html/foros/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->sidebar('right')
    #6 /home/ajedreci/public_html/foros/system/Theme/Theme.php(885) : eval()'d code(6875): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
    #7 /home/ajedreci/public_html/foros/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('c7b49da220b0f88...', '\n\n<div class='i...', Array)
    #8 /home/ajedreci/public_html/foros/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
    #9 /home/ajedreci/public_html/foros/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
    #10 /home/ajedreci/public_html/foros/system/Dispatcher/Front.php(630): IPS\Dispatcher\_Standard->finish()
    #11 /home/ajedreci/public_html/foros/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
    #12 /home/ajedreci/public_html/foros/index.php(13): IPS\_Dispatcher->run()
    #13 {main}

     

    And... 

    SELECT calendar_events.*, ( 3959 * acos( cos( radians(47,6092) ) * cos( radians( event_latitude ) ) * cos( radians( event_longitude ) - radians( -122,3314 ) ) + sin( radians( 47,6092 ) ) * sin( radians( event_latitude) ) ) ) AS distance, author.*, core_tags_cache.tag_cache_text FROM `ibf_calendar_events` AS `calendar_events`  LEFT JOIN `ibf_core_tags_cache` AS `core_tags_cache` ON tag_cache_key=MD5(CONCAT('calendar;calendar;',calendar_events.event_id))  LEFT JOIN `ibf_core_members` AS `author` ON author.member_id = calendar_events.event_member_id WHERE ( event_online = 0 ) AND ( event_location IS NOT NULL ) AND event_recurring IS NULL AND ( 
    					( event_end_date IS NULL AND DATE( event_start_date ) >= '2022-10-04' AND DATE( event_start_date ) <= '2023-10-04' AND event_all_day=1 )
    					OR
    					( event_end_date IS NOT NULL AND DATE( event_start_date ) <= '2023-10-04' AND DATE( event_end_date ) >= '2022-10-04' AND event_all_day=1 )
    					OR
    					( event_end_date IS NULL AND event_start_date >= '2022-10-04 00:00:00' AND event_start_date <= '2023-10-04 00:00:00' AND event_all_day=0 )
    					OR
    					( event_end_date IS NOT NULL AND event_start_date <= '2023-10-04 00:00:00' AND event_end_date >= '2022-10-04 00:00:00' AND event_all_day=0 )
    				) AND event_latitude IS NOT NULL AND event_longitude IS NOT NULL AND calendar_events.event_approved=1 AND calendar_events.event_approved!=-2 AND calendar_events.event_approved!=-3 AND calendar_events.event_calendar_id IN(1) HAVING distance < 500 ORDER BY distance ASC
    IPS\Db\Exception: Incorrect parameter count in the call to native function 'radians' (1582)
    #0 /home/ajedreci/public_html/foros/system/Db/Select.php(388): IPS\_Db->preparedQuery('/*ajedreci_ipb:...', Array, true)
    #1 /home/ajedreci/public_html/foros/system/Db/Select.php(446): IPS\Db\_Select->runQuery()
    #2 [internal function]: IPS\Db\_Select->rewind()
    #3 [internal function]: IteratorIterator->rewind()
    #4 /home/ajedreci/public_html/foros/applications/calendar/sources/Event/Event.php(2164): iterator_to_array(Object(IPS\Patterns\ActiveRecordIterator))
    #5 /home/ajedreci/public_html/foros/applications/calendar/modules/front/calendar/view.php(503): IPS\calendar\_Event::retrieveEvents(Object(IPS\calendar\Date), Object(IPS\calendar\Date), NULL, 6, false, Object(IPS\Member), NULL, false, Array, false)
    #6 /home/ajedreci/public_html/foros/applications/calendar/modules/front/calendar/view.php(126): IPS\calendar\modules\front\calendar\_view->_viewOverview(Object(IPS\Helpers\Form))
    #7 /home/ajedreci/public_html/foros/system/Dispatcher/Controller.php(118): IPS\calendar\modules\front\calendar\_view->manage()
    #8 /home/ajedreci/public_html/foros/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
    #9 /home/ajedreci/public_html/foros/index.php(13): IPS\_Dispatcher->run()
    #10 {main}

     

    Have you been able to resolve this? After updating to 4.7.3 today I have begun having this issue sporadically when visiting my site.

×
×
  • Create New...