Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\"'

Viewing 25 results - 20,251 through 20,275 (of 26,879 total)
  • Author
    Search Results
  • #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.

    #31665
    PeterVk2
    Member

    Setting up a forum for a university discussion course and can’t seem to find where to set up custom registration fields. For instance, I’d much rather have students’ student number and course number than their website and location. Where is the template file to change this? Or do I have to go into the core files? (I have a limited amount of experience with WordPress and none with bbPress.)

    Cheers.

    #78724

    I guess you mean you have WordPress.com blog then, as opposed to one on a server? You could try something like what’s being offered here: https://bbpress.org/forums/topic/free-hosting-for-bbpress

    #31662
    villazadi
    Member

    HI

    i dont really have a server where i can upload bbpress, but i have a wordpress blog. is there a possibility to upload bbpress on my blog?

    #31660
    andyfielder
    Member

    I am having issues…

    It installs fine, but it says:

    Your installation completed with some minor errors. See the error log below for more specific information.

    …Forum could not be created!

    So i look through the log and it all seems fine! I have just looked in the config file and edited it a little, so the auth salts matched my WP install.

    Here is the log:

    Referrer is OK, beginning installation…

    >>> Setting up custom user table constants

    Step 1 – Creating database tables

    >>> Modifying database: db264490364 (db1673.oneandone.co.uk)

    >>>>>> Table: cncbbf_forums

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: cncbbf_meta

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: cncbbf_posts

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: cncbbf_terms

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: cncbbf_term_relationships

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: cncbbf_term_taxonomy

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: cncbbf_topics

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    Step 2 – WordPress integration (optional)

    >>> WordPress address (URL): http://www.cnc4.co.uk/

    >>> Blog address (URL): http://www.cnc4.co.uk/

    >>> WordPress cookie keys set.

    >>> WordPress “auth” cookie salt set from input.

    >>> WordPress “logged in” cookie salt set from input.

    >>> Fetching missing WordPress cookie salts.

    >>>>>> WordPress “secure auth” cookie salt not set.

    >>> User database table prefix: cnc4_wp_

    Step 3 – Site settings

    >>> Site name: cnc4 forum

    >>> Site address (URL): http://www.cnc4.co.uk/forum/

    >>> From email address: heading@gmail.com

    >>> Key master role assigned to existing user

    >>>>>> Username: admin

    >>>>>> Email address: heading@gmail.com

    >>>>>> Password: Your existing password

    >>> Description: Just another bbPress community

    >>> Forum could not be created!

    >>> Making plugin directory at /homepages/9/d258877654/htdocs/cnc4.co.uk/forum/my-plugins/.

    >>> Making theme directory at /homepages/9/d258877654/htdocs/cnc4.co.uk/forum/my-templates/.

    >>> Key master email sent

    There were some errors encountered during installation!

    Can anyone help me. the forum can be found at: http://www.cnc4.co.uk/forum

    But keeps redirecting to the installer!!

    #78706

    It’s throwing up 301 Moved errors so I’m wondering if it’s messed up your .htaccess file or something. Where did you install bbPress under? Also, what integration plugin? What version of bbPress did you install? By the way… your version of WordPress has a gaping security hole, UPGRADE!

    #31648
    krepta8
    Member

    I just finished installing and integrating a setup of WordPress MU 2.8.4a, BuddyPress 1.0.3, and bbPress 1.0.2. Everything seems to have gone fine, except I cannot seem to access the Plugins page under the bbPress Admin menu. When I click it, it directs me to …/bb-admin/plugins.php which loads only a blank white page. Also, bbPress does not seem to recognize any themes placed in the “my-templates” folder and so I am forced to place them in the core “bb-templates” folder. Because of the plugins.php problem, I cannot tell if it will recognize plugins placed in the “my-plugins” folder, as I cannot access the plugins page to find out.

    Does anyone know what could potentially be going on? Any suggestions for fixing it? Thanks in advance.

    #78328
    gerikg
    Member

    ah, good to know!

    #78557
    Olaf Lederer
    Participant

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

    success with your free hosting site

    #78680
    #78694

    I’ve never quite understood the complaints about cookies and bbPress/WordPress integration… I set up a fresh copy of 1.0.2 locally with no prior knowledge and it worked fine (Windows test server). I FTPed it onto my live server and changed over the addresses and it works fine, apart from an odd quirk to do with bb-admin and where you log in. My cookies hold across either site, and for that matter to a MediaWiki install I have tied in to the same user set.

    I quite understand the issue with cross-posting though. I’d fix it myself if I could work out how to initialise bbPress core cleanly inside WordPress, but that’s not possible in 1.0, so for now all you can use is plugins that do it by HTTP. Hopefully that will be integrated into core later on, but including bbPress as a WordPress plugin would be shoehorning something that was designed to be relatively standalone into a different structure and no doubt would over complicate things.

    #78693
    Olaf Lederer
    Participant

    Sure step over to SMF if you like to have:

    – more spam

    – more plugins (to get it working as a forum should work)

    I never tried to use bbpress with wordpress, but I’m sure that both are able to work together (based on the same script)

Viewing 25 results - 20,251 through 20,275 (of 26,879 total)
Skip to toolbar