Search Results for 'code'
-
Search Results
-
WP= 4.3.1 Theme= Jolene bbPress= 2.5.8 bbP Toolkit= 1.0.4 bbP Manage Subscriptions= 1.2.0
bbPress Enable TinyMCE Visual Tab= 1.0.1
Hi Guys,
I’m having a bit of bother when using the visual editor in my forums. As an administrator I can get the image to align (eg) centrally but as a regualy user (Participant) the alignment wont take unless I add a caption.
In all cases when I add a caption the html for the caption tag shows in the post.
I’ve checked all the settings for all the plugin’s but cant find anything to correct this.
Two examples via links. First as Admin second as Subscriber/Participant.
posted by admin
posted by a regular user
Here is the code that is showing via the Text tab in the users post dialogue:HOT, HOT, HOT...or what? [caption id="" align="alignright" width="306"]<img src="http://i.dailymail.co.uk/i/pix/2015/08/22/21/2B94BD3600000578-3207215-The_original_Spamela_Hamderson_puppet_recycled_to_create_curvy_b-a-40_1440274103479.jpg" alt="miss piggy" width="306" height="372" /> You want some of this?[/caption]Wordpress: 4.3.1
Divi Theme: 2.5.5
BBPress: 2.5.8
bbp style pack: 2.8.3
http://dtcdancecentral.com/DTCTest/forum/Hi – I am new to BBPress. I am hoping some one may be able to assist with the page formatting of the forums/category/topic pages et etc. I am trying to get it as close to this:
as I can.
With bbpress style pack I was able to do alot without having to mess with any code of files -I do not have alot of coding experience or working within the server on files.
Right now – I have the following short codes in a Divi Page – this is my Forum Index Page:
[bsp-display-forum-index forum= ‘1106’ breadcrumb=’no’ search=’no’]
[bsp-display-forum-index forum= ‘1130’ breadcrumb=’no’ search=’no’]
[bsp-display-forum-index forum= ‘1154’ breadcrumb=’no’ search=’no’]1. This is giving me the “boxed” look for each separate forum I want – I can not figure out how to get the header title of each forum changed. Where it says “Forums, topics,posts, freshness” instead of Forum – I would like it to state the name of the forum I have created (like the first one be “Community Forum”, then the 2nd one would be “Platinum Members Forum” & the 3rd “Diamond Members Forum”).
These would not be links to anything. Just the forum title. So that when an actual forum below in the “box” is clicked on it goes straight to that forum page showing all topics under that forum.
(I hope I am using the correct terminology here.)2. I can not get the description to show up underneath each category on the forum index page. Is the only way to achieve this to do something to the files in wp?
3. The topic pages (submit & view) have a big line running down the right side of the pages down into the footer – is there anyway to remove that line and make the pages full width or a custom width?
Divi Theme does provide an Epanel where I can put css coding in without having to change any files. If anyone has any ideas how to achieve these changes (hopefully without altering files) I would appreciate the help & guidance.
Thanks!
I’ve seen a ton of topics regarding not being able to see the forums at all, but nothing quite like my situation. I can see the top level for my forums, and it is listing topics & replies but I can’t get to them. Although I’ve imported the bbpress templates and css to my template directory, I’m unable to get past the top level for my forums at:
When I click on a category, topic, reply, I get a blank like this:
http://sfi.org/topic/heres-a-test-topic/
They do work when I switch to the default template, so is there a step I missed with the template? Is there code that needs to be added to the template header? Something else?
Hello there…
I am trying to implement a view of Buddypress that looks like the Facebook newsfeed – a single page, which lists topics, each one having an add reply form underneath, and then a list of the existing replies. I have made the list of topics and replies, but I’m having trouble putting a working add reply form underneath each topic.
The loop structure I have used is:
$forum_ID_list = //a list of forum IDs foreach ($forum in $forum_list) // WP_Query to get the topic ID list foreach ($topic in $topic_ID_list) // output topic // output new reply form -BUT HOW...? WP_Query to get the reply ID list foreach ($reply in $reply_list) // WP_Query to get the reply details // Output the replydetailsSo I am not using calls to bbpress() in the loop.
My question is: with this loop structure, how do I implement the output of the new reply form?
I have tried embedding the reply form as follows:
<form id="new-reply-XXX" name="new-post" method="post" action=""> <fieldset class="bbp-form"> <textarea class="bbp-the-content wp-editor-area" rows="3" cols="10" tabindex="101" name="bbp_reply_content" id="bbp_reply_content"></textarea> <input type="hidden" name="bbp_topic_id" id="bbp_topic_id" value="TOPIC_ID" />' <input type="hidden" name="bbp_reply_to" id="bbp_reply_to" value="0" />'; <input type="hidden" name="action" id="bbp_post_action" value="bbp-new-reply" /> <input type="hidden" name="_wpnonce" id="_wpnonce" value="99e426b2cf" />'; // NOT SURE WHAT THIS DOES AND IF I NEED TO CHANGE IT <input type="hidden" name="_wp_http_referer" value="" /> // CAN THIS JUST BE LEFT BLANK? <input type="hidden" id="bbp_redirect_to" name="redirect_to" value="MY_HOME_PAGE" /> <button type="submit" form="new-reply-XXX" tabindex="104" id="bbp_reply_submit" name="bbp_reply_submit" class="button submit">SEND</button>';When I use this form, I am redirected to my home page, but the reply is not added to the topic.
So my questions are:
1. Can I do it by looping this way using WP_Query, and if so, can you answer my questions in upper case above about the form so it will add the topic correctly?
2. If I cannot used my WP_Query based loops, what other way can I loop and make the form work?
I’m using bbpress 2.5.8 with Buddypress 2.3.3 and WP 4.0.8
Thanks in anticipation! Antony.
Topic: Shorten Freshness
Using latest versions of WP and bbPress. I’ve been searching and searching, is there anyone who could help me to shorten the freshness to show only year(s) OR week(s) OR day(s) OR minute(s) instead of the whole time stamp?
I found this https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#10-shorten-freshness-wording but it doesn’t seem to work properly. I don’t know if I’m missing something. I still got “1 hour, 20 minutes” etc. Is the code supposed to do this / is it possible to show only one time variable like this?
50 seconds ago
33 minutes ago
2 hours ago
3 days ago
1 year ago
etcI would be so happy if someone could help! Thanks!
Hey everyone,
I started styling up a little support/development forum for my clients to use. It requires a little bit more customization but I have most of the basics down.
Wordpress – Latest
BBPress – Latest
Theme – Salient
Website Forum Page – https://wapp.guru/support/I’m not using any short codes because this theme actually handles the default BBPress pretty well. I’m just letting the default post types do their thing with Yoast SEO attached. I’ve added a plugin that adds login, log out, and register buttons to the forum itself.
1. How do I set up my site to where people can log in with a WordPress / Gravatar account?
2. The profile page title does not show up and using the Yoast plugin I can’t find any way to target it. Any advice?
3. What’s a good plugin to use for things such as easy navigation for users? I have a few of the widgets in the hamburger menu on the top left. There’s a default login form but nothing regarding registration so I hard coded a link in. There’s a little login form, but no register form. I’ve tried (bbk style pack) but it seems to just place links in the main navigation menu which I don’t really like. It just seems like it’s difficult to navigate around.
Overall I know the forum is open source and requires a good bit of customization. I’m just looking for the simplest way without having to use 50 additional plugins that conflict with one another.
Thanks!
Hello there !
I’ve been on troubble since a few days, just trying to let my forum users to delete their own topics.I tried several plugins, on WordPress, but it seems that even if I create a new role and custom it with the “delete topic” option, it won’t be memorized, maybe due to php bbpress capabilities ?? Anyway those plugins seem to create only WordPress roles, not bbpress roles. So even if there is “forum options” set, maybe it’s not the good way to do it properly.
Then I’ve been reading this : https://codex.bbpress.org/custom-capabilities/, and I was able to set a new role, but still, even if the
'delete_topics' => true,"is set, the users can’t see anything like a delete button on the front end (same with the “delete replies” option, BTW).Following this other thread https://bbpress.org/forums/topic/bbpress-custom-user-role/ I created a separated php file, but once again I could see no effect, worse : I got 404 pages instead of my website pages.
I must say it’s my first forum, and I’m not a good coder, so if anybody could help me to get this solved, it would be very, very nice !