Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,101 through 10,125 (of 11,578 total)
  • Author
    Search Results
  • #65887
    _ck_
    Participant

    Of course you can do it, bbPress can do almost anything – as long as you code it ;-)

    Showing the gravatar is the easy part, the code to fetch the latest poster and their email address is the tricky part. How’s your mysql?

    Showing a gravatar for any email address is as simple as:

    <img src="<?php echo "http://www.gravatar.com/avatar.php?gravatar_id=".md5($user->user_email); ?>" >

    The mysql code for the email of the last poster is going to need a left join of the users table against the post table and more than I am willing to do right now. I suppose I could be lazy and use get_latest_posts(1, 1) to fetch the entire info the last post and grab the email address from there.

    #65231

    In reply to: Top 100 listings

    _ck_
    Participant

    Right now I have it simply by number of posts which of course is not an indication of quality by any real means but easiest way for me to track.

    There’s also the top 1000 list where I try to track everyone.

    It’s not a contest, no-one wins anything, and it’s completely unofficial, so don’t worry about it ;-)

    #65886
    chrishajer
    Participant

    I would say yes it’s possible. If you have the id of the latest poster, you should be able to get their gravatar. Same with the original poster. I have no idea how to do it, but it sounds possible.

    #65883
    _ck_
    Participant

    Sure, if that really bothers you, with bbPress you can do almost anything if you get clever.

    Edit the login-form.php template and wrap the entire <form></form> in something like this (untested)

    <?php if (bb_get_location()!="register-page") { ?>
    <form blah blah blah
    ...
    </form>
    <?php } ?>

    #3628
    724719
    Inactive

    Hello,

    does anyone know how to show the gravatars of the Latest and Original poster on the front page, if so what/where would be the parameters for there dimensions of the image.

    I just need to show a 50×50 gravatar of the latest poster on the front page next to the username of the latest poster in the “Latest Poster” column of each topic.

    AND

    A 50×50 gravatar of the original poster and the username of the original poster right next to the link of the topic, on each row.

    Note: http://emptees.com/talk – has a similar thing to what i need, they have the author post avatar on there front page.

    Thanks for any help

    parthatel
    Member

    ok, so I added require_once('path/to/bbpress/bb-config.php'); to my wp-config.php file. I then added the bbpress discussions code:

    <table id="latest">

    <tr>

    <th><?php _e(‘Movie’); ?> — <?php new_topic(); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    <th><?php _e(‘Last Poster’); ?></th>

    <th><?php _e(‘Freshness’); ?></th>

    </tr>

    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>

    <tr<?php topic_class(); ?>>

    <td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big></td>

    <td class=”num”><?php topic_posts(); ?></td>

    <td class=”num”><?php topic_last_poster(); ?></td>

    <td class=”num”>“><?php topic_time(); ?></td>

    </tr>

    <?php endforeach; endif; // $super_stickies ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

    <tr<?php topic_class(); ?>>

    <td><?php bb_topic_labels(); ?> “><?php topic_title(); ?></td>

    <td class=”num”><?php topic_posts(); ?></td>

    <td class=”num”><?php topic_last_poster(); ?></td>

    <td class=”num”>“><?php topic_time(); ?></td>

    </tr>

    <?php endforeach; endif; // $topics ?>

    </table>

    I added that code to my index.php file in my wordpress theme and this is what I get as the output in the browser:

    <table id="latest">

    <tr>

    <th>Movie — Add New »

    </th>

    <th>Posts</th>

    <th>Last Poster</th>

    <th>Freshness</th>

    </tr>

    </table>

    Obviously, there is something wrong. Does anyone know what?

    #65824
    737705
    Inactive

    Well the plot thickens…..

    I had a look at your suggestions and there doesn’t appear to be anything inputted wrong.

    So as an experiment I did a clean install of bbpress on my server with no mention of a WP integration and a clean database and exactly the same thing happens…..

    Any ideas what I can try to stop this? This is pretty weird….

    Is it possible to download older versions of Bbpress to test those….?

    #65823
    chrishajer
    Participant

    Wow, that most certainly is a problem.

    Two thoughts.

    1. If I disable “meta redirects” in FF with the web developer toolbar, it does not keep redirecting, it just dies. Are you trying to redirect people from the bbPress profile page to the WordPress profile page, and somehow that is typed wrong? Like in journal/messageboard/profile.php there is a redirect that sends the browser to WordPress journal/wp-admin/profile.php and it’s not working for some reason?

    2. There is some weird test cookie stuff being sent, although I doubt it has any effect on this problem. Never know though.

    wordpress_test_cookie
    WP+Cookie+check
    www.louisecooper.com
    /journal/

     

    I suspect it’s something with a refresh bouncing the user back and forth.

    #3615
    744478
    Inactive

    For more than a week I am fighting with bbPress and the latest WordPress version.

    My problem is that user comments don’t appear. Well, I can see them in the Administration area in WP but not in the forum. Users already move away because they think I blocked their comments.

    I actually installed bbpress because I wanted users to discuss on my page but now no one can discuss anymore lol.

    My WP installation is at http://www.webserver.com and I installed bbpress on http://www.mywebserver/forum (example addresses)

    I installed the WP plugin “bbPress Post” and filled out all the details. Also I installed bbSync.

    At least when I write a new post the post title appears in the forum. So one good thing. But that’s all. How do users comment from my blog? I don’t want to put a link on every post “go to the forum and post there”.

    I do have a custom theme by the way.

    Actually I am not an idiot but now I’m just freaking out with bbPress because it’s so complicated and most of the how-to’s don’t work or are just bad explained. Here’s an example:

    “Want a link back to the blog post? ” it days in the bbSync settings.

    Well, what can I do there? There’s a field. Do I have to write YES or a special tag? :| Absolutely no explaination.

    #3610
    737705
    Inactive

    Hi there,

    I’ve been using bbpress for a while but I recently updated my servers and switched all the sites over to it. Much to my frustration I am experiencing infinite loops when attempting to edit or view any profiles or topics. Thus making a rather rubbish forum!

    Admin pages work fine, WP integration went through perfectly, topics can be posted BUT not viewed.

    Right so heres the spec:

    Windows Server 2008

    IIS7

    PHP 5.2.6

    MySQL 5.1.25

    Both the latest versions of WP and BBpress, WP is installed absolutely fine.

    With debug activated I get the following:

    REQUEST_URI: string(31) “/journal/messageboard/topic.php”

    should be: string(37) “/journal/messageboard/topic.php?id=39”

    full permalink: string(64) “http://www.XXXXX.com/journal/messageboard/topic.php?id=39&#8221;

    PATH_INFO: NULL

    If anyone can help me out I would actually love them a great, great deal…..

    I found this thread, which is quite old:

    http://comox.textdrive.com/pipermail/bbdev/2005-July/000206.html

    But the fixes suggested there are in the settings file already.

    Help would be appreciated and thanks in advance

    M.A

    #65777
    724719
    Inactive

    i just read a post on another thread, and saw this checklist:-

    1. You are running latest versions of WordPress (2.5.1) and bbPress (0.9.0.2)

    ME – yeahs I am !

    2. You have matched SECRET_KEY in wp-config.php with BB_SECRET_KEY in bb-config.php

    ME – yeahs I have !

    3. You have matched WordPress "secret" database option with bbPress "secret" database setting

    ME – yeahs I have!

    4. You have setup compatible cookie domains and paths in config files (see instructions in bbPress admin)

    ME – I take its these two things i have to add to wp-config.php file: – define(‘COOKIE_DOMAIN’, ”); define(‘COOKIEPATH’, ‘/’);

    if so what do I change those parameters to, or do i leave them blank … im not that familiar with cookies .. :/ (my site is http://www.picbi.com and the forum is http://www.picbi.com/forum )

    5. You are successfully sharing user tables from WordPress with bbPress

    Me – Yeahs I am

    #64683
    724613
    Inactive

    sambauers-

    I followed your checklist and feel I am doing everything right. I still can’t get it to work. How can I make absolutely sure I’m doing #5 (sharing user tables from WordPress with bbPress) correctly?

    1) You are running latest versions of WordPress (2.5.1) and bbPress (0.9.0.2)

    2) You have matched SECRET_KEY in wp-config.php with BB_SECRET_KEY in bb-config.php

    3) You have matched WordPress “secret” database option with bbPress “secret” database setting

    4) You have setup compatible cookie domains and paths in config files (see instructions in bbPress admin)

    5) You are successfully sharing user tables from WordPress with bbPress

    #65763
    724613
    Inactive

    I’m having the same problem! After integrating, I see how the “test user” I created shows up in both admin consoles. However, whether I login to wordpress or bbpress first, the login does not carry over to the other when navigating, which forces me to login twice. I followed all the steps, which also inlcuded adding the following to the wp-config.php file…

    define(‘COOKIE_DOMAIN’, ‘*******’);

    define(‘COOKIEPATH’, ‘/’);

    The only thing that comes to mind is a “minor error” that I received after walking through the “successful install” of bbPress…

    Duplicate key name ‘user_nicename’

    >>> User tables will already exist when performing a database integrated installation.

    I’m wondering if this is the problem. If so, I’m not sure how to fix it. : Can someone help?

    #3604
    #65718
    723416
    Inactive

    Thanks for the quick reply. I saw bbSync previously, and it is not what I need because I don’t want my blog posts to turn into forum topics. I simply want to display my blog posts on the forum homepage. There are actually not going to be any (or rarely any) commenting on our blog posts – it’s for information only. But I want a community homepage that combines the latest blog posts and forum main themes (or categories – not topics as I stated above).

    Is there code I can insert to grab the blog posts? Or is there a way to grab and read the blogs RSS feed? If so, how? Thanks again in advance.

    #3592
    723416
    Inactive

    I have the blog and forum installed (example.com/blog and example.com/forum) using the same database. I’m in the process of creating a Community homepage similar to the feel of the WordPress support page at http://wordpress.org/support/ – with the exception that I want my blog posts on the left above the search section. I simply want the forum homepage to read and display the blog posts – with links back to the blog.

    How do I get this to happen? I’ve searched everywhere and nothing on this. Ideally, I want to work from the forum, but if it’s easier, how can I get my blog to read my forum topics? (the Latest Discussion plugin works, but I don’t want latest discussions…I want forum topics.) Any help is greatly appreciated.

    #65487
    Sam Bauers
    Participant

    This is a problem with parse_url() dying when there is an http:// in the querystring. The latest commit in branches/0.9 fixes this problem, which would only occur when trying to add a new topic when not logged in.

    #65486
    garyditsch
    Member

    So I deactivated the plugins. One at a time and retested and retested with both unplugged and it still wouldn’t post a new topic from the “home” page of the forum.

    This still only appears to be an issue of posting from the home page? Is it possible that the “add new topic” link on the home page is tied to a forum that doesn’t exist anymore?

    How does bbpress decide which forum to put a new topic into when it is started from the home page? Does it give you a drop down box to pick the forum?

    thanks.

    ccraine
    Member

    I cannot access my admin since I turned on integration with wordpress. I have the latest versions of wordpress and bbpress. Everything worked great until I turned on integration and now I can’t get to the admin area at all. It just redirects me back to the main bbpress page.

    anyone know how to fix this?

    Or can someone tell me how to manually shut down integration in the files without admin access?

    #3557
    vassago
    Member

    When trying to post I get this message:

    bbPress database error: [Unknown column ‘post_title’ in ‘field list’]

    UPDATE bb_posts SET post_title=’Testy mctest test’ WHERE post_id=’11

    I am using the wordpress database (different prefix for bb stuff) but there doesn’t seem to be a post_title column, here’s the output from mysql:

    mysql> describe bb_posts;

    +


    +


    +


    +


    +


    +


    +

    | Field | Type | Null | Key | Default | Extra |

    +


    +


    +


    +


    +


    +


    +

    | post_id | bigint(20) | NO | PRI | NULL | auto_increment |

    | forum_id | int(10) | NO | | 1 | |

    | topic_id | bigint(20) | NO | MUL | 1 | |

    | poster_id | int(10) | NO | MUL | 0 | |

    | post_text | text | NO | MUL | | |

    | post_time | datetime | NO | MUL | 0000-00-00 00:00:00 | |

    | poster_ip | varchar(15) | NO | | | |

    | post_status | tinyint(1) | NO | | 0 | |

    | post_position | bigint(20) | NO | | 0 | |

    +


    +


    +


    +


    +


    +


    +

    9 rows in set (0.00 sec)

    I have looked around, but can’t seem to find anything about it on here. The forum/topic actually shows up when I go back to the page, but this is rather inconvenient. Thanks to anyone willing to help out with this.

    WP version = 2.51

    MySQL version = Server version: 5.0.45-Debian_1ubuntu3.3-log Debian etch distribution

    bbPress version = latest (just got it 3 or 4 days ago) so 0.9.0.2

    Thanks,

    -Scott.

    #65485
    chrishajer
    Participant

    It would be a good idea to remove the plugins and retest. Deciding how big an issue it is is up to you.

    #65454

    In reply to: Email bugs

    bboysmaster
    Member

    Thanks for the testing. Really appreciate it. I check with the hosting and apperently they have problem with spammer before. That probably the reason why the mail goes into spam in yahoo and hotmail and why it took so long to send the mail. I’ll already delete your testing user. Thx again

    #65533
    Krystian
    Member

    Well, I have already the Latest Discussions in the WordPress’s sidebar (with a plugin).

    But now that you say that, my next objective is to put the latest posts from WordPress in the BBpress’s sidebar. RSS is a good option I can use to do it. I’m going to find how after this.

    Thanks for your opinion chrishajer.

    #65484
    garyditsch
    Member

    Well, I did test bbpress before I used the plugins and everything appeared to work. But I’m not sure if I tested that specific function?

    Would it be a good idea to remove the plugins and retest, then set up the plugins again?

    I’m trying to decide how big an issue this is?

    #65532
    chrishajer
    Participant

    How about using an RSS widget in WordPress and importing the latest discussions feed URL there?

Viewing 25 results - 10,101 through 10,125 (of 11,578 total)
Skip to toolbar