Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove the Oh Bother – No Forums here box


  • davidschwartzer
    Participant

    @davidschwartzer

    I have gone through the prior threads on this issue and I still can’t change the text in the Oh Bother box.

    My site is appletechtalk.com. If you click on the Forums taband look at the bottom of the page, you will see the Oh Bother! text.

    I have modified the feedback-no-forums.php file so that the text line reads “Please select a topic”. I thought that would be easier than trying to remove the box completely (which is what I would rather do).

    I placed the file into my child theme. First I put it in the root of the bbpress directory and that did not help. I also recreated the directory structure in my child theme:

    bbpress/templates/default

    and that didn’t help either.

    I am new to WordPress and bbPress as well as css and php files so I have a bit of a learning curve but I’m wondering if you have any thoughts on why this isn’t working.

    Thanks,

    David

Viewing 21 replies - 1 through 21 (of 21 total)

  • Pascal Casier
    Moderator

    @casiepa

    Hi David,
    Am I correct in saying that this is coming from your top level forum that has no topics, right ?
    Pascal.


    davidschwartzer
    Participant

    @davidschwartzer

    Pascal:

    Thank you for your response.

    You are correct that this message appears at the top most level of the forums where there are no topics (and will not be).

    Regards,

    David


    Robkk
    Moderator

    @robkk

    @davidschwartzer

    Your forum urls for each section is weird for some reason. Have you added a slug that is something like this forums/forum for the forum root slug in Settings > Forums in the WordPress backend?

    Your forums archive page is blank and only showing a sidebar login widget.

    appletechtalk.com/forums/

    Yet strangely here is how your forum archive should look like and yet it is in a single forum page. Since this is a single forum page there is a reason there is this notice, as single forums should have topics and not a forum archive. I think you could have possibly echoed a forum index shortcode in the single forum bbPress template?? I am not sure though, I am just guessing.

    Oh bother! No topics were found here!

    appletechtalk.com/forums/forum/forums/

    A single forum page should have this by default.

    yoursite.com/forums/forum/forum-name/

    Or if you have categories

    yoursite.com/forums/forum/category-name/forum-name

    Your topics are fine though.

    appletechtalk.com/forums/topic/notes-not-syncing/

    I am not sure how much template editing you may have done, but can you rename your bbpress folder in your child theme to like bbpress-1 so I could see without any template edits what were your original issues then I can try to help you on that.


    davidschwartzer
    Participant

    @davidschwartzer

    Robkk:

    Thanks for your note. Let me respond to some of your questions with what I know (which isn’t much).

    I created the forum by trying to follow the steps in the Step by Step guide provided on the bbPress site. I have not done any editing of the template other than adding some css to make the topics flow in a list, rather than horizontally as is the default layout and also to change the comment text to black instead of gray. I am also using a couple of plug-ins. One is called bbPress New UI which changes the basic layout but doesn’t seem to otherwise change the forum plug-in. The other is called Bbpress Login Register Links On Forum Topic Pages, which does what the title says.

    I am not using a child theme currently but I have deactivated all of the plug-ins so what you should now see is the default bbPress forum that is created.

    I hope this is helpful. Let me know if you need anything else from me to help figure this out.

    I am new to WordPress and bbPress and clearly have a lot to learn. I appreciate your assistance with all of this.

    Regards,

    David


    davidschwartzer
    Participant

    @davidschwartzer

    Robb:

    I shoulkd have also added that I did not change or add to any of the slugs that are set up in the Forums console within WordPress.


    Pascal Casier
    Moderator

    @casiepa

    @davidschwartzer

    I just had another check at your website and I fully agree with robkk that you have very strange slugs.

    If it can help, I have just uploaded the new version of my personal plugin https://wordpress.org/plugins/bbp-manage-subscriptions/ where you can play with the ‘Oh Bother! message (hide it, set a different text, …)
    My plugin is adapted to my own needs, but feel free to use it. And give me more ideas to implement !
    It might help you with the message, but please review your whole setup.

    Pascal.


    davidschwartzer
    Participant

    @davidschwartzer

    Pascal:

    Thank you for your feedback. I will certainly try your plug-in. That said, I am concerned that I have a major error in my bbPress set-up. I want it to be right and if that means staring over I am willing to do that.

    I did not change any of the slugs when I set up the Forum. Perhaps I added a page or category in a way I wasn’t supposed to. I tried to follow the step by step guide on the bbPress site but clearly I did something wrong.

    Can you provide any guidance on what I need to do to fix this problem or, if I start over, what I should do to configure it properly?

    Regards,

    David


    Pascal Casier
    Moderator

    @casiepa

    I’m not an expert of uninstalling, sorry, I’m more into plugins.

    I think something is set (a page, a redirect, …) on http://appletechtalk.com/forums/
    If login at that page, where are you redirected to ?

    Pascal.


    Robkk
    Moderator

    @robkk

    @davidschwartzer

    I will try to test out your theme (Simplecatch) to see if it is causing any issues, then come back to you with any solutions.

    You can reactivate bbPress New UI plugin and use the CSS you had again as of course those plugins were not causing an issue.

    Perhaps I added a page or category in a way I wasn’t supposed to. I tried to follow the step by step guide on the bbPress site but clearly I did something wrong.

    This may be why your forum root page /forums is blank for some reason, but I will check it out.


    davidschwartzer
    Participant

    @davidschwartzer

    Dear Pascal and Robkk:

    Let me explain how I set this up and perhaps you can tell me where I went wrong.

    For the top level I created a Forum called Apple Tech Talk Forums.

    Under that, I have forums for General Discussion, Hardware and Software. Those forums point to the Apple Tech talk Forums as the Parent.

    Within those forums I have set up categories like Desktop, Portable, etc. It’s within those categories that topics would be created.

    I tried to remove the Apple Tech Talk Forums from the Forums list but then I get a 404 error if I go to the Forums tab on the site.

    Does that information give you any clue as to what I did wrong?

    Thanks,

    David


    davidschwartzer
    Participant

    @davidschwartzer

    Pascal:

    I installed and activated your plug in which looks very interesting, but it does not seem to have any effect on the main forums page. Perhaps it is because of the way I have set up the forum.

    Regards,

    David


    Pascal Casier
    Moderator

    @casiepa

    @davidschwartzer,

    For issues with the specific plugin, can I ask you to open a support request on https://wordpress.org/support/plugin/bbp-manage-subscriptions ?

    Thanks,
    Pascal.


    Robkk
    Moderator

    @robkk

    @davidschwartzer

    It is blank on the forum root because of the theme. Use this bbpress.php file I just created and plop it in your theme preferably a child theme to fix that issue. I also fixed an issue where the user profiles also lead to a blank page.

    It also makes your forums full-width, I didn’t really know if you wanted full-width forums but I just created you full-width forums haha. (I could change it to a sidebar layout if want.)

    https://gist.github.com/robkk/b97ff7d7655080cbcaab

    For the top level I created a Forum called Apple Tech Talk Forums.Under that, I have forums for General Discussion, Hardware and Software. Those forums point to the Apple Tech talk Forums as the Parent.

    You do not need to do that anymore since I just fixed the forum root page for you.

    Within those forums I have set up categories like Desktop, Portable, etc. It’s within those categories that topics would be created.

    I think it is better for you to have Software as a category and say IOS as a forum for example.

    I tried to remove the Apple Tech Talk Forums from the Forums list but then I get a 404 error if I go to the Forums tab on the site.

    Just change the menu link url to a custom link that leads to /forums on your site.


    davidschwartzer
    Participant

    @davidschwartzer

    Pascal:
    I am happy to do that but I am going to wait until I try to address what appears to be a bigger issue with the overall structure of the forums as I’m not sure there is an issue with the plug-in until I get that addressed.

    regards,

    David


    davidschwartzer
    Participant

    @davidschwartzer

    Robkk:

    I think with your help I am making real progress. Here is what I have done so far.

    1. I put the bbpress.php file you created into the bbpress directory in my child theme.
    2. I removed the Apple Tech Talk Forums from the Forums list
    3. I removed the Forums menu item created by bbPress and created a menu item as a Custom link.
    4. Maybe I said it wrong but I agree that Hardware, Software, etc. should be categories and OS X, iOS be the forums. I think I had a problem setting them up originally. In any case, I deleted those top levels and created new categories and moved the forum topics into the new categories.

    Based on all of that, I think this looks much cleaner and the slugs seem to be what was originally described but you may want to take a look and let me know if I need to do more.

    The full width forums look nice but it does remove the ability to register and/or log in to the forums and also removes some of the display ads. (I am using a plug-in to change the look a little bit as the css I originally used to make the forums show vertically isn’t working anymore. Would yu be able to tell me what line(s) in the file I would change if I want to go back to a right side bar like the rest of the pages?

    That said, with the forums being full width, what is your suggestion to provide a way to log in or register for the forums while on those pages?

    I do have a plug-in called “Bbpress Login Register Links On Forum Topic Page”, which does as it says but it now causes everything to be duplicated across the top as you will see if you look at the page. (this is new behavior). Do you have a suggestion for how to deal with this?

    Last question (I think), you said the bbpress.php you wrote corrects a problem with this theme. If I ever want to change themes will I still be able to use this file? I suppose I can see if a new theme has issues. If not, I guess I am OK. If I do, can I use this file as is or does it need to be modified for each theme?

    Thank you again for all of your help. You have made the forums look 100 times better and the Oh Bother box is no longer, well, a bother. I appreciate your help.


    Robkk
    Moderator

    @robkk

    Would yu be able to tell me what line(s) in the file I would change if I want to go back to a right side bar like the rest of the pages?

    I just edited this gist file so just recopy the code to bring the sidebar back if you do want to use the login widget.

    https://gist.github.com/robkk/b97ff7d7655080cbcaab

    If I ever want to change themes will I still be able to use this file? I suppose I can see if a new theme has issues. If not, I guess I am OK. If I do, can I use this file as is or does it need to be modified for each theme?

    Every theme could be different. Most important the surrounding divs and their classes in simple themes, but it could get more way more complicated in some theme frameworks.


    davidschwartzer
    Participant

    @davidschwartzer

    Robkk:

    Thank you so much for all your help. This has solved numerous problems for me and I think the slug issue (which I didn’t even realize was a problem) is now fixed also.

    I still have a lot to learn about all of this so I suspect you will see me back in these discussion boards from time to time.

    Regards,

    David


    Robkk
    Moderator

    @robkk

    Oh no problem. 🙂

    The slug issue was really created by how you set up your forums at first because your theme wouldn’t display them right.

    The other issue with the login register links showing up twice is because of the bbPress new ui plugin and how they try to implement a hierarchy and category layout for users.


    Pascal Casier
    Moderator

    @casiepa

    @davidschwartzer,
    Happy to see you are getting where you want.

    To close this from my side, I have found a hardcoded folder name, so that’s probably why the css is not correctly loaded. I see in your source : <link rel='stylesheet' id='bbpmsclosednogrey-css' href='http://appletechtalk.com/wp-content/plugins/bbp-manage-subscriptions/css/closednogrey.css?ver=4.3.1' type='text/css' media='all' /> but most probably your folder is not called ‘bbp-manage-subscriptions’, right ? For this version, please rename the folder under the plugins folder and reactivate. Will be fixed in next version.

    Enjoy bbpress !

    Pascal.


    davidschwartzer
    Participant

    @davidschwartzer

    Pascal:

    Thanks for your note. I was about to attempt your recommended change when I saw that an update to the plug-in had been released. I installed the update and all now seems to be working correctly. The Oh Bother text can be modified and I now have the ability to remove it completely.

    Thank you for your help and for providing such a useful plug-in. I think a lot of WordPress users will find this helpful.

    Regards,

    David


    Pascal Casier
    Moderator

    @casiepa

    @davidschwartzer

    Always happy if I can help. Feel free to leave this kind of message also on review page of the plugin too 😉

    Pascal.

Viewing 21 replies - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.
Skip to toolbar