TechHaus (@thebeeobee)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 26 total)
  • @thebeeobee

    Participant

    Hmmm…i’m trying to achieve this exactly in one of my forums (not all) and I’m not sure how to do it with either plugin.

    I want to post Deals, but only I (or people with my role) can post the deals, and everyone else can reply to the topics.

    @thebeeobee

    Participant

    I apologize for my post above. User error of course,

    @thebeeobee

    Participant

    I just did a google search and I can find the same error on the front page –

    http://www.evolutionreborn.com/forums/

    @thebeeobee

    Participant

    Issue!

    I installed rc-5 and woocommerce on two new installs this week and I’m getting this when i go to mysite.com/forum to see the forums list.:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_Template_Loader::unsupported_theme_title_filter(), 1 passed in /opt/lampp/htdocs/th-fixed/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /opt/lampp/htdocs/th-fixed/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php:399 Stack trace: #0 /opt/lampp/htdocs/th-fixed/wp-includes/class-wp-hook.php(286): WC_Template_Loader::unsupported_theme_title_filter(‘Forums’) #1 /opt/lampp/htdocs/th-fixed/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘Forums’, Array) #2 /opt/lampp/htdocs/th-fixed/wp-content/plugins/bbpress/includes/core/theme-compat.php(561): apply_filters(‘the_title’, ‘Forums’) #3 /opt/lampp/htdocs/th-fixed/wp-includes/class-wp-hook.php(286): bbp_template_include_theme_compat(‘/opt/lampp/htdo…’) #4 /opt/lampp/htdocs/th-fixed/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘/opt/lampp/htdo…’, Array) #5 /opt/lampp/htdocs/th-fixed/wp-content/plugins/bbpress/includes/core/sub-actions.php(434): apply_fi in /opt/lampp/htdocs/th-fixed/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php on line 399)

    Lastest everything both tested on xampp locally.

    @thebeeobee

    Participant

    Thank you @robin-w! So the function I linked to activated the feature, and then I was able to copy the content-single-topic-lead.php into a bbpress folder in my theme, and edit it a bit like in your link. Feeling good about it.

    I do have a question though, if anyone can help me figure this out (i’m new to php and am not familiar with the syntax). In the file https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-single-topic.php , on line 73, what this mean:

    `<?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?>’

    That’s one of the few places I see the function called at all in the templates they edited. Still digging and learning. Thanks for any help or ideas.

    @thebeeobee

    Participant

    Ok, found this… still digging…

    bbp_show_lead_topic

    @thebeeobee

    Participant

    Hello,

    Just bumping this up. Would love any guidance no how to approach this.

    Thanks for any help and direction.

    Bobby

    @thebeeobee

    Participant

    @robin-w, I owe you big time! Thank you. I will check to see if that causes any other issues on the site, but for now, it seems to have fixed it on my local site.

    I guess for now I will rely on sidebar widgets for bringing the forum to the front page. Do you think I should attempt my own loop there instead of using the shortcode, or just wait a bit until the 2.6 officially comes out?

    Thank you soooo much for looking into this for me.

    @thebeeobee

    Participant

    Good call! And guess what, it works if I use the shortcode on a page via the wordpress backend.

    bbpress Shortcode test

    @thebeeobee

    Participant

    <?php echo do_shortcode("[bbp-forum-index]"); ?>

    @thebeeobee

    Participant

    It didn’t load the style for the shortcode on twentyfifteen either!

    Image of css failing to load on twentyfifteen index.php w/ bbpress shortcode

    @thebeeobee

    Participant

    And here is right after I install 2.6, babble about cryptocurrency for a bit, and then hit refresh. The forum page looked normal, then I look at the front page and notice the CSS isn’t formatting the shortcode.

    (no need to watch that, but just for the sake of documenting the issue. time stamp for when i look at it at 5 minutes 2 seconds. Also sorry about curses! Don’t watch if offended by bad language. My apologies.).

    @thebeeobee

    Participant

    Yes, correct! OMG, i recorded this…

    I just hit save there with the shortcode on 2.5.14

    At 20:05 if the video doesn’t load at the right time. Thanks again! You made me remember that I actually documented this so I don’t have to fire up a new wordpress instance to retest. I recorded every thing I’ve done so far on this bbpress installation.

    @thebeeobee

    Participant

    Test reply:

    I’m getting

    ERROR: Your reply cannot be created at this time.

    to this thread.

    @thebeeobee

    Participant

    @robin-w, thank you for the response. Nothing too clever going on! There is a 999 priority to enqueue the site’s css after plugin css, to over-ride things like some woocommerce styles, but that seems like pretty normal practice. I don’t think that’s it. The plugin styles still load, in this case, just first.

    Besides, the shortcode worked when i originally used bbPress 2.5.14, and the when i switched to bbPress 2.6 Release Candidate 5, the styles stopped loading.

    Hmmm….

    They were both (local and server) clean installations, and only contain bbpress plugins right now. I didn’t copy the databases over.

    And yes, they work as expected on twentyfifteen.

    Stumped! ahhh. Ty again.

    @thebeeobee

    Participant

    Hi Robin W. – just want to say that thank you so much for all the responses and help you give to this community. Super inspiring.

    I ended up just uploading the theme and putting up a little dummy content.

    The two areas of note I mention, on the front page, http://jockjams.com, you can see below the blog post that what the shortcode out put on my page isn’t styled.

    However, if you dig around at http://jockjams.com/forums/ or go to http://jockjams.com/forums/topic/do-the-nets-suck/, these look ok.

    Another place where there is an issue is if you go to some of the lists on the profile page:

    http://jockjams.com/forums/users/bobby/topics/

    That is a good example. The list is THERE, you can see it when you inspect the page. Somehow the styling (or lack of) just pushed it way off to the side.

    Both of these looked right in twenty fifteen, and I know for sure the shortcode worked on bbPress 2.5.14 from wordpress plugin repository, but not on bbPress 2.6 Release Candidate 5 that I downloaded from this form.

    I guess those are all of the details. I would love to know why the styling worked on twenty fifteen, yet it doesn’t work on my theme, while the other two examples above are styled correctly along with my theme and are being properly targetted by bbpress css as well for the list styling.

    Thoughts?

    Sorry if this is beyond the scope of this forum. I use JointsWP.com btw as my starter theme.

    @thebeeobee

    Participant

    I also notice that my lists are really messed up when i go to my profile page, look at Topics Started, etc. (and both look fine on twenty fifteen).

    So I think both of these are using the base styles from twenty fifteen for their list, whereas the lists on Forum and Topic pages are using their own CSS. This seems…not ideal and they should share similar markup, no?

    I will upload after lunch to share what’s going on. But I feel like all lists in bbpress should be based off of the same styles as the Forum and Topic lists.

    @thebeeobee

    Participant

    I noticed in Firefox, when I go to Responsive Display Mode and simulate a phone (for example, iPhone 6s), the Topic Type and Topic Status dropdowns seem to not repond to my mouse click 99% of the time (they will randomly work out of nowhere once and then stop).

    I do not have this behavior on Chrome.

    Just reporting it in the case that it is an idication of something else.

    @thebeeobee

    Participant

    I just tried to insert the shortcode on a random page via the admin editor, and it worked fine.

    So it has something to do with putting it in my template directly. Any ideas?

    @thebeeobee

    Participant

    I even tried in another browser, so it wasn’t a cache issue.

    It’s odd that everything else seems to work and style correctly, but not this shortcode.

    I just tried

    <?php echo do_shortcode("[bbp-forum-index]"); ?>

    And same issue. Hmmm…

    @thebeeobee

    Participant

    I ended up tweeting the developer months ago, but she just favoriting my tweet. Nothing new development-wise that I can see.

    Bummer. 🙁

    @thebeeobee

    Participant

    Another bump because I really need this!

    @thebeeobee

    Participant

    Just bumping this up in case any developer wants to take a stab at forking this one!

    @thebeeobee

    Participant

    Update – tried this with twenty fourteen and also tried it on a local installation – and neither worked. I think this plugins is dead.

    @thebeeobee

    Participant

    Bummer, not seeing that! Thanks for the response.

    Going to try with another user account because there were some weird user role issues with my forum until recently when I installed User Role Editor to fix the issue.

    EDIT: none of my keymasters can see that button. Going to try to disable a few other plugins but everything is the latest version.

    EDIT 2: still no. Has this plugin broken for anyone else or does it work for wp 3.8+ and bbpress 2.5+?

Viewing 25 replies - 1 through 25 (of 26 total)