Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 46,076 through 46,100 (of 64,511 total)
  • Author
    Search Results
  • chrishajer
    Participant

    Please report this at https://trac.bbpress.org/ – thanks

    pv4
    Member

    Hi!

    I was trying to integrate a bbpress-1.0.2 forum with my existing WP installation and I found a funny bug.

    If I open a topic and use the interface right to the title to add a russian-language tag, only the first half of a tag is actually added.

    If I try to add a tag “mama” (written in russian, of course. I write here in english just for the english speaking people being able to read the post) only the first half of a tag (“ma”) is actually added. It happens everytime I add a tag with an even number of letters (2, 4, 6, etc). Tags with an odd number of letters are added correctly.

    BTW every russian letter in UTF-8 is encoded using exactly two bytes.

    Unfortunatelly, I don’t fully understand what the code does and the below is just my guess.

    I guess the problem is in file /bb-includes/functions.bb-formatting.php either in function seems_utf8() or in bb_utf8_cut().

    Traditionally, strlen() returned 8 for utf-8-encoded “mama”. In such case bb_utf8_cut() would work correct (althought I haven’t actually checked). But if one use php.ini mbstring.func_overload option to overload str* functions by mb_str* ones, then strlen(“mama”) returns 4 and bb_utf8_cut() thinks this’s is non-utf-8-encoded string length and assumes that the “actual” string length would be 2. That’s wrong.

    So, my general suggestions is to fix somehow one of those functions to work correctly with mbstring.func_overload both set and unset.

    The quick-fix for people having the option set is to add the following line at the very start of bb_utf8_cut() function:

    return $utf8_string;

    1. Am I correct or should I search for the problem in another piece of the system?

    2. Would this “fix” break anything else?

    #32943
    snickn
    Member

    Hi All,

    I’ve moved a bbpress install for a client, and I’m seeing the strangest bug – Client has bbpress, and the bbpress “latest” plugin for showing the posts on his main page. The latest plugin works great, accesses the DB and all, the bb though – can’t access the DB. Same username/pass/database/host, file has correct permissions so it can read it – everything looks great..but BB continually can not reach the DB.

    I’ve deleted/recreated the file, I’ve done it all – any tips? We rsync’d the files from the other host, and it worked fine prior.

    #84402
    Michael
    Participant

    You’ve done a decent job with creating the bbPress theme to match your WordPress theme – now you should take a browse through the plugin gallery and make it look better. :) I highly recommend bbCumulus, bbPress Topic Icons, Allow Images, Project Honey Pot (for Spam protection), and MyViews. Someone might highlight some other important ones – those are all I can think of at the moment.

    :)

    #32942
    eryx010
    Member

    This is my first real attempt at making a site using wordpress and using bbpress for the forums. Please take a look http://englishchile.com. Any feedback positive or negative will be appreciated.

    thanks

    #84367

    In reply to: @ links (mentions)

    Gautam
    Member

    Replying to kevinjohngallagher’s post (maybe its in spam, but I got an email notification as I am subscribed to topic):

    1) Making “@” links is cool, and very “twitter generation”, even if its not something that’s totally globalised yet. But the “@” link is not pointing at what you’re replying to. We’re faking the functionality without the reasoning, which in the end will just confuse users.

    On Twitter, you post on your profile page. People read it on their feed, and reply on their own Profile page. So a link to “@kev” goes to the page where “kev” has written his post. That’s the point of it, to link to someone’s post.

    Here, we’re making the link “@kev” go to “/profiles/kev/” for the user to not see the post. That’s exactly the opposite of the purpose of the “‘@” linking system :)

    –> That’s basically the work of a reply plugin, not of a mentioning plugin. I also have future plans with the plugin like linking #tag, etc. Even if I do something like that which you have mentioned, then a single user can make multiple posts, then which post will the plugin link to?

    2) The other issue is that Twitter names don’t have spaces, while BBpress / wordpress names can. So if i write “@Michael R Thanks for your reply”, how does the plugin know where the username ends? What if it finds a “michael” in the usertable, it will then link “@Michael” to “/profiles/michael/” and the message will read “R Thanks for your reply”. In Twitter, it parses at the first space; but we can’t do that here.

    Oh that will also involve looping through queries until you find a match, so first for Michael, then for Michael R, then for Michael R Thanks etc. Ofcourse there could/should be a word/search limit – either way there is huge potential for database issues there. Imagine adding up to 5 sql searches, per “@” per post, per page load.

    The initial solution, and i suppose this is for Gautam, is to make a search of the user table for all users who have posted on the topic being replied to, which should narrow it down considerably, though it should be noted that if you have “Michael” and “Michael R”, or any similar naming issues, the plugin will not know that…

    –> That can’t be helped. The plugin first checks if that username exists, if not, then checks if that nicename exists. This will be also mentioned on the plugin page.

    3) You are effectively allowing a user to search your database for anything you put after your “@” symbol. Now this one is a little bit of scaremongering, but we’ve all seen bad coding before. What if I write “@drop table wp_usermeta hi bob, how much fun would this be :)“. There is a reason that we try to make sure we don’t take database queries from the user.

    –> 1) This is what is used to match the username – /[@]+([A-Za-z0-9-_]+)/, so there is no point of mysql commands going in there.

    If you want to test the plugin (how it works), you are free to use this as sandbox – http://forum.gaut.am/

    I have made some posts to test the plugin here.

    #78849
    tobefound
    Member

    @pinpin_lelapin:

    Did you get things working? Me too interested in getting a simple and clean forum working with an existing login system on codeigniter.

    /T

    #84358

    In reply to: @ links (mentions)

    BBprogress had two versions of this one mate, they should still be kicking around somewhere. The first one used Ajax to convert the links (it pinged a search page for @username).

    That said… My issue with it at the time is my issue with what you’re trying to achieve as well. 9/10 when someone is typing “@Michael R” they are replying to a post above. To that end, the “@Michael R” should link to that post, not to the person’s profile page. What you effectively need is a “reply to” button as well as a “quote” button that pre populates the “@Michael R” information.

    Writing that functionality isn’t a problem (check out the quote plugin), but rather that there is no hook in BBpress that doesn’t hardcode output from the core to the bottom of each post. Not only would you need a plugin, but you’d also need a theme with additional hooks/function calls.

    Its definitely doable though, once yu have defined exactly what it is you’re after/the need is for it :)

    #32940
    Michael
    Participant

    I compiled a set of smilies and icons into a new smilie-pack for bbPress Smilies by _ck_.

    Package List: http://www.inniosoft.co.cc/bbpress/new-smilies-screenshot.PNG

    Download: http://www.inniosoft.co.cc/bbpress/new-smilie-pack.zip

    If you’re not sure how to install the new pack, there is a readme.txt file in the zip.

    Enjoy!

    #84387
    chrishajer
    Participant

    Why *what* is happening? What does it look like and what should it look like? Looking at it quickly looked like it is was normal to me.

    #32938
    Pr1me
    Member

    I want to replace the bb_post_admin text links with icons but it’s all down in the “bb-includes/functions.bb-template.php” file. And since I’m a designer with no particular .php knowledge, I’m stuck.

    Is there someone with a solution?

    Similar problem topic:

    http://bbpress.org/forums/topic/design-the-bb_post_admin#post-18785

    #81440

    Having the same problem, believe its due to being on an .asp server. there is some sort of setting to change to search for .php naturally the server is searching for default.aspx or something like that and you need to change this setting.

    The settings have to be changed per folder apparently, im yet to work out how to do this though.

    Anyone got any ideas would be greatly appreciated, been going at it for a week now still no fix

    regards,

    Chris

    #84354

    In reply to: @ links (mentions)

    OKTeaRoom
    Member

    https://bbpress.org/plugins/topic/easy-twitter-links/#post-4191

    Has a conflict with the video plugin on my forum but other than that it work(ed) fine.

    #83461

    In reply to: WP Integration Issue

    Paul Whitener Jr.
    Participant

    Awesome, updating my files following these instructions:

    Login Integration Issues – bbpress and wordpress mu

    corrected this as well as another issue I was having. Thanks!

    #32937
    arpowers
    Member

    Hey guys,

    Our search is all messed up in Deep integration with WP.

    Check this out:

    http://www.pagelines.com/forum/search.php?q=localization

    anyone have an idea of why this is happening?

    Also how to you add more results to the search page?

    #32936

    Topic: @ links (mentions)

    in forum Showcase
    Michael
    Participant

    Have been working on my forum recently, and I have though tof something I’d like to add to it.

    Now, I’m no plugin developer, or PHP junkie, but I’d like to know what steps would be needed to turn @ links (mentions, like those found on Twitter) into links that take the user to a members profile page/or maybe even the member’s website (if any).

    Example:

    ‘@matt’ would become ‘@matt

    It would obviously have to scan through the post, check for any mentions, check if the user exists, and if it does, then apply the link. Now, I have no idea how this would be implemented – I hope to learn more soon. :)

    This may not be a very great idea to have for a bbPress forum, but I think it would be nice. Could anyone help me with this?

    Peace, Michael

    #76490

    After the upgrade to 1.02, editing topic.php solution, is not available anymore.

    $posts = get_thread( $topic_id, $page );

    has been removed.

    Is any other way to reverse posts order in BBpress 1.02?

    #82034

    In reply to: New Theme For BBPress

    arpowers
    Member

    Also we added the bbPress addons to our ‘themes’ page:

    http://www.pagelines.com/themes/

    #82033

    In reply to: New Theme For BBPress

    arpowers
    Member

    They’ve been tested in IE6 but not IE5.. (I don’t even know how we would test in IE5)

    Yes, they can only be used with our WP themes.. we’ve had to hack the WP header.php to include bbPress specific stuff, there are also some bbPress options included in the WordPress themes.. (meaning we had to alter the WP themes)

    I would like to give away a bbPress theme for free, but didn’t get any feedback on the thread we started about it.

    It also seems like bbPress works best when with a WP theme.

    #82468
    arpowers
    Member

    you can deep integrate and include the headers/footers from you WP theme.

    Then hack the header of your WP theme to include the bbPress specific stuff

    we’ve done it for our bbPress addons at PageLines.

    Andrew

    #82538
    Coffee4cr
    Member

    alright I found my problem.

    i had the blog running on PHP5

    and the bbpress running on PHP4

    #84175

    In reply to: Thanks plugin

    gerikg
    Member
    #82467
    gerikg
    Member

    It’s not straight forward. You can’t have a step by step instructions and have it work for every theme. That is why you never find anything. All the themes I made work with WP are different procedures.

    #83460

    In reply to: WP Integration Issue

    gerikg
    Member
    #84351

    Some more investigation, and the icons does not disappear if I register a new user in bbPress, and log in to WP afterwards. As well, cookies doesn’t seem to work.

Viewing 25 results - 46,076 through 46,100 (of 64,511 total)
Skip to toolbar