maxlevel (@maxlevel)

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • @maxlevel

    Participant

    This is probably as good as it gets until Elementor decides to improve the theme builder. Glad that it works now somehow.

    @maxlevel

    Participant

    I had a look at my site and just found out that the debugger also doesn’t seem to work correctly. It shows no template while the “Edit with Elementor” button shows “Single Post Forum” template. Means you can’t rely on it either. I don’t know why the theme builder in Elementor is such a crappy implementation that doesn’t even improve over time. I only got it working on my site by weird trial & error until it finally showed what I wanted but it was everything but straight forward.

    @maxlevel

    Participant

    And yes, the debugger shows you what template is active for a certain page. In your case none. I don’t know if it’s applicable on your site but you could also try to set a template for all pages and see if it is active on a specific page. I used it to find out what kind of template is active on what type of page/post. Because this is all a mess in Elementor theme builder. I never found any logic behind what it considers a post, archive or page.

    @maxlevel

    Participant

    Yes, that is quite strange. You should be able to see the list of forums. One thing I have different than you what I noticed is that I also set the template for all child pages of the archive page. Maybe this pages are all archive pages?

    @maxlevel

    Participant

    Hmm, you are sure you use a single POST template and not a PAGE template?
    You might also try setting it for one forum specifically to see if that works.
    Sometimes the “ALL” function did not work I dimly remember.
    Try
    Include – Forums – Forum 1
    Include – Any Child Of – Forum 1

    Another thing I noticed is that I have set a parent forum with 3 forums as children.
    Maybe that plays a role too.

    I use the REIGN theme which is much more convoluted then the Astra theme.
    Astra is very clean so it should work better than what I use.
    Why don’t you just switch themes and try it out so you know rather than guessing?

    @maxlevel

    Participant

    Topic pages seem to be (strangely) child-pages of the forum page. That is why I used the “Child Of” selector and either chose “All” or a specific forum as parent. In my case then all the topic and reply pages looked like the main forum page. In your example this doesn’t seem to be the chosen settings.
    Important! The template must be a single POST template (not single PAGE) in Elementor PRO for forum pages.

    Include – Forums – all
    Include – Any Child Of – Forums

    If you made this two settings your topic pages should look the same as the forum page.

    I however don’t know how to style topic or reply pages differently than the main forum page if this is what you need. You may try tags is the only option that comes to mind.

    @maxlevel

    Participant

    @majidmad I did not have the urge to style single topics so I did not search for a solution so far but a quick look at it shows that there seems to be no easy way to address topics (also called discussions) in the display conditions of Elementor. Since you can assign tags to a topic you might try to address a single topic via tags but I have not tried that.

    @maxlevel

    Participant

    @robin-w Sorry, just have seen your response now. Yes, I have asked Elementor support but that was a rather cumbersome experience. It is in the queue now for possible bug fixes/future upgrades and I think we all know what that means …

    @maxlevel

    Participant

    @majidmad Yes, I did (kind of):
    As display condition of a template use “Child Of …” and choose the forum you want to have that template applied to. What works for me now is a setting two display conditions. One is a display condition “Forums” set to “All” and another one is display condition “Any Child Of” set to “Forums”. You can also use the two conditions set to specific forums to let them have their own Templates.
    Hope that makes sense.

    @maxlevel

    Participant

    Hi Robin,

    As far as I understand that add-on it is useful when I want to create bbPress pages from scratch.
    This is not what I want.
    I am totally happy with the default design of bbPress that my theme delivers.
    The only thing I am missing is a right sidebar on all forum pages.

    I know that may sound quite complicated when you are not familiar with the way the Elementor Theme Builder works. It basically replaces all the header, footer, page and post templates of a theme. Every template has Display Conditions where it should appear (what it should replace). At least that’s how it’s supposed to work.

    I just can’t get the Elementor Theme Builder to apply the page template with the right sidebar to all of the forum pages but only to the forum page that lists all of the topics.

    My suspicion is that Topics are another post type than Forums and that is why the template only applies to “forums” posts but not to “topics” posts. “Forums” is the only display condition I can choose in the Elementor Theme Builder so maybe the other types are just missing.

    Hope that makes sense.

    @maxlevel

    Participant

    @robin-w 1 and 2 both yes and I will contact you.


    @odevbul
    Thanks, I already tested the above plugin as well as this
    bbPress Moderation By Ian Stanley

    The problem is that both plugins work for all forums and I need it for only one of my forums.

    @maxlevel

    Participant

    This is it! Small, beautiful and works like a charm.
    Thanks

    @maxlevel

    Participant

    I pasted it in the functions.php file of my child theme and it threw this error message before I could save it:
    ————————————-

    Your PHP code changes were rolled back due to an error on line 271 of file wp-content/themes/kleo-child/functions.php. Please fix and try saving again.

    syntax error, unexpected ‘$forum_id’ (T_VARIABLE), expecting ‘(‘

    ————————————-

    Line 271 is:

    if $forum_id = 18747 $reply_address = 'mlt-club@monalisa-twins.com' ;

    The first item in the list of forums

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