Jump to content

Nathan Explosion

Clients
  • Posts

    6,984
  • Joined

  • Days Won

    127

 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 Nathan Explosion

  1. 8 minutes ago, Square Wheels said:

    I want to move a couple thousand users to a new member group.

    If that provided SQL query definitely is meeting your needs then you could have just done the following on the members listing in the ACP...

    Could contain: Page, Text

    On the resulting dialog, change "Group" from '-Any Group-' to the name of the group that people are in - then click the 'Search' button.

    Then click the link...

    Could contain: Page, Text

     

    Thus saving you many hours...

    11 minutes ago, Square Wheels said:

    but it would save me many hours of editing individual records in the ACP.

     

     

     

  2. Got Pages? In the ACP, do the following (specifics included only...if it's not specifically mentioned, it's up to you what you set things as)

    • Go to Pages -> (Page Management) Blocks
    • Click "Create New Block"
    • Change "Plugin" to "Upcoming Events"
    • Click 'Next'
    • Name it & add a description
    • Go to the 'Content' tab
    • Change "Use this tempate as-is" to "Use as a base for a custom template"
    • Find the following:
    {{foreach $events as $event}}
    • Add this below it:
    {{if $event->online}}
    • Scroll down to find:
    {{endforeach}}
    • Add this above it:
    {{endif}}
    • Save
    • Go to Pages -> (Page Management) Pages
    • Click "Add Page"
    • Click "Next"
    • Name it, give it a filename
    • Click "Save"
    • Give permissions
    • On the resulting listing of Pages, click the "Open page builder"
    • Use the block manager to drag your new block into place on the page.
    • There's your online events page.

     

  3. 9 minutes ago, Daniel F said:

    All the content, even the one from the clubs won't be deleted immediately as long as the "Permanently delete content" setting is disabled.

    Actually just testing it out on a test site - it appears to not be adhering to it. Working fine on a dev instance though.

  4. No idea if this is intentional or not...just reporting it.

    Steps to reproduce:

    • Log into the ACP
    • Navigate to Customization -> (Localization) Languages
    • Click 'Translation Tools'
    • Enable 'Quick Translating' and click 'Save'
    • Click 'Quick Translating' again

    Result:

    Could contain: Page, Text, File, Webpage

    • Now, right-click the 'Translation Tools' and open in a new tab or window

    Result:

    Could contain: Page, Text, File, Webpage

    • Now, navigate to anywhere else in the ACP that produces a tabbed display...example: System -> (Settings) Login & Registration
    • First tab looks fine...click the second and third tabs

    Result:

    Could contain: Page, Text, File

    Could contain: File, Page, Text, Webpage

    • Now, to the front-end...
    • Go to the Forum application
    • Click 'Start new topic'

    Result:

    Could contain: Page, Text

     

  5. Try clicking on the pages then...that's how I found it.

    Anyway...on a default install with all applications, and nothing 3rd-party...

    • It's on page 81 if doing a search for 'in' as the language key
    • It's on page 51 if doing a search for 'in' as the language key, targeting the 'System' app only.

    Don't want to do that? Then use the 'Quick translating' tool that is available in the ACP.

  6. On 1/29/2024 at 10:26 AM, Marc Stridgen said:

    I have tested on my own install, and I'm unable to replicate any issue with this area

    It appears to be very easy to reproduce - @PinPics, please correct me if this is NOT what you are trying to report...

    1. Create an event for today
    2. Set the event to repeat weekly, same day, for as long as you want.
    3. Save it

    So, you should now have an event that is today (30th Jan) and then 6th Feb, 13th Feb, 20th Feb and so on, correct?

    Yeah ya do...

    Could contain: File, Webpage, Text

    Could contain: File, Webpage, Text

    Or do you?

    Could contain: File, Webpage, Page, Text

     

    Could contain: File, Webpage, Text, Page

     

     

    Now try using the search for events on those specific dates. Result:

    30th Jan - there it is

    Could contain: File, Page, Text, Webpage

    6th Feb - where's the event?

    Could contain: Page, Text, FileCould contain: File, Webpage, Page, Text

    13th Feb - where's the event?

    Could contain: Page, Text

     

     

    Where's the February events?

    Could contain: Page, Text, File

     

     

  7. 16 minutes ago, Marc Stridgen said:

    I cant replicate on my end at all. Please could you let me know exactly what it is you are changing?

    Just to answer this - nothing is being changed; just saving the group with strict mode on will trigger the error.

  8. 4 minutes ago, CheersnGears said:

    Would setting that category back to store comments in the DB rather than forums at least allow people to comment again?

    Yes.

    5 hours ago, Nathan Explosion said:

    The field that contains the topic id for a database is the "record_topicid"

    Or just set that field in the database to 0 for all your records, and run the task again (obviously, take a proper backup)

  9. Hmmm - actually, this looks like it could be reproducible without strict mode involved...

    Ignore that - it's only reproducible with strict mode enabled on mySQL

    Could contain: File, Page, Text, Webpage

    For the guest group, the g_mod_post_unit evaluates to NULL in applications\core\extensions\core\GroupForm\Content.php because it's not present on the form:

    if( $group->g_id != \IPS\Settings::i()->guest_group ){
    	$form->add( new \IPS\Helpers\Form\Custom( 'g_mod_post_unit'......

    ...but the Save function doesn't take that into account:

    /* Mod Queue */
    $group->g_mod_post_unit = isset( $values['g_mod_post_unit'][2] ) ? 0 : $values['g_mod_post_unit'][0];

    Not an issue if not using strict mode.

  10. 7 hours ago, WebCMS said:

    Hope you consider this suggestion as it would help users on forums where there are dozens of subforums in Fluid View and scrolling through them to clear all the selected filters manually (one at a time)

    I have no idea what way you have your forums structured so don't know what your filter list looks like - but if it was me that was scrolling and unticking each item then I'd get bored quickly and just go ahead and try clicking on the category header...

    filters.gif.6f241b4053a30d568183d5d2b44ecacf.gif

     

×
×
  • Create New...