Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 60,851 through 60,875 (of 64,515 total)
  • Author
    Search Results
  • #55232

    In reply to: Favourites

    Trent Adams
    Member

    I have a sneaking suspicion that you could help solve some serious bbPress issues quickly! Thought about helping DEV?

    Trent

    #56708

    In reply to: Plugin: Avatar Upload

    LMD
    Participant

    @Beaver6813:

    The error sounds like it’s trying to call the add_action() function when either the file containing the function (wp-functions.php) isn’t included for some reason, or the plugin is being called before it has been included.

    I do not know why this might occur, although the fact you are using an integrated WordPress/bbPress combo might be a factor. We really need somebody who knows more about the internals of both system to help.

    Anyway, by commenting out the add_action() function all you have done is prevent the plugin from automatically creating an identicon for newly registered users. So, it’s not such a biggie while trying to solve the problem.

    @_ck_

    Feel free to hack the script however you see fit — I realise I have been rather too strict with the filenames, especially as it is really only a first-stage precaution (the file gets renamed n the server anyway). Also, I believe some browsers add the whole path to the uploaded filename (something I neglected to address).

    A solution I am adding to the next version will be to extract the actual filename from the path before checking.

    $img_name = basename($img['name']);

    Then, the number of necessary characters to allow is greatly reduced. I just prefer to approach it from the other end, block everything except what I explicitly allow. But as I said, feel free to hack it to suit your needs.

    I was completely unaware that you could enter a URL into a file input (“browse”) field? You indicate that it forces Windows to download the file, but I am wondering whether it is a browser specific feature and whether it is supposed to work like that? I would not rely on it.

    The mime-type comes from the uploaded file in $_FILES which, you are right should not be trusted. I’m experimenting with checking whether the uploaded file is areally an image doing something like imagecreatefromjpeg() – obviously using the appropriate function for the reported file extension (so if it’s all wrong/missing/forged an error will result). Alternatively, a simple solution might be to use getimagesize() (just the one function for all types), which I already use later in the code.

    _ck_
    Participant

    I’ve just discovered that any member who registers through BBpress instead of WordPress never gets a Role set (ie. Subscriber) so while they can use the forum, they can do anything on the WordPress part, even though they are logged in.

    #58858
    _ck_
    Participant

    Well with wordpress, the override is right in the code but obviously to leave the bbpress core alone it would have to be a plugin. (Kinda wondering what all these plugins are doing to the supposedly high performance of BBpress).

    I’d like to see admin/mods have zero limits on what they put into their posts. So to write a plugin I need to find out how to check the user level, then figure out what filter to attach it to (probably pre_post)

    Sam Bauers
    Participant

    There are 150+ changes from jQuery 1.1.2 t0 1.1.3.1

    #57829
    signpostmarv
    Member

    I came across the same problem on a combined wp/bbpress setup.

    twas a simple case of changing line 1079, template-functions.php

    $r = bb_get_option('uri') . "profile/" . $user->$column . ( 1 < $page ? "/page/$page" : '' ); to $r = bb_get_option('uri') . "profile/" . urlencode($user->$column) . ( 1 < $page ? "/page/$page" : '' );

    #58878
    _ck_
    Participant

    Yay! I figured out how to hack it to make it happen.

    To leave the core files alone, I did it through a plugin.

    The balancetags in bbpress takes less parameters than from WP.

    function force_balance_tags($text) { return balanceTags($text, true);}

    add_filter('pre_post', 'force_balance_tags');

    Tested working.

    Another nice addition in there would be to add nofollow to any post links.

    add_filter('pre_post', 'bb_rel_nofollow');

    #58877
    _ck_
    Participant

    AHA!

    I found a bug. Finally I can contribute.

    WordPress does indeed auto-close tags and has a fantastic routine, the balancetags I mentioned above.

    HOWEVER

    it was copied raw into BBpress and it won’t work by default because it’s looking for an option that will never be set because BBpress doesn’t have it

    function balanceTags($text, $is_comment = 0, $force = false) {

    if ( !$force && get_option(‘use_balanceTags’) == 0 )

    return $text;

    See what I mean? There’s no manually way to set use_balanceTags in BBpress.

    So how do we force the filter on? I know it has to be balanceTags ($text,1,1) to work.

    #58876
    _ck_
    Participant

    Actually I may be wrong about this.

    I dug through the default filters and I see this:

    add_filter(‘pre_post’, ‘balanceTags’);

    Does balancetags == auto-close tags?

    Looking at the function it would seem to be so.

    Perhaps I have a plugin conflict or does this behaviour exist on even on a default install?

    added: I just tested here and yup, it doesn’t auto-close

    #58875
    Trent Adams
    Member
    #58874
    Trent Adams
    Member

    WP doesn’t auto close tabs by default either (unless the new editor does it). Does anyone know if the QuickTags plugin for bbPress auto closes tabs?

    Trent

    #58534
    Trent Adams
    Member

    The download will be the latest one with the fix.

    Trent

    #58857
    Trent Adams
    Member

    What kind of markup are you trying to create because with bbPress you have to create a plugin to do this. Same way I did with the youTube plugin for allowing admins and mods to use the embed tag.

    Trent

    #58843
    Trent Adams
    Member

    Did you get this working? If you have access to your database through myphpAdmin or something like that, we can make sure that your admin user has the correct privelages pretty easy by looking at wp_users and then browsing to the admin user. The install of bbPress should not have changed the admin capabilities of your WP admin backend access because it would have added a completely seperate ‘role’ entry to wp_usermeta and not touched the wp_user table at all.

    Trent

    #2062
    _ck_
    Participant

    I’ve got sloppy members not closing their tags and the markup runs through the rest of the page. Doesn’t WP already do auto close on tags? Did bbpress not pick up that part of the code?

    #58081

    In reply to: bbSync

    wduluoz
    Member

    @fel64, having some strange problems now. I have followed your directions for the get_user, but now, when I post, the keymaster gets member inserted into usermeta and it crashes trying to pull up the capabilities array. I have wp and bbpress integrated.

    M
    Member

    After trying to add code between backticks, all I’m left with is something like this:

    `

    m

    `

    Instead of:

    <img src="http://www.yourimghosthere.com/yourimage.gif" />

    Deactivating plugins didn’t fix it, and nothing else has changed other than the upgrade. Is anyone else running into this?

    Edit: okay, at least now I know it works on the bbPress forums. I’ve no clue where to look to fix this, can anyone toss out an idea or two?

    ‘code’ works, so long as I don’t include the brackets around the code I’m trying to show.

    #2058
    _ck_
    Participant

    On WordPress, admin can post any content, any html markup regardless of restrictions for visitors.

    I’d like to be able to do that on BBpress?

    #2057
    Danny
    Member

    來源(From):

    http://sofree.twbbs.org/bbpress/topic/4

    下載(Download):

    http://s9011514.googlepages.com/bbPress_zh_TW_0.8.2.1.zip

    英文(English):

    Place『 zh_TW.mo』 & 『zh_TW.po』 into bb-includes/languages directory (you may have to create the languages directory yourself),

    and edit define(‘BBLANG’, ”); to define(‘BBLANG’, ‘zh_TW’); in config.php

    中文(Chinese):

    如何更改語系檔

    1.請先解壓縮 bbPress_zh_TW_0.8.2.1.zip

    2.接下來請在『bb-includes』資料夾中新增目錄→『languages』

    (簡單說:/bb-includes/languages/ )

    3.將解壓縮檔傳到『languages』目錄下

    4.到『config.php』檔案中

    找到 define(‘BBLANG’, ”);

    修改成 define(‘BBLANG’, ‘zh_TW’);

    5.完成!

    #2056
    bedbugger
    Participant

    After upgrading, I had my template and but no topics or forums listed.

    So I started over: installed just bbpress upgrade AND my old config.php file.

    This is the result:

    http://www.bedbugger.com/forum/

    You see the topics and forums, but can’t click to read them or login.

    #57450

    Ok, so answered my own question in the last post. Just had to go through everything step by step and see what collides and adjust accordingly. No, however, I need help with something else regarding this! I need to add a link to my forum profile edit to my loginanywhere script. It works at the bbpress site but then I switch over to the blog and it says profile_tab_link is an undefined function. Maybe there’s even another way to link to the profile edit? Please help!

    retrospec
    Member

    Hello,

    After installing the software successfully, all database tables were created ok but when I clicked on the link to login it repeatedly told me the forum software wasn’t installed. On checking I noticed two bizarre things:

    1. Although the placeholder topic had been created and other tables populated, the forum table had no entries, it was empty, i.e. it had not created the first forum detailed in the installation to match the topic that was there. Creating a temporary entry with the id of the successfully created made the forum work, but then…

    2. When I logged in as the user I created during the installation there was no admin option so I check the user meta table and it was down as ‘member’ and not ‘key master’.

    I am using the latest bbPress (downloaded this morning), running php 5.2.3 and mysql 5.0.41. Both are near enough out of the box installations and working fully (the only change to mysql was to set password in legacy mode).

    Please help as I can’t do anything!

    btw, one other minor question completely unrelated. Why when I look at people’s code listed in forums or hyperlinks, is it chopping off the entry at the end of the line and not wrapping? I’m using firefox, haven’t checked against IE.

    #58841
    _ck_
    Participant

    after studying this for awhile I guess I need someone to explain to me why BBpress hides posts and needs a view=all for view all posts? Can view all be on by default?

    #49620

    In reply to: Emoticons For bbPress?

    _ck_
    Participant

    I’ve now made a smilie plugin here:

    https://bbpress.org/plugins/topic/bb-smilies

    By the way, WordPress’s default smilie detection code and therefore the code converted here in the earlier post are very flawed when it comes to whitespace issues.

    I created a patch awhile back that made it work 99% of the time regardless of spaces before, after or at the end/beginning of a sentence.

    add this function:

    function prepSmilies($string) {return "/(s|^)".quotemeta(trim($string))."(s|$)/";}

    then add this near the start of function convert_smilies:

    $prep_search = array_map('prepSmilies', $wp_smiliessearch);

    then change the $contenst=str_replace line near the end of function covert_smilies:

    $content = preg_replace($prep_search, $wp_smiliesreplace, $content);

    Now if only it was this easy to tweak wp/bb’s search function to be so much more intelligent.

Viewing 25 results - 60,851 through 60,875 (of 64,515 total)
Skip to toolbar