Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 25,251 through 25,275 (of 26,679 total)
  • Author
    Search Results
  • #58930
    _ck_
    Participant

    I’ve been studying to see if there’s anyway via plugins instead of hacking the code for both WP and BB to consolidate the common javascript routines they both use.

    Not only do they load half a dozen scripts at certain times, one of them, prototype.js is 50k in size. But they seem to be common for both.

    All we would need is choose a common script path.

    I guess it’s possible to

    remove_action(‘bb_head’, ‘bb_print_scripts’);

    and then plugin your own.

    But what kills me is bbPress doesn’t need ANY of those scripts except for thinks like deleting posts to forward correctly and the ajax actions.

    I really dislike ajax, especially when it’s used where it’s not needed.

    #58966
    _ck_
    Participant

    I posted v0.03 on my wp blog

    https://ckon.files.wordpress.com/2007/07/admin-can-post-anythingphp.doc

    (rename to *.php)

    Let me know if the allow images hack works?

    #2084
    _ck_
    Participant

    Been meaning to do this for awhile, didn’t realise how easy it was. This makes bbPress behave more like WordPress in that admin (keymasters/administrators) can post any content regardless of tag restrictions for the rest of members. This includes images, javascript, objects like flash video player, etc.

    <?php
    /*
    Plugin Name: Admin Post Anything
    Plugin URI:
    Description: allows keymaster/administrators to post any content regardless of tag restrictions
    Author: _ck_
    Author URI: http://CKon.wordpress.com
    Version: 0.02
    */

    function bb_admin_post_anything($text) {
    if (bb_current_user_can('administrate') ) {
    remove_filter( 'pre_post', 'encode_bad' );
    remove_filter( 'pre_post', 'bb_encode_bad' );
    remove_filter('pre_post', 'bb_filter_kses', 50);
    $text=addslashes($text);
    $text=bb_autop($text);
    }
    return $text;
    }
    add_filter('pre_post', 'bb_admin_post_anything',9);
    ?>

    #58851
    retrospec
    Member

    Hello,

    The fault was found and suggested to me at wordpress forum and it is due to magic quotes runtime being turned on.

    I’d strongly recommend as an interim you modify your installation instructions to state clearly that magic quotes runtime should be turned off for the software to work.

    And for any future stable/svn release you should perform a check on magic quotes and code around this issue.

    Neil.

    #58919
    _ck_
    Participant

    I bet they mean like in wordpress where the cookie will be set for a year instead of a week?

    What’s the bbpress cookie default, I’ll have to go look at the code.

    I get around this problem by forcing the wp login from everywhere.

    There was another request for this feature here:

    https://bbpress.org/forums/topic/remember-me-option-at-login?replies=3

    #57841
    _ck_
    Participant

    I’ve yet to see forum software that makes it hard for members to use/post?

    My problem is not really spam but a bunch of pre-teens running around and posting massive, rapid, rabid chats with each other like it’s a chat room. bbPress completely lacks any management tools to deal with that. If you ban them, they can re-register with a different nickname in less than 30 seconds. If you ban their ip, they just use a randomizing proxy.

    On my wordpress side I have it completely programmed with stop-words, how fast each member can post and decent moderation tools. But the forum, which from the start needs those abilities the most, does not have them.

    _ck_
    Participant

    This is so simple I bet I am duplicating what someone else has already done. I am not sure why this isn’t in bbPress by default and it doesn’t even begin to address what I would consider basic moderation tools but it’s a start.

    Install and check under “content” submenu. Why the posts menu =deleted posts in bbpress’s default I have no clue.

    <?php
    /*
    Plugin Name: bbPress Recent Posts
    Plugin URI: http://bbpress.org/plugins/
    Description: shows most recent posts with (extremely limited) moderation options
    Author: _ck_
    Author URI: http://CKon.wordpress.com
    Version: 0.01
    */

    function recent_posts_admin_page() {
    if ( !bb_current_user_can('browse_deleted') ) {die(__("Now how'd you get here? And what did you think you'd being doing?"));}
    global $bbdb, $bb_posts, $bb_post, $page;
    $bb_posts=get_latest_posts(0,$page);
    $total = bb_count_last_query();
    ?>
    <h2>Recent Posts</h2>
    <ol id="the-list">
    <? bb_admin_list_posts(); ?>
    </ol>
    <?php echo get_page_number_links( $page, $total );
    }

    function recent_posts_admin_menu() {
    global $bb_submenu;
    $bb_submenu['content.php'][] = array(__('Recent Posts'), 'use_keys', 'recent_posts_admin_page');
    }
    add_action( 'bb_admin_menu_generator', 'recent_posts_admin_menu' );

    #57838
    _ck_
    Participant

    Well akismet support can be added to virtually any forum or blog software so that’s not really a claim to fame. I tried installing the moderate posts plugin but it’s not working right and preventing all posts from being displayed.

    There’s also no way to tie any kind of “bad words” list into auto-moderation, and then how do you find any list of moderated posts? Sigh. All of this is already in wordpress so it’s really strange to me it’s not in bbpress by default.

    Well I’ll stop here and won’t tie up this particular topic with this further since you can’t move individual posts to other/new topics with bbpress (another missing moderation need).

    #57836
    _ck_
    Participant

    Ah thanks Trent, I thought I saw that list weeks ago but couldn’t find it again.

    I’m still not convinced bbpress’s “selling point” is speed or management as other forums seem just as lightweight and definitely more robust. But the biggest problem on any large forum is the sheer number of people doing searches at any given time.

    BBpress kinda cheats in this regard (keeping search overhead down) as it tries to enforce tags over searches (I’m not a big believer in user submitted tags when you have a lack of quality control over your members) and it’s search feature is so poor that no one will seriously use it right now (it cannot find whole words, limit by member, limit by forum, limit by subject, etc. etc. etc.)

    To me, I thought bbpress’s benefit was WP integration and I was familiar with the functions used after months of hacking wordpress. Wasn’t convinced the wordpress forum plugins were going to keep evolving or be flexible enough.

    I guess my problem is jumping in too soon, waited a year to add a forum to let projects like this mature but it’s still a bit early. By the winter the forum I setup should be as big as technorati – it definitely needs better management features.

    The advanced moderation and spam protection features of bbPress save the WP mod team tons of time.

    What advanced moderation features? Am I missing something? You have to actually go into each topic, go to each post and manually moderate. It kinda blows me away that there’s nowhere in the bbpress admin panel to see the last 50 posts like in wordpress. I’m coding the feature for myself right now…

    #57835
    Trent Adams
    Member

    The big ones:

    Examples

    As well, wordpress.com is a huge forum as well as the wordpress MU forum is getting there. Each of the wordpress forums have 2,000+ new registrations each day. Pretty large examples.

    Trent

    #57834
    _ck_
    Participant

    Wait, there are numerous people installing bbpress as their only website program without having WP installed? Why? It’s such an early, early beta and has virtually no administration features. Any mature forum program can blow it away right now. Are they masacists or just running really tiny, micro forums?

    Just out of curiosity, what are the largest known bbpress forums, other than the wordpress site and here? I suspect the forum I’ve integrated is probably in the top 10 since it has over 100 daily active users (with 800+ registered from the wordpress config).

    #58769

    In reply to: rebuilding topics DB

    _ck_
    Participant

    BBpress has no mass search/delete feature, unlike several wordpress plugins that are available. Even the upcoming search feature that was posting on the blog doesn’t seem to have an “action” ability, just search, which doesn’t make sense, so maybe there will be more to it.

    Trying searching and deleting 50+ posts by hand, not worth it.

    Recount will only update counts, not pointers.

    I am just about finished with a new function to do this however.

    Right now it only updates the last poster id and name, the trickiest part was figuring out the proper mysql expression to grab the last item while grouping by topic_id. Took an hour of research.

    But in fact my routine could be extended further to rebuild the entire topics database from scratch if need be since all the data is in the posts and it’s just kept in the topics table for speed.

    I just find it surprising there isn’t such a routine already and I am hoping I am not duplicating efforts already done.

    statusquo
    Member

    Hi all

    Can you people help me to make a simple link that directs users back to the homepage (wordpress blog). Or direct me to a plugin that does this?

    I would prefer a Navigation menu but I with bbpress in it’s early stages yet I don’t want to be coding each time a new version is released.

    #58929
    fel64
    Member

    An integration forum does sound pretty good.

    #2075
    _ck_
    Participant

    Just wanted to share that I’d had some success with integrating some simpler wordpress plugins into bbpress by creating some functions to mimic get_settings() and update_options()

    Since bbpress fortunately uses differently named functions for the same actions, I was able to make them point to the wordpress table instead of bbpress and fetch the proper options that the plugins were calling for.

    Not sure how useful this would be to anyone else and it’s not for novices since other little tweaks are usually necessary and admin menus are definitely not supported, but it’s nice to have the integration ability.

    ps. maybe we need a separate integration sub-forum

    #2074
    mjtaryan
    Member

    I followed the detailed steps in the documentation for installation and also those for integrating with wordpress. After changing the config-sample to config.php and uploading the contents of the unzipped bb folder to a subdirectory (‘forums”) in the main word press directory I attempted to load the install.php script. I use IE7 and I tried both opening the file using the option on the File menu and also calling the file through the http protocol. In both cases all I get is a blank page. I don’t get any error messages, not even from my server. Thus, I have no clue what to look for or where to look to solve the problem. I’d appreciate some help in the detective work. Thanks.

    Mike R.

    #49556
    statusquo
    Member

    I have recently installed bbpress and then created a new directory named my-plugins, where I have also placed bbpress integration.

    The problem is whilst I can SEE (thus activate bbpress integration plugin) I can NOT see display-name.php plugin under site management. I have definitely uploaded it.

    #57451

    Ok, solved that as well :D

    Now, for my next problem. What do I type so it knows when I’m browsing a forum page? If you look at my site I have highlighted tabs for my different sections. I need the forum tab to be highlighted while in the forum and for the start tab not to be! I use is_home for the start tab

    http://www.doublepeace.se/forum

    Please help!

    statusquo
    Member

    Hi all

    I am interested in moving my forum from Punbb to bbpress as my site is powered by WordPress.

    The only converter that I could get my hands on is the phpbb converter. However I seem to be encountering errors whilst attempting to import phpbb database.

    The converters do not seem to have been updated and are stated to be compatible with the earlier 0.73 release.

    Where can I get (download) earlier releases on bbpress especially version 0.73. I intend to update to the current release as soon as I import all of my posts.

    Thanks in advance.

    #58882

    Thank you for the help! Actually I solved it just now, I had to put

    global $current_user; echo $current_user->ID;

    to get it right!

    #55233

    In reply to: Favourites

    _ck_
    Participant

    Heh, thanks for the compliment but I am completely self-trained and rather unprofessional in my code (translation: I’d make a mess)

    I just seem to have a knack at code, I learn very quickly from examples and can figure out how to apply them. Also, exhaustive hours at hacking pre-2.0 wordpress taught me a lot.

    ps. what “serious” issues – I might have a go… maybe…

    #58881
    _ck_
    Participant

    Just an untested guess on my part but what you want is something like this?

    <a href="/forum/profile.php?id=<? echo $user_ID; ?>">your profile</a>

    #58901
    _ck_
    Participant

    Yeah I’ve already hacked the core code to make it say “Track this topic in your forum favorites” to make it sound different than adding to your bookmarks which every site nags the visitors to do and so they ignore it.

    Too much hacking needed to change the term “favorites” everywhere unfortunately and it was the first thing I sadly had to touch the core for. After hacking up wordpress so much that I cannot easily upgrade it, I swore not to do that on BBpress, especially since it’s so early in alpha/beta

    It’s also going to be a problem eventually that a tracking level is not set for each “favorite”, so now they can only get every topic emailed, or none at all.

    When in doubt, study vbulletin as a model I suggest…

    #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.

Viewing 25 results - 25,251 through 25,275 (of 26,679 total)
Skip to toolbar