Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,651 through 24,675 (of 32,522 total)
  • Author
    Search Results
  • #75200
    lemonade-joe
    Member

    Thanks for the answer. Maybe I am doing something wrong, but after I insert the code into the topic.php, I only get a blank screen. No error messages, only blank screen.

    frooyo
    Member

    In 1.0 RC, it appears I need to have the users select the “forum” or “category” for their new post to be tied too.

    However, I only have 1 forum – so in my post-form.php template, I removed the following code which produces the dropdown list (since only 1 value is selected).

    <label for=”forum_id”>Category:

    <?php bb_new_topic_forum_dropdown(); ?>

    </label>

    But now, when I try to add a post – I receive an error message that says “This topic has been closed”.

    Any idea how I can force all new post into the only forum I have setup … so that I don’t have to display the “category” dropdown menu which only has 1 item listed.

    #15135
    mightybutton
    Member

    Does anyone know a website or another forum where I can find a reasonably priced bbpress theme programmer? Having used a lot of wordpress programmers I know that not all programmers are created equal. I really want to find someone who has coded quite a few bbpress themes. If anyone can point me in the right direction I would appreciate!

    #75199

    That is the right thing to edit! One way to do it is to add a counter

    <?php
    $postorder = 0;
    foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
    <?php $postorder++;
    <li id="post-<?php post_id(); ?>" class="entry-<?php echo $postorder; ?>"<?php alt_class('post', $del_class); ?>>
    <?php bb_post_template(); ?>
    </li>
    <?php endforeach; ?>

    Then you can just use CSS and format li.entry-1 however you like!

    #75190
    michael3185
    Member

    Yeah. Erm, what she said. :)

    The neat thing is, you get lots of help and it all works in the end.

    #75188
    michael3185
    Member

    Hiya feast. I like the look of your forum, though something’s not straight – can’t figure out what it is..! ;)

    I’m not a bbPress expert, but an idea occurred to me. As you might not find someone to do everything you want, why not offer a price for each individual piece of work? There’s a post about it at https://bbpress.org/forums/topic/s-amp-s-for-your-help#post-37270

    #75193
    michael3185
    Member

    Neat idea xtint – I like it. I’m not a bbPress hotshot by any means, and am also busy with my own forum set-up, but I’ll keep tabs on this one. There are some superb coders in the forum, and I’m sure you’ll get some pointers soon enough.

    #15129
    feastoffools
    Member

    Looking for a bbPress expert who could help us tie our blog entries to

    appear on the forums via Bbsync and fix a couple of bugs on the

    forums.

    http://www.feastoffools.net/community

    ••• Troubleshoot and optimise our forums. Right now Dreamhost is forcing us to upgrade our services because they claim our bbpress forums are taking too much of a server hit. Looking for someone to help us optimize our forums.

    ••• Upgrade to the latest version of Bbpress. Right now we’re at .9

    ••• Install BBsync

    http://bbpress.org/plugins/topic/bbsync/

    new blog post, this post will be turned into a new topic in your

    forums. Replies can be made to the topic. Comments made through the wp

    comments form will also be shown as replies to the corresponding

    thread. All comments/replies will show up automagically in wordpress,

    too.

    ••• Code Buttons:

    http://bbpress.org/plugins/topic/bbcode-buttons/

    Automatically adds an easy access button toolbar above the post

    textarea to allow quick tags in BBcode. This is an enhanced

    replacement for the Comment Quicktags plugin. No template editing

    required.

    Requires the BBcode-Lite plugin (or some other kind of BBcode support).

    Some buttons will only appear if the tag is supported (ie. img, center)

    ••• Upload Image Files / Attachments

    http://bbpress.org/plugins/topic/bb-attachments/

    This may not work with the version of bbpress and wordpress that are

    compatible. Right now I’m waiting for bbpress to get to full 1.0 to

    upgrade both to WordPress 2.7 and Bbpress 1.0, which my guess will be

    in the next 6-8 months, but hopefully sooner.

    ••• Post Notification

    http://bbpress.org/plugins/topic/post-notification/

    If you have a topic in your favorites and there will be a new post to

    this topic it sends you an email. Simply upload and it does its job.

    •••• Bb Socialize

    Add social network links to form/user profiles.

    Allows you to set and display your social media profiles in your

    public forum profile. As administrator, you can select which sites

    will be supported using simple management panel.

    http://bbpress.org/plugins/topic/bbsocialize/

    – Show quoted text –

    ••• Search problematic

    Also users are complaining about the search function not working well,

    is there anyway to troubleshoot this or enhance the search inside the

    forums?

    best

    Fausto Fernos

    #74319
    _ck_
    Participant

    frooyo I am certain not trying to discourage you from learning more about how bbPress works and trying to create plugins – however you should be able to find those hooks easily by reading the code. That’s how I learned everything I know about bbPress, I keep the windows search window open and pointed to the bbPress folder and I search for things. Many times the hooks are in the dozen php files in the bbPress root, sometimes you have to dig much deeper into the core files. If you can’t follow the code, you need to reconsider what you are attempting to do.

    I have no idea what other plugins you’ve written, modified or ported from WordPress but this is not exactly and easy conversion to start with. You need to understand what can and can’t be cached and it’s very different from WordPress.

    #74318

    @frooyo – Start here: http://phpxref.ftwr.co.uk/bbpress/nav.html?index.html

    It has all the functions and probably the hooks as well. That’s where I start when I want to figure out what’s up. You can view the code in the pages, and click on links to explain what each function etc is. I have no idea what functions etc you’ll need. I’d personally start by boning up on WP-Super-Cache, seeing what it hooks into on WP, and then, under the assumption the WP and BB has similar structures, look for the BB version of the WP hooks.

    And then I’d get a beer.

    #75187

    You can’t make an image size cap that will work in all browsers, but in theory you should be able to ‘crop’ the image via overflow. See http://www.w3schools.com/Css/pr_pos_overflow.asp and you’ll want to add it to .threadpost

    In theory you could also make a css entry for (I think…) .threadpostimg {} along these lines: http://phydeaux3.blogspot.com/2006/01/max-width-and-faking-it-for-ie.html (which will xplain why IE sucks).

    As for why you have that dead space… You have a left margin :) Trim that down.

    #front-page #discussions {
    margin-left: 170px;
    width: 590px;
    }

    #73777

    Actually … kinda yeah.

    This works on any page <?php if (is_topic() ) : ?><?php topic_tags(); ?><?php endif; // is_topic() ?> I have it in sidebar.php and it works fine. The reason it works is that it checks the page to see if it’s a topic and, if so, gets the tags.

    I’m guessing you want something like this on your index page etc: Topic Name – Poster Name – Tags

    You’ll need something like bb_get_topic_tags() which appears to take a $topic_id parameter.

    #74733

    _ck_ – Totally valid point. And that’s what I’m doing now :)

    PS: Trunk is totally sick on the admin side! ROCK!

    #74316

    @frooyo – Either get Donncha to explain the plugin (good luck, he’s busy) or download it for WP and study it. Honestly, I think you’re a little nuts, only because you’re picking possibly the most complicated plugin in the history of WP to convert as your first plugin :)

    deadlyhifi
    Participant

    When logging in, or out, through WordPress (MU) the following error(s) occur.

    Warning: extract() [function.extract]: First argument should be an array[...]

    and

    Cannot modify header information - headers already sent by (output started at /home/s/a/sandbox/public_html/wp-content/plugins/bbpress-integration/bbpress-integration.php:202)

    Also reported on: http://wordpress.org/support/topic/282166

    It works fine when login in through bbPress, and then accessing the admin in WPMU (user login integration shared)

    #74732
    _ck_
    Participant

    Ipstenu, what you have done is disable all the security entirely on the allow images plugin.

    Kind of defeats the purpose of the plugin which could then be accomplished with just two lines.

    add_filter( 'bb_allowed_tags', 'allow_images_allowed_tags' );
    function allow_images_allowed_tags( $tags ) {$tags['img'] = array('src' => array(), 'title' => array(), 'alt' => array()); return $tags;}

    MDA really needs to update that one, it’s becoming ancient now.

    #75160
    r-a-y
    Participant

    Hi guys,

    FYI, I’ve updated the code for the BuddyPress bar in bbPress:

    https://buddypress.org/forums/topic.php?id=1152#post-18510

    It uses bbPress’ header and footer hooks, instead of WordPress’.

    The BP bar now also works in the bbPress admin area as well!

    #74311
    johnhiler
    Member

    Frooyo – I think you are going to set a record for posting the same thing over and over! :-)

    #75183
    michael3185
    Member
    .threadpost {
    font-size: 11.5pt; /* Post content */
    padding: 16px 10px;
    margin-left: 140px;
    }

    #74731
    the_Wish
    Member

    Thanks for the suggestion, Ipstenu.

    I think bbcode-lite has me covered for now, I dumped Allow Images altogether.

    #75036
    r-a-y
    Participant

    @Sam

    Thanks for elaborating on this new class! Anxiously waiting for bbPress v1 :)

    @Burt

    Off-topic, but… wow! Post-grad particle physics?

    #74799

    Allow Images works if you change this:

    remove_filter( 'pre_post', 'bb_encode_bad' );
    add_filter( 'pre_post', 'allow_images_encode_bad', 9 );
    add_filter( 'pre_post', 'allow_images', 52 );
    add_filter( 'bb_allowed_tags', 'allow_images_allowed_tags' );

    to this

    // remove_filter( 'pre_post', 'encode_bad' );
    // add_filter( 'pre_post', 'allow_images_encode_bad', 9 );
    // add_filter( 'pre_post', 'allow_images', 52 );
    add_filter( 'bb_allowed_tags', 'allow_images_allowed_tags' );

    #75170

    In reply to: bb_meta corrupted?

    citizenkeith
    Participant

    Other than make another backup right now?

    Already done. :)

    I’m really concerned with all these MySQL errors I’m getting with MediaTemple. I’d love to find a solid, reliable host in the same price range, but I suppose you get what you pay for.

    #74730

    I was about to say “I use Allow Images without any problem”, but when I went to look at my files, I found I have an allow-images.php and an allow-images.orig … Clearly I found shenanigans somewhere down the road.

    Change this:

    remove_filter( 'pre_post', 'bb_encode_bad' );
    add_filter( 'pre_post', 'allow_images_encode_bad', 9 );
    add_filter( 'pre_post', 'allow_images', 52 );
    add_filter( 'bb_allowed_tags', 'allow_images_allowed_tags' );

    to this

    // remove_filter( 'pre_post', 'encode_bad' );
    // add_filter( 'pre_post', 'allow_images_encode_bad', 9 );
    // add_filter( 'pre_post', 'allow_images', 52 );
    add_filter( 'bb_allowed_tags', 'allow_images_allowed_tags' );

    And Allow Images should work.

Viewing 25 results - 24,651 through 24,675 (of 32,522 total)
Skip to toolbar