Search Results for 'bbpress'
-
AuthorSearch Results
-
March 9, 2013 at 1:59 pm #128238
In reply to: bbPress Editor – Text Formatting Not Saving?
AllenPayne
ParticipantAlright 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?
March 9, 2013 at 1:11 pm #128236In reply to: bbPress Editor – Text Formatting Not Saving?
AllenPayne
ParticipantI 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?
March 9, 2013 at 12:11 pm #128233In reply to: bbPress Editor – Text Formatting Not Saving?
AllenPayne
Participantwp-includes/kses.php seems to be the file that filters the content.
March 9, 2013 at 12:06 pm #128232In reply to: bbPress Editor – Text Formatting Not Saving?
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?
March 9, 2013 at 9:59 am #128229In reply to: Feature Request: Change Post Author
prokoudine
ParticipantSo 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.
March 9, 2013 at 8:19 am #128097nitroblood
ParticipantI’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!
March 9, 2013 at 1:49 am #127970In reply to: RTL bug in new topic box
Stephen Edgar
Keymastervia @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.
March 9, 2013 at 12:28 am #127969Topic: WishList Member blocking topic content
in forum TroubleshootingMichael Macliver
ParticipantWordpress: 3.5.1
bbPress: 2.2.4
Wishlist: 2.71Does 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.
March 8, 2013 at 11:54 pm #127968Topic: Changing the Color of the Login/Logout Buttons
in forum Troubleshootingtinyhousescanyonrim
ParticipantHi!!
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!!!
March 8, 2013 at 8:19 pm #127959In reply to: Simple-Press to bbPress, all posts are by admin?
fontadoni
ParticipantI 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.
March 8, 2013 at 2:32 pm #127951In 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?
March 8, 2013 at 2:08 pm #127946In 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?
March 8, 2013 at 2:05 pm #127945In 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;
}March 8, 2013 at 12:54 pm #127938In 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
March 8, 2013 at 12:54 pm #127937In reply to: Full Size Forum
SupernaturalBrews
ParticipantIf 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?
March 8, 2013 at 11:50 am #127933Topic: Add mobile version?
in forum Installationyetanotherlogin
ParticipantHello
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.
March 8, 2013 at 8:15 am #127929Topic: Posts not displaying
in forum TroubleshootingDMaskell
ParticipantI 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.March 8, 2013 at 1:06 am #127920Stephen Edgar
KeymasterI 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.
March 8, 2013 at 1:01 am #127918Stephen Edgar
KeymasterTry 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)
March 8, 2013 at 1:00 am #127917In reply to: Sorting Topics
Stephen Edgar
KeymasterIt is built in…
bbp_has_topicscan be set usingorderbyto any of ‘author’, ‘date’, ‘title’, ‘modified’, ‘parent’ or ‘random’https://bbpress.trac.wordpress.org/browser/trunk/includes/topics/template-tags.php#L84
March 8, 2013 at 12:48 am #127915In reply to: Send Email on New Discussion Published
Stephen Edgar
KeymasterHave a look in the plugins as there are a couple that do what you are looking for.
March 8, 2013 at 12:41 am #127914In reply to: Integrate wp and bbpress registration
Stephen Edgar
KeymasterbbPress 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)
March 8, 2013 at 12:34 am #127912In reply to: How to assign template to forum page?
Stephen Edgar
KeymasterSee this to get started with using custom templates https://codex.bbpress.org/theme-compatibility/
March 8, 2013 at 12:29 am #127910In reply to: Help resizing forums
Stephen Edgar
KeymasterI don’t even see that bbPress is installed…
March 8, 2013 at 12:27 am #127909In reply to: WordPress Integration Shared Databases
Stephen Edgar
KeymasterbbPress 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.
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)
-
AuthorSearch Results