Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 41,601 through 41,625 (of 64,530 total)
  • Author
    Search Results
  • #94085
    _ck_
    Participant

    Sorry I missed this, anything that appears before all the headers is likely any other file you modified in bbpress startup process. Since the most likely file is bb-config.php which is often edited, you might have left two closing marks

    ?>

    ?>

    So the first one closes that PHP file, the second one gets displayed as plain text before the header.

    #94084
    suomynona
    Member

    Ok, so I got impatient, dropped the database, removed bbPress from wordpress root, restarted my apache2 and mysql services, cleared the browser cache, closed the browser, created a new database, unzipped bbPress into the wordpress root, logged in as the new user, logged out, and after logging out that php end tag is back.

    No plugins, no integration – no modifications of any kind, just out of the box bbPress. It’s a mystery to me.

    #92133
    anthonyluth
    Member

    It always seems to load homesite/community/wp-load.php instead of homesite/wp-load.php when you test it out. Any thoughts?

    #92132
    anthonyluth
    Member

    I’m having trouble getting it to recognize the path to my wp-load.php file. I’ve tried many combinations but none seem to be found, they all end up in a warning atop the page, even tho they still load.

    suomynona
    Member

    Several days ago I did a new install of bbpress in my wordpress root on localhost/, checked it out and all looked fine. My intention is to work through the integration of wp and bbp, but I didn’t have time to work with it then, so I went back today to try it out and find that there’s a misplaced “?>” displaying at the top of every page – before the header. I also noticed that the footer on the Appearance page of the admin panel runs across the Kakumei-blue theme so that the activate link is inaccesible.

    I’ve messed around with it for a few hours – saved my bb-config.php, deleted bbpress/ and replaced it from the zip; checked permissions; repaired my mysql database; restarted my apache2 and mysql services; checked the header.php; cleared my browser cache… I’m at a loss to understand this.

    ?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">

    <head>

    <meta http-equiv="X-UA-Compatible" content="IE=8" />

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <title>bbPress Bulletin Board</title>

    <link rel="stylesheet" href="http://localhost/wordpress/bbpress/bb-templates/kakumei/style.css" type="text/css" />

    <link rel=”alternate” type=”application/rss+xml” title=”bbPress Bulletin Board » Recent Posts” href=”http://localhost/wordpress/bbpress/rss.php&#8221; />

    <link rel=”alternate” type=”application/rss+xml” title=”bbPress Bulletin Board » Recent Topics” href=”http://localhost/wordpress/bbpress/rss.php?topics=1&#8243; />

    <meta name=”generator” content=”bbPress 1.0.2″ />

    </head>

    I’m just short of removing the database and starting over, which would be the quick and easy way out, but I would like to figure it out for the heck of it. Any ideas will be appreciated.

    #35374
    Paralys
    Member

    I have had a wordpress website now for some time and think its amazing first off.

    My website is a gaming website for online gaming of all kinds, I wanted to install a high end discussion board/forum and after trying out a few ‘simple to install’ ones I wanted to get bbpress.

    I have followed this guide: http://www.wpwebhost.com/make-bbpress-theme-match-with-wordpress-by-deep-integration/ …Step by step as my knowledge of coding isnt that great.

    After hours of trying I finally got everything working!!

    The problem I am facing is now getting it to ‘Fit’ to my current theme. Atm it just looks like alot of misplaced writing etc.

    I think it may have something to do with the theme editing as i wasnt 100% sure what to put in there. I replaced bb_get_header(); ?> for get_header(); ?> <div id=”content class=”narrowcolumn” role=”main” and like wise for the footer but not certain if it is the right layout for my theme

    my website is http://www.prime-gaming.com

    link to the bbress http://www.prime-gaming.com/Forum

    Thanks in advance

    #92616
    kikko088
    Member

    ps. the first line echo is

    echo “<tr><td> link of (bbpress/forum.php?id=”.$result->forum_id.”‘>”.$result->forum_name.”)</td>”;

    I SOLVED put $result->posts. instead $result->forum_posts.

    #93151
    minervaa
    Participant

    *****************************************************

    Is it possible to improve this plugin a little bit as –

    1. It will allow admin to post any clickable links(including outgoing) on the the topics

    2. It will allow anyone to post clickable links ONLY when the link is from the same domain as the forum? (internal links)

    To give an example, lets say this plugin is activated in bbpress.org.

    A member post a topic saying

    “Buy cheap Viagra from http://www.cheapest-vira-xyz.info&#8221; <– this link would be plain text.

    “A member post a topic saying “Has any one got this working? https://bbpress.org/forums/topic/cant-switch-themes-in-081&#8221; <– this link would be clickable

    again if any member post a topic saying “have you read this bbPress blog here ? https://www.bbpress.org/blog/latest/bla-bla-bla-bla&#8221; <– this link would be clickable as they are from the same domain as the forum

    If the above functions can be implemented on this plugin, that would be a brilliant tool to put off most of the spammers.

    ******************************************************************

    Any tips from anyone?

    #77150

    In reply to: Topic paging issue

    _ck_
    Participant

    Huh. The post numbering did reset. That is strange.

    What theme is that – I’d have to see the post.php to see what function they are using between <div class="postnumber"></div>

    I see a few people using neoease for bbPress but I can’t find it anywhere? Where did you get it? Or is that inove with your own modifications?

    #77148

    In reply to: Topic paging issue

    e-motion
    Participant

    It looks like I am missing something – when I changed post count on original thread from 81 to 80, all post numbers shifted and #24 is no longer missing. But anyway, I am OK with missing numbers, at least it lets people know where their posts are.

    How can I check why my bbpress does not recount posts? Where is that function? I was messing around with some PHP and template codes (to ‘join’ forum to the page) so maybe I have done something…

    #77147

    In reply to: Topic paging issue

    _ck_
    Participant

    you can try an experiment to change the 20 to 21 and/or the 80 to 81 (I see you deleted posts the so the 80 is now 69)

    then do a bbpress recount

    see if it changes or not

    if it doesn’t change, try the manual way

    if the manual works but bbpress does not, then there is a bug in how bbpress is doing it that is causing a silent error and it fails

    #77146

    In reply to: Topic paging issue

    _ck_
    Participant

    the deleted post will always causing missing numbers

    that is because in your template the number is based on post-position which is never updated

    the important part is that the count changes from 21 to 20

    the question is why when you run the direct recount within bbpress itself, it did not change that 81 to 80, but the manual query changes 21 to 20

    if you want those numbers to be continous on the page, you’d have to change your template but it doesn’t affect how bbpress works

    #77145

    In reply to: Topic paging issue

    e-motion
    Participant

    So here it is:

    http://e-motion.lt/bbpress/topic/31?replies=20#post-317

    I have deleted post #3 from database. Same problem:

    #3 is missing and it shows post count of 21.

    After running your query post count is now correct (20), but #3 is still being skipped.

    #77140

    In reply to: Topic paging issue

    e-motion
    Participant

    OK, so I was going thru the database and saw that bbpress holds post count in it. I just changed that to correct value and it seems like everything is good now. And post #24 is no longer missing, posts have shifted per one place.

    Thank you for your help. :) Anyway now we have discovered one more bug to fix.

    #77139

    In reply to: Topic paging issue

    _ck_
    Participant

    Thinking out loud here, don’t do anything yet on your own.

    This is Sam’s new routine in 1.0.2 based on my alternate recount for bbpress 0.9

    $sql = “INSERT INTO $bbdb->topics (topic_id, topic_posts)

    (SELECT topic_id, COUNT(post_status) as topic_posts

    FROM $bbdb->posts

    WHERE post_status = ‘0’ GROUP BY topic_id)

    ON DUPLICATE KEY UPDATE topic_posts = VALUES(topic_posts);

    “;

    I will investigate further…

    #77138

    In reply to: Topic paging issue

    _ck_
    Participant

    Okay what is happening is that the new recount in bbpress 1.0.2 is failing.

    It’s getting the correct number of posts, it’s just not updating the table.

    I am investigating (while trying to do 3 other things right now, lol)

    #77136

    In reply to: Topic paging issue

    _ck_
    Participant

    I forgot to add the topic_id=12 and group by on my queries sorry.

    Well the numbers are coming from post position.

    But still something is very wrong, because bbpress is showing 81 as the post count.

    You need to run the exact query that the recount function uses.

    SELECT topic_id, COUNT(post_status) as topic_posts FROM bb_posts WHERE post_status=0 AND topic_id=12 GROUP BY topic_id

    See if that gives 80 or 81

    #77133

    In reply to: Topic paging issue

    e-motion
    Participant

    This query gave me an error:

    #1140 - Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause

    So I just did this:

    SELECT * FROMbb_postsWHERE topic_id=12

    And the result is:

    Showing rows 0 – 29 (80 total, Query took 0.0020 sec)

    So now I’m wondering where is bbpress taking post count numbers from?

    #77131

    In reply to: Topic paging issue

    e-motion
    Participant

    I do know how to use it. I just can’t recall if I messed with it relating bbpress before this happened.

    #77127

    In reply to: Topic paging issue

    _ck_
    Participant

    Okay I see the problem now with the next page link on page 4, which takes it to an empty page.

    That in theory is a slightly different problem.

    We can see that bbpress thinks there are 81 posts (visible) in the topic.

    And there are 20 posts per page on the default setup.

    So yeah, there should be a page 5.

    Somehow post 81 is showing on page 4

    page 1: 1-20

    page 2: 21-41 <<<< mistake, post-position 24 is missing

    page 3: 42-61

    page 4: 62-81

    Something started going wrong on page 2 I think?

    It should start at 21 and go to 40.

    Let me go back and look at that.

    Yup, there is a gap for 23-25

    That means that number count is showing post-position and 24 has been deleted.

    So the example I show above with the pages, imagine post 24 is post 4 from the example.

    bbPress is being stupid and rounding up for some reason.

    There aren’t 81 posts in the topic, there are 80.

    #94064
    mr_pelle
    Participant

    What version of bbPress are you on? There is no $end at line 244 of that file, neither on the BackPress version shipped with bbPress 1.0.2 neither with trunk…

    #77126

    In reply to: Topic paging issue

    e-motion
    Participant

    I am now trying to recreate the problem. I was unable to do so on new topic and can’t remember exactly what I did last time. It just recounts all post numbers and everything works fine. It is stupid of me, but somehow I think that I may have tampered with the post physically – on phpMyAdmin. I am not sure about this, I do lots of stupid things.

    I have now temporarily closed this topic (it is most active one in my whole forum) and added some posts to replicate the problem:

    http://e-motion.lt/bbpress/topic/12?replies=80&message=closed

    Forum says there are 81 posts and 5 pages. On page #2 post #24 is missing.

    Page #5 is “empty”. If I unlock the topic, reply form is on page #5 and not #4, where the last post is.

    Sorry, I am not so good with CMS-related stuff.. I do know some PHP and MySQL, but some basic help may be needed.

    P.S. Very nice to hear you also have an e-bike! I have been riding this one for a while: http://www.youtube.com/watch?v=fXsE5NNfC7w

    And hopefully will ride a DIY electric scooter in couple of weeks.

    #77125

    In reply to: Topic paging issue

    _ck_
    Participant

    I have a little trick to workaround this problem, at least when bbpress requests a link for the post that happens to be the last post in the topic.

    I will write a filter for when get_post_link is requested, it will check the post id# – if it happens to be the last post in the topic (stored in topic_last_post_id) it will instead route the request to the more accurate get_topic_last_post_link

    #77124

    In reply to: Topic paging issue

    _ck_
    Participant

    Here’s a simplified example of what I think is happening internally.

    Let’s say for ease of understanding there are TWO posts per page.

    And there are 7 posts in this particular topic example

    |1 2| – |3 4| – |5 6| – |7|

    so there are 4 pages (each | | is a page)

    In this example, the post numbers are also the post-position.

    Now let’s say a mod deletes post number 4

    |1 2| – |3 5| – |6 7|

    Should only be three pages.

    But bbPress is stupid by default, post-position is never recalculated so those post numbers still represent post position in this example.

    bbPress DOES track number of posts in a topic, even when deleted.

    So requesting a link to the last post in the topic, regardless of post-position, WILL be calculated correctly, and return page 3.

    However, if it specifically asks for a direct link to post 7 and not the last post in the topic, this is what happens.

    Post 7 is post-position 7

    posts per page is 2 per page

    ceil( $post_position / $per_page )

    7 / 2 = 3.5, ceil of 3.5 = 4

    So it will ask for page 4

    Page 4 does not exist in the topic.

    The link may be created but the link is bogus and will not work, it will either return you to the first page of the topic, or maybe the front page of the entire forum.

    #35373
    alecasadei
    Member

    Hi everyone,

    I’ve been running my BBpress for a couple of years now and just recently, I got an error that doens’t allow me to do access it anymore.

    Here is the url: http://www.iamforeverfit.com/forum

    Can somebody help me? I have no clue what’s going on?

    Thanks,

    Ale

Viewing 25 results - 41,601 through 41,625 (of 64,530 total)
Skip to toolbar