Skip to:
Content
Pages
Categories
Search
Top
Bottom

embed loop-tpoics into to bottom of topic view screen


  • parmaker
    Participant

    @parmaker

    I just transferred the whole site, which is housed under a non-bbpress-like CMS package, into bbpress by the built-in tool.

    Every thing looks fine.

    But I have yet to put them in production because of one reason:

    Let’s think about the following:

    1. a visitor landed my home.
    2. he/she went to a forum.
    3. the forum shows topic index and a paginator on top or bottom of topic index box, based
    4. on the max of lines configured.
    5. the visitor travelled back and forth in site the forum by clicking the paginator. for ex, if the forum has 100 topics and max line is configured as 15, then paginator links would be 1,2,3,4,5,6,7.
    6. supposed that the visitor clicked 3-pgnator before clicked 5th topic.
    7. that is, the visitor is reading the 35th topic and replies if any.
    8. at this time the vistor changes mind to go to 2nd page.
      so the visitor go back to the previous topic index before clicking 2-pgnator link.

    Now the visitor grumbles. the topic view page(the one described at 6.) shoud have got the topic index and paginator below the topic view. So we dont need to do extra clicks.

    This scenario is totally from the customers’ view point. Unfortunately, there are some tools in the world prviding such features, and they asked the site builder to implement that feature.

    Because old system has it and the bbpress out of box does not, i do not think the request is wrong.

    I have tried to find a solution, but not. for ex, i put
    echo do_shortcode(‘[bbp-single-forum id=$f_id]‘);
    at the bottom of conent-single-topic.php

    Then looked great, but problem is:

    In case that said above 6., the 3th topic index should be shown but shows 1st page, which is not getting sync’ed with the current topic’s position.

    so i have to look into source code.

    As far as I learned from it, bbp-single-forum short code is the very candidate, I guessed. But no clue to me.

    display_forum function is out of control by myself, I guess.

    Hopefully, some help or idea is in need. Or, let me know what I missed or overthought.

    Thanks.

Viewing 1 replies (of 1 total)

  • parmaker
    Participant

    @parmaker

    unfortunately i did not know ol style was working, so above squared is as :

    1. a visitor landed my home.
    2. he/she went to a forum.
    3. the forum showes topic index and a paginator on top or bottom of topic index box, based on the max of lines configured.
    4. the visitor travelled back and forth in site the forum by clicking the paginator.

    for ex, if the forum has 100 topics and max line is configured as 15, then paginator links would be 1,2,3,4,5,6,7.

    5. supposed that the visitor clicked 3-pgnator before clicked 5th topic.
    6. that is, the visitor is reading the 35th topic and replies if any.

    7. at this time the vistor changes mind to go to 2nd page.
    8. so the visitor go back to the previous topic index before clicking 2-pgnator link.

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