How to Add Document Upload on Memberpress wordpress plugin Registration Form

Im trying to a allow user to upload a document, for verification, during registration based on this article https://docs.memberpress.com/article/323-how-to-allow-members-to-upload-files but the file upload field type is not available. How do navigate around this how do I turn it on.
Using Memberpress version 1.8.12

plugin development – I would like to show the short month instead of full month in wordpress?

I would like to show short name of month instead of full month. March>Mar Like this.

is there any way to do in WordPress? I am using Yoast plugin and Genesis Framework as theme.

Already changed the default format to custom “j M. Y” in WordPress setting>general.

PS: I am using Yoast premium version and support didn’t helped me in this.

WordPress plugin managment service? – WordPress Development Stack Exchange

I have prepared a plugin for my service, now I want to provide API keys to the user, so the owners of WordPress sites will have to use these keys to use the service, the same as most of the paid plugins in the market. The question is, is there any service that provides managing the API keys, APIs, and authentication out of the box for WordPress sites, without me needing to take a server and writing all the stuff?

Of course, I will have to run my own server to host my service, but for at least for the part of API keys, API and authentication.

magento2 – M2-2.3.1 – Is it possible to get the special price or final price value by loading the configurable product in a plugin?

I am trying to get the configurable product’s special price or final price inside a plugin class. I already tried the below methods but it will not fetch any special price or final price of the configurable product’s data. Also, I tried to view configurable product’s simple product data using its type instance used products but I couldn’t find any special or final price data in its simple products as well.

Tried methods:

1. Using MagentoCatalogModelProduct $product

$product = $this->product->load($item('product_id'));
$specialPrice = $product->getSpecialPrice();
$finalPrice = $product->getFinalPrice();

2. Using MagentoCatalogModelProductRepository $productRepository

$product = $this->product->getProductById($item('product_id'));
$specialPrice = $product->getSpecialPrice();
$finalPrice = $product->getFinalPrice();

FYI – Also, I checked in $product->getData() as well but only available the price value which doesn’t have the special price or final price

Expected result: Get the special or final price value and passed it to an email template content variables inside the plugin class function. This special price value correctly showing on the configurable product details page.

Actual result: null or 0 shows as the get data

Could you please let me know your thoughts? Is there any other way to get the special or final price of the configurable product inside a plugin class?

Thanks!

magento2 – Override a helper using Plugin

I have been trying to use plugin to override MagentoSalesHelperReorder.php but I am not sure how and have been stuck with this problem. Basically I am trying to override the function in this helper file. I have added a comment inside the code what I would like to change.

/**
     * Check is it possible to reorder
     *
     * @param int $orderId
     * @return bool
     */
    public function canReorder($orderId)
    {
        $order = $this->orderRepository->get($orderId);
        if (!$this->isAllowed($order->getStore())) {
            return false;
        }

        $currentOrder = $this->registry->registry('current_order');
        if ($this->customerSession->isLoggedIn() || isset($currentOrder)) {
            \WHAT I AM TRYING TO DO - canReorder() change to canReorderIgnoreSalable()
            return $order->canReorderIgnoreSalable();
        } else {
            return false;
        }
    }

How can I do this through plugin?

Nessus Plugin “HTTP Smuggling Detection” failing due to support for http/1.1 – how to overcome?

A new Nessus plugin (140735 – HTTP Smuggling Detection) was very recently incorporated into Tenable’s PCI template and is now beeing flagged as a “medium” vulnerability and causing scans to fail.

The only info in the scan report is:

A web server was discovered on port 80/443
The below information could make the Web server a potential candidate for HTTP Smuggling

I’m hoping this isn’t saying that mere support for HTTP/1.1 is grounds for a failing scan, but having trouble determining what else is triggering it.

We provide software to public schools and their constituents, and still have a high % of traffic from older browsers like IE 11 and Android 4.4.4’s Chromium-30 based web view, so disabling HTTP/1.1 isn’t an option (nor do I see that as a configuration option offered by our web server (UWSGI) or cloud hosting provider). I’ve also scanned a standard CloudFront endpoint for a static site and the scan fails for this as well.

If anyone is familiar with this plugin and/or can assist with how to overcome this vulnerability (as flagged by this plugin) w/o disabling HTTP/1.1 (which really isn’t an option at this time) would be very much appreciated as we are stuck, and imminently facing missing our quarterly ASV. I’ve read the article attached to the plugin’s landing page but the scan seems overbroad vs. the actual vulnerability described in the article.

office 365 – Web form on WordPress (CF7 plugin) to Microsoft List (O365 / sharepoint)

General how-to question I haven’t been able to find an example of – please let me know if this is the right forum for this.

I have a WordPress website with plugin Contact Form 7 for users to submit questions. Natively, the contact form 7 only emails submissions, but there is an additional plug-in I can use to record those submissions to a table in the MySQL database used by WordPress.

What I’d like to do is record a new item in O365 / Microsoft List when someone submits a form. I kind of assume this will involve using Flow / PowerAutomate to pick up the form submission and create a list item out of it, but I’m not sure how I can trigger the flow, or retrieve the submitted data.

One option that crossed my mind was to just use an email trigger, so that when an email arrives, the contents of the email are used, but the additional step of sending email, then parsing email contents seemed like would be unnecessary complication, and more opportunity for failure. Is there a way to trigger flow and retrieve data directly from the WordPress database table?

I’m open to other Form options, but would prefer to use the one I’m already using, as there are other factors to form selection, as well as the fact that I have many websites to do this on, and would need to make a lot of changes if I switch away from CF7.

Thanks for any ideas and input.

plugin development – Change cannonical URL after changing url with add_rewrite_rule()

So, I’m making a plugin for some niche application for my customer which involves a table with data, and I created a page within the plugin to show more in-depth information about the table row.

This is how I’m making the rewrite:

function mytableplugin_page_rewrite(){
 $page_slug = 'mytablepluginpage';

 // urls will be in the form
 // /your-page/42/

 add_rewrite_rule(
     'mytableplugin/((0-9a-zA-Z_-)+)/?$',
     'index.php?pagename=' . $page_slug . '&tid=$matches(1)',
     'top'
 );
}

But the redirect doesn’t affect the canonical url, so every “mytableplugin” page has the same “mytablepluginpage” canonical URL

I’m not using Yoast SEO plugin, and I don’t want my plugin to depend on it, so, how can I change the canonical link of the page? I want the custom name (mytableplugin != mytablepluginpage) to be kept and the argument to keep on the canonical URL

It’s being a problem because the TranslatePress plugin is using the wrong URL when switching languages, it’s throwing me back into the “mytablepluginpage” page that has no content without the queries.

Thanks in advance!

plugin – Criar plug-in WordPress

Preciso criar um plugin para WordPress, site de noticias onde esse plugin vai exibir um carrossel com a imagem do Autor, Nome e último post do mesmo autor.

Igual imagem abaixo
inserir a descrição da imagem aqui

Sei que para criar o plugin precisa de Hooks Actions mas não encontrei nada que faça esse mesmo efeito na documentação do WordPress.