Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 22,251 through 22,275 (of 32,495 total)
  • Author
    Search Results
  • #84200
    chengdu-living
    Participant

    BTW I tried what was advised in this thread: https://bbpress.org/forums/topic/bbpress-broke-when-i-changed-the-url but it just displayed the code on the actual live forum page

    Here is my bb-config.php included the added part at the very bottom:

    <?php
    /**
    * The base configurations of bbPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys and bbPress Language. You can get the MySQL settings from your
    * web host.
    *
    * This file is used by the installer during installation.
    *
    * @package bbPress
    */

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for bbPress */
    define( 'BBDB_NAME', 'justchar_wrdp5' );

    /** MySQL database username */
    define( 'BBDB_USER', 'justchar_wrdp5' );

    /** MySQL database password */
    define( 'PASSWORDWASHERE' );

    /** MySQL hostname */
    define( 'BBDB_HOST', 'localhost' );

    /** Database Charset to use in creating database tables. */
    define( 'BBDB_CHARSET', 'utf8' );

    /** The Database Collate type. Don't change this if in doubt. */
    define( 'BBDB_COLLATE', '' );

    /**#@+
    * Authentication Unique Keys.
    *
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}
    *
    * @since 1.0
    */
    define( 'BB_AUTH_KEY', 'put your unique phrase here' );
    define( 'BB_SECURE_AUTH_KEY', 'put your unique phrase here' );
    define( 'BB_LOGGED_IN_KEY', 'put your unique phrase here' );
    define( 'BB_NONCE_KEY', 'put your unique phrase here' );
    /**#@-*/

    /**
    * bbPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $bb_table_prefix = 'bb_';

    /**
    * bbPress Localized Language, defaults to English.
    *
    * Change this to localize bbPress. A corresponding MO file for the chosen
    * language must be installed to a directory called "my-languages" in the root
    * directory of bbPress. For example, install de.mo to "my-languages" and set
    * BB_LANG to 'de' to enable German language support.
    */
    define( 'BB_LANG', '' );
    ?>

    $bb->uri = 'http://www.chengduliving.com/bbpress/';

    #83958

    I’m an independent contractor and have worked as a PM/BA for the smallest to the largest companies; and you’re not wrong :)

    That said, Project Management exists for a reason. Its a different skillset from development. And no matter the size of the company or organisation, holding a requirement gathering session and then ignoring the data is just daft.

    @kevinjohngallagher

    You’re not wrong either! The thing is, I don’t think bbPress Dev is ignoring the data. They wanted to get an idea from the vocal sort (us) to what we wanted, what we feel is needed, then they agreed and went to design the project in the way that works best for them.

    I’ve been VERY closely following the WP 3.0 move (I have two blogs I want to merge into one ‘MU’, and I want to see if I’m better off just sucking it up now or not – It’s a LOT of work to do and not lose users), reading IRC logs daily, monitoring tickets. In doing so, I feel I’ve learned a lot about how the process works. For a moment, I really wanted to piss myself. I’d get really excited about a topic, and then someone would raise valid concerns, talk about goats, and they’re off on a new topic.

    Seriously terrifying to watch, when you’re invested.

    But.

    I’ve had experience herding cats like this before. And I realized this looked exactly like the organizing my old community group used to go through, three to four times a year, to put together a highly complicated event for multiple people, maintaining the element of surprise and yet still making all of the 10 to 50 people who were being rewarded feel special, and putting on a good show. Seriously, I have grey hairs from the 5 years I ran that boat. Glad to be off! The point is this stuff is scary to watch and partake in until you’re used to it. I wish there was another way, but I’ve never found it.

    I am also in agreement that “it will turn out fine”, the problem with that is there is no time limit. It probably will turn out fine in the end, or eventually, but how do we, the community (sic) attempt to speed up that process?

    Code: Join the IRC dev channel and start putting in tickets for what’s broke, fixes for what you can fix, and suggestions. Even a psudeo-code “This would possibly work better if there was a check for ‘If Admin, then foobar’.” can be helpful. Obviously don’t spam, but I’ve always been of the opinion that the best way to HELP an open source project is to get in and see how you can help. Posting here? A good way to vent worry. Joining the devs, even if, like me, you’re a total hack, is helping.

    Documentation: Write a definitive ‘This is how you integrate WP and BB 1.x’ post. Or a good how-to on anything. Pull out the most common errors and make a post about how to resolve them. It’s not GREAT documentation, I admit, but it’ll get people started and, when the doc site picks up, the posts could be lifted and tossed in. It would be nice if TPTB would make a documentation site we could edit, but I understand the nightmare that is. Oy. Not everyone is nice :)

    #84152
    nerieru
    Member

    @gautam, that would be greatly appreciated! :)

    #84151
    Trisha Cupra
    Member

    Wow, that’s very encouraging. :)

    #84149

    I have a function for WordPress that outputs some code into the class section of an item:

    e.g. <li class="<?php my_custom_class_ouput_function(); ?>"> comment/thread </li>

    It outputs the user’s level after a specific string (e.g. user_level_5), the author’s name after a string (e.g. author_username_bob ), is the user an author (e.g. user_is_an_author) and if the user is the author of the original thread/blog post (e.g initial_author).

    You can then set up the styles as you want to display them in CSS.

    I’ll have a look at porting this to BBpress later on.

    #84147
    Michael
    Participant

    It’s really good idea – and it can be done, but I’m not sure of the code behind it. If it were me, I’d simply do a template edit to get it right; simply by determining the user’s status, and then using a different post CSS class to make it look different.

    Some would suggest a plugin for this however. If I find a way to do it, I will let you know. :)

    #84144
    Ben L.
    Member

    It’s already in the code – http://phpxref.ftwr.co.uk/bbpress/bb-load.php.source.html#l153

    You should really update to the latest version – it has multiple security fixes over your version.

    (And btw, config.php is deprecated – bb-config.php is where it’s at!)

    #84143
    kehlers
    Member

    Seemed to have solved this, so I’ll post the answers for anyone else who has this problem.

    PHP 5.3+ now requires you to define an object explicitly ($object = new className();). The $bb variable in older versions of bbPress is an object which is implicitly defined in config.php. Thus, if you define it explictly as an object of type stdClass, the error goes away, like so:

    $bb = new stdClass();

    WARNING: I have not fully tested this, so use at your own risk.

    However, I also noted that in bbPress 1.0.2, the whole $bb object seems to be deprecated, so it is likely that if you upgrade to the newest version, the errors will also go away. I can’t upgrade just yet, so I haven’t tried this either.

    Cheers!

    #32886
    kehlers
    Member

    Does anyone else get this error in the forum when you have upgraded to PHP 5.3.0? I know this is due to many deprecated features in this version of PHP. Does a recent version of bbPress correct it?

    Strict Standards: Creating default object from empty value in /<<pathname>>/forum/config.php on line 15

    #32881
    Thomaschaaf
    Member

    We’ve got a forum at http://vsphp.de/forum which doesn’t have alot of entries but does have quiet a few. I’d like to find out, whether there is a way to port the entries from an existing Woltlab Burning Board to bbPress. I’d be glad if you could help :)

    #32877

    Topic: Post Count Plus

    in forum Plugins
    Michael
    Participant

    Hi all :)

    I hope someone can help me here, and if more information is needed, please ask.

    I have Post Count Plus enabled on my installtion, and I need to extned it’s functionality without hacking the core.

    As it stands, Post Count Plus is colouring the name of the user according to his/her status. This works everywhere it was designed to, but I need to know how it works so I can extend it to the statistics at the bottom of my front page.

    As you can see, the display names at the bottom do not have highlighting.

    Any help would be simply awesome. :)

    Peace, Michael

    #83907

    In reply to: Plugins

    paamayim
    Member

    Hi Fernando,

    – bbcode buttons toolbar

    what plugin do you use to parse bbcode then?

    I don’t read bbcode lite in your post, infact it shouldn’t work for 1.0.2 the one in the repository.

    Testing: hello world it doesn’t work even here?

    #83956

    I’d wager Matt has a calming affect when he writes more than 5 words ;-)

    I am also in agreement that “it will turn out fine”, the problem with that is there is no time limit. It probably will turn out fine in the end, or eventually, but how do we, the community (sic) attempt to speed up that process?

    My concern is that we’ve been through this all before Chris. Remember the “its all fine so I made a BBpress Fan Page on Facebook”? Remember the definitive instructions on how to get BBpress and WordPress to play nice together, that instead of being in the documentation was a 7 page thread with the answers on how to actually do it on page 4?

    I’m not meaning to bring up the past and use it as a stick to beat the BBpress people with, I just feel we go over the same things time and time again, don’t you? And so far, we appear to be repeating the exact same mistakes.

    I dunno, i’ll try and come up with something, because I’m confident that we wont have a BBpress version that integrates with wordpress out of the box this year.

    #84023
    Michael
    Participant

    Glad to know this. :) I’m assuming this doesn’t add any buttons to the BBCode Toolbar – so anyone know how I can add it? My knowledge of regular expressions is very limited.

    #84094

    In reply to: Old Version

    johnhiler
    Member

    Wait, where is it strongly recommended to use 1.0 over 0.9.6 for security reasons?

    The 0.9.x branch has been around for a lot longer. 1.0 hasn’t been out for that long, and the primary developer hasn’t been around to root out and/or patch any security issues.

    I’m not saying that 1.0 is insecure – just that there’s nothing inherent about 1.0 that makes it more secure cuz it’s more recent. :-)

    #84062
    m291
    Member

    one more question:

    what is the code to authorized only specified user groups?

    thanks for help

    #84085
    Michael
    Participant

    I have never used that particular plugin – so I can’t help you there.

    I do recommend, however, what seems to be the most stable plugin for avatars:

    https://bbpress.org/plugins/topic/avatar-upload/

    If you’d like to see it use before making a decision, see this post on my forum:

    http://www.inniosoft.co.cc/devstation/topic/php-creating-a-voting-poll

    Hope this helps. :)

    #32868

    Topic: Anonymous posting

    in forum Plugins
    esprit
    Member

    I did need an anonymous posting in my installation of bbPress and after checking few threads I realized that would be probably worth to try do it by my own. So if anyone interested, I am releasing the alpha version of plugin + source patch (yeah its hack :) for testing.

    You could get it on http://trac.espr.it/wiki/bbPress/AnonymousPosting – feel free to raise a ticket there if the plugin is not working or in case of any other problems but I am full time working so don’t promise any quick fixes and reaction.

    Just what the plugin actually does. Any non-logged user has a opportunity to log in as anonymous user (with very restrictive permissions) through standard form. He has to pass security question which is possible define in plugin administration.

    The code should be working again 1.0.2 version of bbpress.

    #84060
    Ben L.
    Member

    Oh, typo. Here’s the correct one:

    <?php require_once 'path/to/bb-load.php'; bb_auth( 'logged_in' ); ?>

    citizenkeith
    Participant

    Feature request: I would love to see an “attachments browser” in the admin panel. :)

    #84069
    Michael
    Participant

    :) – hmm … I thinkMichael means these three plugins are the basis for an “interesting” forum.

    I was actually in a rush when I posted this – did not mark everything that I thought should have a star. :)

    So, the Moderation Suite and Project Honey Pot should also be marked – but I can’t edit it now…

    @NiksE: Also remember: Don’t be like me and use almost every plugin there is – well I’ve removed many of mine. Just use the plugins that you think will be good for YOUR forum. Also, what do you think your users will want?

    #84065
    Anonymous User
    Inactive

    Items marked with a star are quite important, in your case.

    :) – hmm … I thinkMichael means these three plugins are the basis for an “interesting” forum.

    #84063
    Michael
    Participant

    Hi :)

    Well, for a start, if you have a WordPress.com username, you must enable Akismet – it’s the best spam protection you’ll get. I also recommend ‘Human Test for bbPress’ – also good for security.

    Here’s a list of the plugins I recommend: (I may miss some because I don’t use all of them, obviously) Items marked with a star are quite important, in your case.

    1. Allow Images *

    2. Avatar Upload *

    3. bbPM (for Personal Messages)

    4. bbPress Moderation Suite (not always used in some forums, but very handy to have)

    5. bbPress Smilies *

    6. bb Topic Icons

    7. bb Topic Icons/Support Forum Connector (comes with the above plugin)

    8. Burning Tags

    9. The MyViews Suite

    10. bbPages

    11. Project Honey Pot (Spam protection, prevents spam users from registering)

    12. Signatures

    There are plenty more, but those are my most common ones.

    Hope that helps a little. :)

    #84075
    Sabuntu
    Member

    I tried tweaking this problem by the reinstalling the bbpress

    I deleted the forum file completely and I dropped all the tables that are related to bb_

    and reinstalled the forum again as subdomain again

    BUT I’ve had another problem now “installation failed”

    the key master could be established although I’ve deleted all the tables

    as I mentioned in the previous post I’ve integrated my blog to the forum and this might be the problem for not creating the key master for the second problem

    :( any Ideas !!?

    #84057
    Ben L.
    Member

    <?php require_once 'path/to/bb-load.php'; bb_auth( 'logged-in' ); ?>

Viewing 25 results - 22,251 through 22,275 (of 32,495 total)
Skip to toolbar