Skip to:
Content
Pages
Categories
Search
Top
Bottom

Post replies bring you to the second page

  • When a user posts a reply in a multi-page thread, it brings them to the second page. Why is this and how can I fix it?

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

  • _ck_
    Participant

    @_ck_

    You might have a plugin interfering with something?

    What do you have installed?

    Note there is a bug in the way the “front page topics” plugin works in how it changes the number of topics shown on the front page. It’s method affects other calculations incorrectly. I would almost bet that’s your problem. I posted a fix somewhere around here…

    Here it is. Remove front-page-topics plugin and use this instead:

    https://bbpress.org/forums/topic/custom-topics-count-for-different-pages-that-doesnt-break-last-post?replies=1#post-9796

    So, after going through that link, I have no idea what I’m supposed to do. I apologize, but you may have to hold my hand…


    _ck_
    Participant

    @_ck_

    Let’s start with are you using front-page-topics? ;-)

    If so, deactivate/delete it and then download this:

    http://ckon.wordpress.com/files/2007/08/change_topics_per_page.txt

    edit the limits per page near the top as desired

    rename .txt to .php

    install and activate it

    Thank you! (Yes I am using front page topics)

    When I install this plugin and remove the front page topics, my page links plugin stops working (it shows page links that go nowhere).


    _ck_
    Participant

    @_ck_

    I’ll have to look at what they do.

    They probably have a conflict in how they calculate pages.


    _ck_
    Participant

    @_ck_

    Okay I think I have a workaround.

    Try this.

    http://ckon.wordpress.com/files/2007/08/change_topics_per_page.txt?v002

    Don’t really have a way to test, so you’ll have to let me know. You’ll have to re-edit the limits at the top, sorry.

    Thank you–I will test this out at the earliest.

    It works now, but for certain topics its showing extra pages that don’t exist. The link to the last page still goes to the last page (even if its 2 and not 3), but still a bit awkward. Feel free to check it out yourself if you’re curious.

    http://cairoshell.com/forum

    BTW: Thanks for your help. Without you our forums would not be how they are now.

    EDIT: I now get 404 errors when posting replies. The posts go through after the 404, but still, bad enough for me to revert back to FPT.


    _ck_
    Participant

    @_ck_

    Ugh sorry.

    I will have to create a bunch of fake posts to try to test a similar environment.

    Because of the way bbpress calculates those pages, this is a very tricky process (also a very annoying process).

    If all you are trying to affect is just the front page, there is a direct hack for the core you can do which should not affect any other page and allow all other plugins to work properly.

    https://bbpress.org/plugins/topic/3?replies=15#post-346

    In theory it will work better than any other plugin method.

    I’ve got my hands full right now working on an advanced user tracking program to replace simple onlinelist that works across wordpress+bbpress.

    I will look into this other fix you mentioned.

    In the meantime, your new plugin sounds great! Keep up the good work.

    _ck_

    If you visit my website and check out the news page, you will see the news navigation title doesn’t change color like the rest of them. Is there any way to fix this?


    _ck_
    Participant

    @_ck_

    Not sure what you mean by “navagation title”.

    Do you mean the news article titles stay blue when you mouse over them? That’s because you haev a:hover (and a:visited) set to the same colour as a:link in your css.

    ps. does your shell run on win2k or does it need winxp?

    By navigation title I mean the Home News Features Downloads etc…Notice how they all turn white when you are viewing those pages. But the News doesn’t change to white?

    Oh and it win run on Vista and Xp.


    _ck_
    Participant

    @_ck_

    It’s kinda offtopic for here but it’s such an easy fix.

    The reason why the news doesn’t turn white is because the link does not have the class “current_page_item” set. It should be something like <a class=current_page_item href= but I am not familiar with your menu system, if it’s hard coded or if it’s part of some plugin.

    I am guessing it’s hard coded and then it would be just a matter of editing the template for the news page to add class=current_page_item

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