Skip to:
Content
Pages
Categories
Search
Top
Bottom

Divide topic replies to several parts


  • ynteligent
    Participant

    @ynteligent

    Hello,

    I am beginner in php, therefore I have no clue how to find soulution by myself and I am kindly ask you for help with my web page http://www.vchod.sk. On the page with article, there is a separate div with class=”entry-content” which create nice white box for article and separate div with class=”entry-content” for comment box- as it is possible to see http://www.vchod.sk/kontakty/.

    I would like to have the same look for bbpress page http://www.vchod.sk/forums/tema/nazov-temy/ divided into three parts:
    1. Box with question
    2. Box with repplies
    3. Box for add repply

    I understood that I have to modify some .php template, but I really do not know which one and how to do it. Thank you for any advice. Peter

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

  • Robkk
    Moderator

    @robkk

    It is probably possible , it might best to hire a developer to do this for you.


    ynteligent
    Participant

    @ynteligent

    This forum is really funny… As I went thorugh it, lot of users asked a question and after several days they answered for their own question, because nobody replied….

    I have already found solution… it is possible to do it in page template, you can do it easily…


    Robkk
    Moderator

    @robkk

    This forum is really funny… As I went thorugh it, lot of users asked a question and after several days they answered for their own question, because nobody replied….

    I have also seen this before, especially on topics more than 2 years old, but less than 5-6 years old. There was some users that have had moved on from helping out in the support forum. If it happens now usually it is when, I or someone else may not know how to help on some questions (happens on something I am not familiar with like app development or other custom development), we are busy, we could be sleeping and someone figured it out overnight. .

    As for this topic, I may have over-thought it a little.

    If you do want this kind of layout across your entire forums on your site, I do not have the time to do that right now. Here is what you wanted in this single-topic.php file that should be placed in your child themes root.

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

    Here is what it looks like. IF you need to modify something in content-single-topic.php just edit this template since I just copied it over.


    ynteligent
    Participant

    @ynteligent

    Hello Robkk

    thank you for your reply, this is another easy way how to achieve the same result- Thanks. I made a new template in child theme and added few “<div class= ….. >” and than I used it as a template for forum – and it worked out.

    Anyway I have a diferent problem with my page – If I use shortcode [bbp-single-reply id=$reply_id] only one reply appears. When I use [bbp-single-topic id=$topic_id] i see topic and all replies- but I want to see topic only…. is there any easy solution for that ?

    I have already found a solution for that, but it is little bit tricky and I am pretty sure that there is easier way how to do it, but i do not know how….. Any idea ?

    Thank you anyway… Peter.


    Robkk
    Moderator

    @robkk

    I am just going to reply to your other topic about this since you already asked the question.

    Display Lead Topic only

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