Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 61,451 through 61,475 (of 64,414 total)
  • Author
    Search Results
  • #57341
    dprice
    Member

    Ah – so ridiculously easy! I’m liking BBpress more and more ;).

    I just requested code_trick to become pluggable too – hopefully that’ll happen, and soon, so I can just use a plugin and not hack at core files.

    #57370
    gh3
    Member

    here you can find info about .htaccess: https://bbpress.org/documentation/faq/#pretty-permalinks

    #57369
    gh3
    Member

    Looking at previous post I find out these two:

    https://bbpress.org/forums/topic/352?replies=3

    https://bbpress.org/forums/topic/1112?replies=7#post-7052

    i hope them could be useful

    #57367
    gh3
    Member

    When i had a look at it, it redirected me on install page, but now it redirect me to the blank page.

    It seems that someone using the link have installed it, but it seems no to work… because bbpress on install made a default post, that you can look at: http://nerdsgonewildmagazine.com/forum/topic.php?id=1

    But it is blank too.

    Btw i suggest you first of all to remove the bb_ data on mysql if you are not the man who made the install process.

    Then dunno, it seems that it doesn’t process at all any php command.

    Mhh do you know if your host is linux or win, and if it use php4 or 5?

    ps. do you have any rewrite rule in .htaccess file?

    #1814
    absolutezero
    Member

    I can’t seem to get anything other than a blank white page. I have bbPress installed into the subdirectory /forum/.

    Any ideas?

    #1812
    #57329
    wmarcy
    Member

    Any chance you could show us the code for your admin stuff?

    #57337

    In reply to: Include code in posts

    wittmania
    Member

    Trent uses if (bb_current_user_can('administrate')) in his YouTube plugin. Couldn’t you mod the allow_images plugin to also allow <script> tags, but only if the user is an administrator? That would still allow the scripts to do their thing, but only in posts authored by an administrator.

    Unfortunately, if you’re looking for a way to place ads in posts by any ol’ user, there’s not a safe way to do that b/c they could put ANY script in and have it execute.

    Best bet? bb-Ads. Situations just like this are what I wrote it for. You can see it in action at blog.wittmania.com/bbpress

    #57334

    In reply to: Include code in posts

    fel64
    Member

    If you can’t edit the template and have something against the excellent bb-Ads plugin: I can’t help you, because AFAIK there’s no straightforward API function to check what a non-current user can do.

    #57340
    fel64
    Member

    Thanks!

    You can include ASCIIMathML.js in the header via plugin by this sort of code:

    `function incMathJs() {

    $url = bb_path_to_url( dirname(__FILE__) . ‘/ASCIIMathML.js’)

    echo ‘<script type=”text/javascript” src=”‘ . $url . ‘”>’;

    }

    add_action( ‘bb_head’, ‘incMathJs’ );

    Not sure when or how the JS kicks in, but perhaps that’s not necessary? Anyway, you could head over to trac and request that code_trick be made pluggable (so a plugin could overwrite it).

    #57339
    dprice
    Member

    Get bbpress + mathML.

    This is really just a quick knockup – perhaps MathML support would be best in plugin form? I really didn’t do all that much, but I’m not familiar with the BBpress plugin system at all so I’m not sure how easy (if possible), it would be.

    #1811

    Topic: Plugin: Say My Name

    in forum Plugins
    gh3
    Member

    Hi, this is my first post on bbPress, and it will deal with my new plugin.

    First of all I have to say that it is based on the great work by Thomas Klaiber on Post Notify plugin.

    But now let’s talk about Say My Name ( smn for friends ), this plugin will look at each post that will be posted for your nickname, and if it will find it, it will notify you by mail.

    I made this plugin because many times i saw people calling someone inside a post, and due to the dimension of the forum, the huge amount of post per day, and going on… the people called doesn’t see it.

    I have only to add that, as Thomas plugin, this one is activable by your profile, so if you have too common name like “and” “or” and going on, is better if you keep it off :)

    So that’s all, i have only to add the download link: http://www.ellequadro.net/wp-content/plugins/downloads-manager/download.php?id=6

    I hope that this plugin could be useful.

    #57338
    dprice
    Member

    Oh yeah – you can have a play at http://www.thetelegraphic.com/bbpress/bbpress/

    That’s really just a sandbox for now and won’t be there forever.

    I’ll be releasing the black template it’s using too – It’s just Kakumei with a different colour scheme.

    #1810
    dprice
    Member

    Being both a web nerd and Physics student, I decided it was time for BBpress to meet up with MathML.

    Here’s the steps I took to get it crankin’:

    1. Made a copy of the default ‘kakumei’ template, then renamed the folder ‘physics’, my new template name. I then put a copy of ASCIImath.js in there. This does all the hard work.
    2. Changed the physics/header.php from:
      <!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" <?php bb_language_attributes( '1.1' ); ?>>

      to:

      <?xml version='1.0' encoding='iso-8859-1'?>
      <?xml-stylesheet type="text/xsl" href="http://www.w3.org/Math/XSL/mathml.xsl"?>

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >

      <html xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en"
      xmlns:pref="http://www.w3.org/2002/Math/preference"
      pref:renderer="css">

      It’d probably still work if you didn’t bother with this step, but seeing as BBpress is making XML we may as well.

    3. Added <script type="text/javascript" src="<?php echo bb_path_to_url( dirname(__FILE__) . '/ASCIIMathML.js'); ?>"> to physics/header.php – this loads the ASCIIMathML.js javascript and does a majority of the MathML magic.
    4. Opened bb-includes/formattingfunctions.php and edited this:
      function code_trick( $text ) {
      $text = str_replace(array("rn", "r"), "n", $text);
      // $text = preg_replace("|<code>(.*?)</code>|e", "'<code>' . encodeit('$1') . '</code>'", $text);
      // $text = preg_replace("|n<code>(.*?)</code>|se", "'<pre><code>' . encodeit('$1') . '</code></pre>'", $text);
      return $text;
      }

      To turn off the backtick code replacement – this is what ASCIIMath.js does!

    That was it. I’ll zip it all up then post it up here. Ideally, it’d be better to not comment out any of the bb-include/ files – if anyone has any suggestions, let me know.

    #51524
    medden
    Member

    I have managed to get a basic image file uploader working on BBpress.

    check it out at http://www.beautyswapshop.co.uk/forum

    If anyone fancies turning it into a plug-in, I’d be happy to send them al the source files, as putting it all into one file was a little beyond my abaility.

    #57328
    andersson
    Participant

    Thanks for the praise and also for the tip on the middle column. Haven’t really thought of it before but you’re probably right about that one.

    Regarding the /profiles/x it is really a simple mod. You could do it in a number of ways really, where I chose the following:

    Add a row in .htaccess steering the call to the logic:

    RewriteRule ^profiles/?$ mods/profiles-by-letter.php?id=$1 [QSA,L]

    Personally I put the logic of all mods in separate files in a mod folder and the presentation in another to keep it clean.

    The rewrite rule of .htaccess makes “x” a GET-parameter to the logic, it’s then very easy to select all members starting with letter given by “x” like so:

    SELECT * FROM bb_users WHERE user_login LIKE '$first_letter' ORDER BY user_login LIMIT $limit

    That’s it. The logic part then calls the presentation which can use the result in an array or whatever format you choose for the result.

    #57327
    fel64
    Member

    You’ve got a really nice eye for the design of the site. It’s rare to see something so nicely designed and functional. :)

    The main column of games could be a bit more highlighted, though; with the strong coloured backgrounds the left colum distracts a lot. Worth it for the login form, but in my opinion not for stats.

    How did you get the /profiles/X thing to work? Haven’t tried it myself, but it would be interesting to know how much modification it took to have bb accept that – if any?

    #57265
    Trent Adams
    Member

    The plugin system is actually now implemented in the TRAC version of bbPress and will be available in the upcoming 1.0 version (and no, I don’t know when that is for sure! ;)

    Trent

    #56255
    jessiebirks
    Member

    I’m running into a similar, if not “same” problem.

    I had a PHPBB with approx 20 active users. The same users will be participating in a new page which is pre-launch.

    That page is a WordPress installation with integrated BBPress. There are only 3 users in the WP/BB install. I imported the posts and forums from PHPBB using the PHPBBtoWordpress hack.

    Since I’d already integrated the BBPress install, copying the data did not create the Users in the database, because they began with wp_ and it was looking for bb_. Now, most of the posts are either attributed to “anonymous” or they’re attributed to the wrong username. I don’t want to do the data retrieval over, because the PHPBB users are riddled with spambot entries, and this was an easy way to get rid of them.

    Will it be safe to create my new WordPress users, then edit their ID number to match the IDs from the old PHPBB data? And will this change correctly attribute the posts in the BBPress forums? Also, if I change these ID numbers in the WordPress database… will their posts in WordPress become incorrectly attributed?

    #1807
    andersson
    Participant

    PurposeGames is one of my sites. It’s basically a site for anyone that wants to learn something new in the most efficient way possible; by creating a game around that very subject. It allows for anyone to easily create games and play/rate games by other members. I’ve actionscripted a game engine and a game creation module to allow for anyone to create games via their own pictures and drag and drop.

    I use bbpress for the forum section, and actually liked the user handling so much that I kept the authentication engine for all of the site. I’ve extended it in the following manner:

    – Elaborating on the bozo concept to exclude games created by a bozo, ratings doesn’t count for bozo’s and comments to games by bozos gets treated like forum entries by bozos.

    – Added a vast number of statistics to the dashboard to see what member’s are doing, creating, rating, commenting, forum entries, top lists etc.

    – Extending profile pages to show member’s games, comments to the games created by member etc.

    – Keeping the base of the style of the forum, extending it to fit the way I like my site to look.

    Concepts I like most about bbpress include the sanitize methods (very fast, perfectly implemented in my opinion), the user object; extending it is endless and very easy with the meta-concept, the tags concept, and the bozo concept and of course the table-free layout. The Akismet utilization is very nice also.

    Concepts that I’ve excluded or re-written: Db-connection open/close (not optimized for my type of site), the plugin concept (my extensions are therefore “include”-based i.e. I’m not utilizing the various hooks available). I have not cluttered the code of any standard files with my code, other than adding an include statement where needed. I also had to re-route the “include header”-call of the admin panel to be able to add new parent sections to keep child sections. No biggie really but quite strange.

    I rate bbpress as 4 out of 5 as code architecture goes being able to extend it and to use it as authentication foundation. Near superb. As forums goes, it falls into the category of “less is more, but not enough” ;)

    Check my way of using bbpress at http://www.purposegames.com

    Feel free to comment on what you like and don’t like. Thanks.

    David Andersson

    Creator of purposegames.com

    #50360

    In reply to: Cannot select DB.

    atlaswu
    Member

    I use php5+mysql 4.1.22 on a Mac,

    also get message Cannot select DB.

    I cannot insall and use the bbpress!?

    #56963
    Vili
    Participant

    Indeed, would save some work. :)

    #57295

    In reply to: Plugin: bb-Topic-Views

    Sam Bauers
    Participant

    You might want to check and make sure it is compatible (i.e. works along side with my plugin Page links for bbPress. Although it is probably fine, I think we using the same hook to write data to the screen and it would be terrible if we were stepping on each others toes.

    #57294
    fel64
    Member

    Depending on if you’ve set up bbPress so that it’s not only integrated but also uses WordPress’s functions when available, I think you can just call the WP function. If it doesn’t work, you need to make a database query along the lines of:

    global $bbdb;
    $profiledata = $bbdb->get_row( "SELECT meta_value FROM $bbdb->usermeta WHERE meta_key = $theprofiledetail AND user_id = $theuserid");

    Where $theuserid and $theprofiledetail are set to whatever you want. Note that $profiledata is worth examining by using print_r($profiledata); or the like, because its format can be confusing. The code might not work, but it’s an idea.

    #56962
    fel64
    Member

    Thank you!

    For testing if it’s bb it might be easiest to do exactly what you did but with a global variable bb uses anyway, such as $bbdb or whatever you feel like – saves you having to put in the declarations.

Viewing 25 results - 61,451 through 61,475 (of 64,414 total)
Skip to toolbar