Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'unrestricted html'

Viewing 25 results - 26 through 50 (of 59 total)
  • Author
    Search Results
  • nmschaller
    Participant

    Hello,

    I’d appreciate your help on this.

    I’d love to integrate forums into my wordpress site, but how do I get rid of all the clutter in bbpress?

    There is really cool community software out there like Flarum or the P2 theme that put the focus on the people discussing and on the topics, not on status infos.

    That makes me wonder: How do I get bbpress to be more like them while maintaining the basic functionality of the forum software and the look and feel of my theme?

    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.

    – 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?

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

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

    These are just some examples.

    I do not know how to edit functions.php. I have fields for Filters and Hooks in my theme options, but I would need clear instructions where to put what, or some CSS.

    Is there any plugin with which I can deactivate this?

    Thanks a lot for some hints.

    Nicole

    #159129
    Robkk
    Moderator

    the bbcodes notice i think you can turn that off in the plugin your using, i think its gd bbpress tools.

    you can remove the unrestricted html notice with some CSS if you want its only displayed to Admins/Keymasters only, so its not that big of a deal.

    you can use this PHP code to remove the notice above the topics/forums

    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    function ja_return_blank() {
        return '';
    }
    #159027
    Petejm2000
    Participant

    1. I am looking to create a forum and put it on a couple websites. Each website also needs a specific section/separate forum for that site as well as the one that is across a couple of websites. Is this possible with bbpress?

    2. I have this message at the bottom of my site “Your account has the ability to post unrestricted HTML content.” From what I understand this is bad how do I change it?

    3. How exactly does bbpress and buddypress work together and how do I integrate them?

    4. Is there a way to only let people create topics in category’s?

    Many thanks for you help.

    #156824
    Robkk
    Moderator

    the bbcodes one i think you can deactivate the message in gd bbpress tools settings.

    go to the bbcodes section find BBCodes New Topic/Reply Notice and deactivate that.

    the unrestricted HTML content message shows up for only keymasters so its not really worth messing with since you are the only one seeing it.

    #156814
    Nekurahn
    Participant

    These are two notices I get when I’m logged in and about to post on the forums.

    Is there any way to remove them?

    “You can use BBCodes to format your content.”

    “Your account has the ability to post unrestricted HTML content.”

    Thank you for your time!

    Robkk
    Moderator

    @robin-w

    idk what your talking about here when its all about a placeholder, that only a user can see if there logged in, you might be over-thinking it when you say this or you reply your information to the wrong topic that this user has.

    Maybe this??

    Customizing "Reply To Topic" Area


    @marximusmg

    i actually got a placeholder in my reply area , but you will lose the quick tag toolbar by doing it this way.

    in form-reply.php replace

    <?php do_action( 'bbp_theme_before_reply_form_content' ); ?>
    
    					<?php bbp_the_content( array( 'context' => 'reply' ) ); ?>
    
    					<?php do_action( 'bbp_theme_after_reply_form_content' ); ?>

    with this

    <?php do_action( 'bbp_theme_before_reply_form_content' ); ?>
    
    					<textarea placeholder="Reply..." id="bbp_reply_content" tabindex="104" name="bbp_reply_content"></textarea>
    
    					<?php do_action( 'bbp_theme_after_reply_form_content' ); ?>

    heres a snippet of form-reply.php with the code inserted

    <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_reply_form_content' ); ?>
    
    					<textarea placeholder="Reply..." id="bbp_reply_content" tabindex="104" name="bbp_reply_content"></textarea>
    
    					<?php do_action( 'bbp_theme_after_reply_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>
    #150706

    In reply to: Leave this views

    TheDarkboy
    Participant

    ok for first box im find this:

    //this function removes the “this topic contains…” and “this forum contains…” text
    function no_description ($retstr) {
    $retstr=”” ;
    return $retstr ;
    }

    add_filter (‘bbp_get_single_topic_description’, ‘no_description’ ) ;
    add_filter (‘bbp_get_single_forum_description’, ‘no_description’ ) ;

    //This function changes the text wherever it is quoted
    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 );

    im add in my theme – function and work…

    for 2 image? im want leave message for eac modify at post

    #150422

    In reply to: Text Color and Font

    Robkk
    Moderator

    @desiamerican26 your suppose to edit the function , add more html tags to make them unrestricted to users.

    it looks like just add the tag , and attributes that are allowed

    for example if i have this

    <a href="http://example.com" title="this is an example" target="_blank"></a>

    with these allowed attributes

    // Links
    ‘a’ => array(
    ‘class’ => true,
    ‘href’ => true,
    ‘title’ => true,
    ‘rel’ => true,
    ‘class’ => true,
    ‘target’ => true,
    ),

    everything would show up fine.

    but if i have <a href="http://example.com" title="this is an example2" target="_blank"></a>

    with these allowed attributes

    // Links
    ‘a’ => array(
    ‘class’ => true,
    ‘href’ => true,
    ),

    the link would not have a title , and not open in new window anymore to users

    #148745

    In reply to: Content Not Showing

    Michael Bryner
    Participant

    I know you’ve done themes already, but you need to test if it works on a default theme with just twentyfourteen and the bbpress plugin. If it doesn’t then something in your site is screwed up 🙂

    I just did that with twentyfourteen, because I don’t have twenty twelve on it, and this is what it says with under that just reply box and buttons with no content, just like avada theme, but avada does not even show the below text.

    Your account has the ability to post unrestricted HTML content.

    #147628
    Robin W
    Moderator

    ok, you’ll need to add the following to your functions file

    //this function removes the "this topic contains..." and "this forum contains..."  text
    function no_description ($retstr) {
    $retstr="" ;
    return $retstr ;
    }
    
    add_filter ('bbp_get_single_topic_description', 'no_description' ) ;
    add_filter ('bbp_get_single_forum_description', 'no_description' ) ;
    
    //This function changes the text wherever it is quoted
    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 );
    
    #147621
    shughey
    Participant

    These notices:

    • This topic contains 0 replies, has 1 voice, and was last updated by Avatar of Sam Hughey Sam Hughey June 10, 2014 at 8:32 PM.
    • Your account has the ability to post unrestricted HTML content.
    • Oh bother! No topics were found here!

    Sorry, I should have been clearer.

    #145087
    Matoca
    Participant

    Update. Last week as soon as I read that there had been trouble with tinyMCE, I disabled the bbPress Enable TinyMCE Visual Tab Version 1.0.1 plugin I had been using. I was using it mainly so moderators could do a bit more in the forum but it wasn’t critical.

    The results were that, -perhaps-, this was part of the problem but it’s not that straightforward. The moderator tried to post using her iPhone and responded:

    “I could put my name in and e-mail address AND it did show up as I typed. But, when I posted, the typing was transparent. I knew it was ‘typing’ because the auto word finish worked and came up. And then when I hit ‘submit’ the post did show up.”

    So then I needed to know if she had tried this while she was logged in or not. I have the forum set for no registration so anyone can post, but I don’t allow them to input html. If she was not logged in then she wouldn’t be able to post in html. I thought perhaps her iPhone or iPad has text attributes set that wouldn’t be allowed.

    So I quizzed her:
    > So the keyboard came up for you this time, no problem? That was the important thing.
    Yes, it came up.
    >
    > So then next, you could see what you were typing in the name and email fields?
    Yes.
    >
    > But then when you were typing in the message window, the text was not visible?
    Right, NOT visible.
    >
    > And finally when you hit submit you could see that you had posted.
    Yes, it was then visible and posted.
    >
    > I can see what you posted and besides the fumbled spelling cause you couldn’t see, it works.
    Right – my fingers on the tiny keyboard are not conducive to proper spelling, punctuation. 😜
    >
    > So I need to know, first are you logged in when you are adding your message?
    No, I’m NOT logged in.

    > Do you see a message that says “Your account has the ability to post unrestricted HTML content.”
    No, i don’t see that.
    >
    > And then when you are at the message window, look at the tabs on the upper right. Were you on the visual tab or the text tab when you were writing?
    Visual, couldn’t get into Text.
    >
    > Try typing another message with the other tab selected. I suspect you were in the visual tab so try the text tab this time.
    Doesn’t work. 😣

    Then a few days later we were back at it again. She tried this logged in.
    “Logged in. Using iPad. This is what I got from ‘Text’

    Hi. This is a test – now is the time for all AIHA/IMHA doggies to be well.

    <strong>bold</strong>

    <em>italics</em>

    And this is what I got in ‘Visual’

    Hi. This is a test.

    Now is the time for all AIHA/IMHA doggies to be well.

    Bold: </strong>

    Italic: <em>

    Then later that day she tried logging out and posting:
    “I logged out and tried to post again to my Sadie:Weaning post. I seemed to have lost a word or two from the post, once I hit submit, but it WAS in sequence and I COULD type AND the typed showed as I typed. This was the first time in months that it’s worked. Yeah!!!!!”

    And yesterday she reported (logged out):
    “Okay – just posted to Joe. First, had to tap hard to get the keyboard to come up. It finally did and I could put in name, e-mail, showing what I wrote. But once I tried to actually post, again, after tapping hard anonymity (“on it?”)five times, the cursor would move with each letter I hit, but I could not see shat (see what?) I was writing.”

    WP just updated to 3.8.3 (without my input…) so would that have some version of tinyMCE in it? I thought that they had removed it completely a while back and at that time I lost the text tab in the forum when posting as a moderator. So that is when I installed the tinyMCE plugin.

    I wish I could say that this seems resolved, but it seems that she is still having erratic behavior from the keyboard when she is trying to enter text either logged in or not logged in. It is significant that she can get the keyboard to come up at all, that was not happening before.

    I am trying to make sure my site is responsive and is usable by most phones and tablets. On my Google Nexus I have a bit of trouble scrolling down the page, it’s erratic and resistive. But that may have more to do with the page loading slower over wifi.

    I hope this thread stays open so there can be further input?
    thank you, matoca

    #144436
    Robin W
    Moderator

    This warning is contained in three templates all in
    wp-content/plugins/bbpress/tempates/default/bbpress/

    form-forum.php
    form-reply.php
    form-topic.php

    You can create a folder in the root of your theme called ‘bbpress’ and copy these three themes to it, and then alter this text to read whatever you like, or remove it.

    Or you could add the following code to your functions file

    //This function changes the text wherever it is quoted
    function change_translate_text( $translated_text ) {
    	if ( $translated_text == 'Your account has the ability to post unrestricted HTML' ) {
    	$translated_text = 'new text';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );
    

    Just make ‘new text’ whatever you want.

    or you could probably get you function to do something, but I don’t offhand know what you’d need to do.

    #141482
    robertphilippo
    Participant

    Use WP 3.7.1, bbPress 2.5.3, just installed, theme twenty ten. I followed your instructions on your website. After installation I made a page named Forums, after that I made a forum and a topic, both as test. The test is no more visible in the website as I removed the test. The test forum I had placed as subpage at the forums page. As far as good. When I opened the forum in the website I saw in the top of the forum page I see the name of the forum and direct thereunder the navigation line: home>forums>name of forum>subscribe, the following line ‘This forum is empty'(light blue background), the following line Viewing topic 1 (of total 1). Under this topic, the line: Viewing topic 1 (of total 1), thereunder the line: Your account has the ability to post unrestricted HTML content, thereunder a field to bring in another topic such as I’m writing in now.

    I’m not a professional so I don’t know how to recover this problem. regards, Robert

    #136224
    gniman
    Participant

    i am posting this problem again because no one seems to have responded to an earliest try by another poster.
    i am running wp locally on mac using the bitNamiStack for wp2.6
    i have installed the bbPress plugin v.2.3.2
    when i try to create a topic from the front end i get this error message in a pink box:
    **ERROR: Are you sure you wanted to do that?**
    and the post doesn’t go up.

    i read in another post in response to this problem, that i should change the port to 80 instead of 8080. when i try that apache starts and quickly shuts up.

    btw, there’s another irritation message when i post as keymaster or admin, in a yellow box:
    **Your account has the ability to post unrestricted HTML content.**

    wonder how i can get rid of that.
    many thanks for your help.

    #135889
    danny2104
    Participant

    When I insert links into a reply for a topic via the the link option or by inputting html directly, it never shows up in the reply. In fact if my reply consists only of a link and no text apart from it, ll i get is an empty\blank reply to the topic. I’ve tried this with different user roles too, since i suspected the ability to post unrestricted html might’ve been the problem, but no such luck. I’m relatively new to wordpress, so i apologise if this has an obvious fix or an apparent reason.

    Wordpress 3.6
    BBpress 2.3.2

    #135696
    dubbinz
    Participant

    Hi I have had this problem for a while where normal members of my buddypress site cannot post html into posts. As you know html is restricted for security reasons however I am ok with removing this restriction but I do not know how to

    1. add more allowed tags to the filter
    2. remove the filter so normal members can post unrestricted (yes I know the risks)

    I have made a video displaying the problem and why I need to do this, I made it for my developer who is a paid for professional from India (the video made it easier for him to understand as his English is not great xD ) but he is having problems editing the filter.

    I shown him this thread http://bbpress.org/forums/topic/allow-html-from-users/ which seems to have some information but every script posted here he seems to be having problems with.

    I have to find some way to allow users to post this content. This is just haunting me because I am getting so many complaints from my community that I may even have to dump bbpress/buddypress altogether and create a normal vbuletin forums which I REALLY do not want to do at all.

    Here is a video of my problem.

    http://dubtopian-review.eu/problem_with_html.mkv

    dubtopian-review.eu is my website

    #135544
    ozgurpolat
    Participant

    In form-reply.php after the line:

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

    I inserted <?php else : ?><div class="bbp-template-notice"><p><?php _e( 'PLEASE NOTE: Your post will be sent to AWAITING MODERATION folder, will be posted if approved!', 'bbpress' ); ?></p></div>

    Which is not so good because I am changing the core file. Is there a better way to do this?

    #135336
    gertzse
    Participant

    I am also trying to get rid of the message “Your account has the ability to post unrestricted HTML content.” You said “You enabled that setting, disable that setting and the message goes away!” but I cannot see where to enable/disable that setting.

    Please advise!

    #134402

    In reply to: Two strange messages

    Stephen Edgar
    Keymaster

    I am not seeing this on your site now.

    I presume you fixed it by changing the parent forums type to ‘category’ so your issue is now fixed?

    The ‘unrestricted HTML’ should typically only be seen by yourself the bbPress ‘keymaster’, standard users will not be able to post ‘unrestricted HTML’.

    #134381
    dananourie
    Participant

    Hi,

    I’ve just imported from phpbb to bbpress. That went well. But I noticed something odd about the hierarchy of the forums. If you go to a parent forum, you get the message at the top: This forum is empty. But the child forums are listed below that message as they should be. Why am I getting that message and is there a way to fix it?

    http://sanjoseatheists.com/forum/science-technology/

    Please note above the Science & Technology is the title that the child forums should go under. I don’t want people posting directly to Science & Technology. Posts need to go into the child forums.

    Also, if you scroll down to create a new topic, there is the message Your account has the ability to post unrestricted HTML content. Is this a security concern, and what should I do about it.

    Thank you so much!!!!

    #134255

    In reply to: Allow HTML from users

    koreancandy
    Participant

    I want to know this too please. At the moment it is only allowing Admin to post with HTML (Your account has the ability to post unrestricted HTML content.) , but no other members of the forum can do so.

    Any ideas please?

    #130434
    Jerry
    Participant

    I would like to remove ‘You may use these HTML tags and attributes:…’

    I am using the Thematic Theme 1.0.2.1
    and bbPress plugin 2.2.4

    I put this code in my themes style.css file:

    .form-allowed-tags{
    display:none;
    }

    This removed ‘Your account has the ability to post unrestricted HTML’ when I am logged in as admin.

    Everything I have found in forums about removing ‘You may use these HTML tags and attributes:…’ refer to the Twenty Ten theme, and files and code I can’t find.

    Thank You

    #128247
    Stephen Edgar
    Keymaster

    After a week of testing I finally found the problem. I notice that when I change the user role to Editor and Administrator the editor works perfectly on both the backend and frontend.

    I will see if if we can reproduce this though now I am confused as to now you are inferring that all of this is based upon you using Ultimate TinyMCE.

    So i installed the User Role Editor plugin and checked the Unfiltered HTML setting and not everything works fine except for the fact that a message shows up for all users:

    “Your account has the ability to post unrestricted HTML content.” – how can i get rid of it?

    You enabled that setting, disable that setting and the message goes away!

    As to what HTML tags you allow that is up to you and none that you list above should be of a security concern.

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