Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 62,826 through 62,850 (of 64,468 total)
  • Author
    Search Results
  • #1260
    baptiste
    Member

    All,

    I’ve posted a few things on the forums about odd behavior I’ve seen – href attributes in a tags getting stripped, slashes not getting stripped, etc.

    I’ve confirmed that these problems are due to the WordPress integration. I am running WordPress 2.1 and bbPress 0.75 and followed the documentation to do the integration.

    When I stop loading wp-config in my bbPress config, the slashes get removed and href attributes stay in posts.

    I’m still digging, but part of this problem is overlap between WordPress and bbPress. The docs talk about a constant WP_BB that tells the code there are possibly conflicting APIs out there. Setting it causes bbPress to use the kses code from WordPress instead. WordPress 2.1 uses kses v0.2.2 while bbPress ships with v0.2.1. My guess is something changed between the two that bbPress doesn’t handle.

    As for the slashes in front of apostrophes, it MAY be part of it – I’m not sure yet if kses is used to strip slashes. I didn’t think kses got called except during posting, not during viewing. There is another library from WordPress that bbPress uses in integration mode (l10n) for localization – not sure if this is involved in anyway (doubt it)

    So if you’re seeing weird behavior – it may very well be intergation. But the good news is it doesn’t seem to be overly difficult to fix. Still digging to find the ‘right’ way (though as a hack for the slash problem, you can include a stripslashes call in template-functions:

    function get_post_text() {

    global $bb_post;

    // Hack to strip slashes until WordPress integration is fixed

    return stripslashes($bb_post->post_text);

    }

    Anyway – just an FYI. I’ll dig more into the kses href issue and post if I find anything.

    #51965

    lo all, I have the same problem as Staffan, when I use this fine plugin, I get no name name displayed, I have just installed the 0.75 of BBPress, and I do not have any option in my profile to enter a nicename at all, hence why the assigned database entry (‘user_nicename’) doesn’t hold a Nicename 😮

    Well I could enter a Nicename via phpMyAdmin, but that’s surely not the way to work that out, because tbh I am way too lazy, to do that for every future user registering with the forum ;)

    ==edit==

    Nevermind my post above, just sorted it out, it works, IF you install BBP with the database tables from WP in the config.php, but NOT IF you install BBP without these information ;)

    So the nicename from the WP user-table is being used, also means, users have to enter their WP profile to change that, as this is NOT possible via BBP profile

    Thx anyways :D

    ==end edit==

    Anyhow, a pretty nice plugin, keep up the good work Atsutane :)

    #53956

    In reply to: Flooding user accounts

    ear1grey
    Member

    FWIW I’ve kept bb stand alone for simplicity but I’m still getting a lot of registration spam that misses Akismet, so what are the plans for an Akismet UI in the admin panel? It’s all very black box at the moment, which is probably what’s causing a lot of these questions.

    #53582

    The only reason the replies argument is there is for CSS: a quick and dirty way of differentiating between topics you’re up to date on and those you’re not (via a:visited { … }).

    We should probably make sure we always 301 redirect to the latest URL.

    Oh, and PS: Posts do have their own URL. This one’s is

    https://bbpress.org/forums/topic/592?replies=6#post-3870

    #1333
    davidbessler
    Member

    I get this error:

    Fatal error: Call to undefined function: get_online_timeout_time() in bbpress/my-plugins/since-last-visit.php on line 14

    When I try to use this plugin. Any ideas?

    #1332
    ateale
    Member

    Hey guys,

    I recently used a cool script I found on here somewhere to convert our phpbb2 forums’ database over to bbpress.

    Anyone know if it would be possible to convert this new database over to a wordpress DB? So all the forum posts become posts in a wordpress blog – under categories?

    Sorry probably the wrong place to post this!

    Adam

    #53955

    In reply to: Flooding user accounts

    bbPress should already be filtering new registrations thorugh Akismet; if you have Akismet set up, it should mark as “bozo” any new registrations.

    There may, of course, be bugs particularly if you’re loading both bbPress and WordPress at the same time.

    #53041

    No need to change core files. Just make a file called user_types.php with the following code in it and put it in your my-plugins/ folder.

    <?php

    /*

    Plugin Name: Change 'Member' Label

    Plugin URI: https://bbpress.org/forums/topic/503

    */

    function change_user_type_labels( $label, $type ) {

    if ( 'member' == $type )

    return 'Kazoo Corps Draftee';

    return $label;

    }

    add_filter( 'get_user_type_label', 'change_user_type_labels', 10, 2 );

    ?>

    #53703

    WordPress sends Content-Type headers. I guess bbPress should too.

    https://trac.bbpress.org/ticket/561

    #1331
    chrishajer
    Participant

    Request Timeout

    This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase ‘Connection Timeout’.

    I got that when removing a favorite item. When I reloaded my profile, the favorite is gone, so it worked. This is similar to the 408 error I got when posting on this forum yesterday and I wonder if it’s related at all to this 45 second delay I am having when posting on my forum?

    #51964
    bbolman
    Participant

    I think the easiest thing to do would be to just move over your bbpress install into the same database as your blog. I’m sure somebody here could probably help you modifying that plugin, but I feel like just moving would be much simpler.

    #51963
    ccmve
    Member

    That’s right Trent — I’m using 2 databases. I’ve been looking for a way to modify this plugin to get it look in the bbpress database, but I’m afraid my PHP skills aren’t quite up to it. Do you know of any other workarounds?

    #51962
    Trent Adams
    Member

    I think the plugin is designed to work when you have both wordpress and bbPress in the same database. You are using 2 different databases I would imagine then? If that is the case, then this plugin will not work for you.

    Trent

    #53823

    In reply to: k2 for bbpress

    sabutay
    Member

    I make a little modify now, to shown the current_page_item in the header. Just add a class to the < li > function, which belongs to the Forum. Like :

    <li class="current_page_item"><a href="http://www.mainpage.com/forum">Forum</a

    See in action:

    http://www.ahumder.org

    then click on forum, you will see that the background changes to white.

    You are able to change the color in the style.css

    #53966
    Null
    Member

    Nice

    Btw stubled on the BLIX theme from bbPress. It uses for each (I asked about this in some other posts) in it’s menu and could be the answer of my nr 1 problem.

    Some peace of code:

    foreach ($pages as $page) {

    $page_id = $page->ID;

    $page_title = $page->post_title;

    $page_name = $page->post_name;

    if ($page_name == "archives") {

    (is_page($page_id) || is_archive() || is_search() || is_single())?$selected = ' class="selected"':$selected='';

    echo "<li".$selected."><a href="".get_page_link($page_id)."">Archives</a></li>n";

    }

    Now to confert it to this plugin, have to change ‘location’ input to: is_archive() || is_search() etc. Going to play with this :)

    #53965
    bbolman
    Participant
    #51961
    ccmve
    Member

    I’m getting this error in WP2.1:


    WordPress database error: [Table ‘wordpress.bb_topics’ doesn’t exist]

    SELECT * FROM bb_topics WHERE topic_status = 0 ORDER BY topic_time DESC LIMIT 10

    —-

    The table wordpress.bb_topics doesn’t exist because my bbpress database is named bbpress. So the proper database place to look would be bbpress.bb_topics

    Any way to fix this issue?

    #1329
    Null
    Member

    Okay here it is, bbMenu 0.1 beta

    What does it do?

    It adds a menu to you bbPress site, which you can re-order yourself using drag and drop at the adminpage.

    I am releasing this beta in hope to get some help concerning these issues:

    1) I need some “better” way to store/ get the page-id comparison from the database. Currently, the script compares the page-id with ‘location’ from the database table. It’s only possible to add just 1 value to this, so if the page id = front-page it will return true and give the <a> an id= current and the link will be underlined.

    The thing is, I need to add more stuff cause now only the front page is id-ed as current as the forum link is active, while topic-page should return as current aswell, cause I want this page to be “under” the forum link as well.

    I’ve tried filling the location in the table like this: front-page || topic-page, but this will not work, cause the script will check front-page || topic-page = page-id instead of picking just one to see if it is the same as page-id.

    Hope I do make any sense, just check the script.

    2) In IE the underline doesn’t show. It works in all other browsers, don’t know why.

    To do:

    1) Use some hooks for the admin pages (need bbPress 0.80 to do this right)

    2) Be able to click the menu title in the menu (in the admin) to change it into what ever you like

    3) Some documentation so people (plugin builders) can add their own pages

    4) Use scriptaculous instead of the scripts I use now (more options)

    Download the beta:

    http://www.sourceskins.com/bbMenu-0.1.zip

    #53822

    In reply to: k2 for bbpress

    linickx
    Participant

    thanks Sabutay, you’re right that was missing, I was trying to avoid editing any of the php templates, but I agree this “part” is critical to the look of the theme.

    I’d like to move the “Profile / admin / log out” boxes into these tabs, as I think it would make them fit nicely, but the functions output this a <p> rather than <ul> by default :o(

    #53821

    In reply to: k2 for bbpress

    sabutay
    Member

    I’ve made a little modification, i add a tab-line in the header.php, just like the same as k2 theme.

    You can see it here:

    http://www.ahumder.org/forum

    For modification, first put these lines in the style.css

    /*- Main Menu in Header */

    ul.menu {

    margin: 0;

    padding: 0;

    position: absolute;

    bottom: 0;

    left: 20px;

    width: 90%;

    }

    ul.menu li {

    display: inline;

    margin: 0;

    }

    ul.menu,

    ul.menu li a {

    padding: 5px 15px 6px;

    }

    ul.menu li a {

    font-size: 1em;

    color: white;

    margin: 0;

    }

    ul.menu li a:hover {

    background: #333;

    color: #eee !important;

    text-decoration: none;

    }

    ul.menu li.current_page_item a,

    ul.menu li.current_page_item a:hover {

    color: #333 !important;

    background: white;

    text-decoration: none;

    }

    .admintab {

    position: absolute;

    right: 0px;

    }

    * html .admintab { padding: 5px 15px 6px } /* IE hack */

    a img,:link img,:visited img { border:none }

    After that put these lines into header.php. But changes the href lines to your site.

    <ul class="menu">

  • Ana Sayfa
  • Forum
  • Resimler
  • Duyuru Listesi
  • İletiÅŸim
  • Hope it’s useful for you, and linickx may be you could add this mod to your style.css

#53820

In reply to: k2 for bbpress

Trent Adams
Member

It is now listed in Pro Forum for the rest of the people to see as well!

Trent

#53954

In reply to: Flooding user accounts

Trent Adams
Member

There have been many discussions on this topic (most started by me) about finding a solution to use akismet or something to stop the registration spam in bbPress. While there are no solutions availabe right now, there are several TRAC tickets at http://trac.bbpress.org about this issue for future development.

In the meantime, you can either disable the registration, install the MemberList plugin from Ardentfrost (gives easy admin interface to delete users quickly) or maybe search forums for another solution. I know that I use the MemberList plugin to delete users quickly, but also delete all the BOZO users as well.

I would agree that the registration spam issue will have to be dealt this soon as a standard release feature.

Trent

#53000

Download the updated beta version here:

https://plugins-dev.bbpress.org/browser/posts-since-last-visit/trunk/since-last-visit.php?format=raw

Demo here:

http://la-school.com/bbpress/ (Test/test)

It requires Onlinelist 1.4 to work!!

As requested in another thread here, If you want to indicate new posts with an icon next to the topic do it this way:

<?php if ($topic->topic_time > view_since_last_visit_user()) : ?>

DISPLAY IF NEW

<?php else : ?>

DISPLAY IF NOT NEW

<?php endif; ?>

add this in front of you topic title.

At the moment the topic still stay “new” even if you’ve already seen it, till the next visit. Gonna fix this in next version.

Any Feedback?

#53962
chrishajer
Participant

Sounds like you’re looking for forum categories:

https://bbpress.org/forums/topic/410?replies=19

#53961
linickx
Participant

Hi david,

I was thinking of grouping for table formatting on the front page, which I guess later on in development could have permission attached, so something like..

** Support **

Installation — Getting it up and running

Troubleshooting — Fixing it when it’s broke

** Extend **

Templates — Making it look purtee

Plugins — Making it do what it ain’t supposed to

** Any other Business **

Requests and Feedback — Tell us what you’re thinking

OFF-Topic – Doesn’t exists, just trying to show what I mean ;o)

did you have a look at the link I posted, if you ported that to bbpress you’d just have a long list of forums…. am I making sense ? :oP

Viewing 25 results - 62,826 through 62,850 (of 64,468 total)
Skip to toolbar