Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 26,726 through 26,750 (of 64,518 total)
  • Author
    Search Results
  • #128238
    AllenPayne
    Participant

    Alright so i came up with this function:

    /* Allowed Tags */

    add_action(‘init’, ‘my_html_tags_code’, 10);
    function my_html_tags_code() {
    define(‘CUSTOM_TAGS’, true);
    global $allowedtags;
    $allowedtags = array(
    ‘address’ => array(),
    ‘a’ => array(
    ‘class’ => true,
    ‘href’ => true,
    ‘id’ => true,
    ‘title’ => true,
    ‘rel’ => true,
    ‘rev’ => true,
    ‘name’ => true,
    ‘target’ => true,
    ),
    ‘abbr’ => array(
    ‘class’ => true,
    ‘title’ => true,
    ),
    ‘acronym’ => array(
    ‘title’ => true,
    ),
    ‘article’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘aside’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘b’ => array(),
    ‘big’ => array(),
    ‘blockquote’ => array(
    ‘id’ => true,
    ‘cite’ => true,
    ‘class’ => true,
    ‘lang’ => true,
    ‘xml:lang’ => true,
    ),
    ‘br’ => array (
    ‘class’ => true,
    ),
    ‘button’ => array(
    ‘disabled’ => true,
    ‘name’ => true,
    ‘type’ => true,
    ‘value’ => true,
    ),
    ‘caption’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ),
    ‘cite’ => array (
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘title’ => true,
    ),
    ‘code’ => array (
    ‘style’ => true,
    ),
    ‘col’ => array(
    ‘align’ => true,
    ‘char’ => true,
    ‘charoff’ => true,
    ‘span’ => true,
    ‘dir’ => true,
    ‘style’ => true,
    ‘valign’ => true,
    ‘width’ => true,
    ),
    ‘del’ => array(
    ‘datetime’ => true,
    ),
    ‘dd’ => array(),
    ‘details’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘open’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘div’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘dl’ => array(),
    ‘dt’ => array(),
    ’em’ => array(),
    ‘fieldset’ => array(),
    ‘figure’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘figcaption’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘font’ => array(
    ‘color’ => true,
    ‘face’ => true,
    ‘size’ => true,
    ),
    ‘footer’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘form’ => array(
    ‘action’ => true,
    ‘accept’ => true,
    ‘accept-charset’ => true,
    ‘enctype’ => true,
    ‘method’ => true,
    ‘name’ => true,
    ‘target’ => true,
    ),
    ‘h1’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘id’ => true,
    ‘style’ => true,
    ),
    ‘h2’ => array (
    ‘align’ => true,
    ‘class’ => true,
    ‘id’ => true,
    ‘style’ => true,
    ),
    ‘h3’ => array (
    ‘align’ => true,
    ‘class’ => true,
    ‘id’ => true,
    ‘style’ => true,
    ),
    ‘h4’ => array (
    ‘align’ => true,
    ‘class’ => true,
    ‘id’ => true,
    ‘style’ => true,
    ),
    ‘h5’ => array (
    ‘align’ => true,
    ‘class’ => true,
    ‘id’ => true,
    ‘style’ => true,
    ),
    ‘h6’ => array (
    ‘align’ => true,
    ‘class’ => true,
    ‘id’ => true,
    ‘style’ => true,
    ),
    ‘header’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘hgroup’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘hr’ => array (
    ‘align’ => true,
    ‘class’ => true,
    ‘noshade’ => true,
    ‘size’ => true,
    ‘width’ => true,
    ),
    ‘i’ => array(),
    ‘img’ => array(
    ‘alt’ => true,
    ‘align’ => true,
    ‘border’ => true,
    ‘class’ => true,
    ‘height’ => true,
    ‘hspace’ => true,
    ‘longdesc’ => true,
    ‘vspace’ => true,
    ‘src’ => true,
    ‘style’ => true,
    ‘width’ => true,
    ),
    ‘ins’ => array(
    ‘datetime’ => true,
    ‘cite’ => true,
    ),
    ‘kbd’ => array(),
    ‘label’ => array(
    ‘for’ => true,
    ),
    ‘legend’ => array(
    ‘align’ => true,
    ),
    ‘li’ => array (
    ‘align’ => true,
    ‘class’ => true,
    ),
    ‘menu’ => array (
    ‘class’ => true,
    ‘style’ => true,
    ‘type’ => true,
    ),
    ‘nav’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘p’ => array(
    ‘class’ => true,
    ‘align’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘pre’ => array(
    ‘style’ => true,
    ‘width’ => true,
    ),
    ‘q’ => array(
    ‘cite’ => true,
    ),
    ‘s’ => array(),
    ‘span’ => array (
    ‘class’ => true,
    ‘dir’ => true,
    ‘align’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘title’ => true,
    ‘xml:lang’ => true,
    ),
    ‘section’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘strike’ => array(),
    ‘strong’ => array(),
    ‘sub’ => array(),
    ‘summary’ => array(
    ‘align’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘lang’ => true,
    ‘style’ => true,
    ‘xml:lang’ => true,
    ),
    ‘sup’ => array(),
    ‘table’ => array(
    ‘align’ => true,
    ‘bgcolor’ => true,
    ‘border’ => true,
    ‘cellpadding’ => true,
    ‘cellspacing’ => true,
    ‘class’ => true,
    ‘dir’ => true,
    ‘id’ => true,
    ‘rules’ => true,
    ‘style’ => true,
    ‘summary’ => true,
    ‘width’ => true,
    ),
    ‘tbody’ => array(
    ‘align’ => true,
    ‘char’ => true,
    ‘charoff’ => true,
    ‘valign’ => true,
    ),
    ‘td’ => array(
    ‘abbr’ => true,
    ‘align’ => true,
    ‘axis’ => true,
    ‘bgcolor’ => true,
    ‘char’ => true,
    ‘charoff’ => true,
    ‘class’ => true,
    ‘colspan’ => true,
    ‘dir’ => true,
    ‘headers’ => true,
    ‘height’ => true,
    ‘nowrap’ => true,
    ‘rowspan’ => true,
    ‘scope’ => true,
    ‘style’ => true,
    ‘valign’ => true,
    ‘width’ => true,
    ),
    ‘textarea’ => array(
    ‘cols’ => true,
    ‘rows’ => true,
    ‘disabled’ => true,
    ‘name’ => true,
    ‘readonly’ => true,
    ),
    ‘tfoot’ => array(
    ‘align’ => true,
    ‘char’ => true,
    ‘class’ => true,
    ‘charoff’ => true,
    ‘valign’ => true,
    ),
    ‘th’ => array(
    ‘abbr’ => true,
    ‘align’ => true,
    ‘axis’ => true,
    ‘bgcolor’ => true,
    ‘char’ => true,
    ‘charoff’ => true,
    ‘class’ => true,
    ‘colspan’ => true,
    ‘headers’ => true,
    ‘height’ => true,
    ‘nowrap’ => true,
    ‘rowspan’ => true,
    ‘scope’ => true,
    ‘valign’ => true,
    ‘width’ => true,
    ),
    ‘thead’ => array(
    ‘align’ => true,
    ‘char’ => true,
    ‘charoff’ => true,
    ‘class’ => true,
    ‘valign’ => true,
    ),
    ‘title’ => array(),
    ‘tr’ => array(
    ‘align’ => true,
    ‘bgcolor’ => true,
    ‘char’ => true,
    ‘charoff’ => true,
    ‘class’ => true,
    ‘style’ => true,
    ‘valign’ => true,
    ),
    ‘tt’ => array(),
    ‘u’ => array(),
    ‘ul’ => array (
    ‘class’ => true,
    ‘style’ => true,
    ‘type’ => true,
    ),
    ‘ol’ => array (
    ‘class’ => true,
    ‘start’ => true,
    ‘style’ => true,
    ‘type’ => true,
    ),
    ‘var’ => array(),
    );

    }

    Is there anything i should take out? For security reasons?

    #128236
    AllenPayne
    Participant

    I found a way to make it work without disabling filtering completely. I placed this in functions.php:

    add_action(‘init’, ‘my_html_tags_code’, 10);
    function my_html_tags_code() {
    global $allowedposttags, $allowedtags;
    //$allowedposttags[“ol”] = array();
    //$allowedposttags[“ul”] = array();
    $allowedtags[“ol”] = array();
    $allowedtags[“ul”] = array();
    $allowedtags[“li”] = array();
    $allowedtags[“span”] = array( “style” => array() );
    }

    Now i have another problem. I use the Ultimate TinyMCE plugin and i have many other buttons on my editor that don’t work (i.e. Add Images, Add Video, …etc)

    How can i know what tags they are using so i can put them in the function above?

    #128233
    AllenPayne
    Participant

    wp-includes/kses.php seems to be the file that filters the content.

    #128232
    AllenPayne
    Participant

    @Stephen Edgar

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

    BTW…is this the best way to do it? I’m thinking it would be better to modify the way WP filters HTML instead of disabling filtering completely.

    What do you say?

    #128229
    prokoudine
    Participant

    So add this in your functions.php:

    Which one exactly? I tried both WP’s, bbPress’s and theme’s: all of them lead to error 500. I have all most recent versions of WP and bbPress.

    nitroblood
    Participant

    I’m having the same installation, ie. WP3.51 (Multisite on subdomain) + Buddypress (1.6.4) + bbPress (2.2.4), and is facing the exact same problem with RemotePCSupport. Users who created their sub sites when bbpress is ACTIVATED, are denied access to the admin dashboard of the same sub sites they created! No issue for those who created their sub sites when bbpress is DEACTIVATED though.

    This issue has to be solved! What’s the point of having a multisite setup when users DO NOT have access to the sites they created??

    Also, these warnings are shown whenever users create new sub site blogs,

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/domain/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: Invalid argument supplied for foreach() in /home/domain/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/domain/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: Invalid argument supplied for foreach() in /home/domain/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/domain/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: Invalid argument supplied for foreach() in /home/domain/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/domain/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: Invalid argument supplied for foreach() in /home/domain/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/domain/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: Invalid argument supplied for foreach() in /home/domain/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Nevertheless, the sites are created successfully, but it sure looks ugly to show these warnings!

    #127970
    Stephen Edgar
    Keymaster

    via @JohnJamesJacoby https://bbpress.trac.wordpress.org/ticket/2249#comment:1

    This is a tough one, because technically the theme should have support for RTL editor styles. Moving to future release so we can investigate further.

    #127969
    Michael Macliver
    Participant

    Wordpress: 3.5.1
    bbPress: 2.2.4
    Wishlist: 2.71

    Does anyone have this versions of bbPress working with Wishlist Member? Topic contents are not being displayed. I suspect it is a bug in the Wishlist Member protection logic. Strangely topic replies are being displayed.

    If I change the users role to Administrator, topic contents appear again. But other backend protection changes do not work.

    Any help or advice gratefully received.

    Wishlist Members advice is to use Simple:Press but I’d much rather stick with bbPress.

    Thanks.

    #127968
    tinyhousescanyonrim
    Participant

    Hi!!

    I have the bbpress loggin widget embedded in my forum page, however, the login/logout buttons have a font that is unreadable (white font on a white background). I cannot locate where to change the font for the login/logout buttons. Can anyone help?

    Thanks!!!

    #127959
    fontadoni
    Participant

    I just converted my forums from the standalone version of bbpress to the plugin version of bbpress. Even thought we’re not talking about the same thing here, I did have to experiment a little bit with the settings during the import to finally get it right around the third time.

    #127951

    In reply to: Full Size Forum

    @mercime
    Moderator

    @plasterius Find the full-width template of your theme if you have any, open it with a text editor and save as bbpress.php and place that into your theme’s folder in serer. What theme are you using?

    #127946

    In reply to: Full Size Forum

    @mercime
    Moderator

    @plasterius did you create bbpress.php from your own theme’s full-width template per info posted above?

    #127945

    In reply to: Full Size Forum

    @mercime
    Moderator

    @supernaturalbrews Re full-width BuddyPress pages: I see that you’re already using BP 1.7 beta 1, good for you! Make a copy of page-no-sidebar.php file from parent theme and Save As buddypress.php in your child theme folder.

    To remove the vertical dotted line in the midst of full-width BP and bbP pages, add the following to your child theme’s style.css file:

    body.BuddyPress #posts,
    body.bbPress #posts {
    background: transparent none;
    }

    #127938

    In reply to: Add mobile version?

    @mercime
    Moderator

    @yetanotherlogin you can start off with the proposed patch at https://bbpress.trac.wordpress.org/ticket/1933 adjust it to taste

    #127937

    In reply to: Full Size Forum

    SupernaturalBrews
    Participant

    @mercime

    If you look at the homepage there is a vertical dotted line separating the main content and the sidebar. Not huge thing, but I would like it removed from the bbpress forum. I figure once that is removed I have a clean template to go with.

    http://www.kcnanobrews.com/forums/

    I know its a separate plugin but would you know how to make all the buddypress pages full width?

    #127933
    yetanotherlogin
    Participant

    Hello

    A WordPress-based site that I read often uses BBPress for its forum.

    It currently doesn’t support a mobile version, making it a pain to access from a smartphone.

    Is there a good add-on so that BBPress can offer two versions of a forum, depending on whether it’s accessed from a desktop browser or a smartphone browser?

    Thank you.

    #127929
    DMaskell
    Participant

    I am running Esplanade theme with buddy press + bbpress.
    Posts/ replies are not being displayed.
    The forums recognise that there are posts there but not displaying.

    Under activity of buddypress the posts appear, so they are being stored.I guess?

    Have tried changing theme, removing and readding all plugins no luck.

    Heave read somewhere it might be do with functions.php?
    If so what do I need to add or change?

    Help would be greatly appreciated!
    Newb here.

    Stephen Edgar
    Keymaster

    I am not seeing that on any of my test sites… 2.2.4 and 2.3

    Can you try using Twenty Eleven or Twenty Twelve theme rather than a custom theme and of course with all other plugins disabled and let me know.

    Stephen Edgar
    Keymaster

    Try using FTP to delete the plugin directly from /wp-content/plugins/bbpress/

    (I would make sure you have a backup first of your hosts files and your WP database)

    #127917

    In reply to: Sorting Topics

    Stephen Edgar
    Keymaster

    It is built in… bbp_has_topics can be set using orderby to any of ‘author’, ‘date’, ‘title’, ‘modified’, ‘parent’ or ‘random’

    https://bbpress.trac.wordpress.org/browser/trunk/includes/topics/template-tags.php#L84

    #127915
    Stephen Edgar
    Keymaster

    Have a look in the plugins as there are a couple that do what you are looking for.

    Plugins

    #127914
    Stephen Edgar
    Keymaster

    bbPress 2.x is now a fully integrated plugin for WordPress.

    Please see https://bbpress.org/ & https://wordpress.org/extend/plugins/bbpress/

    (Closing this topic to prevent it being resurrected again)

    #127912
    Stephen Edgar
    Keymaster

    See this to get started with using custom templates https://codex.bbpress.org/theme-compatibility/

    #127910

    In reply to: Help resizing forums

    Stephen Edgar
    Keymaster

    I don’t even see that bbPress is installed…

    #127909
    Stephen Edgar
    Keymaster

    bbPress 2.x is a plugin for WordPress just like any ‘other’ WordPress plugin and is no longer a ‘stand alone’ web app needing a bb-config.php. Everything is stored in the main WP database primarily using ‘Custom Post Types’ for the forum bits and all user bits are just WP users.

    About

    Features

    Installation

    https://codex.bbpress.org/getting-started-with-bbpress/

    (Beware of any ‘legacy’ and/or posts ~2 years old in regard to bbPress as these typically refer to the old ‘Stand Alone’ version)

Viewing 25 results - 26,726 through 26,750 (of 64,518 total)
Skip to toolbar