• Derek Melo

    (@derek-melo)


    Hello!

    I need this plugin to be the Help interface of my Multisite project.

    There´s some complex things to do on the sites the users can create in my multisite installation, so, I want to create the help topics in this plugin to be the help section of the user´s dashboard, so if the user has a doubt about doing something, the user can check the help documents to see how to do that.

    So just me “Super Admin” can manage, create, edit and delete topics and other things, the users who creates sites can just read the help documents I create, not edit it at all.

    Is there a way to do that?

    I mean, can I paste the manage_network capability in some place to make the wp-help edition available just to Super Admin? And obviously to admin just read?

    Thanks

    Derek

    http://wordpress.org/extend/plugins/wp-help/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Derek Melo

    (@derek-melo)

    I got it, I just changed the list-documents.php

    Lines changed:

    <div id="cws-wp-help-actions">
    	<?php if ( current_user_can( 'manage_network' ) ) : ?><a href="#"><?php _ex( 'Settings', 'Button with limited space', 'wp-help' ); ?></a><?php endif; ?>
    	<?php if ( current_user_can( 'manage_network' ) ) : ?><a>" id="cws-wp-help-add-new"><?php _ex( 'Add New', 'Button with limited space', 'wp-help' ); ?></a><a>" id="cws-wp-help-manage"><?php _ex( 'Manage', 'verb. Button with limited space', 'wp-help' ); ?></a><?php endif; ?>
    	<div class="clear"></div>

    and

    <?php if ( current_user_can( 'manage_network' ) ) : ?><h2><?php the_title(); ?><?php edit_post_link( __( 'edit', 'wp-help' ), ' <small>', '</small>' ); ?><?php $this->explain_slurp( $document_id ); ?></h2><?php endif; ?>

    [Please post code & markup between backticks or use the code button. Your posted code has now been permanently damaged by the forum’s parser.]

    Everything works just fine now!!!

    Where do you add the second code?

    <?php if ( current_user_can( 'manage_network' ) ) : ?><h2><?php the_title(); ?><?php edit_post_link( __( 'edit', 'wp-help' ), ' <small>', '</small>' ); ?><?php $this->explain_slurp( $document_id ); ?></h2><?php endif; ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-Help to help multisite users, not to let them edit wp-help’ is closed to new replies.