Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 56,351 through 56,375 (of 64,448 total)
  • Author
    Search Results
  • #66602
    _ck_
    Participant

    Okay it was too easy so I gave in and did it for you.

    https://bbpress.org/plugins/topic/mini-track/

    #66600
    _ck_
    Participant

    Well I started to write some code but I then remembered why I did it completely on my own. There are many problems you encounter with trying to do this efficiently with as few DB queries as possible. Using the built in bbpress functions when there’s only a couple people online are fine, but when it gets to many times that, it’s too inefficient.

    There’s also the issue of tracking NON members. Much more tricky than authenticated users.

    I recommend you modify simple online list to track position. Much easier.

    If you know PHP, here’s the process:

    1. take the IP of the current user, change it into ip2long and make that the index of an array or object

    2. store the request_url for that index

    3. store the time() for that index

    4. if they have a user id# (a member) store that

    5. save the array via bb_update_option (not usermeta)

    6. on every bbpress load, do a bb_get_option for the usertracking, which is the array of all the above

    7. comb through the time() for timestamps older than 30 minutes and discard them

    8. count the remaining items to see how many online in past 30 minutes

    9. comb the request_url to see if it == your bbpress front page and count

    #66599
    _ck_
    Participant

    If you know some basic PHP this is a very easy thing to store/track but you’ll need some more extensive code to print it out.

    Essentially what you’d want to do is store in the usermeta the bb_location and timestamp on every load of bbpress via a simple plugin.

    Then to count the number of users in the front page you’d do a mysql query to limit by time and count the number of “front-page” that appear.

    I’ll give you some rough code in a minute, it’s fairly straightforward.

    #52136

    In reply to: Private Forums Plugin

    _ck_
    Participant

    Plugin section isn’t dead, it’s just that some authors don’t monitor it or abandoned their work.

    Try the Hidden Forums plugin instead of Private Forums.

    Uses newer techniques available in bbPress 0.9 so it’s faster and more complete/reliable.

    #66597
    _ck_
    Participant

    bb_location is not called by default but still is typically used on every page. It’s easier to track the request_uri and store it with the title (formal name) of the page since bb_location does not track all pages (ie. edit and topic pages are the same, all views are the same, etc). My User Track plugin does this but it’s not available to the public yet.

    bbPress does not use sessions by default (because they slow the system). But there is no need to use them, you can assume after 30 minutes since the last page load the user has left the site. Most tracking plugins work like that.

    update: here you go:

    https://bbpress.org/plugins/topic/mini-track/

    #66596

    In reply to: Install error

    _ck_
    Participant

    There is a slight second possibility.

    Their PHP may actually have that function, but it’s disabled.

    Since the bbPress fallback function only checks if it exists (and it does) it never gets defined. But it’s disabled.

    However your questions need answering too, what version, properly uploaded, etc.

    #66595

    In reply to: Install error

    chrishajer
    Participant

    I’m not really sure why, but I can guess. Do you have a file in bb-includes called compat.php? /bb-includes/compat.php

    In that file, line 10 says “if this function does not exist, create it.” That PHP function is available in newer PHP versions only (greater than or equal to 5.1.2). So, for compatibility, if the function is not available on your server, bbPress creates it in compat.php.

    Do you have that file, and does line 10 look like this?

    if ( ! function_exists('hash_hmac') ):

    What bbPress version did you install, if it’s not the latest 0.9.0.2 release? Are you certain all the files were uploaded properly?

    #66415
    chrishajer
    Participant

    IIRC, I uploaded the BMP and got the denied mime. Then, at a totally separate time when uploading a PNG I got the error described here.

    I never tried to upload more than one image at a time.

    I would totally disallow bitmaps as well, since they’re really not designed for the web. I was thrown off by this note from the saying they’re allowed:

    allowed uploads: bmp (500 KB), doc (500 KB), gif (500 KB), gz (500 KB), jpeg (500 KB),
    jpg (500 KB), pdf (500 KB), png (500 KB), txt (500 KB), xls (500 KB), zip (500 KB)

    #57099

    In reply to: Code backtick bug

    _ck_
    Participant

    It’s archived here:

    http://code.google.com/p/llbbsc/wiki/HTMLTagAttributesValidatorPlugin

    http://web.archive.org/web/20071227175025/http://www.livibetter.com/it/topic/plugin-html-tag-attributes-validator

    http://llbbsc.googlecode.com/svn/trunk/bbPress/HTMLTagAttributesValidator/HTMLTagAttributesValidator.php

    That’s actually a fairly decent plugin, too bad it’s not in the extend section.

    #64633
    chriskalani
    Member

    @Crowspeaker,

    Very interesting! I am really excited for this. I wonder if they are going to work on bbpress integration as well for this.

    #64632
    crowspeaker
    Member

    @chriskalani,

    I think that’s what the buddypress initiative is about.

    https://buddypress.org/

    #3742

    Topic: Install error

    in forum Installation
    807230
    Inactive

    Fatal error: Call to undefined function: hash_hmac() in /mnt/w0205/d37/s17/b02ae5ed/www/horsepages.ca/bbpress/bb-includes/pluggable.php on line 341

    Help don’t know what to do with this…

    Is this because I set-up a separate database for bbpress?

    If so how do I change the database settings?

    #64631
    chriskalani
    Member

    hmmm… yeah. So it sounds like everyone wants it. Now we just need to find someone awesome who can make it happen.

    On a side note… it would be really cool if they released a 3rd product focused more around community. Basically just an integrated bundle of bbpress and wordprss with maybe some additional integrated features. That would kick so much butt!! Drupal sucks… so does everything else. But I might end up using it if the main feature I am looking for doesn’t exist. :(

    #64630
    chrishajer
    Participant
    #64629
    chriskalani
    Member

    I would love something like this. In fact; That is the exact functionality I was looking for and ended up looking into Drupal. I still haven’t done anything with it yet… but if I could find a bbpress/wp solution, that would be so cool!

    #66592
    810798
    Inactive

    Alright, i tested a few more things and it is definitely a problem when i include the wp-config.php file in bb-config.php.. here is the htaccess file im using: if i try and forward it to a directory like “forumtest” with nothing in it it will work perfectly.. and if i take out that require it will load fine as well.. but with errors because it cant find the functions that file defines..

    RewriteEngine On

    RewriteBase /blogs/

    #uploaded files

    RewriteRule ^(.*/)?files/$ index.php [L]

    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin

    RewriteCond %{REQUEST_URI} ^.*/wp-admin$

    RewriteRule ^(.+)$ /$1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule . – [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(forum) $2 [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]

    RewriteRule . index.php [L]

    <IfModule mod_security.c>

    <Files async-upload.php>

    SecFilterEngine Off

    SecFilterScanPOST Off

    </Files>

    </IfModule>

    #66585
    chrishajer
    Participant

    On this forum, to view your profile, just click this link:

    https://bbpress.org/forums/profile/stereotruth

    The title under your user name is a link to your profile. You have to be logged in for this to work.

    You need to log in at least once with the password that was sent to you. After that, in your profile, you can click the “Edit” tab and then enter a new password, something you can remember more easily.

    What happens, after you’re logged in, when you click on the “Member” link under your username?

    #66591
    810798
    Inactive

    opps, I mean when i put

    RewriteRule ^(.*/)?forum/(.*) forum/$2 [L,R]

    it takes it back to the /blog directory.. but when i put

    RewriteRule ^(.*/)?forum/(.*) forum/$2 [R,L]

    it gives me the redirect error..

    #3741
    810798
    Inactive

    I installed muwordpress (with directories not subdomains) and bbpress and integrated them.. I added

    RewriteRule ^(.*/)?forum/(.*) forum/$2 [L,R]

    to the .htaccess in the wp directory and it worked before i added the code

    define(‘WP_BB’, true);

    if ( !defined(‘DB_NAME’) ) {

    require_once(‘/home/.atrax/armsteadj/myiowa-news.com/blogs/wp-config.php’);

    }

    into the bb-config.php file to get integration to work.. now it gives me a loop error..? any ideas on how to get the htaccess file to forward the directory to it?

    Thanks!

    James

    #3737
    836293
    Inactive

    I’m considering switching from phpbb to bbPress, but I’ve run into nothing but problems when it comes to working on my own profile. The registration process goes just fine, but after I log in, I can’t get to my own profile?

    Is there something else I have to do? Do I have to remember that awkwardly long and unintuitive password that was sent my way? Can’t I set any preferences in my profile?

    This isn’t on my site, this is right here on bbpress.org forums.

    #66543
    RossB
    Member

    Thanks so much – AGAIN – Chris!

    I ended up combining some of your previous advice with that you’ve posted above, messed with the CSS to re-position the cramped header items, and am now pretty happy with the look.

    See: http://ashb.proofreadercentral.com/bbpress/

    User: tester

    PW: testing123

    Just one little curiousity – and if it’s any sort of hassle, don’t respond, but if you can be bothered, I’d be interested in your take on the following:

    When using IE as the browser, the nav link back to the ASHB home page doesn’t activate until your cursor is close to the top header border – usually, hyperlinks activate as soon as your cursor touches any part of the text. Anything that can be done about this?

    NB: No such issue with Firefox!

    #66587
    chrishajer
    Participant

    You only need to share databases to have integrated user logins. If you just installed WordPress, it’s probably 2.6, which is not compatible with bbPress at the moment, so you do not want to attempt this right now anyway.

    The difference is, when you share a database, is that bbPress will use the wp_user and wp_user_meta tables for it’s users, rather than creating bb_user and bb_user_meta tables.

    If you don’t care about logging in in bbPress and being logged in in WordPress, and vice versa, then you don’t need to shared the tables.

    If you don’t do an integrated installation (sharing of the wp_users and wp_user_meta tables), then you can just use a different table prefix (by default WordPress uses wp_ and bbPress uses bb_) in the same database and not worry about a thing.

    This is the best documentation I know of:

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

    #66026
    _ck_
    Participant

    Adding tags does not bump posts to the top of latest discussions. In any case that question/problem should be asked in a new topic, not in this one.

    #3740
    keress
    Member

    I installed bbPress today and going through the installation I added a new database for it to use, then later as I went further into the installation it mentioned sharing one database. I’m unclear as to what differences it will make using one or two. It also seemed a bit scary to have specified the wp database to set up bbPress into.

    If there’s some documentation that explains all this, could someone point me in the right direction?

    #66255
    davidbaldwin
    Member

    ok, i downgraded to wordpress 2.5.1, and now I’m getting a “This username does not exist.” in bbpress when I try and log in. I can log into wordpress just fine, just not bbpress.

    what gives?

Viewing 25 results - 56,351 through 56,375 (of 64,448 total)
Skip to toolbar