Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 23,776 through 23,800 (of 32,570 total)
  • Author
    Search Results
  • #78684

    There isn’t exactly as counterpart to login_form() for registering because it’s not expected to be embedded I guess. If you look under register.php though, you can see the internal function template call is bb_load_template( 'register.php', $_globals ); where $_globals are set earlier in the page before some code that handles the form output (ignore them at your own peril).

    The register.php template is also set up to be a full page though with calls to the header and footer functions, as well as a safety check for logged in users, so you’d probably need to cut it down and save it as a separate template to call.

    I’m pretty sure there’s been some discussion of embedding a register page in a template before in the forums, so you might want to look for that too.

    #31650
    johnnydoe
    Member

    hello bb’ans,

    if <?php login_form(); ?> calls the login form template, what calls the register form?

    i’ve tried as a php hardcore ultra mega pro the <?php register_form(); ?> idea, but that’s somehow not the way how it should be :)

    #78682

    I have no clue on this. It might be a pain to do manually but if I were you I would peek into the bbPress’s code responsible for upgrading the database. Good luck!

    #77513

    In reply to: All RSS Feeds Broken?

    @kirpi.it Nevermind, ignore what I said earlier. You have a space or a line return before the opening <?php in rss2.php. Seems to be a consistent problem copying from the forums. :/

    #78681
    wsokc
    Member

    Well, its good Idea btw.. but I already walk 90% here, go back and do the upgrading will take time :D is there any manual way to do this ?

    #78692
    gerikg
    Member

    this is the code I use… (in post.php) hopefully that can lead you in the right track to finding the right code for your plugin.

    <?php echo bp_core_get_avatar( get_post_author_id() ); ?>

    #78557
    Olaf Lederer
    Participant

    I think you need more since there are sites providing buddypress+wordpress+bbpress ;)

    success with your free hosting site

    #76967
    Marius-
    Member

    kirpi.it, here is the code, like Kawauso pointed out:

    #latest th a, #forumlist th a, #favorites th a {style.css (line 714)
    -moz-border-radius-bottomleft:6px;
    -moz-border-radius-bottomright:6px;
    -moz-border-radius-topleft:6px;
    -moz-border-radius-topright:6px;
    background-color:#9D0000;
    border:1px solid #FFFFFF;
    color:#FFFFFF;
    padding:2px;

    You can see this theme in action at http://www.michaeljackson.no/forum

    #76966

    It’s using class new-topic, so you’d need .newtopic {}… it can’t be found because there’s no actual CSS affecting it specifically. I’d recommend using Mozilla Firefox’s DOM inspector or looking at the HTML source to find class/ID tags for things.

    Oh, and it’s affected by (in Kakumei at least):

    #latest th a, #forumlist th a, #favorites th a and a:visited

    #77510

    In reply to: All RSS Feeds Broken?

    That’s weird. Seems to be throwing <![CDATA in still… could you check if there’s a rss2.php in your template’s directory and if so either change that or delete it? That’s the only thing I can think of that might be causing that. Forgot themes usually copy everything.

    #78646

    In reply to: If BBpress then, else

    If they are deeply integrated then you will have a hard time figuring this out as if you ask Is this is WP? WP will say yes and if you ask Is this is bbP? then bbP will say yes and if they are deeply integrated then both questions will return a yes.

    #76108

    In reply to: Categories at the top?

    Hmm? I accidentally left the comment saying // List forums in there, but in actual fact that will only return categories, not forums in them because it does the bb_get_forum_is_category() check. If you’re referring to the normal forum code in frontpage.php, taking that out will take out the normal list of forums you see there, so I’m not sure if that’s what you want to do.

    #78593

    Sorry about that! :)

    #76107

    In reply to: Categories at the top?

    rgregory1
    Member

    Thanks mate, and then I remove the similar code at the bottom? Because if I understand correctly, I will then have two listings of forums.

    #78591

    @ashfame have a look at the bottom of front-page.php, it should read <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Add New Topic'); ?></div>. Your code seems to have somehow dropped everything between the last two PHP snippets and the trailing </div> too. That’s not being returned by the breadcrumb function though at least, so it should be easier to fix :) if it doesn’t work with your template’s front-page.php deleted/renamed though, there might be something wrong with your core files.

    #78590

    @gerikg he’s trying to fix an additional <a> with no closing tag in the new post form, not generate a link to it :)

    #31639
    gerikg
    Member

    WPMU+BuddyPress+BBpress

    How do you write the php code to say

    if in a bbpress side

    do this

    if wordpress (or else) do that.

    ?

    #78588
    Navin
    Member

    Maybe you can hardcode the URL like this http://domain/forum.php?id=9#postform

    #78587

    @kawauso

    Mine post-form.php is exactly the same as that of Kakumei.

    I can trace the problem to an unclosed anchor tag <a> which is in bbcrumb DIV.

    http://validator.w3.org/check?uri=http%3A%2F%2Fbbpress.ashfame.com%2F%3Fnew%3D1&charset=(detect+automatically)&doctype=Inline&group=1&ss=1#line-86

    Where does this code comes from? I mean which file?

    Username:demo

    Password:demo

    @gerikg

    I don’t get any of what you are trying to tel me. Probably you misunderstood my question.

    #73176

    In reply to: target _blank

    Fernando Tellado
    Participant

    Great idea!

    I’ve applied this way and works fine … 

    <?php

    /*

    Plugin Name: Target Blank

    Plugin URI: https://bbpress.org/forums/topic/target-_blank

    Description: Abre los enlaces del foro en nueva ventana. Nada que configurar, lo activas y funciona. Creado desde una idea de _ck_.

    */

    function bb_target_blank( $text ) {

    $text = preg_replace('||i', '', $text);

    return $text;

    }

    add_filter('post_text', 'bb_target_blank',255);

    ?>

    Thanks _ck_ ;)

    #78658

    I’m afraid I didn’t make it, so I can’t help you too much there, sorry. You used the full ID after http://www.facebook.com/group.php?gid= right?

    #78669
    Fernando Tellado
    Participant

    You may do it by .htaccess … 

    From www to no-www

    Options +FollowSymLinks

    RewriteEngine on

    RewriteCond %{HTTP_HOST} .

    RewriteCond %{HTTP_HOST} !^www.myforums.com.com

    RewriteRule (.*) myforums.com/$1 [R=301,L]

    and the opposite … 

    Options +FollowSymLinks

    RewriteEngine on

    RewriteCond %{HTTP_HOST} ^myforums.com [NC]

    RewriteRule ^(.*)$ http://www.myforums.com/$1 [L,R=301]

    #55563

    In reply to: Hooks & Filters Docu

    Olaf Lederer
    Participant

    no that is link is Okay, but his server is hacked :)

    #78666
    leoleoleo
    Member

    Thanks for help, your code is work fine for install. but the wiki history function still not work.

    #78655

    From what I can tell, the only things relating to groups in Facebook’s API are

    groups.get
    Returns all visible groups according to the filters specified.
    groups.getMembers
    Returns membership list data associated with a group.

    I think you’d therefore have to scrape the Facebook page manually and parse it’s HTML to pass back Facebook posts. Do-able, but it wouldn’t be very good for keeping in sync well.

Viewing 25 results - 23,776 through 23,800 (of 32,570 total)
Skip to toolbar