Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 58,301 through 58,325 (of 64,092 total)
  • Author
    Search Results
  • #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?

    #62694
    Sam Bauers
    Participant

    bbPress uses encrypted cookies, you’ll need to give us a little more information on what you are trying to do if we are to help you.

    #2853
    purus
    Member

    I would like to be able to check a user’s login status without using the bbPress functions. Normally I would use a simple isset($_SESSION) check. What are the names of the variables that bbPress sets to indicate that a user is logged in?

    Thanks.

    #2852
    tmeister
    Member

    Hi,

    I decide to give it a shot to bbPress and i like it. :)

    See my theme in http://klr20mg.com/foro/ is a spanish blog/forum

    see ya.

    #2851
    versatilia
    Member

    Hi there,

    I’ve just set up bbPress as a support forum using the support forum plugin. So far so good. I have a problem though, (not major because of sticky posts) I created a forum called README where I intend to post hints, faqs and the usual spiel you get on the top sticky in most forums.

    I created a topic and a post in this readme forum and then closed the topic and made it sticky. It seems that because it’s closed it won’t show up when I’m on the forum view (forum.php). Is there an edit I can make to a filter somewhere? Seems like a wee bug/oversight to me.

    The other thing I know has come up before many times but I could not get much useful info out of the topics. Ideally I’d want to be able to make it so no one can start a new topic on the readme forum but I don’t want to make the forum private or inaccessible to normal users. Is this possible with either of the private forums plugins yet? I can live with it if not but it’s a niggle.

    #62580
    chrishajer
    Participant

    I think you should start a new topic.

    If you deleted the WordPress database and your your bbPress installation was in the same database, then your bbPress installation is gone. You might restore from backup, but other than that you need to reinstall fresh.

    #56764

    In reply to: Plugin: Avatar Upload

    _ck_
    Participant

    Another fix for another caching bug:

    The query below is never cached – hence if the avatar is for a user other than the current one and is shown multiple times on a page, it causes a query each time since it does not pass through the bbpress caching mechanism.

    (around line 117)

    $bb_query = "SELECT meta_value FROM $bbdb->usermeta WHERE meta_key='avatar_file' AND user_id='$id' LIMIT 1";
    if ( $avatar = $bbdb->get_results($bb_query) ) {

    replace with this code to properly cache and radically reduce queries on a busy topic:

    if ( $avatar = bb_get_usermeta( $id, "avatar_file")) {
    $a = explode("|", $avatar);

    note that $avatar[0]->meta_value is then simply replaced with $avatar

    This may require newer versions of bbpress (build 904+) but that was seven months ago as of my post now.

    I think I am going to whip up a little “import gravatar” feature for this.

    #62682

    In reply to: Installations Problem

    chrishajer
    Participant
    #2850
    sessionx1
    Member

    Warning: Invalid argument supplied for foreach() in /www/htdocs/w00679c6/wpportalbbpress/bb-settings.php on line 169

    Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/w00679c6/wpportalbbpress/bb-settings.php:169) in /www/htdocs/w00679c6/wpportalbbpress/bb-admin/install.php on line 10

    Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/w00679c6/wpportalbbpress/bb-settings.php:169) in /www/htdocs/w00679c6/wpportalbbpress/bb-includes/functions.php on line 1910

    #2849
    tjgedny
    Member

    I’ve got an error occurring when users click to get the email to reset their password. When they then click on the link in the email they sometimes get a page with a bbpress header which simply displays the message ‘Key Not Found’. It doesn’t appear that the link is breaking in the email – anyone have any ideas what could be causing this problem? thanks in advance for any help!

    #61096

    In reply to: 9rules.com

    Sam Bauers
    Participant

    Only if they choose to redistribute it. If they just run it as a service where the code is never sold to it’s customers – either as source or compiled – then they are under no obligation to release the source. I doubt it serves their interests to release the theme and in my opinion that’s fair enough and in the spirit of the GPL.

    Besides this, it is arguable whether they would be bound by the GPL or not. As a theme strictly speaking isn’t a modification of bbPress (it’s just separate code that is compatible with the theme architecture) and the idea of “linking” as stated in the GPL is pretty vague when it comes to PHP applications. It was originally devised to cover more traditional application models where linking to libraries is more clearly defined.

    #62676
    _ck_
    Participant

    Gotta love kiwis, looks great!

    I doubt bbpress will ever have native image support (you mean inline right?) That’s just too much “heavily lifting” which is always deferred to plugins.

    ps. “Tiny”MCE is such a misnomer. It’s 125k of code!

    #58233

    In reply to: bbSync

    fel64
    Member

    Sorry, I should have been more thorough. Follow these instructions at the bottom of the page.

    https://bbpress.org/documentation/integration-with-wordpress/#func

    #2848
    #2847
    Mufasa
    Member

    We’re now running bbpress in our support forums and I must say I absolutely love it – we have integrated it quite nicely with wordpress.

    My Wishlist:

    • ability to add a search form – in WordPress integration mode
    • How I wish TinyMC was integrated
    • Even nicer WordPress integration
    • Native image support

    Check it out:

    instinct.co.nz/blogshop/forums/

    #62670

    In reply to: WP Stats

    fel64
    Member

    Yeah I think it would, because bb uses a lot of similar mechanisms, but making it gather stats on bb would be most of the work anyway (so you’re probably not saving much work this way). You’ve got to find the right filters and process the data in a specific way anyway; it’s not complicated, it just takes someone to do all that legwork.

    You know about bb’s (rudimentary) stats, don’t you? Just hit up http://example.com/bbpress/statistics.php.

Viewing 25 results - 58,301 through 58,325 (of 64,092 total)
Skip to toolbar