Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 58,651 through 58,675 (of 64,448 total)
  • Author
    Search Results
  • #62721
    chrishajer
    Participant

    Do you have a sitemap that does not include the forums? Maybe Google is reading that and not looking any further?

    This sitemap doesn’t contain anything about the forum at all:

    http://argentinastravel.com/sitemap.xml

    There was a sitemap plugin for bbPress at one time:

    http://boakes.org/talk/topic/31

    I have no idea if that works with current bbPress releases. I stopped using it a long time ago because generating the sitemap took too long.

    I think that’s the problem though: Google knows only about the one site map and it doesn’t include anything about the forum. Other problems could be a restrictive robots.txt or a meta tag in the forum that restricts robots, but I didn’t see either of those.

    I would add a sitemap for the forum and see if that helps.

    #2858
    Andrew
    Member

    I’m seeing some interesting behavior. Though I am a php rookie it seems like what I am trying to do should work.

    I include some code in the header that parses cookies and sets variables appropriately. I use the exact same code and approach in WordPress and it works perfectly.

    This is at the top of my bbpress header.php:

    <?php
    global $research_subscriber; // '1' if user is research subscriber
    global $forums_subscriber; // '1' if user is forums subscriber
    if (condition) $nyquist_research_subscriber=1;
    if (condition) $nyquist_forums_subscriber=1;
    ?>

    Just to make sure, I echo’ed out the variables afterward within header.php and they are all being set as expected.

    Later on, in files that include header.php (topic.php or front-page.php) by invoking bb_get_header(), I attempt to access these global variables and they are all null.

    Why are these variables not being passed? Why does this work in WordPress but not BBpress? What am I missing (bangs head against wall)?

    chrishajer
    Participant

    I know sometimes WordPress has a meta tag with the WordPress version, but does bbPress do something similar? Or, can you access something from the public side of a bbPress installation that would tell the version? It would save time helping others by preventing the question “what version are you running?”

    #62706
    _ck_
    Participant

    Sam, I noticed that may have changed in/after 0.8.3.1

    After some tinkering I also had to add:

    $bb->sitecookiepath = '/';

    (there is also a related minor issue in that I can’t seem to affect the cookie domain to be undotted in the newest builds)

    #59681

    In reply to: OpenID for bbpress

    _ck_
    Participant

    I have now put together some basic code which successfully interacts with OpenID servers.

    Unlike other solutions it doesn’t requires any other libraries or special languages/features on the server other than CURL support (with SSL) which is fairly common.

    Unfortunately during this time OpenID has upgraded to 2.0 and certain providers like Yahoo will only accept 2.0 queries and not 1.1 which is all the code can handle.

    But if there is any serious interest, I could get bbPress to accept openid from wordpress.com/livejournal/aol/etc. which continue to allow 1.1

    #62240
    sessionx1
    Member

    That I made now already fourth time and it come again and again the same error. So can’t that be, what could still lie?

    #62705
    Sam Bauers
    Participant

    If your site is at:

    http://www.example.com/

    And bbPress is at:

    http://www.example.com/forums/

    Then you will need to add this line to your config.php file…

    $bb->cookiepath = ‘/’;

    That way your code in the base directory that is trying to read the cookies will be able to do so.

    #62239
    Sam Bauers
    Participant

    See this post for a solution.

    PHP Error Messages

    This was a problem before this version, but is fixed in the latest builds.

    #62704
    _ck_
    Participant

    bb-load essentially loads the entire bbpress framework

    It just doesn’t generate any template output

    It’s how RSS feeds, etc. are done

    You can indeed evaluate the user login via loading the entire framework. But you can also write a very small subset of code to check the cookie and then read the database directly too.

    However note that if your bbpress cookies are locked to a path (ie. /forums/) as they are by default, they will not be valid outside of the path and no user will be detected. So you have to change the cookiepath in config.php

    Otherwise neither method will work.

    #2856
    icesar
    Member

    Hello, we integrated bbpress with our WP site at http://argentinastravel.com/forums/ The site ranks great for all kinds of search terms and gets indexed by Google daily, but for some reason the /forums/ are all being ignored entirely. Any ideas why this could be? Any other page / section that gets added is usually indexed within a day.

    #2855
    egonvomberg
    Member

    I have the problem that I can´t acces the admin panel since I deleted the WordPress”files” WordPress database and my bbPress installation was in the same database.

    don´t have a backup.

    but did a fresh reinstall in the nower bbpress database.

    does anyone know how to solve that problem?

    #62703
    purus
    Member

    OK, I take that back. Requiring bb-load.php definitely fixed all the errors, but the functions still aren’t working. They don’t throw an error, but they don’t return anything either and so are pretty much worthless.

    Is it perhaps because the files I am trying to use them in are in the parent directory above the bbPress installation?

    There must be some way to get access to the bbPress login info directly through PHP…

    #62702
    purus
    Member

    Thank you rmccue! bb-load.php was the only file required to make those functions work. I guess that was the source of the chain of includes. Thanks a bunch :)

    #62238
    sessionx1
    Member

    Hi,

    bad Version, why too many bugs ?

    Look this : http://www.wp-portal.de/bb-admin/install.php

    Sorry 4 my bad english.

    Greetings

    #62701
    Ryan McCue
    Participant

    Try requiring bb-load.php and going from there.

    #62700
    purus
    Member

    By the way, assuming I can get these functions to run, what would be the function for getting the current users’s id?

    I got lost somewhere in bb_get_current_user() and bb_get_user() without really being able to figure out what returns what. If I can get them running though, then I can test them, so I should be able to figure it out…

    #62699
    purus
    Member

    It sounds like just including the bbPress function files and using those functions would be the easiest. I couldn’t figure out which files needed to be included for the login functions to work though.

    I tried doing if (bb_is_user_logged_in()), which required /bb-includes/pluggable.php and /bb-includes/functions.php, but after I included both those files I was left with the following error:

    Fatal error: Call to a member function get_row() on a non-object in /bb-includes/functions.php on line 1228

    Am I missing some other file, or is it just not possible to use this function outside of the actual bbPress build?

    #62691
    _ck_
    Participant

    That has to be one of the top 10 themes I’ve seen for bbpress, very well done. The wordpress integration is also excellent.

    I personally love white text on darker background so it’s a favorite for me.

    Are you going to make it publicly available for download?

    #62689
    _ck_
    Participant

    Depending on which version of bbpress you are using, the method to put “closed” and “sticky” onto topic titles has changed. The newest versions (trunk, not sure if it’s in 0.8.3.1 yet) uses a new label method that in theory should be independent of the template.

    However older bbpress versions require the “sticky” label be detected and placed via the template (theme). If you edited your templates, you may have inadvertently removed the feature.

    Which bbpress version and theme are you using?

    Make sure you are using the very newest support forum plugin update, I think it’s up to 2.3.4 which deals with the new bbpress update.

    #62698
    _ck_
    Participant

    Without going through the bbpress functions or mimicing the login authentication system (look in pluggable.php) you could never tell if a user is actually logged in, or being spoofed.

    However the bbpress/wp cookie will persist and if the cookie path is set to the website root (instead of locked to “/forums/” – you’d have to change the default cookiepath) you could read the cookie and see if the visitor has a bbpress username. But if several people used the same computer there possibly could be several cookies.

    In theory you could force sessions to always be on via a plugin for bbpress and watch it that way too. But note that sessions slow down server performance if it’s an active site.

    Best bet is to change the cookiepath and decode the cookie with a smaller subset of code.

    #2854
    superhero
    Member

    That topic header sounds dumb but I’m wanting to have it on my bbpress forum that each topic has only one page, with say 30 posts shown. When there are more than 30 posts, the page divides in two and in between the two sections (each with 15 posts) there is a button or something that says ‘View Posts 15-74’ and when you click on that it loads up the rest of the comments in its place.

    Pretty much you can have a thread where you only have 30 posts shown, the first bunch and the most recent bunch and if you want to read all the other posts in between you just click on the divider bit in the middle.

    Example? Exactly like the topics on this forum: http://www.messandnoise.com/discussions/

    Hopefully someone else thinks that this is a great idea and would consider making a plugin or something. I’ve got no idea how hard it would be but I’d really, really like to see it and I would have no chance in coding it myself :(

    #62685

    In reply to: Installations Problem

    sessionx1
    Member

    It cannot be so difficult nevertheless to install that forum!

    Why doesn’t the current version go installing?

    I do not have desire also several left to search around the forum in addition-get.

    Also with the drunkenness it does not fold.

    Only errors come.

    Unfortunate actually, bbPress is a good solution thought.

    #62697
    purus
    Member

    Oh, and by the way, is there a way to return the current user’s username and ID if one is logged in?

    #62696
    purus
    Member

    Just to clarify, my site is at mysite.com. I’ve got bbPress installed at mysite.com/forums. I’d like to be able to enforce login using the bbPress user system at mysite.com/blah.php, but blah.php isn’t part of the bbPress install so the bbPress functions aren’t available to it. How do I go about enforcing login on a non-bbPress page?

    #62695
    purus
    Member

    Hmm… I’m just trying to verify login on a page on the same site that is not part of the bbPress install. I’d like to be able to use the bbPress user system for the entire site if that is possible.

    If sessions are the way to go, perhaps I could just include a couple of the function files. Which ones would be necessary to include to enable the is_user_logged_in() function?

Viewing 25 results - 58,651 through 58,675 (of 64,448 total)
Skip to toolbar