Search Results for 'code'
-
Search Results
-
I have copied this across from the WordPress support site on the suggestion of someone on there due to the problem only developing after trying to install bbPress on the website I manage.
“I have recently been adding a members only area to a website that I manage and have so far not had any problems until I tried adding a forum. I don’t know if it is plugin related for the problem to come about, but disabling the plugins to see if one of them is causing the problem doesn’t seem to fix it.
When I try to edit some pages or posts that have already been published, I sometimes get a ‘403 Forbidden, Access to this resource on the server is denied!’ error when I click on the ‘Preview Changes’ or ‘Update’ button. I only get this with certain posts or pages. I have tried to re-create the same pages that get the error from scratch, and have found that the error only happens when I include a link that opens in a new tab.
The existing version of the posts and pages are working fine, and I can edit everything okay. I just can’t preview or publish any post or page that includes a link that opens in a new tab.
I use the ‘Classic Editor’ plugin for editing posts and pages. I also have the ‘s2Member Framework’ plugin for the members only areas. This problem seems to have come about today after installing the ‘bbPress’ plugin to add a forum to the site.
The last time a post was successfully published with a link that opens in a new tab was on the 31st May and the only change I have made since then is installing the ‘bbPress’ plugin this morning (13th June).
I’ve tried looking at various troubleshooting suggestions, but none of them seem to fix it.
Edit: Since posting the above, I’ve been looking at some of the other posts and pages and it seems I can no longer see a pattern to which ones I can edit and which I can’t. I had thought it was something to do with the code for opening links in new tabs or windows due what I mentioned above. Now I can’t see any obvious similarity between which ones I can and which I can’t edit.
Thanks in advance for any help.”
I am a newbie on BBPress and just installed it and I’m in the process of setting it up. The problem is that the body columns are not aligning with the topic headings.
I did some testing and this is the default layout which is not aligning.
However if I create a new Page and insert the shortcode the alignment is perfect, so I’m not sure what’s happening, but I don’t want to create several dozen pages and insert shortcodes, so I’d like to figure out why it’s not aligning.
I’ve tried messing with some of the css but I couldn’t figure it out. Any help would be greatly appreciated.
function
bbp_subscriptions_handleralways have$action = ''…I`m fix this:
if (!$action && $_GET['action']) { $action = htmlspecialchars($_GET['action']); }Check this… I think is bug…
Hi – I have a WordPress site that has been operational for 5 years.
I wanted to add a Discussion Forum using bbPress, and I have been successful in installing the bbPress plug-in.
Using the bbPress Shortcode Codex, I wanted to create a requirement for people to log into my new Discussion Forum using
[bbp-register] – Display the register screen.
[bbp-lost-pass] – Display the lost password screen.However, when I test these two options, it appears that these two options actually create a new WordPress account – with no connection to my existing WordPress site at all. When I test the Register facility, a new page opens with the WordPress create account box (create username and password).
What is wrong with the Shortcode usage, please?
WordPress 5.4.1 running Enterprise theme.
bbPress Version 2.6.5Hi,
I’m trying to add some detail to search results associated with replies to topics. By default, it would seem that if a search finds a hit in a particular topic post, it includes the name of the topic and the relevant forum in the header for the particular search result:
.jpg)
In contrast, a hit on a reply to a particular topic does not include any topic or forum information:.jpg)
I thought I might be able to solve my problem by modifying the loop-search-reply.php template to include what looked like it might be the relevant code from the loop-search-topic.php template:
<div class="bbp-topic-title-meta"> <?php if ( function_exists( 'bbp_is_forum_group_forum' ) && bbp_is_forum_group_forum( bbp_get_topic_forum_id() ) ) : ?> <?php esc_html_e( 'in group forum ', 'bbpress' ); ?> <?php else : ?> <?php esc_html_e( 'in forum ', 'bbpress' ); ?> <?php endif; ?> <a>"><?php bbp_forum_title( bbp_get_topic_forum_id() ); ?></a> </div><!-- .bbp-topic-title-meta --> <?php do_action( 'bbp_theme_after_topic_title' ); ?>but it seems that was a little naive of me. This block of code certainly includes what could be the required information:
but what I thought would be inserted as the forum name turns out to be the topic name.Looking at the above code, I can see why this might be—the relevant text, ‘bbpress’, in the code block above appears to be just some placeholder text, and is the same placeholder text used to reference the topic name. I had thought that the text replacement might be a little more context sensitive than it appears to be.
So my question is, can anyone tell me how that text (‘bbpress’ in the above code segment, which is taken directly from the default loop-search-topic.php template) gets replaced, or more specifically I guess, can anyone tell me where to inject a function or the like to set this or some other piece of placeholder text (I appreciate that it may need to be different to the placeholder text being used for the topic name) to the relevant forum name?
Thanks