Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 9,301 through 9,325 (of 11,591 total)
  • Author
    Search Results
  • #73467

    I’m using Allow Images on 1.0a6(trunk from last month) and it seems to still be working. But I’m not using the bbCode plugin so people just put in <img src="http://mylink.com/image.jpg" />

    I just tested now and it’s working okay.

    chrishajer
    Participant

    That might be an interesting discussion, but for another forum. We’re not going to change that here. Maybe try the wp-hackers maling list?

    Or, there is some pretty good info here on why NOT to do it:

    http://us3.php.net/function.mysql-pconnect

    doublebuser
    Member

    Thanks, why in BB and WP no one is using _pconnection ? Would it not be better than _connection?

    chrishajer
    Participant

    I don’t have the latest beta installed, but I do have an Alpha 2 installation and the database connection is here:

    ./bb-includes/backpress/class.bpdb.php:123:

    $this->dbh = mysql_connect($host, $user, $password, true);

    doublebuser
    Member

    Trying to locate the file that has the routine that does msql_connect or _pconnect…

    lakelady
    Member

    I’m attempting to install bbPress on a completely fresh site, latest WPmu and bbPress and have php5 and I’m getting the same message.

    please help!

    site http://twilighttearoom.com

    intstall http://twilighttearoom.com/forum

    #73449

    In reply to: Auto close topics

    _ck_
    Participant

    It would be possible to do that via a plugin.

    this might work, untested:

    add_action('bb_head','close_long_topics');
    function close_long_topics() {
    global $topic;
    if (is_topic() && $topic->topic_open===1 && $topic->topic_posts>299) {
    bb_close_topic($topic->topic_id);
    $topic->topic_open=0;
    }
    }

    #73401
    _ck_
    Participant

    bbPress 1.0 rc1 will be announced shortly,

    aka 1.0 alpha 7, Sam has decided to jump the beta test phase.

    I don’t want people to use 1.0 on live sites because you can never go back to 0.9 once you upgrade. There is always an upgrade path, there is no downgrade. It is very tedious for plugin developers to keep up with radical changes in the alpha development, bbPress 1.0 is a different creature internally than 0.9

    You can read more about my reasons here.

    #73448
    aquagrrl
    Member

    Okay, I’ve managed to figure some of it out, I’m using:

    <br />
    <pre><code><?php $posts = get_thread( $topic->topic_id, $page ); //pulls posts fo each topic?>
    <li <?php topic_class(); ?> style="border: 1px solid green;">
    <?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
    <ul class="TopicStarterInfo">
    <li><?php post_author_avatar(); ?></li>
    <li><?php post_author_link(); ?></li>
    <li><?php post_author_title(); ?>
    <li><?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> </li>
    <li><?php echo $bb_post->forum_id;?></li>
    </ul>
    <?php endforeach; ?>

    But its pulling all the post authors. I think I need to limit to the first one, but I’m not exactly sure how to do that.

    Edit: figured it out from: https://bbpress.org/forums/topic/separating-the-first-post-of-each-topic#post-21808

    using:

    <?php $bb_post = $posts[0]; unset($posts[0]); $del_class = post_del_class();?>

    instead of the foreach.

    #8562
    lookfab
    Member

    Today I did the reverse integration of an existing WordPress blog (2.7.1) and BBPress forum (0.9.4). I described my plans here. With some help from bobbyh and a lot of digging into these forums, things worked out well.

    Here are the steps (all but the final 2 are database operations, which I did using phpMyAdmin):

    1. I didn’t need to do backups because I was using a test site, but if you are trying this, don’t go any further without full backups of everything.
    2. Copied the “bb_users” and “bb_usermeta” tables from the BBPress database to the WordPress database. I was a bit worried that the row sizes weren’t exactly the same in the destination copy, but as it turns out, that wasn’t an issue.
    3. Added a “user_activation_key” field to the copy of “bb_users” to ensure that the schema matched my current “wp-users” table in the WordPress database.
    4. Renamed the “wp_users” and “wp_usermeta” tables to “wp_users_old” and “wp_usermeta_old” respectively.
    5. Renamed the new “bb_users” and “bb_usermeta” tables to “wp_users” and “wp_usermeta” respectively.
    6. Added WordPress admin rights and metadata to the new admin user. To do this I ran the following query:

      INSERT INTO wp_usermeta (user_id, meta_key, meta_value) VALUES (‘1’, ‘wp_capabilities’, ‘a:1:{s:13:”administrator”;b:1;}’);

    7. Added WordPress user metadata for the rest of the users (since I’m using the BBPress user tables as the starting point they know nothing about WP capabilities). Here is the query:

      INSERT INTO wp_usermeta (user_id, meta_key, meta_value) SELECT user_id, ‘wp_capabilities’ AS meta_key, ‘a:1:{s:10:”subscriber”;b:1;}’ AS meta_value from wp_usermeta WHERE user_id NOT IN (SELECT user_id from wp_usermeta WHERE meta_key = ‘wp_capabilities’) GROUP BY user_id;

    8. Changed the user_id references in the “wp_posts” and “wp_comments” tables so that they pointed to the correct users (you need to do this because equivalent users don’t necessarily have the same ID in the previously separate WordPress and BBPress databases). Here are the queries I ran:

      UPDATE wp_posts SET post_author=NEW_ID WHERE post_author = OLD_ID

      UPDATE wp_comments SET user_id=NEW_ID WHERE user_id = OLD_ID

      NOTE that you need to think carefully about the order in which you do these changes. You don’t want to change a user’s ID to one that already exists in the WordPress table.

    9. Installed superann’s plugin to downgrade WP 2.7.1’s cookie handling for compatibility with BBP 0.9.4: http://superann.com/2009/02/26/wordpress-26-27-bbpress-09-cookie-integration-plugin/
    10. Told BBPress to find its user data in the new WordPress user tables. This is done in the BBPress admin page for WordPress integration: […]/bb-admin/options-wordpress.php. You need to follow the instructions carefully. In particular, note that the WordPress database secret should be copied from the current WordPress setting and not vice versa.

    Some other notes:

    • This is not something to do in a rush. I checked the results of each step carefully before moving on. This included browsing the database and, later in the process, logging in to the blog and forum to check whether things were working as expected.
    • This worked for me. Your mileage may vary.

    #8561
    aquagrrl
    Member

    I’m trying to come up with a way to show additional information on the lastest discussions on the front page. I want to show the topic author’s avatar, name, title, the date it was first posted, and the forum it is in. I found some author functions in the post.php, but I think I need to make them within a post loop calling only the firs post. I haven’t figured out how to do that or how the topics.php is doing it.

    Here is what I’ve tried so far:

    ‘<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?></p>

  • <?php post_author_avatar(); ?>
  • <?php post_author_link(); ?>
  • <?php post_author_title(); ?>
  • <?php printf( __(‘Posted %s ago’), bb_get_post_time() ); ?>
  • <p> <?php endforeach; ?>

    `

#8497
pracus
Member

Hello!

I use 2.6.3 version of WP and I just installed bbPress 0.9.

I also use Freshly Baked Cookies plugin (http://bbpress.org/plugins/topic/freshly-baked-cookies/) to allow bbPress using WP cookies.

What I get now is a strange situation: when I log into WP then I become logged out from bbPress and when I log into bbPress then I become logged out from WP, so I can never be logged in both of them. Everything else work fine.

My WP works on http://www.subdomain.domain.com/ address and bbPress works on http://www.subdomain.domain.com/bbpress/ address. I have fulfilled all the integration instructions.

What is also strange that when I log in WP then get these cookies:

– wordpress_logged_in_[HASH 1]: admin%7C[HASH 2]

– wordpress_test_cookie: WP+Cookie+check

– wpfsession: [10 digits number]

– wp-admin wordpress_[HASH 1]: admin%7C[HASH 3]

– wp-content/plugins wordpress_[HASH 1]: admin%7C[HASH 3]

…and when I log in bbPress then I get similar but [HASH 2] is the same as [HASH 3].

What am I doing wrong?

Thank you in advance!

#73390
johnhiler
Member

Yah I use Human Test – it’s great!

Ah ok, maybe it’s just me… I’ve had maybe 100 comments go into spam today!

#73388
Shagalaga
Member
#66163
gera3d
Member

Hello Everyone,

So let me start with I am on day 3 trying to get this working right. I have tried 5 different methods to getting the forums to workd with my WordPress MU install but I just cant get it working. Please Help.

Everything is fresh and current.

Latest Attempt:

Following this guide.

https://trac.buddypress.org/browser/trunk/bp-forums/installation-readme.txt

At the end of bbpress install I got this error. Check Code below.

I also cant do step 6 because buddypress-enable.php is not there. What should I do?

Referrer is OK, beginning installation…

>>> Setting up custom user table constants

Step 1 – Creating database tables

>>> Modifying database: 40knetwork (mysql.dbmethod.com)

>>>>>> Table: bb_forums

>>>>>>>>> Creating table

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

>>>>>> Table: bb_meta

>>>>>>>>> Creating table

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

>>>>>> Table: bb_posts

>>>>>>>>> Creating table

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

>>>>>> Table: bb_terms

>>>>>>>>> Creating table

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

>>>>>> Table: bb_term_relationships

>>>>>>>>> Creating table

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

>>>>>> Table: bb_term_taxonomy

>>>>>>>>> Creating table

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

>>>>>> Table: bb_topics

>>>>>>>>> Creating table

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

Step 2 – WordPress integration (optional)

>>> Fetching missing WordPress cookie salts.

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

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

>>>>>> WordPress “logged in” cookie salt not set.

>>> User database table prefix: wp_

Step 3 – Site settings

>>> Site name: Warhammer Social Network

>>> Site address (URL): http://warhammernetwork.us/forum/

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

>>> Key master role assigned to existing user

>>>>>> Username: admin

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

>>>>>> Password: Your existing password

>>> Description: Just another bbPress community

>>> Forum name: Warhammer Social Network

>>>>>> Topic: Your first topic

>>>>>>>>> Post: First Post! w00t.

>>> Key master email sent

There were some errors encountered during installation!

#73368
Ben L.
Member

This seems like a job for the view functions.

https://bbpress.org/plugins/view/updated is a good example, although I have no idea how to make it happen.

#7851
Clicknathan
Participant

Does anyone know if there’s a feature similar to the topic_page() feature on forum pages that would work for the list of Latest Discussions on the homepage?

So that people could see the 25 – 50th most recent topics after looking through the first?

#58372
hpguru
Member
#7848

Topic: Problem with Smileys

in forum Plugins
brad_langdon
Member

I have installed the latest Smileys plugin and I am running the latest Private Message plugin.

When I go to my inbox and click “create new pm” the smileys are there to be inserted with the text.

However if I click “pm this user”at the bottom of a post when the page loads to write the message there are no smileys at the top.

Can anyone shed some light on this?

#7847
paultjuh2
Member

New users wont get mail!

Plugins installed:

– Memberlist

– BBcode Lite

– Avatar Upload

– Human Test for bbPress

– bb-emoticons

– Post Count Plus – Dynamic.Titles & More!

– Hidden Forums

– Members Online

– Move It

– Allow Images

– BBVideo

– Admin Can Post Anything

– Hidden Forums Tag Filter

– Mini Stats

– Topic Icons

Anyone?

#68578
Ben L.
Member

The development version of Bavatars has untested compatibility with deep integration. Use it at your own risk, though.

#73326

Plugins and changes to functions.php are the preferred ways of changing these things, DoubleBUser, as that way you never lose a change when you upgrade the core code :)

It’s not built in to Alpha.

#73325
doublebuser
Member

Sorry but I don’t like plug-ins, I am sure there is a simple integer change in some loop of the code. I am sure I could find it but I’d hate to waste time if it is a common knowledge.

#73324
chrishajer
Participant

I can’t recall if that’s built in or not, but there was a plugin that allowed something similar:

https://bbpress.org/plugins/topic/front-page-topics/#post-3

#7842
doublebuser
Member

Need to change number of recent updated posts in Latest Discussions. Where can I change that number in the code or settings?

Thanks.

Viewing 25 results - 9,301 through 9,325 (of 11,591 total)
Skip to toolbar