Everything posted by teraßyte
-
5.0.13 is now available
You can see them in the changelog: https://invisioncommunity.com/release-notes-v5/5013-beta-1-r47/ #5836 Bugs/tiptap nov release - Issue #5488: Content Editor not remembering selecting language - Issue #5545: Default box color not working - Issue #5541: Boxes sometimes have two titles - Issue #5552: Pasting text into spoiler collapses it - Issue #5587: Spoiler button visible while "Can use content boxes" set to "Never" - Issue #5658: Autosave draft message not persisting - Issue #5553: Safari crashes when adding a new line between spoiler and image
-
China Traffic - how can I block all traffic from china?
Disable temporarily Cloudflare to access your ACP, enable the setting to trust the IP address provided by a proxy, and then re-enable Cloudflare. You should be able to login after changing that setting.
-
How to host a PDF file so that anyone can download it?
If you want it available to anyone, you can upload it as a Media file in the Pages application and then post a link to it on a page/block.
-
Multi selection of members in the ACP
I bet you selected only the spammer filter just like me. See the post above for the solution.
-
Multi selection of members in the ACP
When I use the filter option in your screenshot, the bar with the 3 options doesn't appear for me. 🤨 @Jim M To be clear, I only clicked the Spammer option in the FILTER menu and nothing else. Did you do other steps?
-
Multi selection of members in the ACP
That's impossible. The advanced search form doesn't have an option to filter by spammer status.
-
HTML/PHP code
You can find a free application that adds a back to top button here: https://invision-market.com/apps/members/go-to-top-button-r127/
-
Our Medical Education Community Would Like to Receive EVERY Post That is Sent From Everyone
There is no option like that included by default. You'll need a custom application for that. There's a list of 3rd party Providers available on this site that you can consult if you're interested. I'm also on that list. === A possible "workaround" would be to subscribe to the RSS feed on the All Activity page: https://invisioncommunity.com/discover/all.xml/ That will include everything guests can see, but your members would still have to manually subscribe to it. 🤷♂️
-
Unable to read my pages in dark mode - what can be the best solution
It must not be using the #000000 color value, but a different one. Inspect the HTML to find the value, then include it in the CSS Ehren provided.
-
Help On Bulk Mail
How many members was it supposed to go to when you sent it out? The preview step should show you the number. Also, bulk emails are not sent to banned members or members who have disabled their Newsletter option.
-
editor quote line options
Not with CSS. However, it can be done with a custom application. You can send me a PM if you're interested.
-
How to properly set a bold group name with color?
Try this: <span style="font-weight:bold;color:#671510;">Group Name</span>
-
Invision Community 5.0.10 Released
@Matt A minor issue I noticed in the updated API output for the Forum class: * @apiresponse string cardImage Forum card imageUnless a card image for the forum is specified, the default cardImage value is null rather than a string in \applications\forums\sources\Forum\Forum::2243: $return = array( [...] 'cardImage' => null, [...] );
-
How do I make new members start off in new member group?
The group promotion check is done on login.
-
[4.7.22] Task::postComplete() fails because $data is NULL
I made a custom application with a Queue extension task for a client. Before calling it, I set a custom flag for a specific member, whose ID I also pass as the $data['member_id'] variable. Then, in the postComplete() function, I reset the flag for the member once the task is done running: /** * Perform post-completion processing * * @param array $data Data returned from preQueueData * @param bool $processed Was anything processed or not? If preQueueData returns NULL, this will be FALSE. * @return void */ public function postComplete( $data, $processed = TRUE ) { $data = json_decode( $data['data'], TRUE ); # Once the task is complete update the member status to READY $member = Member::load( $data['member_id'] ); $member->custom_flag_field = Suggestion::STATUS_READY; $member->save(); } The code above works just fine as long as there is any data to process for the member. However, when the member has nothing to parse, and preQueueData() returns NULL, the postComplete() function doesn't have any data on which member to reset the flag for. The Task::queue() function should be updated to at least still pass the original $data variable values instead of NULL (or an empty array in v5). This is the current code: if ( method_exists( $extensions[ $key ], 'preQueueData' ) ) { $class = new $extensions[ $key ]; try { $data = $class->preQueueData( $data ); } catch( \OutOfRangeException $e ) { $data = NULL; } if ( $data === NULL ) { if ( method_exists( $class, 'postComplete' ) ) { $class->postComplete( $data, FALSE ); } return; } } Here's my suggested change: if ( method_exists( $extensions[ $key ], 'preQueueData' ) ) { $class = new $extensions[ $key ]; $oldData = $data; try { $data = $class->preQueueData( $oldData ); } catch( \OutOfRangeException $e ) { $data = NULL; } if ( $data === NULL ) { if ( method_exists( $class, 'postComplete' ) ) { $class->postComplete( $oldData, FALSE ); } return; } }I store the original values in $oldData and pass that variable to both preQueueData() and postComplete(). If $data ends up being NULL, it properly passes the original values at least, if $data is a proper array instead, the code keeps processing everything else as usual. === The code is slightly different in v5, where an empty array is passed instead of NULL, but the change is also still relevant for it.
-
New URL - where does this legacy info come from
I believe you're on the IPS Cloud? If so, guest cache takes ~15 minutes to update.
-
New URL - where does this legacy info come from
That's the page. Click on the URL rows in your screenshot to expand the custom values and see what's actually inside. As for the announcement, you can edit it in Moderator CP > Tools > Announcements.
-
New URL - where does this legacy info come from
Did you setup custom meta tags at some point? Loading your homepage, I see this in the HTML source: <meta property="og:url" content="https://www.consumeractiongroup.co.uk"> <meta property="og:site_name" content="Consumer Action Group"> The Latest activity link in the top announcement is also hardcoded to the old URL.
-
change default icon
You can change the icon in the Customization TAB when editing a forum: Or would you like to change the default icon for all forums at once with a CSS rule?
-
Subscriptions Page spacing
That CSS rule will increase the size for every place using that class. Try making it a bit more restrictive. For example, the Subscriptions area/div should have a unique CSS class you can add to your rule to target only that page/box.
-
Custom CSS
.ipsPageHeader--forum-table { display: none; }
-
5.0.9 Released
@Matt The queries to create the 2 new tables and add 1 column were wrongly added to the queries.json file inside the upg_5000803 folder (5.0.8 Beta 2) instead of the new upg_5000900 one. 🙄
-
Default avatars
Unfortunately, it's not possible at the moment. IPS must add an extension to implement new avatar options in the framework before a 3rd party developer can do anything. 🤷♂️
-
Default avatars
@Cedric V I doubt IPS will implement Gravatar into IC5 in the future. It was actually available in the old 3.x version (or was it 2.x?), but it was removed at some point.
-
Control Which Usergroups can Approve Posts/Topics
If new members can post only in a specific forum, you can setup a new moderator member (or group) allowed to moderate/approve posts only in that forum. However, if new members can post in several forums, the approval queue will also show other unapproved posts. There is no way to specifically filter only posts made by members in a single group. 🤷♂️