Suggestion – Look at your ACP’s Spam Section and get this locked down | Forum Promotion

I’ve been here for years, I’ve NEVER seen a PM spam. Holy shit. A woman asking like… “what’s yer a/s/l?” Like, she desperate. Lol. Let me get the screencap here in a sec. I reported it though, but shits funny…

[Nevermind the PM image, seems like @Ozzy47 cleaned it up.]

Anyway, @Cam! get into your ACP and start putting API’s to stop this spam.. AT THE DOOR. This spam is getting through because there is no spam mitigation enabled.

I’ll tag @Malcolm here too.

reporting – Google Analytics 4 – Explore section reports share with edit access

I am using GA4 property to track my website data.
I have created a couple of reports from “Explore” option on the left side. (Funnel/ free form/ bar/ donut).

I want to share this report to other users – who are having the following access – Edit, Collaborate, Read and Analyze.

But when they view report shared by me – they are not able to edit any report property – for example not able to change the date on the top left, not able to change the metric value/ not able to change the dimension value.

How to share editable exploration report in GA4 ? Is there an option of this? Should I change the access of the users?

number theory – A question in calculating a constant in section square free values of quadratic polynomials

I am studying square free values of quadratic polynomials from class notes and I am struct on a deduction.

Consider this conjecture, I have no problem in understanding it:

enter image description here

Consider this theorem, I have no problem in understanding it.
enter image description here

But I have problem in calculating $c_f$

enter image description here

I don’t understand , how author wrote $rho(p^2) = 1+ (-1/p) $.

Kindly consider giving any hints.

magento2 – How do I add a new JS function via mixin to the Magento checkout payment page’s shipping information section?

I am trying to add a mixin in Magento 2 for the checkout/payment page shipping info section.

There is an existing section in vendor/magento/module-checkout/view/frontend/web/template/shipping-information/address-renderer/default.html as follows:

<each args="data: address().customAttributes, as: 'element'">
   <text args="$parent.getCustomAttributeLabel(element)"/>
   <br/>
</each>

I want to create a myNewFunction() and call it from here. So, I have temporarily added if="$parent.myNewFunction(element)" to it, like this:

<each args="data: address().customAttributes, as: 'element'">
   <text if="$parent.myNewFunction(element)" args="$parent.getCustomAttributeLabel(element)"/>
   <br/>
</each>

That pre-existing function getCustomAttributeLabel is defined in vendor/magento/module-checkout/view/frontend/web/js/view/shipping-information/address-renderer/default.js.

This is where I need to add my myNewFunction() at. I don’t want to override that entire file and duplicate it into my theme, so I am trying to add the function to it via mixin.

To do this, I have stubbed out a module: app/code/MyCompany.

In this module, I have created:

app/code/MyCompany/Checkout/view/frontend/requirejs-config.js

with this code:

var config = {
    config: {
        mixins: {
            'Magento_Checkout/js/view/shipping-information/address-renderer/default': {
                'MyCompany_Checkout/js/view/shipping-information/address-renderer/default-mixin': true
            }
        }
    }
};

Then I created the mixin itself in:

app/code/MyCompany/Checkout/view/frontend/web/js/view/shipping-information/address-renderer/default-mixin.js

with this code:

define((
    'uiComponent',
    'underscore',
    'Magento_Customer/js/customer-data'
), function (Component, _, customerData) {
    'use strict';

    return function (target) {
        return target.extend({
            myNewFunction: function (element) {
                console.log(element);
                return false;
            }
        });
    }
});

I currently have deploy mode set to “development” in Magento. Nonetheless, I have tried removing all the var/* files, generating static content again, and clearing the cache, for good measure.

No matter what, upon loading the checkout/payment page, I keep getting this JS error in the console:

$parent.myNewFunction is not a function

What am I doing wrong here?

I suspected the module needs to have a register.php? Or the module is not loading? Yet, I have seen plenty of other examples such as this guide, this Magento mixin stackoverflow question, and this example on how to add shipping.js functionality via mixin, none of which mention doing anything more with the module other than declaring the requirejs-config.js and the mixin JS file itself.

magento2 – Magento 2 – Add custom attribute to custom section admin

I installed my “customsection_adminbackend” module which adds a new menu item in the Magento 2 backend.
For now in this new section there is only a text “Hello world”, but I would like to insert / install some custom attributes in this section of the backend.

What I would like to do is more or less this:

$myCustomSection->addAttribute(
         MagentoCustomSectionAdminBackend::ENTITY, 'descCate1', (
            'type' => 'text',
            'label' => 'Descrizione categoria 1',
            'input' => 'textarea',
            'required' => false,
            'wysiwyg_enabled' => true,
            'sort_order' => 150,
            'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
            'group' => 'General Information',
            'is_used_in_grid' => false,
            'is_visible_in_grid' => false,
            'is_filterable_in_grid' => false,
         )
         ); 

Finally I would like to be able to add the shop filter to my custom section of the backend.
I found this code but I don’t know where to put it:

<filters name="listing_filters">
        <filterSelect name="store_id" provider="${ $.parentName }">
            <settings>
                <options class="MagentoStoreUiComponentListingColumnStoreOptions"/>
                <caption translate="true">All Store Views</caption>
                <label translate="true">Store View</label>
                <dataScope>store_id</dataScope>
            </settings>
        </filterSelect>
    </filters>

The final result I would like to see in my backend custom section is this:
enter image description here

How can I go about installing the two attributes and filter for store view in my custom module?

html – Como deixar o botão embaixo do h1 em uma section dentro de uma header?

Olá.

Estou criando um projeto de um restaurante e no header tem uma h1 e um botão, queria saber como faço para colocar o botão embaixo do h1, por favor.

inserir a descrição da imagem aqui

Este é o código que estou fazendo

header {
    display: flex;
    background-image: url(foto-body5.jpg);
    background-repeat: no-repeat;
    height: 100vh;


.h2-header {
  display: inline-block;
  margin: auto;
}

 .btn {
   display: inline-block;
   margin: auto;
   width: 400px;
   height: 80px;
   border: 0px;
   opacity: 0.6;
   font-size: 2rem;
   font-weight: 100;
   background-color: #f2f2f2;
   color: #000;
   transition: 1s ease-in;

 }

 .btn:hover {
   opacity: 1;
   transition: 1s ease-out;
 }

google sheets – Separating multiple section inputs into multiple lines of data (I can’t get it to work even with the other threat help that is there already)

Hello Google Masterminds,

I come to you since I have followed almost every single youtube video and every single thread here and I been working with this freaking form for the past 3 weeks and have had 0 progress.

Everytime when I use all the formulas as create by you smart people I get errors and yes I adjusted them to my set data.

Row A & B are the header information
Row C-H 1st kid
Row I-N 2nd Kid
Row O-T 3rd kid
Row U-Z 4th kid
Row AA-AF 5th Kid
Row AG-AL 6th kid
Childern info has to go to Deelnemers Lijst Tab

Row AM-AQ 1st Volunteer (vrijwilliger in Dutch for volunteer)
Row AR-AV 2nd Volunteer
Row AW-BB 3rd Volunteer
Row BC-BF 4th Volunteer
Row BG-BK 5th Volunteer
Row BL-BP 6th Volunteer

Volunteers info has to go to Vrijwilligers Lijst Tab

Kids 1 to 4 are mandatory 5 and 6 are optional and sometimes not filled in.
Volunteer 1 is mandatory and 2 till 6 are optional.

I have no what has been going wrong and I kind of gave up but I am in really dire need this needs to get digital cause doing it all by hand it taking way to much time we could use else where as an non profit organisation. We do this to let the kids have some fun in their last week of Summer Holiday. Can someone please help me out here, I am just stuck and non of the video’s nor formula’s seem to work. For some reason the moment I put a , as shown in the other formulas my entire formula stops working.

Shuffling questions in only one section of a Google Form

I am creating this Google Form with two sections. One takes the student information; Reg. No., Name, Class etc., and the other section contains the subject-related questions which I need to have shuffled every time a student login. How can I accomplish this task? I.e., have the first set of student information not shuffled while the questions get shuffled. Any help is much appreciated.

germany – Schengen Deduction during Fiktionbescheinigung Section 81 (3)

I am a US citizen and student doing a guest study semester in Germany in a program taught in English. I entered Germany as a tourist with Schengen visa-free entry.

I applied for a student residence permit so that I could stay until the end of the semester (a total of 6 months). They told me that they would issue me a “temporary residence permit” (in English, as I don’t speak much German). I received a Fiktionbescheinigung 81 abs 3 satz 1 AufenthG until the end of the semester. However, I need to go back to the US and then go to Switzerland for a few weeks. Will my time in Germany under the Fiktionbescheinigung count toward my 90/180 Schengen time as a US citizen? Will I have issues entering and exiting Switzerland?