Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,326 through 28,350 (of 32,481 total)
  • Author
    Search Results
  • #62596

    In reply to: TalkPress

    Sam Bauers
    Participant

    > so an existing forum with 1000 users will have to instruct every single one to clear their cookies

    Not necessarily, it just may be an issue if your cookies weren’t expired already.

    > I wonder if this has to do with the hard coded hash I have set in bb-config.php

    > How does this affect a setup with a shared login from wordpress where you have to match the same hash it has?

    You will need to also run WordPress trunk to match the cookies and hash methods up. WordPress has also migrated their cookies and password hashes in trunk.

    > hope there was a good reason to fiddle with it

    Judge for yourself, we followed WordPress’ lead:

    https://trac.wordpress.org/ticket/5367

    #62593

    In reply to: TalkPress

    _ck_
    Participant

    Ugh, so an existing forum with 1000 users will have to instruct every single one to clear their cookies – meaning at least 50% won’t understand and try to contact the forum operator personally.

    I think there is a better way – perhaps an upgrade plugin that can detect the out of date hash and instruct the client to delete the old cookie and redirect back to the login.

    Actually, wouldn’t bbpress replace the hash data in the cookie upon login? None of this sounds right – I created a new user under 1075 and was still unable to login.

    I’ve gotten build 1006 to work properly so I guess I will try another investigation into the upgrade from there tonight. I wonder if this has to do with the hard coded hash I have set in bb-config.php

    How does this affect a setup with a shared login from wordpress where you have to match the same hash it has? I had the integration working just right, hope there was a good reason to fiddle with it.

    #2839
    Olaf Lederer
    Participant

    Hello,

    just updated my forum to the latest version (0.831) and found this new function in several template files:

    bb_topic_labels();

    after uploading the file I can’t see what’s changed, what is this for a function?

    Olaf

    #57590
    mazdakam
    Member

    it has conflict with code tag so i decide to disable it

    #62388
    mazdakam
    Member

    Nice :) i am now use it

    works great

    #62592

    In reply to: TalkPress

    Sam Bauers
    Participant

    You know that both cookie and password hashing have changed? You may need to clear your old cookies manually to make way for the new ones. Send a mail to the dev list or hit us on IRC in the #bbpress channel and well work out what’s going on.

    We’re acutely aware of how spammers attempt to “fool” Akismet. There are steps being taken now to help improve the processes involved in combatting this. Remember that we are users of Akismet too, so have an interest in keeping it ahead of the game.

    The nature of Akismet’s purpose means that back-end code needs to remain closed. If spammers knew how it worked, it would likely make it possible for them to game the system. Of course it is opt-in, so if you don’t like it then you don’t have to use it. Controlling the data that is passed to Akismet is controllable from the client end using plugins that can limit it’s behaviour. These already exist for WordPress, bbPress ones could be easily developed too. If there are hooks missing to make that possible then we’ll add them.

    #62591

    In reply to: TalkPress

    _ck_
    Participant

    I’ll probably be forced to join the dev list to try to solve this but I just tried moving from 951 to 1075 and I cannot get the logins to “stick” (ie. logs in and then acts as if it is not logged in)

    Seems like the old cookie path issue but I’ve looked the cookies and the code and everything seems healthy. Even created a new user with 1075 and that user cannot login either.

    eta: 1006 does not exhibit the login issue

    ps. don’t kid yourself with Akismet stopping spam. Spammers just escalate their deviousness on what they can get through it. My wordpress.com blog gets spam almost daily now, bleeding right through Akismet. And Akismet hasn’t been given peer-review for privacy/security issues such as passing every single message entered on every single blog and bbpress through automattic – even for private posts and private sub-forums. Won’t make for good headlines when people start to think about it.

    #62590

    In reply to: TalkPress

    Sam Bauers
    Participant

    You are right, 1075 is probably the most stable release for “cutting-edge” users, but we would appreciate testing of trunk during integration of BackPress.

    We do intend to experiment with PingBacks and TrackBacks in topics via XML-RPC, and you could be right about spam, but we won’t know until we try. We will build out the spam tools provided by Akismet to try and meet the challenge of spam at the same time. There are also other ways in which we can utilise XML-RPC besides those two features which you may not have considered, we already have some cool ideas about user integration and content aggregation that should be driven by the needs of the hosted project. I hope you don’t leave us just for giving it a whirl :)

    The “Press” names are mostly about branding and the they need not be taken literally. We can leverage a lot of good-will by associating with WordPress, and we intend to create better ways to integrate the two projects, regardless of where they are installed or hosted.

    #62588

    In reply to: TalkPress

    Sam Bauers
    Participant

    Things may be a bit confusing at the moment with two new and different names flying around. I’ll do my best to clarify things and we can use this topic for everyone to ask questions on the subject and provide input.

    For those who are interested, the first thing to do is read this post (and the articles it links to) in the blog:

    The future for bbPress

    That post is pretty vague about things. So let me be more specific here. First, I’d like to make it clear that bbPress is not being replaced or abandoned or drastically changing direction. As for the two new names that have been mentioned, I’ll cover them below.

    BackPress:

    bbPress has a lot of shared code with WordPress. BackPress is the name of a new project which is attempting to normalise this shared code into a set of generic files that will simply plug in to both projects (and potentially others). This allows us to leverage the testing and improvements made to this shared code without the overheads of manually merging changes. This way we can spend more time on bbPress’ unique code and extending new functionality.

    TalkPress:

    It has been public for a while that Automattic intends to create a hosted forums service based on the bbPress project code. The intention is to make this work much like the existing WordPress.com hosted service for blogs. Matt Mullenweg let it slip that the working name for the project (and not necessarily the service) is TalkPress. We probably won’t talk much about it here, but I can say that the majority of the code written to create this new project will be released as open source. Regardless of the name of that service when it launches, the name of this project, “bbPress”, will not change.

    As for the upcoming work for bbPress, I’m happy to elabrorate here:

    bbPress code:

    Along with the inclusion of BackPress into trunk, there are other things going on. We are in the process of implementing a new taxonomy structure for tags. Improving bbPress’ object cache to make it compatible with various WordPress object cache plugins. Replacing the fairly ordinary “favourites” system with a much more flexible and useful topic aggregation tool, and later on we will be incorporating a set of functionality based around the XML-RPC tools available in WordPress such as pingbacks and trackbacks.

    bbPress.org website

    The bbPress.org website is due for a clean up. Most importantly, the extend area will be upgraded to include a plugin repository similar in functionality to the one that exists on the WordPress.org website. There is a possibility that we will also launch a theme repository based on the same system. A little later on, we plan to re-design the whole site.

    I hope this clears things up a little and I’m happy to answer any questions here. I can’t think of anything, but it’s possible that there may be some things that I can’t say about the hosted service project. Feel free to ask though.

    #62640
    Sam Bauers
    Participant

    Repost from the dev mailing list:

    As of the last commit at this time (revision 1076), trunk is in an experimental and unreliable state. We are attempting to abstract some functions and classes for easier sharing of code between WordPress and bbPress. This shared code is called “BackPress”, and we’ll probably be mentioning it a few times here and there in Trac and other dev discussions.

    #61677

    In reply to: User Registration

    rslater
    Member

    not sure how to apply that code.. can you assist

    #62638
    fel64
    Member
    global $bb;
    if( isset( $bb ) ) {
    //...
    }

    #61630
    d00d13
    Member

    “I guess I will go with one of these: https://codex.wordpress.org/Plugins/Forums”

    Where’s the beef?

    #58793

    In reply to: How to disable rss ?

    chrishajer
    Participant

    Why not just remove the links to the RSS feeds that appear in the template files? Doesn’t that accomplish what you want?

    Like in topic.php in your template you have this link:

    <a href="<?php topic_rss_link(); ?>

    Just remove that, and remove links like it from the other template files. What am I missing?

    #62642
    chrishajer
    Participant

    There is not supposed to be a folder names “topic” – that is done with mod_rewrite on Apache. Can you try disabling mod_rewrite in your config.php and see if it works?

    $bb->mod_rewrite = false;

    If your forum works after that, then you need to do some work with your .htaccess and rewrite rules, or just leave non-pretty permalinks. But try that first, I think that’s why you’re getting 404 errors.

    You didn’t mess up anything I don’t think.

    #58792

    In reply to: How to disable rss ?

    Andrew
    Member

    The most important thing is that I remove the ability to get RSS. Removing autodiscovery is a secondary issue. The template files are easy to modify, I am not worried about that. The private forums plugin did a good job and there is very limited code in there dedicated to RSS. There must be a way to just shut it down with a simple filter plugin.

    #62629
    chrishajer
    Participant

    You edited the path out of the error message, but did it include the health_blog part, as well as forum? So it looked like /something/health_blog/forums/forum.php ?

    /usr/local/www/vhosts/healthstatus.com/htdocs/health_blog/forums/forum.php

    Maybe it’s one directory off or something?

    One thing weird about the link to a forum: the URL looks like:

    http://www.healthstatus.com/health_blog/forums/forum/healthstatus-forums

    when they should look like

    http://www.healthstatus.com/health_blog/forums/healthstatus-forums

    (I think – is there an extra “forum” in there?)

    Can you turn off the mod_rewrite in .htaccess and try it without permalinks? If it works, maybe the rewrite rules are borked.

    Try this: $bb->mod_rewrite = false;

    #62626
    chrishajer
    Participant

    The bug you have run into is fixed in the latest trunk release, or you can see this thread and this post specifically about the change to make:

    PHP Error Messages

    It’s been discussed before as well:

    https://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173

    https://bbpress.org/forums/topic/installation-problem-cannot-modify-header-information

    It’s just a php warning, and your server is configured to show warnings, so you see it. It does point to a problem with the code, but even with the warning, everything still works fine.

    #2831

    Topic: Theme editing problem

    in forum Themes
    #61676

    In reply to: User Registration

    The bbpress mail funcion is just something I can’t really understand. When I tried to use it with my favorite notification plugin I got some problems, so I decided to hardcode the mail-function into my plugin.

    mail( $userdata->user_email, bb_get_option('name') . ':' . __('Notification'),

    sprintf( $message, $topic->topic_title, get_user_name($bb_current_user->ID), get_topic_link($topic_id) ),

    'From: ' . bb_get_option('admin_email') );

    I just kept it simple there. Did someone of you try to hardcode the mailing into the registration function? Would be interesting to see if it works then?!

    #62578
    chrishajer
    Participant

    The $bb->name setting in config.php is the name for the whole site and the name you see in Admin > Content > Forum is the name of the categories or sub-forums (however you want to think about it – see the bottom of http://bbPress.org/forums/ for “Installation”, “Troubleshooting”, “Themes”, etc – that is what you’re changing in Admin > Content > Forums). Changing it there does indeed change the display (look at the bottom of the front page to see the name you are changing in the admin panel: it’s under “Forums”). If it’s not working like that in your installation, there’s another problem I’m not familiar with.

    Anyway, being able to change the site name in the admin panel might be a good suggestion. You can make feature requests at http://trac.bbpress.org .

    #62480
    fel64
    Member

    I think one could add some PHP code in the topic page loop to parse the /uploads folder for folders whose names match the numbers of the post id’s displayed on that page, if-then display links to any files contained within those folders, if-not, then don’t.

    Probably more expedient to just check if folders with any of the post-ids as name exist; if then the operating system or whatever has to run through the entire folder to look, at least you’re handing the task to someone competent.

    If you want this done, I suggest you look at some PHP examples and do it. The hard part of programming is not knowing the language, but figuring out the solution.

    #61672

    In reply to: User Registration

    rslater
    Member

    Still does not work.. Can you elaborate on the “valid email” and what exactly you mean.. May sound like a dumb question but I just want to make sure i am not crazy. Which may be the case… :)

    #2801
    charliestout
    Member

    File uploads and attachments: like many others, I am highly interested in such a plugin. While I agree with the intent of the developers to keep bbPress light and awesome (which it is,) it certainly seems a shame to have to abandon bbPress because it does not provide for file uploads.

    It’s my understanding that each post is given a unique identifier, visible as a URL parameter: id=38 for post 38, id=39 for post 39, etc.

    Functionally, it seems a matter of creating an /uploads folder, and using a PHP upload/file management script to create a folder with the same name of the post ID in the /uploads folder.

    I think one could add some PHP code in the topic page loop to parse the /uploads folder for folders whose names match the numbers of the post id’s displayed on that page, if-then display links to any files contained within those folders, if-not, then don’t.

    Do I have the technical know-how to pull this off? Of course not. I barely got the forums installed and avatar plugin running on my server. But others lurking here with any PHP ninja skills might be able to.

    Of course, there might be horrendous security risks that I’m not thinking of with this method. And the PHP code that scans the uploads folder for foldernames that match post id’s might ridiculously slow down the forums, as it constantly scans the filesystem instead of performing a quick database lookup.

    But it might be a good start. Between all of us here in these forums, I am confident that we’ll eventually stumble across this much-needed functionality. Necessity is a mother…

    #62574
    Olaf Lederer
    Participant

    Hi Trent, thanks for the feedback!

    just checked the suggested plugin and using some activation code makes sense. Is this something for the bbress core version? And is this really needed? At the moment I have ~50 new registrations a day because people need to register to download some PHP classes from my website.

    Sure some of them have entered their URL to the profile, but this is not accessible until thy made a first post.

Viewing 25 results - 28,326 through 28,350 (of 32,481 total)
Skip to toolbar