Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,551 through 24,575 (of 32,432 total)
  • Author
    Search Results
  • #75233
    chrishajer
    Participant

    Frooyo, to answer your question, you can remove that dropdown as you did, but first you need to add the forum name as hidden value to the form. You can look at the source of a rendered page, find the select, grab the form field name and value, and just code that into the form as a hidden value. That way, when you submit the form, it looks the same to bbPress as if someone had actually selected one (of one) value for a forum name.

    Mine looks like this (your forum ID might be different):

    <input type="hidden" name="forum_id" value="1" />

    #75232
    chrishajer
    Participant

    Heh, Sam. It’s been like that since the 0.7 series I think. I’ve only ever had one forum, but it always showed the dropdown :-) I used to fix it but them maintaining the changes across updates became a hassle.

    Also, the width of the dropdown was never wide enough, in FF3 (and FF2) at least. Never really tested it. I can’t recall if it was fixable with CSS or if that width was in the template. I think in the template with a width=”xx” value.

    Was going to take a screenshot just now, but I realized I took the select out in my installation, so people don’t have to choose, and hardcoded the value into the form. BUT, there is still a dropdown with just one value (if you have just one forum) when you’re logged in as keymaster and you have the option to move the topic to another forum. Probably shouldn’t even show the option to move it to another forum if there’s only one.

    Weird that this is just coming up now. I always just thought it was normal.

    #73612
    Sam Bauers
    Participant

    In bbPress to use SSL you need these in your bb-config.php:

    define('BB_FORCE_SSL_USER_FORMS', true);
    define('BB_FORCE_SSL_ADMIN', true);

    #73611

    WPMU Trunk + bbPress Latest RC + Integration Plugin with:

    define(‘FORCE_SSL_LOGIN’, true);

    define(‘FORCE_SSL_ADMIN’, true);

    Does not work. Setting the values to false (disabling SSL/HTTPS), integration works great. However when it comes to SSL, forget it. I’m going to say it’s impossible. :-)

    We need SSL to work across software packages, security is paramount.

    Any help from anyone or the devs, let me know.

    Again, this is a SSL WPMU install.

    #75204
    Sam Bauers
    Participant

    In bbPress 1.0 you can use post_position() inside the loop of posts.

    #75255
    smfadmin
    Member

    Uhhh…I’m no programmer. Messing with actual code could get me in a lot of trouble. :-) Is there an easier way? WordPress has tons of Plugins to make things like this simple. I can’t find much in the way of Plugins for BBPress.

    #75254

    That’s just adding in the link in your theme.

    Seriously :) You can edit your header.php to have this, no plugins needed.

    #15140

    Running:

    WPMU + Latest RC of BBPress, User tables integrated, v1 of Integration Plug (on wp side) installed. Latest RC of bbpress was installed directory fresh but over an existing bbpress 9.x (latest stable) tables.

    Tests Passed:

    – Logging into each site individually works fine. Can’t log out without errors (understandably as there is a cookie issue see below).

    Tests Failed:

    – Log into bb-press via https

    – Log into wp blog.

    – Should go to Admin.

    Debug:

    – Stepped through to find wp was looking for “wordpress_sec_[long hash string]” cookie. Thinking it was ‘mal formed’ it redirects to the wp login.

    Question:

    – Why would the “wordpress_sec” cookie not be created by bb_press?

    I will be stepping through the bbpress code but wanted to put a heads up in the forums if maybe someone already knows whats going on.

    Btw Is there a developer forum?

    #75203
    thekmen
    Member

    If you are willing to look at the source after the first post is added, you could add styles to suit that post to your css.

    something like:

    #thread #post-3 .threadpost { background: #7CFC00; }
    #thread #post-3 .threadauthor img { display:none }
    #thread #post-3 .threadauthor { background: url(images/question.jpg) no-repeat 0 0; width: 80px;
    height: 80px; }

    should work ok for that page.

    other than that, i’m sure you could find a jQuery solution to find the first post in a thread & style it.

    #75201
    michael3185
    Member

    I think there’s a missing check for the count..? I put a counter in my frontpage.php to limit the number of recent posts which are displayed;

    <?php $recent_count = 0; ?>
    <?php if ( $topics || $super_stickies ) : ?>
    <h4><?php _e('Recent Posts'); ?></h4>
    <table id="latest">
    <?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
    <?php if ($recent_count >= 10) { break; } ?>
    <?php $recent_count++; ?>
    <tr<?php topic_class(); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><br /><div class="hints"><?php topic_posts(); ?> posts. <?php topic_last_poster(); ?> posted <a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a> ago.</div></td>
    </tr>
    <?php endforeach; endif; ?>

    the $recent_count variable is incremented for each post link, and the loop is jumped out of if it hits 10. No doubt there’s a neater way of doing it, but it works fine. Checking for 1 instead of 10 would do it for you.

    #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)

Viewing 25 results - 24,551 through 24,575 (of 32,432 total)
Skip to toolbar