Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 20,226 through 20,250 (of 26,865 total)
  • Author
    Search Results
  • #78884

    Are you running any WordPress plugins that affect your registration process?

    #78882
    gerikg
    Member
    #31692
    wpJunkie
    Member

    Hey there, So i’m 99.99 ready to launch but having an issue with WordPress, BBpress, aMember

    New users that signs up can’t add a new topic to the forum, wordpress and bbpress are sharing the same database, I figured out what the issue is, When a new user gets added it doesn’t assign it a role in BBpress i.e. Member, I have to manually set it each time so that the user can post.

    I have set the user roles in the BBpress/Wordpress integration area, See > http://helpdock.net/screenshots/c905c801ef699307e0874064f7d379fb.png

    But as you can see here the any new users do not get roles and I have to manually change the role, See BBpress user > http://helpdock.net/screenshots/0fd8d331e62c872981a29d2f256e25aa.png

    But in wordpress the new member does get a role See > http://helpdock.net/screenshots/e436685a6d598b9178f93b7dfefa322f.png

    Any ideas why its BBpress isn’t assigning the user roles so that a user can post a new topic?

    #78768

    Where have you installed WordPress and bbPress relative to each other, and what actually are your .htaccess settings for WordPress?

    Mine is just:

    # BEGIN WordPress
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    which seems to hand over nicely to the forums that are under /forums/ with their own .htaccess file

    #78290
    MJ
    Member

    So, you basically need to setup your url with a www in front of the domain?

    #78289
    MJ
    Member

    Im having the same issue. I setup

    Everything correctly but nothing seems to work together.

    Everything works great individually and its all updated to the newest versions.

    Gerikg do you think you can take a look at my issue as well.

    Thanks

    #78780

    In reply to: comments_popup_link

    http://phpxref.ftwr.co.uk/wordpress/nav.html?wp-includes/comment-template.php.source.html

    In WordPress, comments_popup_link() takes three arguments that tell it how to format the output based on how many comments are present and runs a sprintf() with the appropriate output after retrieving the comment count.

    The equivalent to get_comments_number in bbPress would be get_topic_posts, the rest of the function is either WordPress-specific or would need slight tweaking (like what the posts page would actually be).

    #78846

    register_globals is a gaping security flaw that’s been turned off in every recent PHP version. If you have it on, PHP takes anything passed by $_GET, $_POST, $_COOKIE and $_SERVER and turns them into global variables (i.e. ?book=1 in the $_GET array becomes $book = 1). I’d recommend turning it off ASAP.

    The edit link turns itself off after a while, it’s not just limited to if anyone else has posted :)

    Ah, and good luck integrating bb-load.php, I could never get it to even play nice with WordPress.

    #78779

    In reply to: comments_popup_link

    Olaf Lederer
    Participant

    Hi,

    I see this template and function in all the WP themes, how does this work in wordpress?

    Knowing this it might be possible fro bbpress too…

    #74488
    boone-g
    Member

    I’m very glad to have found this discussion – after upgrading from WPMU 2.7.something to 2.8.4, the cookie swap stopped working, and I couldn’t find a good explanation anywhere until I found this thread. Upgrading from bbPress 1.0a6 to 1.0.2 fixed everything.

    Thanks very much to the developers for playing catchup to WP’s cookie shenanigans.

    #31674
    johnnydoe
    Member

    i’m looking for a way to use the same output like in wp for the comments like:

    <?php comments_popup_link('no comments', 'one comment', ' % comments'); ?> instead of <?php forum_topics(); ?> <?php _e('post(s) or comment(s)'); ?> .

    so is there a php pendant in bbpress to count comments or posts the wordpress way?

    thank’s in advance

    #78806
    <?php if ( !bb_current_user_can('manage_options') ) : ?>
    GOOOOOGLE :)
    <?php endif; ?>

    or

    <?php if ( !bb_current_user_can('manage_options') ) { ?>
    GOOOOOGLE :)
    <?php } ?>

    bbPress/WordPress have a boolean function for pretty much everything

    #78759

    Ah the plugin is intended for WordPress installs only I’m afraid.

    A quick way of doing it:

    In your bbPress directory, make a file called javascript.php containing:

    <?php

    // Taken from index.php
    // Load everything up

    require('./bb-load.php');

    do_action( 'bb_index.php_pre_db' );

    $forums = bb_get_forums(); // Comment to hide forums
    if ( $topics = get_latest_topics( false, $page ) ) {
    bb_cache_last_posts( $topics );
    }

    bb_load_template( 'html_include.php' );

    ?>

    then in your template directory, make a file called html_include.php containing:

    <?php if ( $forums && $topics ) : ?>
    <table id="latest_discussions">
    <tr>
    <th><?php _e('Topic'); ?></th>
    <th><?php _e('Posts'); ?></th>
    <!-- <th><?php _e('Voices'); ?></th> -->
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>

    <?php foreach ( $topics as $topic ) : ?>
    <tr>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; // $topics loop ?>
    </table>
    <?php else : ?>
    No discussions.
    <?php endif; ?>

    and finally, in the page where you want to load the list, put something like:

    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script>$.get("javascript.php", { rand: Math.random() }, function(data){ document.getElementById('latest').innerHTML = data; } );</script>
    <div id="latest"></div>

    Old-fashioned way of loading the HTML in there and use a local copy of jQuery or whatever library you use, but that’s the general idea really.

    html_include.php is just a cut down version of front-page.php so you can edit it the same as any other template. javascript.php doesn’t load in stickies, but that’s just how I felt like doing things, it’s a cut down version of index.php so it’s easy enough to put back.

    Even more cut down version of html_include.php (so you really do just get a list):

    <?php if ( $forums && $topics ) : ?>
    <ul>
    <?php foreach ( $topics as $topic ) : ?>
    <li><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></li>
    <?php endforeach; // $topics loop ?>
    </ul>
    <?php else : ?>
    No discussions.
    <?php endif; ?>

    #78757
    kirpiit
    Member

    They could surely be worth inspecting, if I only really knew anything about coding.

    :-)

    So, you mean that if I place this piece of php code [1] into any web page I’ll show a list of entries? I tried but it doesn’t seem to work at all.

    So, the idea of just swapping wordpress variables with bbpress ones is not enough.

    No. I’m afraid it would be beyond my skills.

    —-

    [1] https://bbpress.org/plugins/topic/wordpress-latest-post/

    #78776

    What bbpress integration plugin are you using? You should be able to integrate 2.8 and 1.0 without any plugins installed in either, just set the bbPress up with the same settings as WordPress under Settings -> WordPress Integration in the bbPress admin.

    #78755

    There’s the latest topics RSS feed at /rss/topics and the WordPress Latest Post plugin: https://bbpress.org/plugins/topic/wordpress-latest-post/, either of those help?

    #78689
    Olaf Lederer
    Participant

    I think a sitewide form is easier to integrate using the full code inside the functions.php file (like comment list on wordpress)

    #31672
    garyditsch
    Member

    I had my test bbpress and my wordpress site working well. WP 2.7.1 and bbpress 1.0 I updated my wordpress site this weekend to 2.8 and now the integration doesn’t work.

    Not only does the login not work across the site, but when I login to one it logs me out of the other.

    I have went through all the steps that I did initially to integrate the sites, but haven’t figured out the change. I’m wondering if it has to do with the bbpress integration plugin?

    #31671
    #31668
    Greg
    Participant

    I have BP 1.0.2 and WPMU 2.8.4 with deep integration (I call wp-blog-header.php in ‘bb-config.php’).

    All of the forum RSS feeds work, except the top level feed of all new posts across the forum: <site URL>/<forum name>/rss/

    This is true for FF, IE and Safari.

    In IE, I see the error:

    Invalid xml declaration.
    Line: 13 Character: 3

    <?xml version="1.0" encoding="UTF-8"?>

    Viewing the source, it looks like WPMU is inserting an XML header above the bbPress XML header:

    <?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.4" -->
    <rss version="0.92">
    <channel>
    <title>[SITE NAME] » Page not found</title>
    <link>[SITE URL]</link>
    <description>Just another [SITE NAME] weblog</description>
    <lastBuildDate>Sun, 06 Sep 2009 14:07:54 +0000</lastBuildDate>

    <docs>http://backend.userland.com/rss092</docs>
    <language>en</language>

    </channel>
    </rss>
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- generator="bbPress/1.0.2" -->

    ETC...

    Does anyone else have this issue.

    I have repo’d something very similar on a previous version of the site that is using WPMU 2.2.

    #77521

    In reply to: All RSS Feeds Broken?

    Yeah that looks like WordPress is attempting to handle the RSS as well as bbPress, so it’s definitely a deep integration issue. I’m not sure how to detangle that, but hopefully someone else can or I’ll try and have a look tomorrow.

    #77519

    In reply to: All RSS Feeds Broken?

    Greg
    Participant

    @kawauso, that line in the error is the source on line 13: “<?xml version=”1.0″?><!– generator=”bbPress” –>”

    I should have looked at the source though. It seems that the xml has two headers. Could this be related to deep integration?

    <?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.4" -->
    <rss version="0.92">
    <channel>
    <title>[SITENAME] » Page not found</title>
    <link>http://[HOST]</link>
    <description>Just another [HOST] weblog</description>
    <lastBuildDate>Sun, 06 Sep 2009 14:07:54 +0000</lastBuildDate>

    <docs>http://backend.userland.com/rss092</docs>
    <language>en</language>

    </channel>
    </rss>
    <?xml version="1.0"?><!-- generator="bbPress" -->

    <rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    >

    <channel>
    <title>[SITENAME] Forum » Recent Posts</title>

    <link>http://[FORUM URL]b/</link>
    <description>[SITENAME] » Recent Posts</description>
    <language>en</language>
    <pubDate>Mon, 07 Sep 2009 19:27:36 +0000</pubDate>

    <item>

    #78715
    yutt
    Member

    I am not certain, but I imagine you will need to modify the bbpress and WordPress templates to match the BuddyPress theme.

    Arthur
    Member

    This method is supported by bbPress 1.0 and WordPress 2.8?

    #76220

    In reply to: Closed registrations

    I’ve found running SABRE with stealth mode on in WordPress stops 100% of our bot registrations and I just point bbPress at that. If you disable registration with either .htaccess or changing the function, it’ll put a complete stop to any registrations on the bbPress side, so you shouldn’t need any spam protection besides that unless you let unregistered users post. bbPress comes with Askimet installed anyway though.

Viewing 25 results - 20,226 through 20,250 (of 26,865 total)
Skip to toolbar