Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 22,226 through 22,250 (of 32,468 total)
  • Author
    Search Results
  • #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
    Markus Pezold
    Participant

    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' ); ?>

    #84056
    m291
    Member

    i think, i need only a little code like ” if user_session has id then show page”.

    does anybody can help me please? i have used the search, but i found only integrations with other login-systems or wp systems. but not for my problem :-(

    #32862
    NiksE
    Member

    Hello everyone!

    I am creating a fishing forum! Of course on the bbpress :)!

    I would like to ask what plugins do you recommend to use (which should be mandatory…I mean for security and antispam) and which do you recomend to use (to make the forum interesting)…? I would like to allow users to upload pictures and files to articles and pictures to their profiles! And how to properly activate the plugins!

    Thank you!

    Niks

Viewing 25 results - 22,226 through 22,250 (of 32,468 total)
Skip to toolbar