• Resolved Ahsanul Kabir

    (@kabirweb)


    Hi, In the recent time my developed plugins are suspended for using iframe in plugins settings page. I apologize for not learn all regulations before upload plugins, already fix them and the WordPress moderators make my plugins unsuspected.

    Now my question is, can I use an iframe, which will open an url of the same site. Here is the code bellow –

    <iframe src="<?php echo network_admin_url(); ?>/plugin-install.php?tab=plugin-information&plugin=my-another-plugin&TB_iframe=true"></iframe>

    The intention is promote my other plugins.

    Thanks in advance for your suggestions and comments.

    Regards
    Ahsanul Kabir

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Why would you do that in an iframe? That doesn’t make a whole lot of sense.

    If you want to promote your other plugins, then just make a div there mentioning them. Making an iframe and a separate call to the page slows down everything.

    Thread Starter Ahsanul Kabir

    (@kabirweb)

    @otto42

    If I apply your mentioned way, then –
    1. Click on link
    2. Open a new window (plugins page)
    3. Read plugins details
    4. Download (if needed)
    5. Upload yo site
    6. Activate

    On the other hand, on my planed way –
    1. Click on link
    2. Read plugins details (load via jquery / without loading page)
    3. Install (if needed)
    4. Activate

    I think this make sense. This 4 steps will faster & easier for users.
    This is not my own invented way, this method use by WordPress. Please check the screenshot – https://www.dropbox.com/s/zpy87np833cpkye/Screenshot_1.png?dl=0. In this way users could check all info about the plugins without leaving his admin panel as well.

    Now come to my point. I am not asking for, what is better? I only need to know, is it permitted or prohibited? I am not host any files on my server (3rd party) neither open my own URL inside the iframe.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    I don’t see how it would be prohibited, as long as it didn’t install the plugins without asking or something like that.

    I don’t think it’s the best approach though. Having a popup to install plugins when you’re not on the plugins screen isn’t a good experience.

    Thread Starter Ahsanul Kabir

    (@kabirweb)

    @otto42

    Thanks for your reply. Surely I am not planing to install any plugins without user’s permission. To clarify more I provide a video url, how the process works.

    https://www.dropbox.com/s/d8igwj918n6ndv8/capture-100.avi?dl=0

    The iframe opens the same url which used by WordPress default plugins installation screen.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Just out of curiosity (and I’ve deleted the modlook tag too) why use an iframe or popup at all? I’ve looked at the video but I don’t think a small box is optimal for the user IMHO.

    Thread Starter Ahsanul Kabir

    (@kabirweb)

    @otto42 & @jdembowski

    Thanks for your co-operation and suggestions. I increase the iframe size, so that users could read plugins details clearly. Here is the modified look of the iframe – https://www.dropbox.com/s/mrtauhhl8vh72ru/Screenshot_101.png?dl=0.

    One more thing, I only promote free plugins (hosted on WordPress).

    Though it is not prohibited, so I am going to implement this on my plugins settings page.

    Thanks & Regards
    Ahsanul Kabir

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Please don’t sign your posts. We can see who you are looking to the left of your post ??

    Plugins are suspended for calling external iframes, or for having their admin panel be an entire iframe. It doesn’t matter if they’re promoting free wporg plugins OR paid ones. It matters that they’re calling their own server and that’s not okay.

    CAN you use an iframe to pull a file included in your plugin? Yes.

    SHOULD you? No. It’s silly when you can use require or include via PHP and pull it in, and use divs to style.

    Also remember we ask you use NON OBTRUSIVE ads. That means don’t take over the page, don’t make it impossible to get to the settings… basically don’t do what Wikipedia is doing right now ??

    Thread Starter Ahsanul Kabir

    (@kabirweb)

    @epstein, thanks for your suggestion. I am trying to clarify this issue, because I do not want to make my plugins suspend again. Please let me clarify, what I am doing –
    1. I am not host any file in my or any 3rd party server.
    2. Not opening any external URL in iframe.
    3. Not force the user to install or not even check my plugins. If they want to check my recommended plugins, then open https://LOCALHOST/wp-admin/plugin-install.php in iframe by clicking on right side panel.

    Please check this video – https://www.dropbox.com/s/d8igwj918n6ndv8/capture-100.avi?dl=0

    I hope this video will clarify what I am trying to do. Mr. Samuel Wood mentioned this is not prohibited.

    Please check again and if not prohibited, then please allow to use this.

    Thread Starter Ahsanul Kabir

    (@kabirweb)

    @epstein, sorry that was old video please check this new video – https://www.dropbox.com/s/cx63ww4lxfwsr4w/capture-102.avi?dl=0

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Plugins Development – Suggestion needed form plugins Moderators’ is closed to new replies.