Forum Replies Created
-
In reply to: Forum url changes
I’d suspect that because each forum is not an real individual wordpress page (ie not in dashboard>pages) , then retrieving the page_link might well return a ‘virtual’ ID, and this might be the top forum – not proven, just a hunch.
My initial suggestions would be that you try get_permalink instead of get_page_link() – this retrieves the full url of the current displayed page, and should in theory get you what you want.
If you need the existing get_page_link() for your other pages, you could try wrapping it in an if… eg:
if (is_bbpress()) { get_permalink etc. } else { get_page_link() }
Let us know if that helps
Sorry, I cannot find your post.
Please repost without the urls as urls, and I’ll take a look
By the way – help is free here and offered by volunteers in their own time, so please consider help a privilege not a right 🙂
🙂
ummm…
ok, ether you are using bbpress version 1, which went out of production many years ago or might be a related plugin or part of a wrapper like buddyboss????
bbpress version 2.6.x does not have any files of those names
sorry – whereabouts is the bb-settings.php file?
In reply to: Get Number of Favorites & Subscription to a topic🙂 great, glad to have helped
In reply to: Get Number of Favorites & Subscription to a topicI’ve just taken a look – the whole way subscriptions works was changed in 2.6
this code works on my test site
add_action('bbp_template_before_single_topic', 'show_bbp_sub'); function show_bbp_sub() { $subscriptions = bbp_get_subscribers(bbp_get_topic_id()) ; $count = count($subscriptions) ; echo 'number of users subscribed: '.$count; }
In reply to: Get Number of Favorites & Subscription to a topiccan you post the complete code
I would suggest $output, but you may need to play with the variables to see what each does
In reply to: using the bb forums list widgetjust taken a quick look.
yes it looks like it will show the sub forums of a forum ID you enter, but not the parent forums as well.
I should say I’m not a bbpress author, and after a check of the code it is not an easy change to fix
In reply to: Remove noreply email from notification emailsthe code is valid – I suspect you have a copy/paste issue – sometimes a ‘ becomes corrupted,
Can you post exactly what you have in your file
In reply to: Search Results Not Workingcaused by a post that was password protected – fixed
In reply to: Search results are password protectedgreat – glad you are fixed !!
In reply to: Search results are password protectedhmm…
that is coming as a result of a wordpress page protection issue, so something in either page or posts is overriding… are any of your pages password protected?
In reply to: Search Results Not Workingso your site shows ‘This content is password protected. To view it please enter your password below’
yes ?
In reply to: bbpress and cache
@techinbermudas it is set to false by default, so suspect that one may be a red herring 🙂In reply to: Tag cloud on search result pagegreat to have a first poster, and there aren’t any no-brainers – we all start with no knowledge 🙂 🙂
It can take a few questions to get to a common understanding of what you are trying to do, so can I ask :
can you define what you mean by ‘search page’ ?
and can you give us links to the threads that gave you 1 & 2
sorry, from your original post, I had presumed you were familiar with filters.
so you would use an add_filter to change the output – do you need help with that?
In reply to: Unwanted Text in Forums Menu Linkfixed with some site specific css 🙂
In reply to: Unwanted Text in Forums Menu Linkcontact me via
In reply to: Unwanted Text in Forums Menu Linkit is probably easiest to hide using css, but I’d need a link to see what is being downloaded to your nrowser
apply_filters( 'bbp_get_the_content', $output, $args, $post_content );
in
bbpress 2.6.6\includes\common\template.php
line 1940
should do it
In reply to: Unwanted Text in Forums Menu Linkis your forum public enough to be able to see this page ?
In reply to: bbpress and cacheok, not a lot we can do about phones which insist on local caching of web pages 🙂
In reply to: Subscribing to scheduled topic?This plugin might well work, I haven’t tried it with scheduled posts, but suspect it would work.
You just need to be subscribed to the relevant forums