Jump to content

TDBF

Clients
  • Posts

    813
  • Joined

  • Days Won

    3

 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 TDBF

  1. When Designer Mode is enabled, CMS blocks will use the default templates instead of the custom one selected.

    Can you please, for the love of god, stop this behaviour, and use the custom templates selected for the Pages Blocks! This way, I can edit my custom templates and see the changes without having to constantly turn Designer Mode on and off all the time.

  2. Not sure if this is an issue or not, but it is an annoyance.

    While in developer mode with Whoops (DEV_USE_WHOOPS, TRUE) enabled, widgets from plugins do not show in the Block Manager window. Widgets from Applications however do.

    If I disable Whoops they are shown as expected.

    Is this the correct behaviour?

  3. Users who are in the Moderators group who have 'Require approval before content shows', can still create Topics, but their posts are still required to be approved by a moderator.

    The way this stands, any moderator who is restricted from posting can still create topics, but their posts will still require moderation.

    Bug?

    Could contain: Page, Text, File, Webpage

    Could contain: File, Page, Text, Webpage

     

     

  4. Error: Call to undefined method ReflectionUnionType::getName() (0)
    #0 C:\wamp64\www\invisiondev4.7dev\applications\core\modules\admin\applications\developer.php(3578): IPS\Plugin\_Hook->editForm(Object(IPS\Http\Url\Internal))
    #1 C:\wamp64\www\invisiondev4.7dev\system\Dispatcher\Controller.php(107): IPS\core\modules\admin\applications\_developer->editHook()
    #2 C:\wamp64\www\invisiondev4.7dev\applications\core\modules\admin\applications\developer.php(69): IPS\Dispatcher\_Controller->execute('do')
    #3 C:\wamp64\www\invisiondev4.7dev\system\Dispatcher\Dispatcher.php(153): IPS\core\modules\admin\applications\_developer->execute()
    #4 C:\wamp64\www\invisiondev4.7dev\admin\index.php(13): IPS\_Dispatcher->run()
    #5 {main}

    Could contain: Text, Chart, Plot

    Added a hook to extend class \IPS\Content\Controller, I get this error when trying to edit the hook from the Developer Centre.

    Using PHP 8.0.23

  5. 18 minutes ago, Daniel F said:

    The method should return an array (mentioned by phpdoc)

    Unfortunately, there were no return types when IPS 4 was created, but they're now, so I guess the best thing to do here is to enforce it

    Dr Evil GIF

     

    Seems much more straightforward than including just another IMO unnecesary check for the methods return value.

    Developers don't always do what is in the manual. 🤪

  6. 1 hour ago, teraßyte said:

    What application is that code from? It's not from the default IPS code at least.

     

    The problem is that the return array() code is inside the IF check, if the check fails nothing is returned. Adding a simple return at the end of the function is enough:

    	public static function configurationOptions( \IPS\Member $member = NULL )
    	{
    		if ( $member === NULL or $member->modPermission( 'can_view_hidden_content' ) )
    		{
    			return [
    				'my_notification' => [
    					'type'              => 'standard',
    					'notificationTypes' => ['my_notifiction'],
    					'title'             => 'notifications__my_notification',
    					'showTitle'         => FALSE,
    					'description'       => 'notifications__my_notification_desc',
    					'default'           => ['inline'],
    					'disabled'          => ['email', 'push']
    				]
    			];
    		}
    		
    		return array();
    	}

     

    It's just an example which will trigger the Warning in Whoops. 🙂

  7. Found a small bug which only seems to show when I have Whoops enabled.

    This happened when viewing a member's profile in the ACP and an applications Notification configurationOptions function does NOT explicitly set a return.

    Such as:

    	public static function configurationOptions( \IPS\Member $member = NULL )
    	{
    		if ( $member === NULL or $member->modPermission( 'can_view_hidden_content' ) )
    		{
    			return [
    				'my_notification' => [
    					'type'              => 'standard',
    					'notificationTypes' => ['my_notifiction'],
    					'title'             => 'notifications__my_notification',
    					'showTitle'         => FALSE,
    					'description'       => 'notifications__my_notification_desc',
    					'default'           => ['inline'],
    					'disabled'          => ['email', 'push']
    				]
    			];
    		}
    	}

    Could contain: Text

    Could contain: Page, Text, File

  8. Hi Adriano,

    On the results page after taking the quiz, there are a couple of small issues. 🙂

    1. Overlapping text on the Taking Quiz Box.
    2. Just below that, the 'Started' on and 'Completed Dates' are incorrect.

    Could contain: Text, Page

  9. 1 hour ago, Adriano Faria said:

    Anyway, I'll make some tests. Probably there is a way to show only to staff and the quiz owner while it is empty.

    Thank you, I really appreciate this and your help today. 🙂

  10. 3 minutes ago, Adriano Faria said:

    It is like that since version 1. Nothing changed.

    Notification will be sent for those who follow the category when the user set it as ready.

    Also, there's a setting to delete empty quizzes after X days. Just use it.

    I'm sorry, but why would I want to delete empty quizzes when I am in the process of creating them? 🙂

    I understand that Notifications are sent on publication, that's nothing to do with my question.

    All quizzes are public before questions are even added, or it is set as ready. Surely, only moderators or groups with edit privileges should have access to quizzes (So they can edit them) before they're set as ready?

    No worries, I will just set quizzes to hide before I complete the questions and make it playable. I just assumed that a quiz status would be offline/hidden until they were published.

    Cheers! 🙂

  11. 2 minutes ago, Adriano Faria said:

    Of course there is. And how the user would add questions? Hide is a moderator thing.

    Sorry, misunderstanding here. 🙂

    When I create a quiz, regardless of whether these quizzes have questions or are published, they are shown to my members. My members are able to view quizzes without questions or quizzes which are not active.

    https://www.thedarkblues.co.uk/quizzes/category/1-dundee-fc-quiz/

    As you can see from the link above, none of these quizzes have questions and the quizzes are incomplete, yet my members can see these quizzes before they are ready to be played, or before I allow them to be played.

    I was under the impression that quizzes would only be shown to my members when they are published, not beforehand.

    The way it is now, I cannot create quizzes until I am ready for them to be played.

    Again, my apology for any confusion.

  12. 8 minutes ago, Adriano Faria said:

    They always showed everywhere. The only thing it doesn't do is send a notification about the new quiz. Notification is sent when you set it as ready to people play.

    Thanks, as I said, I didn't remember doing this before. So there is no way to hide quizzes until I want to publish or make them live?

    9 minutes ago, Adriano Faria said:

    This app hasn't a category image. It has an icon.

    Sorry for the confusion there. Yes, that it what I meant, the category icons.

  13. Hi Adriano,

    Thanks again for the work you do on this.

    I have a couple of questions for you.

    1. Quizzes without question or quizzes which are not selected as 'Allow to Play', are showing to everyone. I don't remember this being the behaviour before. Did you change this or is it a bug?
    2. Category images seem to go missing after a couple of days and I have to keep uploading them. Not sure if this is an issue with IPS or the application.
  14. 29 minutes ago, Marc Stridgen said:

    Ah, that being the case, it will be that upgrade information was added by that application at some point. Glad to hear you managed to get the issue resolved

    I believe that was the case. At least I know what to do the next time this happens.

    Thankfully, I don't have to go through the restore process.

  15. 1 hour ago, Marc Stridgen said:

    I understand what you're saying there, however there must be something that remains there unfortunately.

    Hi Marc,

    Just to keep you updated regarding this issue, I removed the database table updrade_temp and started the upgrade process again, and the upgrade worked without a hitch.

    Thank you for your time 🙂

  16. Just now, Marc Stridgen said:

    You appear not to have mentioned what application you are referring to. If this is the videos application, you would need to contact the author of that application for assistance

    It is the Video Application, but I do not have this installed, and it hasn't been on my test server for a long time.

    I have never had an issue updating after this application was removed, so I am not sure why this is happening now?

  17. FYI, my test server is not on a localhost.

    I have tried to update my test server to version 4.7.6, and it's failing due to upgrading an application which no longer exists on this install.

    Could contain: Page, Text

    If I continue the upgrade, I get the following error.

    Could contain: Page, Text, File

    Is there a workaround on this matter?

  18. On 7/27/2022 at 7:34 PM, opentype said:

    And while you are at it, here is another one effective immediately (actually since July 1st, 2022), which can be seen as related, as it also needs to be accessible for guests:

    New cancellation process for subscriptions required

    A new law specifies in detail how online contracts like Invision Community subscriptions can be cancelled when services are offered to people in Germany. The current implementation is not sufficient at all. 

    The law text (in German): https://www.gesetze-im-internet.de/bgb/__312k.html

    Good English article about it: https://www.nitrobox.com/en/cancellation-button-bgb-312k-explained/

    The article above provides a blueprint of how the cancellation must be performed. As explained in the article, the law is extremely precise in what is required. Specific buttons which easily accessible, specific fields in the form, a confirmation with print-out capability, an automatic confirmation and ALL of it accessible to guests as well. 

    Not one word regarding this from the devs. 🤷‍♂️

  19. On 10/17/2022 at 7:12 PM, sadams101 said:

    I also focus on good content. Content does not fall under the purview of IPB's software engineers, which is who this thread is addressed to. This thread is focused on IPB taking away the ability to easily modify the CSS files, which in turn makes it very difficult for those who do actually care about site speed to be able to do anything to address it.

    Altering CSS styles isn't going to increase your website speed, not to the point where it actually matters or is noticeable.

    I tend to find metric sites like the ones mentioned do nothing more than send you down a massive rabbit hole. You get to the point where you become obsessed with getting the prefect score and nothing else matters.

    I find the score they are asking you to hit is ludicrous, especially when Google doesn't even follow their own standards. Google Ads is the biggest offender to my so-called 'perfect score'.

    What will increase your speed is proper optimizations. These are generally more associated with bad PHP coding, slow database queries, poor caching methods, element blocking and lots of hooks and applications.

    Does your server have enough resources such as CPU, Memory etc, and is it configured correctly and optimized? Have you dealt with bad bots, script kiddies and scrappers who are hitting your server, sucking up more resources further sucking up your resources!

    A lot of people tend to throw everything and the kitchen sink on their front page, and wonder why it is slow compared to other websites.

    Trust me, CSS styles are at the bottom of my list when it comes to optimization. If you honestly think that using margin: 5px 10px; over margin: 5px 10px 5px 10px is going to make any difference to your FTTB, then you have gone down that rabbit hole, my friend.

    As I've always said, when Google give a crap about their own coding standards, I will give a crap about mine's, especially when it comes to their metric scores.

    While I don't agree with this decision, I do understand it, as there is no need to edit the core CSS styles when you can just override via the custom file.

  20. 1 hour ago, Jim M said:

    I see several topics around changing when an invoice is created but none around mass deletion of invoices. If you can't get A, I would suggest at least asking for B if this is something you are dealing with. Having both there will allow our team to better assess your suggestion.

    I have been previously asking for the ability to mass delete, move, clone etc through-out the entire admin area when it comes to records. So, I guess invoices would have been part of this request. 😉 🙂

    Thanks, I will post my request again later, after I have deleted these 1000's of records one by one, killing my hands and my eyesight in the process! 😋 🙂 👍

×
×
  • Create New...