Forum Replies Created
-
In reply to: bbp_setup_current_user was called incorrectly.
As you no doubt already know, this is just a warning message, and bbpress say it is an issue with wordpress, and are waiting for wordpress to fix. Also as you know (but for others reading this), turning off debug fixes this.
If you want it to disappear whilst you are developing (and so need debug on), then go to
wp-content/plugins/bbpress/includes/core/sub-actions.php
and comment out/change line 147
_doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ), '2.3' );to
//_doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ), '2.3' );and change back after developing as well as turning debug off for the production environment
In reply to: Add Google Adsense to bbPress 2.5.4thanks for posting this
In reply to: Increase quantity of search resultsI often find when you leave a problem alone, the brain mulls it over in the background, so awoke in the middle of last night knowing what the issue was, so I have now fixed the problem with speedy searches !
Can you try a new version of 2.5.3 beta, as before delete current plugin, download and add new
http://www.rewweb.co.uk/private-groups-2-5-3/
And let me know that this does what is expected !
In reply to: Possible to get inline info and nested?The template you’ll want to alter is
loop-single-reply
Would take a lot of altering
create a directory on your theme called ‘bbpress’
ie wp-content/%your-theme-name%/bbpress
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/%your-theme-name%/bbpress/loop-single-reply.php
bbPress will now use this template instead of the originalIn reply to: WP_DEBUG Notice for bbp_setup_current_userThis is an error in wordpress and awaiting their fix
https://bbpress.trac.wordpress.org/ticket/2412
Switching off debug fixes it, but appreciate that it is annoying !
In reply to: Can't get access to a created forumForums are stored in the database, so you will not find them using ftp
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
In reply to: No topics to convert?Hey sorry that we didn’t get round to you – it is all volunteers that support this forum, and thanks for posting the solution to help others in future
In reply to: Increase quantity of search resultsgreat – glad it’s working.
I did have an alternate faster solution which worked fine on my large test site UNLESS you hit the breadcrumb search after doing a search, when it ran out of memory! Go back to search via any other route and it was fine ! I’m still seeing if I can crack the issue with that (lots of resets) so I might come up with a faster solution.
Let us know how you get on.
If I don’t find a better solution in a few days, I’ll take that one live so that you get further updates via the usual route.
In reply to: Add Text Above Forum on Main Page@cbsy lots of ways to achieve this – two below
1. Look in
Dashboard>settings>forums>Forum Root slug, and see what ‘forum root’ is set to
The create a page with this name on it – so title the page this
The in that page write whatever intro you want, and then put
[bbp-forum-index] at the bottom of the content
bbpress will then use this page as your forum root.
2.
Add the following to your functions file
add_action ('bbp_template_before_forums_index' , 'my_intro' ) ; Function my_intro () { Echo '<div class="entry-content"> Here is my intro text. This is lots of writing to introduce the forums and make people read this stuff </div>' ; }If you hit prolems or need further help, just come back !
In reply to: Edit the bbPress login widgetTry the following
//adds login/logout to menu //filter to add login/logout to menu add_filter( 'wp_nav_menu_items', 'my_nav_menu_login_link' ); function my_nav_menu_login_link($menu) { //uncomment the next line if you only want login on bbpress pages //if(is_bbpress()) { if (is_user_logged_in()) { //set the $url on the next line to the page you want users to go back to when they logout $url = 'http://www.mysite.com/forums' ; $url2=wp_logout_url($url) ; $loginlink = '<li><a title="Logout" href="'.$url2.'">Logout</a></li>'; } else { $current_user = wp_get_current_user(); $user=$current_user->user_login ; //set $page on the next line = the permalink for your login page $page='login' ; $loginlink = '<li><a href="/'.$page.'/">Login</a></li>'; } //uncomment out the next lines if you only want login on bbpress pages // } // else { // $loginlink="" ; // } $menu = $menu . $loginlink; return $menu; }In reply to: Change Breadcrumb url linkJust had a look at your site, and you seem to have ‘fixed’ this – correct, and if so how did you do it?
If by altering core file, let me know, and I’ll give you a better solution.
In reply to: Oh bother! No topics were found here!ok, presume you’ll progress with the theme author
In reply to: Edit the bbPress login widgettry changing ‘logout’ to “logout”
In reply to: Export Forum Posts to Excel fileSeveral plugins that will do this for you, bbpress stores the entries as 3 custom post types, Forums, Topics, and Replies
I googled ‘wordpress export custom post to excel’ and got several inc.
easiest way would be to uncode my shortcode
or just use the do_shortcode function within your code
In reply to: Change Breadcrumb url linkI’m sorry but I don’t understand what you mean.
What shortcodes – where?
You will need to either provide examples or explain further.
Sorry, but I am trying to help you, but there are hundreds of ways to set up wordpress/bbpress so need clear issues to resolve eg it looks like this, it needs to look like this
In reply to: Change Breadcrumb url linkit should be :
Dashboard>settings>forums>forum root slug and set to forums
In reply to: I need freshness or latest date or post.Not sure what you questions is, but maybe the answer is
In reply to: Change Breadcrumb url linksorry end of a long day, and brain is frying after several hours coding, so apologies.
can you show your current breadcrumb, and what it links to, and the desired breadcrumb and what you would like it to link to
In reply to: Auto close topic after some time / daysHey great that the first bit works, let me know re the second, we’ll get it working if not 🙂
In reply to: Increase quantity of search resultsok, this has driven me mad again ! I hated search last time, and I hate it even more now 🙂 – problem is that the results can be forums, topics or replies, and each one needs checking.
BUT I have fixed the pagination.
The downside is that searches will run slowly, as on each search I have to compile a full list of all forums, topics and replies that the user can see before running the search query. This takes time.
Previously I had tried to just check the current page, but that is what led to the pagination problem.
So can you try :
http://www.rewweb.co.uk/private-groups-2-5-3/
Follow the instructions, and confirm that this is working for you.
Sorry, but I cannot see an easy way to speed up search, so it’s a trade off, slow search and private groups, or fast search and no private groups unless I have a brainwave in the next few hours.
Anyway come back and let me know if this works on your site
In reply to: Oh bother! No topics were found here!It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
then come back
In reply to: Oh bother! No topics were found here!Great – glad you’re fixed, and thanks for coming back to let me know !
In reply to: Increase quantity of search resultsNo that’s fine – do have a really large amount of topics/forums?
I’ll take another look at the code
In reply to: Increase quantity of search resultsI suppose I’m after
logged in as full user with all forums 174 results
Logged in as admin user – 20 results but should see all 174 – correct?
Logged in as user able to see only public forums – 18 results but should see xx
Logged in as a private user – xx results but should see yy results