Search Results for 'code'
-
Search Results
-
Hi,
If I copy/paste html content to topic content, all html tag appears in text, all quotes are converted to french quotes and content can overflow
(link to full image)I try this below but It doens’t change anything !
remove_filter( 'bbp_get_reply_content', 'wptexturize' , 3); remove_filter( 'bbp_get_topic_content', 'wptexturize', 3);I remove ALL plugins and I erase functions.php !
I also try this :
function bbp_tinymce_paste_plain_text( $plugins = array() ) { $plugins[] = 'paste'; return $plugins; } add_filter( 'bbp_get_tiny_mce_plugins', 'bbp_tinymce_paste_plain_text' );even if I want to permit copy/paste of (filtered) html, just to try, but it doesn’t make any change.
Do you have an idea of what happens?
Thanks.I have the latest 4.7 version of WordPress and installed the latest bbPress plugin (updated 4 days ago).
When I click on Forums->All forums, in the WP Dashboard, it shows me a full white blank page. Upon typing website.com/forums, it shows a blank page. The newly created forum link website.com/forums/forum/forum is also completely blank. I’ve tried this on two themes – Twenty Sixteen and Twenty Seventeen. Both showed blank page.
I tried creating a new page and pasting [bbp-forum-index] but that gave me the following code as the result:
{{ partial “head.html” . }}
{{ partial “header.html” . }} {{ partial “sidebar.html” . }} {{ partial “post/header-cover.html” . }}
{{ $paginator := .Paginate (where .Data.Pages “Type” “post”) }} {{ range $paginator.Pages }} {{ .Render “summary” }} {{ end }} {{ partial “pagination.html” . }}
{{ partial “footer.html” . }}
{{ partial “foot.html” . }}bbpress Version 2.5.12
wordpress Version 4.6.1
TwentyThirteen-Child themeYou’ll see I don’t know what I’m doing here. What follows is what I tried.
I put the following into my 2013 child theme:
1. a folder titled “bbpress” which contained the following all copied from the bbpress plugin folder:
2. a folder titled “bbpress”
3. a folder titled “css”
4. a folder titled “extras”
5. a folder titled “js”
6. a file titled “bbpress-functions.phpI replaced the top of the bbpress.css file which was in the “css” folder with this:
/* Theme Name: bbpress bbpress-child Theme URI: http://neighborsconnect/neighborsnation/wp-content/themes/twentythirteen-child/bbpress-child/ Description: bbpress-child theme for bbpress Version: 1.0 Author: Bruce Wilson Author URI: http://neighborsnation.org/ Template: bbpress-default Tags: bbpress, bbpress-child */Then I increased the font-size for the bbpress forums from 12 px to 20px and other such changes to see if it worked.
Surprise! Surprise! It didn’t work.
What do I need to do to make it work?
~ Bruce
Hi everyone,
I started a gaming website and to my surprise it isn’t doing too badly. I’m hoping to grow a community around it, but am really struggling to get everything right.
I’ve managed to get my forum posts to replace comments:
I’ve installed a Plugin to put Register/Login/Forgot at the top of the forum, which works very well, and shows on the main forum pages too: http://www.growngaming.com/forums/forum/grown-gaming-community/?view=all
Now, my problem is I also want to offer the option to login with social media, rather than filling in all details, etc. I’ve successfully found and fully installed/integrated a widget to do this, which fits into the sidebar perfectly. However, I’d also like this to display in the top right hand corner of the forum (on every sub-forum and topic), so that people can see that they can comment on my posts (and, thus post in the forum) very easily.
Is it possible for me to add this to my forum? I have a shortcode for the widget and have put it into pages etc, but I cannot figure out how to have it automatically added to every page/topic in my forum.
Thank you for your help.
I’ve added a dynamic role to my forums that no longer appears in any display user role capacity.
I used thebbp_get_dynamic_roleshook as before.However, the capabilities from this role do transfer over–just not the name.
I’m using custom functions that require this role’s name be defined. So basically this update breaks my site.
Any attempt to role back to an earlier version of bbPress seems to crash the site.
Help!?
Topic: Sorting Forums
How do I control the order in which the forums appear on the page? I am currently using this shortcode:
[bbp-forum-index]
Hi,
I noticed textarea for newtopic description is generated using bbp_the_content function. I.e., not available in form-topic.php site specific copy.- bbPress 2.5.11
- WordPress 4.6.1
- site (internal)
If this is worth your time, how do I add placeholder attribute in the following list, without breaking the upgrade mechanism? I mean if it is a five minute job for any of you. Otherwise I can spend my own time to work around it using css… it’s nagging me that you all would not have forgotten to allow for this …reasonably important thing… I think.
function bbp_get_the_content( $args = array() ) { // Parse arguments against default values $r = bbp_parse_args( $args, array( 'context' => 'topic', 'before' => '<div class="bbp-the-content-wrapper">', 'after' => '</div>', 'wpautop' => true, 'media_buttons' => false, 'textarea_rows' => '12', 'tabindex' => bbp_get_tab_index(), 'tabfocus_elements' => 'bbp_topic_title,bbp_topic_tags', 'editor_class' => 'bbp-the-content', 'tinymce' => false, 'teeny' => true, 'quicktags' => true, 'dfw' => false ), 'get_the_content' );Here is what I am trying to do, i.e., add the words “… and a short description of the topic here.” in the blue area.
_________
Create a new conversation topic using the form belowEditing — Apparently, the image didn’t show. Here is the link, if you like
https://drive.google.com/open?id=0B1Jr2Alfov9eZVVhT2U0dGRDQVVWeVE0WGh4OTZ1QW50RFdRThank you!
Topic: Fetch different avatar
So I am using bbpress alongside buddypress. This is great because running a little gaming community, it is awesome having the ability to use the widely know traditional forums as bbpress offers them while adding some great social features brought by buddypress.
Now I’ve done my research and figured out that bbpress relies on the wp profile informations (since well wp and bbpress work great together). Aside of that, there is some synchronisation between buddypress and wp profile informations.
What I’d like is be able to use only one avatar for both plugins. bbpress fetches the wp profile avatar while buddypress as one on its own. So my idea is to fetch buddypress’s image when displaying the user’s avatar on the forums.
I tried to search for documentation on this and didn’t find much. I ended up digging the plugin code and stumbled upon, while looking in the /plugins/bbpress/includes/users/template.php file, bbp_current_user_avatar() which uses bbp_get_current_user_avatar() that calls get_avatar() with the desired size and user id.
So I guess the obvious step is telling bbpress to look for the buddypress profile image rather than use this get_avatar() function, which I suspect is fetching the wp profile image.
But I am stuck here, mainly because I am new to wordpress, also to php. I should be able to sort myself out with some indications (how and what to use) or even some pseudo code.
I want to do this because I want people to not use their wp profile (there is not much there anyway) and rather go through their buddypress profile only.
Thank’s in advance for any help.
