Forum Replies Created

Viewing 15 replies - 271 through 285 (of 300 total)
  • SooBahkDo

    (@soobahkdo)

    We have had quite a few broken images on broadcasted posts as well, but I have not yet researched the specific circumstances

    Thread Starter SooBahkDo

    (@soobahkdo)

    Update: I discovered that with our memory limit at 576M we can broadcast to 10 subsite without any error, but not 11.

    I have not tried changing the memory, but based on other posts increasing the memory may increase the number of subsites we can broadcast to without error.

    It would be nice if the plugin throttled itself via some means so that tinkering with memory was not required in order to prevent server crashing regardless of the qty of subsites being broadcast to. Understandably it would take longer to brodcast to say 100 sites using only 256M than if it was possible using 7000M, but the user friendliness of the plugin managing broadcasting within available memory limits seems preferable to generating server errors that users then spend time chasing.

    Or perhaps at minimum adding to the documentation some kind of blogs broadcasted per available memory ratio warning for users would help as well.

    Thread Starter SooBahkDo

    (@soobahkdo)

    Hello,

    I completely deleted the plugin and reinstalled it. I also upgraded to the newest release. I even reinstalled WordPress, but the log files continue to be flooded with errors but the line ref# has changed. Other suggestions?

    Thanks,
    Phil D

    [30-Oct-2012 20:30:24] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2501
    [30-Oct-2012 20:30:24] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2501
    [30-Oct-2012 20:30:24] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2501
    [30-Oct-2012 20:30:24] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2501
    [30-Oct-2012 20:30:24] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2501

    SooBahkDo

    (@soobahkdo)

    Looking for the same solution also for a non-profit.

    SooBahkDo

    (@soobahkdo)

    Hello,

    You seem to be encountering the same issue we are.

    The default WordPress stripping (from what I have read) that occurs on a Multisite Installation for all users EXCEPT the Network Super Admin is what we are seeking to modify for selected users. https://codex.www.ads-software.com/Roles_and_Capabilities
    https://www.ads-software.com/extend/plugins/filtered-html-for-editors/faq/

    I am seeking to give administrators and authors on each subsite the ability to embed iframes. Or I would create a special role with a role manger plugin and assign that role to all approved users but that seems a bit labor intensive.

    However, it does work to create a new role with the plugin Extended Super Admins By Curtiss Grymala and adding the unfiltered html privilege to that new role and then assigning it to the users who need iframe embed capabilities.

    On our installation, a user must FIRST be set as a SUPER ADMIN and THEN assigned the new role created in the Extended Super Admin plugin. The plugin only REMOVES Super Admin privileges from roles created. Failure to set a user as Super Admin FIRST can cause a server crash when directly selecting the new role for a user who is not set as a Super Admin.

    Other solutions suggested are the two year old plugin “Unfiltered MU” (which many report ceased working at 3.0), and an old unsupported WPMUDEV plugin called Additional Tags that let site owners define additional tags users could use in HTML markup. https://premium.wpmudev.org/forums/topic/additional-tags-plugin

    Also hacking the kses was suggested (but highly advised against) and then of course there are all the plugins that use oEmbed to insert videos from trusted sources, toolbar video and media embed buttons like those on Ultimate TinyMCE and adding additional trusted oEmbed sources to functions.php.

    Adding additional trusted sources could cover some instances but not all and the modified file would get overwritten with a WP upgrade, sooooooo
    https://codex.www.ads-software.com/Embeds

    Our WP Network is semi-private and users are verified, so I am interested in allowing users of a trusted role to embed unfiltered HTML (specifically iframe content) from whatever source they want.

    I grasp the security issues involved and I would think that a TinyMCE editor plugin or a dedicated special plugin would exist to manage this without requiring shortcode wrappers for iframes, but perhaps I am looking at this wrong and that is the best solution.

    The goal is simple, – on a WP Multisite installation with trusted users, grant selected user roles (primarily subsite admins) the ability in the editor to embed unfiltered HTML so that switching between visual and HTML in the editor does not strip out iframes, etc.

    Phil D

    SooBahkDo

    (@soobahkdo)

    I agree that a solution to this is needed.

    When I paste this into HTML

    <div>
    <p>Line One</p>
    <p>Line Two</p>
    </div>

    Then switch to visual and back I get:

    <div>

    Line One

    Line Two

    </div>

    Thanks to all chiming in to provide info.

    Thread Starter SooBahkDo

    (@soobahkdo)

    Hi Josh,

    I received the following input on the WPMUDEV forum:

    ****************
    Greetings Phil D,

    Thank you for the great additional input, it is very helpful and clarifying to include routes you have already considered.

    As we know by default WordPress editor does not allow html tags to include iframes which will be stripped out by the editor.

    The code below will force the editor to accept more tags. Just paste it into your theme functions.php file, save it, and you’re done.

    function fb_change_mce_options($initArray) {
    $ext = ‘pre[id|name|class|style],iframe[align|longdesc| name|width|height|frameborder|scrolling|marginheight| marginwidth|src]’;

    if ( isset( $initArray[‘extended_valid_elements’] ) ) {
    $initArray[‘extended_valid_elements’] .= ‘,’ . $ext;
    } else {
    $initArray[‘extended_valid_elements’] = $ext;
    }

    return $initArray;
    }
    add_filter(‘tiny_mce_before_init’, ‘fb_change_mce_options’);
    Or for even more advanced tag allowance:

    function fb_change_mce_options($initArray) {
    // Comma separated string od extendes tags
    // Command separated string of extended elements
    $ext = ‘pre[id|name|class|style],iframe[align|longdesc|name|width|height|frameborder|scrolling|marginheight|marginwidth|src]’;
    if ( isset( $initArray[‘extended_valid_elements’] ) ) {
    $initArray[‘extended_valid_elements’] .= ‘,’ . $ext;
    } else {
    $initArray[‘extended_valid_elements’] = $ext;
    }
    // maybe; set tiny paramter verify_html
    //$initArray[‘verify_html’] = false;
    return $initArray;
    }
    add_filter(‘tiny_mce_before_init’, ‘fb_change_mce_options’);

    Please advise if this indeed does the job for us.

    *************

    I replied as follows:

    Thanks very much for the reply.

    Is it possible to incorporate such code in a plugin.

    The problem with manual modifications to theme function files WP Multisite is we have over 300 themes and manual edits will get overwritten with updates.

    Can the functionality of the code you provided be incorporated in a plugin?

    Such a plugin might then be a premium feature on ProSites and/or activated site by site for only trusted users on a WP network.

    I though this functionality was what Additional Tags plugin provided and am not sure why it was abandoned. Perhaps someone could provide a copy of it unless it is known to be broken at WP3.4.2.

    ************

    So Josh, is this feasible from your perspective and/or as a possible feature related to Ultimate TinyMCE?

    Thanks,
    Phil D

    Thread Starter SooBahkDo

    (@soobahkdo)

    Hi Josh,

    Let me clarify that its the default WordPress stripping (from what I have read) that occurs on a Multisite Installation for all users but the Network Super Admin which I am seeking to modify. https://codex.www.ads-software.com/Roles_and_Capabilities
    https://www.ads-software.com/extend/plugins/filtered-html-for-editors/faq/

    I am seeking to give administrators and authors on each subsite the ability to embed iframes. Or I would create a special role with a role manger plugin and assign that role to all approved users but that seems a bit labor intensive.

    Typical solutions suggested are the two year old plugin “Unfiltered MU” (which many report ceased working at 3.0), and an old unsupported WPMUDEV plugin called Additional Tags that let site owners define additional tags users could use in HTML markup. https://premium.wpmudev.org/forums/topic/additional-tags-plugin

    Also hacking the kses was suggested (but highly advised against) and then of course there are all the plugins that use oEmbed to insert videos from trusted sources, toolbar button like those on your plugin and adding additional trusted oEmbed sources to functions.php.

    Adding additional trusted sources could cover some instances but not all and the modified file would get overwritten with a WP upgrade, sooooooo
    https://codex.www.ads-software.com/Embeds

    Our WP Network is semi-private and users are verified, so I am interested in allowing users of a trusted role to embed unfiltered HTML (specifically iframe content) from whatever source they want.

    I grasp the security issues involved and I would think that a TinyMCE editor plugin or a dedicated special plugin would exist to manage this.

    The goal is simple, – on a WP Multisite installation with trusted users, grant selected user roles (primarily subsite admins) the ability in the editor to embed unfiltered HTML so that switching between visual and HTML in the editor does not strip out iframes, etc.

    Is this a pipe dream?

    Thanks!
    Phil D

    Thread Starter SooBahkDo

    (@soobahkdo)

    Hello,

    I was mistaken that the error resolved.

    Today’s error logs were flooded with the same and new errors.

    [19-Oct-2012 01:49:38] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2492
    [19-Oct-2012 01:49:38] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2492
    [19-Oct-2012 01:50:28] PHP Warning: require_once(theme/wppa-theme.php): failed to open stream: No such file or directory in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
    [19-Oct-2012 01:50:28] PHP Fatal error: require_once(): Failed opening required ‘theme/wppa-theme.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
    [19-Oct-2012 01:50:50] PHP Warning: require_once(theme/wppa-theme.php): failed to open stream: No such file or directory in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
    [19-Oct-2012 01:50:50] PHP Fatal error: require_once(): Failed opening required ‘theme/wppa-theme.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
    [19-Oct-2012 01:51:00] PHP Warning: require_once(theme/wppa-theme.php): failed to open stream: No such file or directory in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
    [19-Oct-2012 01:51:00] PHP Fatal error: require_once(): Failed opening required ‘theme/wppa-theme.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
    [19-Oct-2012 01:51:10] PHP Warning: require_once(theme/wppa-theme.php): failed to open stream: No such file or directory in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
    [19-Oct-2012 01:51:10] PHP Fatal error: require_once(): Failed opening required ‘theme/wppa-theme.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
    [19-Oct-2012 01:52:09] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2280
    [19-Oct-2012 01:52:09] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2280
    [19-Oct-2012 01:52:09] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2280

    Thread Starter SooBahkDo

    (@soobahkdo)

    Hello Michael,

    Sorry for the delayed response.

    Unfortunately this issue persists.

    When the plugin is network activated then newly created blogs generatre a flood or error log messages blogs until the settings area is visited and saved. Afterwards all works fine, but until then the error logs get flooded.

    Thanks,
    Phil D

    Thread Starter SooBahkDo

    (@soobahkdo)

    What I would like for the Domain Mapping system to accomplish is that each of the following domains could be mapped to different PAGES or POSTS on the same subsite rather than all of the domains being mapped to the same subsite as currently happens with Domain Mapping.

    The primary susbsite is:
    https://wmdk.soobahkdo.org

    Domains mapped to the subsite are:
    https://www.worldmoodukkwan.biz
    https://www.worldmoodukkwan.cc
    https://www.worldmoodukkwan.com
    https://www.worldmoodukkwan.info
    https://www.worldmoodukkwan.mobi
    https://www.worldmoodukkwan.name
    https://www.worldmoodukkwan.net
    https://www.worldmoodukkwan.org
    https://www.worldmoodukkwan.us
    https://www.worldmoodukkwan.ws

    I would prefer that the domain mapping system allow us to map each of these to different PAGES or POSTS on the same subsite.

    Right now on our multisite network, we could map each of these domains to individual subsites, but it is often overkill to configure an entire subsite per domain, when all we really need to appear at a domain is a single landing page or post.

    Thanks!

    Thread Starter SooBahkDo

    (@soobahkdo)

    Unrelated to this plugin compatibility thread, but the underlying issue may relate to development aspects, so I just want to inject it into awareness as this development collaboration proceeds.

    https://premium.wpmudev.org/forums/topic/domain-mapping-sort-order#post-276288

    Thread Starter SooBahkDo

    (@soobahkdo)

    Yipee!

    Thread Starter SooBahkDo

    (@soobahkdo)

    Got it!

    Thread Starter SooBahkDo

    (@soobahkdo)

    Hello Mitcho,

    Thanks for your prompt response.

    Glad to give it a test run, but I am encountering a file not found message trying to download the beta from the link above.

    Phil D

Viewing 15 replies - 271 through 285 (of 300 total)