Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 29,851 through 29,875 (of 32,491 total)
  • Author
    Search Results
  • #2024
    #2022
    gostallion
    Member

    Hello, I’ve been trying out this product and really loved it. I’m wondering if anyone of the experts out there be interested to help me setup a site with bbpress and wp? Just a simple site will do nothing complex.

    And of course to show my support for this community, I’ll pay for your work =)

    Please let know if there’s any interest?

    Thanks heaps

    #2021
    fel64
    Member

    On the end of URLs in my forums it always attaches a ?replies=# to the topic link (or redirects you if you open a topic without that in the url) where # is the number of replies to the topic. It’s really ugly and I want to get rid of it; no other forums apart from this one that I’ve seen have it! I’m using slug permalinks but I believe it was there before that. I’ve got the rules from bb-admin/rewrite-rules.php in my .htaccess because Multiviews didn’t seem to work for me. Anyone know how to get rid of that?

    Trent Adams
    Member

    Ignore it forever because mdawaffe will never get around to deleting it ;)

    Trent

    gspark
    Member

    very cool :)) now how to delete the gspark001 account

    #58696
    fel64
    Member

    Edit the template file front-page.php so that the ‘latest discussions’ part is beneath the ‘forums’ part.

    M
    Member

    I registered as ‘M’ on the wp forums ages ago. ;)

    And I run all my registrations through wp instead of bbpress, so I’m no help with this one other than that.

    #58706

    In reply to: HELP! Cookies issue

    gostallion
    Member

    I took e site down but check out http://www.learnsushi.org/community and

    http://www.learnsushi/community/bb

    What else needed from me? =)

    #51596

    In reply to: Google Adsense

    Beer
    Member

    The add_action( ‘under_title’ .. ) part has me curious. Where does the ‘under_title’ come into play? I was trying to find it in my bbpress code. I want to add a wide 250×250 block for example under ‘Add this topic to your favorites’ on the left of the tags column.

    http://www.grindhouse.com/forums/topic/26?replies=1

    How can I accomplish this?

    #58695

    In reply to: Page numbers

    Trent Adams
    Member

    They can by styled through style.css:

    <div class="nav">
    <span class='page-numbers current'>
    <a class='page-numbers'>

    Check for those attributes in the CSS sheet.

    Trent

    #2006
    Alex123
    Member

    Hi,

    I was wondering if there is a way to have bbPress uses the style-sheet etc. from the template

    I am using for WordPress, in order to have the same look and feel through the entire site.

    That would be a real integration ;-)

    Thanks

    Alex

    #2014
    atomastro
    Member

    I no longer have element attributes such as href, title, rel, or cite for content posted by users. For example:

    This is a <a href="http://www.link.com" title="a link">Link</a>

    becomes:

    <a>Link</a>

    i figured this was something in bb-includes/formatting functions, but everything looks right to me:

    function bb_allowed_tags() {
    $tags = array(
    'a' => array(
    'href' => array(),
    'title' => array(),
    'rel' => array()),
    'blockquote' => array('cite' => array()),
    'br' => array(),
    'code' => array(),
    'pre' => array(),
    'em' => array(),
    'strong' => array(),
    'ul' => array(),
    'ol' => array(),
    'li' => array()
    );
    return apply_filters( 'bb_allowed_tags', $tags );
    }

    does anyone have any ideas?

    #52651
    citizenkeith
    Participant

    Any chance that we can add smilies from the emoticon plugin into the sigature? Or at least an IMG tag? :)

    #58076

    In reply to: bbSync

    starrett
    Member

    fel, cool – the code you are using works great. Unfortunately, I’m still getting the IP address in the links that bbSync is creating in the forums – you can see an example of this here. Strangely, it’s also failing to grab the correct category when trying to make the links. Here’s the output on that page:

    http://208.***.197.39/wp/uncategorized/12-year-old-boy-dies-after-rock-n-roller-coaster-ride/

    I don’t really have any idea what is going on there. Oh, and one more little thing – is there anyway to have the number of replies appear on the WP page, as opposed to the replies themselves? I was discussing the plug-in with a buddy over the weekend and he suggested that might be useful. So, instead of listing the replies and then saying “Reply!” It would simply say something like “Join the discussion in the forums (4)” Just a thought. :)

    #58681

    Change it in your template.

    Find your theme’s logged-in.php file. Look for bb_profile_link() and change it to

    bb_profile_link( "Use my text instead" );

    (If you’re using the default theme, first copy the bb-templates/kakumei/ directory to a new directory called my-templates/my-theme/, activate that new theme from the Presentation admin panel and edit those files instead).

    #58073

    In reply to: bbSync

    fel64
    Member

    What’s the exact text it’s spitting out and what settings have you got?

    Oh, right. I think I modified that function for my own nefarious purposes. bbreplylink() now returns the URL to the forum topic. So that this would give you the url:

    <?php echo bbreplylink(); ?>

    I did that for a little more template flexibility. This is what I’m using:

    <?php if($topic_id = felwptobb( $id ) ) { echo '<a href="' . bbreplylink( $topic_id ) . '">Reply!</a>'; } else { comments_popup_link('&nbsp;comments', '1 comment', '% comments','',''); } ?>

    Do you think that should be changed to make a single template tag? I guess it would be easier to use. Any suggestions?

    #55652

    In reply to: What’s integration?

    the bb instructions for integration say that to include WP functions in bb you need to include the put require_once('path/to/wp-blog-header.php' in bb’s config.php file.

    i’ve done that and things work ok until I go into bb admin at which point it all dies coz it can’t find the wp file.

    anyone had this, got a solution?

    #52316
    wittmania
    Member

    Update: Somebody asked me how to add a name (instead of just the e-mail address) to the new message received e-mail notification. To do this, just use this format:

    $admin_email = "Your Name <you@yourdomain.com>";

    When the e-mail is delivered, it will show up as being from “Your Name” and not “you@yourdomain.com”. I’m not sure that this will work on all PHP configurations, but it works on mine.

    #56813

    In reply to: Last posted by?

    fel64
    Member

    Woops, rather nasty typo above. Author is spelt with an o, so make that

    <td class="num"><?php topic_author(); ?></td>

    You already have those columns, dlevy, or do I misunderstand? By default it shows the last poster and when.

    #58552
    fel64
    Member

    No, to be fair I wasn’t. Looking deep into its bowels I can’t see anything that would set $forum_id, although that could be an oversight.

    Kakumei does go into main trac. :)

    #58549
    fel64
    Member

    Not repeatable for me. Topics made since .8.2 in my active forums on Linux / php 4.4.4 I think have been made by a direct call to bb_new_topic(), and under xampp topics made normally also do not have this problem.

    Riddle: do please add these to trac if you haven’t already. Login is the same as here.

    #53843

    In reply to: Why Key Masters?

    fel64
    Member

    Why don’t you just set your custom title to “Supermegaadmin”? That should get the message across without needing you to make a new account. :)

    #56811

    In reply to: Last posted by?

    fel64
    Member

    Look for the block of code that makes the forums in front-page.php and in forum.php. Add this in there.

    <td class="num"><?php topic_auther(); ?></td>

    <td class="num"><?php topic_start_time(); ?></td>

    The topic_start_time() expects the format to be MySQL time. They do not need an argument to work but they can have one for whatever reason, I don’t know. I just found these by going into bb-includes/template-functions.php.

    #57678

    In reply to: Tags not separating

    Arlo
    Member

    Whew, I’m not crazy! :)

    #57675

    In reply to: Tags not separating

    fel64
    Member

    $tag = str_replace(',', '', $tag);

    (That’s not the actual code you need, just an illustration.)

    You could be doing this with a plugin, which is probably preferable as you don’t have to hack the core every time. The filter you want is probably bb_tag_sanitize but I’m not sure. Check http://bbpulp.org/wiki/API/filters and http://bbpulp.org/wiki/API/actions.

Viewing 25 results - 29,851 through 29,875 (of 32,491 total)
Skip to toolbar