Jump to content

Li3D

Clients
  • Posts

    102
  • 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 Li3D

  1. Hi,

    I have a sub-forum (page 1) throwing an error when Topic Moderators is enabled :

    Error: Call to a member function canEdit() on null in /www/invisionpowerservices/init.php(893) : eval()'d code:41
    Stack trace:
    #0 /www/invisionpowerservices/system/Theme/Theme.php(860) : eval()'d code(4471): IPS\forums\nbtopicmods_hook_nbTopicModeratorsForumsTopic->canEdit()
    #1 /www/invisionpowerservices/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_forums->topicRow(Object(IPS\Helpers\Table\Content), Array, Array)
    #2 /www/invisionpowerservices/system/Theme/Theme.php(860) : eval()'d code(1451): IPS\Theme\_SandboxedTemplate->__call('topicRow', Array)
    #3 /www/invisionpowerservices/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_forums->forumTable(Object(IPS\Helpers\Table\Content), Array, Array, NULL, true)
    #4 /www/invisionpowerservices/system/Helpers/Table/Table.php(564): IPS\Theme\_SandboxedTemplate->__call('forumTable', Array)
    #5 /www/invisionpowerservices/init.php(893) : eval()'d code(56): IPS\Helpers\Table\_Table->__toString()
    #6 /www/invisionpowerservices/applications/forums/modules/front/forums/forums.php(406): IPS\Helpers\Table\tthumb_hook_table_Table->__toString()
    #7 /www/invisionpowerservices/applications/forums/modules/front/forums/forums.php(38): IPS\forums\modules\front\forums\_forums->_forum(Object(IPS\forums\Forum))
    #8 /www/invisionpowerservices/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_forums->manage()
    #9 /www/invisionpowerservices/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute()
    #10 /www/invisionpowerservices/index.php(13): IPS\_Dispatcher->run()
    #11 {main}

    Backtrace :

    #0 /www/invisionpowerservices/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error')
    #1 /www/invisionpowerservices/system/Theme/Theme.php(860) : eval()'d code(1451): IPS\Theme\_SandboxedTemplate->__call('topicRow', Array)
    #2 /www/invisionpowerservices/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_forums->forumTable(Object(IPS\Helpers\Table\Content), Array, Array, NULL, true)
    #3 /www/invisionpowerservices/system/Helpers/Table/Table.php(564): IPS\Theme\_SandboxedTemplate->__call('forumTable', Array)
    #4 /www/invisionpowerservices/init.php(893) : eval()'d code(56): IPS\Helpers\Table\_Table->__toString()
    #5 /www/invisionpowerservices/applications/forums/modules/front/forums/forums.php(406): IPS\Helpers\Table\tthumb_hook_table_Table->__toString()
    #6 /www/invisionpowerservices/applications/forums/modules/front/forums/forums.php(38): IPS\forums\modules\front\forums\_forums->_forum(Object(IPS\forums\Forum))
    #7 /www/invisionpowerservices/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_forums->manage()
    #8 /www/invisionpowerservices/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute()
    #9 /www/invisionpowerservices/index.php(13): IPS\_Dispatcher->run()
    #10 {main}

    I tried with default theme and disabling the rule for this forum without success.

    I just can browse page 2 and more.

    Hope you can help me.

    EDIT : no error in guest mode (not registred).

  2. Hi,

    I just deleted the first (and only image) of the first message of a topic to put a new one. Unfortunately, the plugin now puts the following image of another message in the topic, an image that has nothing to do with the first message.

    I tried to change the attach_date with an older date but it still pick the wrong image. It looks like the plugin get the lowest id of all image in the topic.

    I don't want to change the attattachments id because I don't want to play with attachments_map.

    Can I filter by topic ID to change this in the plugin hook :

    {{\IPS\Output::i()->metaTags[\'og:image\'] = $imageurl->url;}}

    ?

  3. Hi,

    URL field is completly broken since last update 😣

    2135817623_2020-10-0814_49_51-Window.jpg.583f6bf6d9e1c931f6cfec4e78397640.jpg

    EDIT : it's ok after replacing {$fieldValue['value']} by {$fieldValue['value']|raw} in my custom view template.

  4. On 5/28/2018 at 1:39 PM, Nathan Explosion said:

    From the plugin's description:

     

     

    Hi,

    I know it used the first image but it would be great if we can choose/change the image.

    Indeed, members doesnt care about the image used by Facebook and sometime use extenal images.

    Thx

  5. Hi,

    I'am trying to let members moderate their own topics in only one forum :

    1388136083_2020-02-0611_43_30-EditModerator_Administrateurs-WEareFPV.jpg.2bb720336abd50c6ec256b44dc437c8d.jpg

    Here, I don't understand why I still need to fill topic ID ?

    I just allow them to edit their own messages :

    659452150_2020-02-0611_43_39-EditModerator_Administrateurs-WEareFPV.jpg.eec5a78a704703884cd7b738981d936e.jpg

    But they can edit every message (first or not) of every topic of every users 🤔

    Is it a normal behavior ?

  6. On 10/13/2017 at 10:21 PM, forumdev99 said:

    I am able to change a couple of them, actually, so let's focus on one in particular that won't change:

    I need this URL /forums/topic/{#id}-{?}

    ..to look like this: /topic/{#id}-{?}

    But when I change it and save, it reverts back to: /forums/topic/{#id}-{?}

    In /applications/forums/data/furl.json it looks like this:

    
        "forums_topic": {
                "friendly": "topic/{#id}-{?}",
                "real": "app=forums&module=forums&controller=topic",
                "verify": "\\IPS\\forums\\Topic"
            },

    ..are you able to change this specific URL in your board?

    BTW I am running IPSv4.2.5

    Same problem here...

    If I set "topLevel": "", it works but discover isn't the home page anymore, even with :

            "forums": {
                "friendly": "categories",
                "real": "app=forums&module=forums&controller=index"
            },

     

  7. 4 hours ago, Fosters said:

    This seems to be a bug in IPS 4.4.0 😞

    I made a support request and they replied that the problem comes from a third-party application. I had to look for myself that it came from bookmarks.

×
×
  • Create New...