Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'unrestricted html'

Viewing 25 results - 1 through 25 (of 59 total)
  • Author
    Search Results
  • meetarnav
    Participant

    Is there a way (with or without a plugin) that I can enable “Participant” role to paste iframes? It is quite critical for the kind of application I am looking into. Thank you.

    #226184

    In reply to: BBp style pack

    fearless359
    Participant

    The toolbar for the post entry/editor is no longer showing. The option to “Add toolbar & buttons to textareas …” is checked. It used to show but currently doesn’t. Site is simepleinvoices.group. bbPress plugin version 2.6.9. It is showing a line, “You account has the ability to post unrestricted HTML content,” does show but no buttons to help with the formatting.

    #223699

    In reply to: Forum Display

    cryptobeya
    Participant

    Thank you. I tried that, however it displays the “create new topic” form and not the forum list. Is that shortcode correct?

    Coin Forums
    Create New Topic in “Coin Forum”
    Your account has the ability to post unrestricted HTML content.
    Topic Title (Maximum Length: 80):

    Topic Tags:

    Topic Type:

    #223632

    In reply to: Forum Topics

    fenna4498
    Participant

    Hi Robin,

    Really appreciate your help!
    Can you maybe help with another small problem?

    We activated number 12 of subject/reply form, but the sentence is still showing up on the forum. “Your account has the ability to post unrestricted HTML content.”

    #223182
    cosmiclove1978
    Participant

    Hi Robin,

    Yes, I can see form-topic.php in the parent theme.

    <?php
    
    /**
     * New/Edit Topic
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <?php if ( !bbp_is_single_forum() ) : ?>
    
    <div id="bbpress-forums">
    
    	<?php bbp_breadcrumb(); ?>
    
    <?php endif; ?>
    
    <?php if ( bbp_is_topic_edit() ) : ?>
    
    	<?php bbp_topic_tag_list( bbp_get_topic_id() ); ?>
    
    	<?php bbp_single_topic_description( array( 'topic_id' => bbp_get_topic_id() ) ); ?>
    
    <?php endif; ?>
    
    <?php if ( bbp_current_user_can_access_create_topic_form() ) : ?>
    
    	<div id="new-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-form">
    
    		<form id="new-post" name="new-post" method="post" action="<?php the_permalink(); ?>">
    
    			<?php do_action( 'bbp_theme_before_topic_form' ); ?>
    
    			<fieldset class="bbp-form">
    				<legend>
    
    					<?php
    						if ( bbp_is_topic_edit() )
    							printf( __( 'Now Editing &ldquo;%s&rdquo;', 'bbpress' ), bbp_get_topic_title() );
    						else
    							bbp_is_single_forum() ? printf( __( 'Create New Topic in &ldquo;%s&rdquo;', 'bbpress' ), bbp_get_forum_title() ) : _e( 'Create New Topic', 'bbpress' );
    					?>
    
    				</legend>
    
    				<?php do_action( 'bbp_theme_before_topic_form_notices' ); ?>
    
    				<?php if ( !bbp_is_topic_edit() && bbp_is_forum_closed() ) : ?>
    
    					<div class="bbp-template-notice">
    						<p><?php _e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></p>
    					</div>
    
    				<?php endif; ?>
    
    				<?php if ( current_user_can( 'unfiltered_html' ) ) : ?>
    
    					<div class="bbp-template-notice">
    						<p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p>
    					</div>
    
    				<?php endif; ?>
    
    				<?php do_action( 'bbp_template_notices' ); ?>
    
    				<div>
    
    					<?php bbp_get_template_part( 'form', 'anonymous' ); ?>
    
    					<?php do_action( 'bbp_theme_before_topic_form_title' ); ?>
    
    					<p>
    						<label for="bbp_topic_title"><?php printf( __( 'Topic Title (Maximum Length: %d):', 'bbpress' ), bbp_get_title_max_length() ); ?></label><br />
    						<input type="text" id="bbp_topic_title" value="<?php bbp_form_topic_title(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_title" maxlength="<?php bbp_title_max_length(); ?>" />
    					</p>
    
    					<?php do_action( 'bbp_theme_after_topic_form_title' ); ?>
    
    					<?php do_action( 'bbp_theme_before_topic_form_content' ); ?>
    
    					<?php bbp_the_content( array( 'context' => 'topic' ) ); ?>
    
    					<?php do_action( 'bbp_theme_after_topic_form_content' ); ?>
    
    					<?php if ( ! ( bbp_use_wp_editor() || current_user_can( 'unfiltered_html' ) ) ) : ?>
    
    						<p class="form-allowed-tags">
    							<label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress' ); ?></label><br />
    							<code><?php bbp_allowed_tags(); ?></code>
    						</p>
    
    					<?php endif; ?>
    
    					<?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?>
    
    						<?php do_action( 'bbp_theme_before_topic_form_tags' ); ?>
    
    						<p>
    							<label for="bbp_topic_tags"><?php _e( 'Topic Tags:', 'bbpress' ); ?></label><br />
    							<input type="text" value="<?php bbp_form_topic_tags(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> />
    						</p>
    
    						<?php do_action( 'bbp_theme_after_topic_form_tags' ); ?>
    
    					<?php endif; ?>
    
    					<?php if ( !bbp_is_single_forum() ) : ?>
    
    						<?php do_action( 'bbp_theme_before_topic_form_forum' ); ?>
    
    						<p>
    							<label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br />
    							<?php
    								bbp_dropdown( array(
    									'show_none' => __( '(No Forum)', 'bbpress' ),
    									'selected'  => bbp_get_form_topic_forum()
    								) );
    							?>
    						</p>
    
    						<?php do_action( 'bbp_theme_after_topic_form_forum' ); ?>
    
    					<?php endif; ?>
    
    					<?php if ( current_user_can( 'moderate' ) ) : ?>
    
    						<?php do_action( 'bbp_theme_before_topic_form_type' ); ?>
    
    						<p>
    
    							<label for="bbp_stick_topic"><?php _e( 'Topic Type:', 'bbpress' ); ?></label><br />
    
    							<?php bbp_form_topic_type_dropdown(); ?>
    
    						</p>
    
    						<?php do_action( 'bbp_theme_after_topic_form_type' ); ?>
    
    						<?php do_action( 'bbp_theme_before_topic_form_status' ); ?>
    
    						<p>
    
    							<label for="bbp_topic_status"><?php _e( 'Topic Status:', 'bbpress' ); ?></label><br />
    
    							<?php bbp_form_topic_status_dropdown(); ?>
    
    						</p>
    
    						<?php do_action( 'bbp_theme_after_topic_form_status' ); ?>
    
    					<?php endif; ?>
    
    					<?php if ( bbp_is_subscriptions_active() && !bbp_is_anonymous() && ( !bbp_is_topic_edit() || ( bbp_is_topic_edit() && !bbp_is_topic_anonymous() ) ) ) : ?>
    
    						<?php do_action( 'bbp_theme_before_topic_form_subscriptions' ); ?>
    
    						<p>
    							<input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe" <?php bbp_form_topic_subscribed(); ?> tabindex="<?php bbp_tab_index(); ?>" />
    
    							<?php if ( bbp_is_topic_edit() && ( bbp_get_topic_author_id() !== bbp_get_current_user_id() ) ) : ?>
    
    								<label for="bbp_topic_subscription"><?php _e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label>
    
    							<?php else : ?>
    
    								<label for="bbp_topic_subscription"><?php _e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label>
    
    							<?php endif; ?>
    						</p>
    
    						<?php do_action( 'bbp_theme_after_topic_form_subscriptions' ); ?>
    
    					<?php endif; ?>
    
    					<?php if ( bbp_allow_revisions() && bbp_is_topic_edit() ) : ?>
    
    						<?php do_action( 'bbp_theme_before_topic_form_revisions' ); ?>
    
    						<fieldset class="bbp-form">
    							<legend>
    								<input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?>" />
    								<label for="bbp_log_topic_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br />
    							</legend>
    
    							<div>
    								<label for="bbp_topic_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br />
    								<input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" />
    							</div>
    						</fieldset>
    
    						<?php do_action( 'bbp_theme_after_topic_form_revisions' ); ?>
    
    					<?php endif; ?>
    
    					<?php do_action( 'bbp_theme_before_topic_form_submit_wrapper' ); ?>
    
    					<div class="bbp-submit-wrapper">
    
    						<?php do_action( 'bbp_theme_before_topic_form_submit_button' ); ?>
    
    						<button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>
    
    						<?php do_action( 'bbp_theme_after_topic_form_submit_button' ); ?>
    
    					</div>
    
    					<?php do_action( 'bbp_theme_after_topic_form_submit_wrapper' ); ?>
    
    				</div>
    
    				<?php bbp_topic_form_fields(); ?>
    
    			</fieldset>
    
    			<?php do_action( 'bbp_theme_after_topic_form' ); ?>
    
    		</form>
    	</div>
    
    <?php elseif ( bbp_is_forum_closed() ) : ?>
    
    	<div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic">
    		<div class="bbp-template-notice">
    			<p><?php printf( __( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title() ); ?></p>
    		</div>
    	</div>
    
    <?php else : ?>
    
    	<div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic">
    		<div class="bbp-template-notice">
    			<p>
    				<?php
    				if(is_user_logged_in()) {
    					_e( 'You cannot create new topics.', 'bbpress' );
    				} else {
    					echo esc_html__( 'You must be logged in to create new topics.', 'bbpress' ) . ' <a href="' . esc_url( thim_get_login_page_url() ) . '">' . esc_html__( 'Login here', 'bbpress' ) . '</a>';
    				}
    				?>
    			</p>
    		</div>
    	</div>
    
    <?php endif; ?>
    
    <?php if ( !bbp_is_single_forum() ) : ?>
    
    </div>
    
    <?php endif; ?>
    
    TheBeliever
    Participant

    Hello,

    1. I went to forum settings and the toolbar was already enabled. But I don’t see it anywhere. I see the “Your account has the ability to post unrestricted HTML content.” notice above the text box but I can’t find HTML formatting tool bar.

    2. Do you guys use buddypress plugin to make the bbpress forum more attractive?

    #193219
    Tradewind25
    Participant

    I have just installed bbPress on a development instance for testing purposes.
    I note that I am only presented with the straight Text editor (and the message “Your account has the ability to post unrestricted HTML content”). For most of my users (and probably myself!) the Visual editor (as per WordPress itself) would be most preferable.

    Q: How do I configure bbPress to present a tab for the Visual editor?

    Cheers,
    Geoff

    #192860
    savvyesposito
    Participant

    So I installed bbpress and have memberpress.

    I set up the forum with a test forum.

    I went to my website, saw the forum, with the Test forum. All looked well. I click on the Test Forum and then the formatting fell apart. It was as if it was a post.

    “Home › Forums › Test Subscribe This forum is empty. Oh bother! No topics were found here! Create New Topic in “Test” Your account has the ability to post unrestricted HTML content. Topic Title (Maximum Length: 80): Topic Tags: Topic Type: Normal Sticky Super Sticky Topic Status: Open Closed Spam Trash Pending Notify me of …” That is what it looked like… so.. not sure how to fix that or what to do.

    #184901

    Topic: Template notice text

    in forum Plugins
    kariellen35
    Participant

    Does anyone know how I can modify the template notice text?

    Here’s the code for it:

    <div class=”bbp-template-notice”>
    <p>Your account has the ability to post unrestricted HTML content.</p>
    </div>

    I would like to change what it says to “Please don’t post anything inappropriate! Our supervisors are invited to this forum.”

    Or I’d like to just delete it altogether then have this sentence be a general forum notice. I’ve started looking through the php files with no luck so far… I wish they’d make it easier to change things like this in the front end of this plugin. My users don’t need to see this and half of them won’t know what it means. I’ve just changed the text and outline to white for now to hide it but it leaves a big empty space.

    I wish I was more familiar with writing code on my own so I can just add it to the front end customizer.

    Thanks so much for your time!!

    Take care,
    Kari

    #181015
    rnmartinez
    Participant

    I am running a site with WP 4.6.3 and bbpress, as well as TinyMCEadvanced.

    If I disabled tinyMCE advanced I can post with bold, italic etc.

    If I enable tinyMCE advanced, all I get is HTML code like:
    <span style=”color: #0000ff;”>Testing styling of forums posts.</span>

    If I login in as admin this does not happen, as there is a small box which says You have the ability to post unrestricted HTML content.

    How can I make it so that all users can use this? My main concern is adding different colour text.

    #178306
    Robkk
    Moderator

    For tags that are still there in already submitted posts, copy the text, then edit the post, paste over all of the text in html editor, then resubmit.

    If the post still shows tags, take a screenshot of the post so I can see what html tags are present. You would have to add more unrestricted html tags for users, which in itself might need a different trac ticket.

    #178283
    Jon Fergus
    Participant
    #178277
    Jon Fergus
    Participant

    replies with “unrestricted html” issue: top reply is from regular member, second reply is from admin, third reply is from regular member after adding https://gist.github.com/ntwb/7797990 to child theme’s functions.php.
    examples

    #178275
    Jon Fergus
    Participant

    Hi Robkk. I’m interested in allowing unrestricted html for certain known and approved members. I was able to use a User Role editor to allow specific users to post unrestricted html using the unfiltered_html capability, and when I log in with a test member (participant level), I can see the warning “Your account has the ability to post unrestricted HTML content” but when I make a reply with that member the reply doesn’t show up (after I click “submit” the page reloads but there’s no new reply). Seems like it’s being blocked from posting or something. Do you know what else I need to do in order to allow this member to reply with unrestricted html and have it actually work?

    p.s. I tried this https://gist.github.com/ntwb/7797990 but it didn’t solve the problem of regular members not being able to copy/paste from other programs (like Word) without the code showing up in the reply. See here: example of posting before and after adding code to functions.php to enable html formatting

    #177968
    Robkk
    Moderator

    This is a common issue while using bbPress and activating TInyMCE. Not all html tags and attributes are unrestricted for every participant.

    You can download this plugin and edit the function and add on to it what html tags you want to allow in your forums. There is an example for tables in the plugin, you will need span style.

    https://gist.github.com/ntwb/7797990

    #170377
    Pascal Casier
    Moderator

    Hi Jessicana,
    If you want to make it yourself very easy, install my ‘bbP Toolkit’ where you can just flag away these boxes.
    If you don’t want to install the plugin but want to play with CSS, then the below should hide the message, but not only that one as also these ones will be gone:
    – You must be logged in to create new topics
    – Your account has the ability to post unrestricted HTML content
    – Maximum file size allowed
    – …

    .bbp-template-notice {
    	display: none;
    }
    
    .bbp-template-notice.info,
    .bbp-template-notice.error,
    .bbp-template-notice.important,
    .bbp-template-notice.warning {
    	display: block;
    }

    EDIT: Moderators are asleep, ssssttt !

    Pascal.

    gheghici
    Participant

    I run a multisite and I’ve created a support forum. I want all the users to have access to post to this forum, so I’ve installed “Join My Multisite” plugin.
    With this plugin, now the users can log in and post into the forum. But I’ve noticed (on one of the test users) that they get this notification: “Your account has the ability to post unrestricted HTML content.”
    They are not admins of the forum, they only have Subscriber role, and no access to the dashboard. Still, they can post html

    Can anyone, please, help me. Thank you

    Best,
    Mario

    #169796
    convictedvapour
    Participant

    What I was mainly after was adding the little yellow text notice box that’s there on creating or replying topics. Like the one that states Your account has the ability to post unrestricted HTML content. within the yellow notice box.

    If you want the same you can add this is using my example above. Just replace Example text here. text with your own custom notice. Hope this helps someone out!

    <div class="bbp-template-notice">
    <p><?php _e( 'Example text here.', 'bbpress' ); ?></p>
    </div>

    Regards,

    Gareth

    #169728
    Pascal Casier
    Moderator

    Had a quick look and it’s using standard div naming, so I looked at how I did it in one of my plugins. The below css should hide the message, but not only that one as also these ones will be gone:
    – Oh bother! No topics were found here!
    – You must be logged in to create new topics
    – Your account has the ability to post unrestricted HTML content

    .bbp-template-notice {
    	display: none;
    }
    
    .bbp-template-notice.info,
    .bbp-template-notice.error,
    .bbp-template-notice.important,
    .bbp-template-notice.warning {
    	display: block;
    }

    Hope you can decide…
    Pascal.

    #168622
    o.m.j
    Participant

    I found this filter somewhere in the forums, but it still leaves the yellow box…just removes the text…

    function change_translate_text( $translated_text ) {
    	if ( $translated_text == 'Your account has the ability to post unrestricted HTML content.' ) {
    	$translated_text = '';
    	}
    	if ( $translated_text == 'Oh bother! No topics were found here!' ) {
    	$translated_text = '';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );

    using firebug, I found the code for the yellow box, then I added this code to my CSS, but will it cause other issues?

    thx

    .bbp-template-notice {
    	display: none;
    }
    #167794
    PittNZK
    Participant

    I’m currently developing an iOS app along with a WordPress site with the bbPress plugin.

    I would like to allow any user to easily post links with custom schemes in the forum like :

    myappname://badebidobudy/fdjlkqsfj

    I saw that in bbPress an admin can indeed post a link and its href is not interpreted so it remains :

    href=”myappname://badebidobudy/fdjlkqsfj”

    and bbPress tells me why :

    > Your account has the ability to post unrestricted HTML content.

    But when an anonymous user wants to do this, the custom scheme is removed and the resulting a tag href is :

    href=”//badebidobudy/fdjlkqsfj”

    So my question is : how can I configure (or tweak) WordPress or bbPress to at least accept my url scheme or even recognize a raw link with a custom scheme ?

    #167013
    Robkk
    Moderator

    The enable tinymce visual tab plugin just uses the exact same code in here.

    Enable Visual Editor

    I do not think cache could cause an issue like this.

    It is something that slipped my mind, but it is most likely that paragraph tags are considered restricted HTML for some reason.

    Use and edit this function in the plugin below to your liking.

    https://gist.github.com/ntwb/7797990

    You will most likely need to add this to make it work for participants.

    //paragraph
    'p'          => array(
    	'class'    => true,
    ),

    Admins/Keymasters can post unrestricted HTML because they have the capability to do so.

    #166960
    thunksalot
    Participant

    I have a private WordPress community in which I am not concerned about members posting malicious code. The site is a dues-paying professional networking site and the profession is non-techie, so it would be really odd for someone to get malicious on it, and I have back-ups I can restore with were that to happen. That said, I don’t want to make everyone an Administrator because that gives users control over other people’s content, which I don’t want to give them. I just want to give all Participants the ability to paste unrestricted HTML content so that they can copy and paste from Word or a website and have it come through looking just fine, the way I can as an Admin with the “unrestricted HTML” permission. How can I achieve this?

    #166355

    In reply to: Remove alert info

    Robkk
    Moderator

    Since I don’t want you to remove all the notices with CSS that have the bbp-template-notice class. Copy the form-topic.php and form-reply.php templates into a folder called bbpress in your child theme and look for something like this code below, then remove it.

    <?php if ( current_user_can( 'unfiltered_html' ) ) : ?>
    
    	<div class="bbp-template-notice">
    		<p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p>
    	</div>
    
    <?php endif; ?>
    Robkk
    Moderator

    How do I eliminate:

    Notices from “This forum is empty.” and “Oh bother! No topics were found here!” That’s obvious when I open a new forum. I would post welcomes if that would solve the problem. But I have seen that this replaces the notices with even longer info that probably nobody wants to read.

    You can create a topic. A super sticky topic should show above all forums if you want to have a welcome topic or a general rules topic, if that is what you want. Creating a topic in a forum should remove that notice.

    What wouldn’t they want to read? Please explain more on this. Is it the Topic/Forum descriptions??

    “Maximum Length: 80″ for the title – People will notice.

    Well yeah that is the point so that they know the max characters to use in a topic, you can remove it but it would require a template edit.

    Do you know how to use FTP , use a file editor like notpad++ , and possibly create a child theme?? I can what file to edit as long as you put the file in your child theme in a folder called bbpress.

    Further notices like “Your account has the ability to post unrestricted HTML content.” makes people probably think: When do I get to the posting form?

    Only Keymasters/Admins can see this notice. Regular participants cannot post unrestricted html content for security reasons. This is another notice that would require a template edit to remove the specific notice?? I can show you some CSS to remove all notices but you might find them handy. Do you want to remove all the notices?

    Topic status: … closed. In an open discussion, who decides when a topic is closed?

    Keymasters and Moderators should only close topics.

    Is there any plugin with which I can deactivate this?

    No.

    How can I block these pages from being publicly viewed? The forums and the participants profiles shall all be private.

    You can use this plugin , but it is best without BuddyPress.

    https://wordpress.org/plugins/bbpress-members-only/

Viewing 25 results - 1 through 25 (of 59 total)
Skip to toolbar