Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 29,076 through 29,100 (of 32,458 total)
  • Author
    Search Results
  • #56553

    In reply to: Strut Your bbPress!

    fel64
    Member

    You administrate/use keys on the technorati forums? Anything particular you had to do? The auth and cookie code you could just plug, obviously, but did you do any other major work?

    #60081

    In reply to: top 100 bbPress sites

    _ck_
    Participant

    Congrats you made the top 100 ;-)

    Is anyone seeing the snap icons in the top100 list? Are they just blocked for me or for everyone? I think snap decided they didn’t like me :-( Worked for a few hours and then disappeared.

    #60184
    fel64
    Member

    Does disabling the plugins one by one not work?

    The image plugin seems to be somewhat messed up right now; it breaks use of code on my forum and sometimes I have your problem, too. Not sure why. Hopefully mdawaffle will update it soon.

    #60080

    In reply to: top 100 bbPress sites

    fel64
    Member

    If you’re going to list Loinhead, you might as well put in some numbers. :)

    http://forums.loinhead.net/statistics.php

    #59881
    _ck_
    Participant

    *blush* definitely not the best. Most active at the moment, but in a year with 10,000 bbPress users and 100+ developers, no one will even remember my nickname. Heck I can’t even get “admin can post anything” to work right, it’s driving me crazy.

    Actually I was going to put a call out for free hosting as my dreamhost account expires sometime near the end of this month.

    But I need an account with shell and a decent server so it’s tricky to find cheap & stable. I hate moving my site ever other month but I always learn something from the move when it breaks code.

    #60079

    In reply to: top 100 bbPress sites

    _ck_
    Participant

    I am pleased to have something to finally show for all my searching efforts.

    This list is obviously unofficial and just in beta test, I am still adding features and making corrections:

    http://bbshowcase.org/forums/view/top100

    http://bbshowcase.org/forums/view/top1000

    There are roughly 1,000 sites listed, with the top 100 to showcase either sheer number of members/posts or user votes for style, etc.

    Right now they are listed in order of total members (but you can sort). I will have it eventually list by a weight between members, posts and votes for style.

    Also there will be user voting and preview thumbnails of the sites. (I was trying to use snap previews but it suddenly stopped working for me, so they might not have liked hundreds of links on a page, LOL – they are slow anyway and I want to learn to do snapshots via crawling code anyway)

    Some interesting observations/conclusions from all my work on this (whew):

    1. There are roughly 1000 public bbpress sites in existance

    2. A great deal (>~80%) of these sites have less than double-digit members, hence I consider them “micro forums”

    3. bbPress is being adopted worldwide in an impressive variety of countries and languages

    4. SEO’er/search engine spammers/made-for-adsense makers seem to have found and love bbPress (unfortunately)

    5. There are some really amazing designs out there

    6. Apparently the people that participate on bbpress.org are a very small fraction of the people using bbPress!

    7. At least several dozen sites had installed bbPress and uninstalled it a few weeks later :-(

    #60430
    neyoung
    Member

    1.) The easiest way to prevent the user role from displaying is by adding the following to your style.css file

    .threadauthor small a {
    display: none;
    }

    2) No idea… :)

    #60429
    Sam Bauers
    Participant

    Using this plugin:

    https://bbpress.org/plugins/topic/50

    You can customise what appears under the user’s name.

    Don’t worry about the first section of the plugin, just skip to the last field. Entering a single <br /> tag in that field will stop anything displaying.

    Unfortunately the plugin can’t change “keymaster” to something else, for that you will need to hack or use a new language file as Detective suggests.

    #60124
    chrishajer
    Participant

    In your admin panel, under the Content tab, is there something for Bozos (I can’t remember since I turned off the bozo thing on my forum, it was a big PITA)? Mine admin panel under content shows topics, posts and forums, but I thought there used to be one for bozo.

    If so, look there. If not, in the first page of the admin panel, is there a “recently moderated” section on the right sidebar? Are the posts there?

    I know the users are NOT bozos, but I still suspect they are marked as bozos, so the post shows when they look at it when they’re logged in, but no other users will be able to see their post. To them, it looks normal, to everyone else, they’re invisible.

    Here is something I posted earlier this year about bozos:

    https://bbpress.org/forums/topic/fix-or-remove-bozo-function-before-it-kills-bbpress?replies=5

    Related:

    https://bbpress.org/forums/topic/problems-with-posting?replies=3#post-5151

    That’s my story and I’m sticking to it. :D

    #59880
    benbeltran
    Member

    ahh, I see :) It’s nice. Well, if you ever need hosting, do contact me. That’s the least I could do for the best bbpress plugin coder :D.

    #60077

    In reply to: top 100 bbPress sites

    benbeltran
    Member

    @airdrawndagger: Thanks :D I’m glad it made you switch to this great software.

    @vlp: Sorry, I didn’t quite understand. The page number, like for every page on the forum that’s displayed on the front page? If it’s that, there’s a plugin for that :o… but I get the feeling that’s not what you meant.

    @baptiste: I like the blue theme from baptiste.us … :) Though maybe the blue text should be a bit clearer when its on blue backgrounds.

    #60076

    In reply to: top 100 bbPress sites

    baptiste
    Member

    Not much traffic – but I’ve got Refresh going for my plugin blog and forums. Matches quite nicely – I mucked with the themes a bit but the ports were done by others thankfully. Getting the integration and WP sidebar on the forums took some fun mucking in the code…

    http://plugins.baptiste.us/

    http://plugins.baptiste.us/forums/

    One of these days I’ll diff the changes I made to the Refresh port to get it to match the WP theme and have everything line up properly…

    This site is still under development:

    http://onthepitch.org/talk/

    Still need to tweak the theme some, but I’ve made a variety of navigational changes. Click any topic and look at the meta section. Click on a forum and note the navigation links. Click on a subforum and note the breadcrumb trail. On the front page – I like having the latest posts first, but added a ‘Forums’ column to indicate where they were and make it easier for folks to jump into a forum (no scrolling down for active forums)

    Still a bit to do, but it’s working better each day. The theme will eventually be green – thus the green ads. I keep trying to convince myself NOT to shoehorn in AJAX posting – but I really miss it – something that made bbPress ‘cool’

    #60413
    fel64
    Member

    Some things you can change in the template, some things are hardcoded. I’m not sure what you mean but if something isn’t done in the template and you think it should be changed (everywhere) then you can report bugs, defects, possible enhancements on trac: http://trac.bbpress.org.

    #60419

    In reply to: avatar

    fel64
    Member

    I suggest giving your post div an appropriate min-height. It’s easiest and most elegant. Forget tables.

    #60074

    In reply to: top 100 bbPress sites

    benbeltran: Your forum is what made me decide on going with bbpress :)

    #60352

    benbeltran: That’s why I put “theme” in the topic title, rudely looking to steal what someone else had already created :) I know, I’m terrible!

    #60123

    C’mon! Anyone? My users are abandoning the forum :(

    #55739

    In reply to: Anonymous posting

    rashantha
    Member

    i don’t see any instruction on how to use this code. do you have any tips?

    #55738

    In reply to: Anonymous posting

    matt123
    Member

    Just wanted to put up a link to where to find the code to make anonymous posting happen. It took me a lot of searching before I found it. Works like a charm only problem is that it tries to let you pm the anonymous person.

    https://trac.bbpress.org/ticket/633

    #60406

    In reply to: Anonymous Post

    rashantha
    Member

    okay so i found some talk about anonymous post.

    it seem like there is no solution at the moment other than a suggestion of ‘anonymous’ ‘anonymous username/password combo.

    how about a simple plugin that ask to decode a number sequence like in facebook.

    does anyone have anything like this?

    #60366
    chrishajer
    Participant

    Did you try recounting from the admin panel?

    Admin > Site Management > Recount

    "The following checkboxes allow you to recalculate various numbers stored in the database. These numbers are used for things like counting the number of pages worth of posts a particular topic has. You shouldn't need to do do any of this unless you're upgrading from one version to another or are seeing pagination oddities."

    (sure wish blockquotes were styled here!)

    #2333
    gusext
    Member

    Hi all.

    (Sorry for my bad english. I tried to be verbose in order to avoid my bad english affect your understanding)

    I wrote a plug-in, in order to have the best rewrite rules (in my opinion :p ) in the world.

    this plugin achieves two things:

    One: I need to show, in the URL, the logical parent-to-child relation between forums and topics, so

    http://www.example.com/bbpress/topic/my-sweet-dog

    URL has to show the forum that contains the topic, and become

    http://www.example.com/bbpress/forum/pets-discussions/topic/my-sweet-dog

    when performing the rewrite, the rules totally ignore the forum part, so it’s only a visual thing.

    and, more difficult,

    Two: I need to shorten the URL and have fewer subdirectories, so

    http://www.example.com/bbpress/forum/pets-discussions/topic/my-sweet-dog

    has to lose the useless “/forum/” and the useless “/topic/” parts, and become

    http://www.example.com/bbpress/pets-discussions/my-sweet-dog

    ATTENTION: you cannot do the second thing without the first thing. you must be able, in rewrite rules, to discriminate between a topic and a forum. you then will have that forums have one string (the forum slugged name), while topics have two strings (the forum slugged name and the topic slugged name), so you can do that, and /pets-discussion/my-sweet-dog will belong to “My Sweet Dog” topic in “Pets Discussions” forum

    In order to do so, I need to

    – modify forum link creation

    – modify topic link creation

    – modify rewrite rules

    – avoid a forum to have a reserved name, as using bbpressfolder/forumname to reach a forum is risky! I have to prevent a forum from having a slugged name like “bb-admin”!!! here’s a list of reserved words:

    – all words with a dot. those are files, like style.css and so on. the slugged names never have a dot. I have only to avoid rewrite of dotted words.

    – all bbpress subfolders and special folders. these are all that start with

    bb-* , my-*

    – every other reserved word already used by rewrite engine:

    tag, profiles, view, rss

    All this is achieved adding a “r-” string in front of the slugged string. so a forum named “My Forum!” will have “r-my-forum” as slugged name. Unfortunately, this filter operates also for topic names and maybe other things. this mean that a topic named “rss” will have “r-rss” as slugged name. Not so bad, in facts.

    So these are the operations:

    – add a filter to get_forum_link (delete the “/forum” part)

    – add a filter to get_topic_link (add the “forum/slug-forum-name” in the link, and eliminate the “/forum” and “/topic” parts)

    – modify the rewrite rules (I used IIS isapirewrite, but apache is pretty the same)

    – add a filter to bb_slug_sanitize (avoid a forum to have a reserved word as slugged-name, like “rss”, “profiles”, “my-plugins”, etc

    And there is the code for these operations:

    function my_get_forum_link_filter( $link , $forum_id = 0 ) {
    //retrieve the forum object
    $forum = get_forum( get_forum_id( $forum_id ));

    //check for rewrite
    $rewrite = bb_get_option( 'mod_rewrite' );
    if ( $rewrite ) {
    //what kind of rewrite there is? slug use "forum_slug" column, else the column is "forum_id"
    $column = ($rewrite === 'slugs')?('forum_slug'):('forum_id');

    // change /forum/pets-discussions in /pets-discussions
    // this work only if the rewrite module is modded!
    // and this work only if the slugged name will NEVER
    // be a reserved word like "rss" or "bb-images"
    // and this is achieved by a filter on bb_slug_sanitize
    $link = str_replace('forum/' . $forum->$column , $forum->$column, $link);
    }
    return $link; // Very important line!
    }

    add_filter( 'get_forum_link', 'my_get_forum_link_filter' );

    function my_get_topic_link_filter( $link, $topic_id = 0) {
    //retrieve the topic object
    $topic = get_topic( get_topic_id( $topic_id ));

    //retrieve the forum object that is the topic container
    $forum = get_forum( get_forum_id( $topic->forum_id ));

    //check for rewrite
    $rewrite = bb_get_option( 'mod_rewrite' );
    if ( $rewrite ) {
    //what kind of rewrite there is? slug use "forum_slug" column, else the column is "forum_id"
    $column = ($rewrite === 'slugs')?('forum_slug'):('forum_id');

    //create the "forum/pets-discussions" chunk to show the hierarchical relation forum->topic
    $forum_nice_uri = "forum/" . $forum->$column . "/";

    //attach the hierarchical chunk to the link
    $link = str_replace(bb_get_option('uri'), bb_get_option('uri') . $forum_nice_uri, $link);

    // change /forum/pets-discussions/topic/my-sweet-dog in /pets-discussions/my-sweet-dog
    // this work only if the rewrite module is modded!
    // and this work only if the slugged name will NEVER
    // be a reserved word like "rss" or "bb-images"
    // and this is achieved by a filter on bb_slug_sanitize
    $link = str_replace('forum/' . $forum->$column , $forum->$column, $link);
    $link = str_replace('topic/' . $topic->$column , $topic->$column, $link);
    }

    return $link; // Very important line!
    }

    add_filter( 'get_topic_link', 'my_get_topic_link_filter' );

    function my_bb_slug_sanitize_filter( $text_slug, $text_original = '', $length = 0 ) {
    // add "r-" by regex when the string begins with "bb-" or "my-" or is a reserved word
    return preg_replace('/^(my-.*|bb-.*|rss|tags|view|profiles)$/', 'r-$1', $text_slug);
    }

    add_filter( 'bb_slug_sanitize', 'my_bb_slug_sanitize_filter' );

    And there’s the rewrite rules! ATTENTION!!!!! these rules are for IIS isapirewrite, so these are to be modded to work with apache! sorry but I don’t have any apache installation to play with. It’s a simple task, anyway. Every regex guru and regex accolite can do that. Even a regex wannabe can find out googling.

    #	first we rewrite the pages for normal slug-rewrite usage

    RewriteRule /bbpress/tags/([^/?]+)/page/([0-9]+)(?:?(.*))? /forum2/tags.php?tag=$1&page=$2?3&$3: [I,L]
    RewriteRule /bbpress/tags/([^/?]+)/?(?:?(.*))? /forum2/tags.php?tag=$1?2&$2: [I,L]
    RewriteRule /bbpress/tags/?(?:?(.*))? /forum2/tags.php(?1?$1:) [I,L]
    RewriteRule /bbpress/profile/([^/?]+)/page/([0-9]+)(?:?(.*))? /forum2/profile.php?id=$1&page=$2?3&$3: [I,L]
    RewriteRule /bbpress/profile/([^/?]+)/([a-z-]+)(?:?(.*))? /forum2/profile.php?id=$1&tab=$2?3&$3: [I,L]
    RewriteRule /bbpress/profile/([^/?]+)/([a-z-]+)/page/([0-9]+)(?:?(.*))? /forum2/profile.php?id=$1&tab=$2&page=$3?4&$4: [I,L]
    RewriteRule /bbpress/profile/([^/?]+)/?(?:?(.*))? /forum2/profile.php?id=$1?2&$2: [I,L]
    RewriteRule /bbpress/view/([a-z-]+)/page/([0-9]+)(?:?(.*))? /forum2/view.php?view=$1&page=$2?3&$3: [I,L]
    RewriteRule /bbpress/view/([a-z-]+)(?:?(.*))? /forum2/view.php?view=$1?2&$2: [I,L]
    RewriteRule /bbpress/rss/(?:?(.*))? /forum2/rss.php?1&$1: [I,L]
    RewriteRule /bbpress/rss/forum/([0-9]+)(?:?(.*))? /forum2/rss.php?forum=$1?2&$2: [I,L]
    RewriteRule /bbpress/rss/topic/([0-9]+)(?:?(.*))? /forum2/rss.php?topic=$1?2&$2: [I,L]
    RewriteRule /bbpress/rss/tags/([a-z-]+)(?:?(.*))? /forum2/rss.php?tag=$1?2&$2: [I,L]
    RewriteRule /bbpress/rss/profile/([0-9]+)(?:?(.*))? /forum2/rss.php?profile=$1?2&$2: [I,L]

    # then we have a rule for special words, so they are left as they are, and the isapi module does not proceed further

    RewriteRule /bbpress/(my-.*|bb-.*|rss|tags|view|profiles)(/.*)? /forum2/$1$2 [I,L]

    # then we have the forum and topic rules.
    # ATTENTION: we DO NOT rewrite a dottet word, because dotted words can be files like style.css and so on

    # before there are the topic rewrites, that are longer
    # ATTENTION: note that the forum name is totally skipped trough ?: notation. In facts, bbpress doesn't need the forum name when reading a topic
    RewriteRule /bbpress/(?:[^./?]+)/([^./?]+)/page/([0-9]+)(?:?(.*))? /forum2/topic.php?id=$1&page=$2?3&$3: [I,L]
    RewriteRule /bbpress/(?:[^./?]+)/([^./?]+)/?(?:?(.*))? /forum2/topic.php?id=$1?2&$2: [I,L]

    # and after there are the forum rewrites, that are shorter
    RewriteRule /bbpress/([^./?]+)/page/([0-9]+)(?:?(.*))? /forum2/forum.php?id=$1&page=$2?3&$3: [I,L]
    RewriteRule /bbpress/([^./?]+)/?(?:?(.*))? /forum2/forum.php?id=$1?2&$2: [I,L]

    And that’s all. I hope someone can use this plugin :)

    Gus

    email: shiawase at gmail dot com

    #2331
    wpitn2shape
    Member

    I want to hook, et whatever, into the author id of a post to make my avatars plugin work with BBPress.

    The docs just say it’s the same as WordPress, but not exactly. The tags are different and my original plugin doesn’t work anyway (or perhaps it’s an integration problem with my installs. I’m running MU).

    I’m looking for equivalents like these or anything related

    $the_author = get_the_author_id();

    Where are the docs for the plugin API, basically? I don’t require you to look into what exact hooks, etc. I need, just lead me to info. If you want to do more, that’s fine, too. :-)

    #60363
    wpitn2shape
    Member

    An update:

    I don’t think my integration in general is working too well, because my avatar from my own avatar plugin is not displaying my user’s av. Of course this could be my plugin, and perhaps I need to work on an integration for THAT, too – ha ha.

    But I’m really worried about my MU integration..

    Looking closer I think it is the plugin in the sense that the post doesn’t bring up WP-type post code, but BBPress and the plugin doesn’t have that written. It’d have been nice for it to be more integrated on its own. I read others use their plugins on the forum pages. Sigh.

    #2326
    baptiste
    Member

    I’ve been working on updating a theme to be more ‘navigable’. I found the new_topic function could not be used when viewing a topic, so I modified the function to return a proper ‘Add New Topic’ link when called from a topic view (topic.php)

    The code changes can be found in ticket 736:

    http://trac.bbpress.org/ticket/736

    Here I added a ‘New Topic’ link in the topic meta section:

    http://onthepitch.org/talk/topic/coaching-youth-soccer

Viewing 25 results - 29,076 through 29,100 (of 32,458 total)
Skip to toolbar