Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,776 through 16,800 (of 32,519 total)
  • Author
    Search Results
  • #111811
    Rodrigo
    Participant

    I was afraid of that :-)

    Isn’t there a place/file where I could replace the string “translatable” direct on the code?

    Even if I need to do this every time plugin updates itself, I guess it’s easier than install and generate a new translating file…

    []’s!

    #111815

    In reply to: Son of a…

    Happens to the best of us. :)

    #42213
    gplana
    Participant

    Hi.

    I have installed bbPress on my WordPress and I’m trying to personalize it.

    I have already personalized the forum page (where list of topics appear) by editing file wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/bbpress/loop-single-topic.php and it worked well.

    However, I can’t personalize the topic detail’s page. I thing the entry point here is wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/single_topic.php so I added some html code in there but it doesn’t appear (even on the html code that navigator gets) when clicking on a title on the topic.

    I’m stuck. Can anyone give me a clue ?

    Thank you.

    #107402
    drsim
    Member

    can i use the reply short code in the place of wordpress comment ? i am running bbpress as plugin.

    thanks

    #42200
    Baichi
    Participant

    Is it possible to find out where certain shortcode is in the actual bbpress code? In particular I”m thinking the code for bbp-topic-index.

    The styling must be in the a file somewhere yeah? So why not have some sort of file map or layout so people could get in and play with it a little at their own peril?

    #82858
    webgraf
    Member

    Is there any reason why this code (from Milan Dinic) does not work for me on apcahe 2, and php5.x?

    #111780
    gplana
    Participant

    Hi again, John.

    I’m answering myself :)

    I followed your clue and found this link: https://codex.wordpress.org/Taxonomies which explains very well what to do for creating a ‘forum_categories’ taxonomy.

    Then I think I can just call bb_has_topics from my template with this parameter:

    array(‘forum_categories’ =>

    array(‘searched_category1’, ‘searched_category2, ….)

    )

    I will try and let you know.

    Thanks a lot !!

    #42174

    bbp_check_user_edit() appears to use the following condition:

    if ( !is_user_logged_in() || ( is_multisite() && !current_user_can( ‘manage_network_users’ ) && bbp_is_user_home() && !apply_filters( ‘enable_edit_any_user_configuration’, true ) ) || !current_user_can( ‘edit_user’, bbp_get_displayed_user_id() ) ) {

    The key portion of that being:

    ( is_multisite() && !current_user_can( ‘manage_network_users’ ) && bbp_is_user_home() && !apply_filters( ‘enable_edit_any_user_configuration’, true ) )

    This appears to be written intending to disable the ability for site admins on a network to edit users. However the code here does not seam to do any tests for what the user id is and who’s currently logged in.

    This has the unwanted effect of removing the ability for a normal non-superadmin user to edit their own profile because this code activates when multisite is enabled and doesn’t take the fact they are trying to edit their own profile into account.

    #110503
    aravoth
    Participant

    Search BBpress plugin is not functioning now, I am using the latest version of 2.1, the error message I get is…

    Fatal error: Call to undefined method stdClass::have_posts() in wp-content/plugins/bbpress/bbp-includes/bbp-topic-template.php on line 308

    Line 308 of bbp-topic-template.php looks like..

    function bbp_topics() {
    global $bbp;

    // Put into variable to check against next
    $have_posts = $bbp->topic_query->have_posts();

    // Reset the post data when finished
    if ( empty( $have_posts ) )
    wp_reset_postdata();

    return $have_posts;
    }

    Not sure what the problem is here…

    #111768

    Anything is possible, but it would need to be built; it does not exist in bbPress currently. :)

    #42159
    maryjan
    Member

    I have one portal with 6 subdomains. All in wordpress multisite network. I have also install buddypress and bbpress all in the newest versions.

    I want to have only one forum on main site where i will have forums for subdomains blogs. These forums i can create manualy.

    The issue is.

    How can i get the latest topics from each forum from main site on subdomain blog ?

    Do I need to get it from databese or how ?

    Please help me :)

    ebiznet88
    Member

    Any replies from the mods or plugin creators?

    Seems only spammers are responding ;)

    Looks like this thread and plugin has been abandoned :(

    I had high hopes for this plugin and forum but looks like I’ll have to look elsewhere. I’ve wasted enough time and effort on this!

    #111766

    Hey JJJ, glad you like the video. Feel free to include it in the codex.

    1. I’ll look at making a child theme “friendly” version of this video. I agree, it’s important for end users to know how to implement this. I was mostly providing this for developers who are creating premium themes & wanting to bundle bbPress.

    2. Good point. I totally forgot about “bbpress.php”. I’ll look into it.

    #111757
    gabekassel
    Participant

    all i see in console on all pages that seems pertinent is following. any meaning?

    Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/optccpco/public_html/wp-includes/functions.php on line 3587

    WishList Member Bug. Please file a report at WishList Products Support
    Run-time warning
    Error: Cannot modify header information - headers already sent by (output started at /home/optccpco/public_html/wp-includes/functions.php:3587)
    Location: /home/optccpco/public_html/wp-content/plugins/wishlist-member/wpm.php(35) : eval()'d code(3) : eval()'d code line number 148

    Warning: Cannot modify header information - headers already sent by (output started at /home/optccpco/public_html/wp-includes/functions.php:3587) in /home/optccpco/public_html/wp-content/plugins/wishlist-member/wpm.php(35) : eval()'d code(3) : eval()'d code on line 148

    #111765

    That’s awesome Chris! Great work! Mind if I link this video in a page in the Codex?

    When it comes time to put together round 2 of this video, I have a few suggestions on things I’d like to see included.

    1. Instead of dropping the files into the active theme, can you walk through quickly making a child theme? I bet many users are not able to hack away at the core files of their themes because they’ve purchased them just don’t have control over that code.

    2. Have you looked into dropping a ‘bbpress,php’ file into the root of the existing theme? You get less control over the actual template code, but it speeds up the process of getting the sidebar placement working in forums, topics, and the various other edit screens.

    3. Good tip on loading the JS in the footer. Probably a core patch there so no one has to do that later. :)

    That’s my only real suggestions. The video is great and does a good job at showing how easy it is to do with a little bit of investigation into the code.

    #111750

    In reply to: bbPress Codex

    It’s live!

    #42148

    Hi all, just put together a video tutorial on how to theme bbPress 2.0.

    Check it out here: http://futurewebblog.com/ultimate-bbpress-theming-guide-video/

    The timing is quite ironic seeing as the codex was released just today, so some things may have changed. If so let me know and I’ll update the video.

    #111753

    In reply to: POT file request

    You can’t, but I can. :)

    #42144

    Topic: bbPress Codex

    in forum Troubleshooting

    Testing out the new bbPress codex at http://codex.bbpress.org.

    I’ll be adding some documents and moving things around soon. Wanted to give a heads up that it’s coming and I’m working on it before officially announcing anything on the blog.

    If for some reason you’re not able to edit pages and would like to, drop me a note here and I’ll add you.

    _ck_
    Participant

    0.9 users should upgrade to (or start with) the 0.9 branch

    which was the final version of 0.9

    but 0.9.0.7 appears to simply be a copy of the final 0.9 branch

    browse https://bbpress.trac.wordpress.org/browser/branches/0.9

    zip https://bbpress.trac.wordpress.org/changeset/3730/branches/0.9?old_path=%2F&format=zip

    svn co http://svn.automattic.com/bbpress/branches/0.9/

    From what I can tell, JJJ just copied the branch over to make “0.9.0.7”

    https://bbpress.trac.wordpress.org/changeset/3517

    https://bbpress.trac.wordpress.org/changeset/3535

    https://bbpress.trac.wordpress.org/log/tags/0.9.0.7/bb-includes?rev=3535

    That’s all he did, there were no other changes, improvements or fixes.

    But there really are some fixes in the final 0.9 branch over 0.9.0.6

    There were 12 files changed from 0.9.0.6 to 0.9.0.7 (aka 0.9 branch)

    https://bbpress.trac.wordpress.org/changeset?old_path=%2Ftags%2F0.9.0.6&old=2338+&new_path=%2Ftags%2F0.9.0.7&new=3715

    bb-includes/default-filters.php (1 diff)

    bb-includes/wp-functions.php (2 diffs)

    bb-includes/pluggable.php (1 diff)

    bb-includes/functions.php (3 diffs)

    bb-includes/registration-functions.php (1 diff)

    bb-includes/template-functions.php (3 diffs)

    bb-includes/compat.php (1 diff)

    search.php (1 diff)

    bb-plugins/akismet.php (4 diffs)

    bb-admin/bb-do-counts.php (3 diffs)

    bb-admin/admin.php (1 diff)

    bb-admin/admin-functions.php (2 diffs)

    It’s hard to be 100% positive but I am pretty sure they addressed the base64 decoding bug.

    Those with 0.9.0.6 can replace just these files to upgrade to 0.9.0.7

    https://bbpress.trac.wordpress.org/changeset?format=zip&new=3715&old=2338&new_path=%2Ftags%2F0.9.0.7&old_path=%2Ftags%2F0.9.0.6

    (those running versions before 0.9.0.6 will need more files from a fuller upgrade, do not use just the above files as it will break your install)

    Everyone should still use my mini-plugin to protect bbpress and wordpress for yet-unidentified security issues. It’s better than nothing. You can even remove the header and just copy the one IF block to your bb-config.php and wp-config.php

    If 256 characters turns out to be too short of a URL restriction, some may need to raise it as high as 1024, for example in WordPress where it stupidly uses GET now to mass delete posts, which was a dumbfounding move on their part.

    <?php
    /*
    Plugin Name: Block Long/Bad Queries (for bbPress and WordPress)
    */

    if (strlen($_SERVER['REQUEST_URI'])>1024 ||
    preg_match('@(eval|base64|unescape)[^a-zA-Z0-9]@si',$_SERVER['REQUEST_URI']))
    {
    header('HTTP/1.1 414 Request-URI Too Long');
    header('Status: 414 Request-URI Too Long');
    header('Connection: Close');
    exit;
    }

    #42137
    Martin
    Participant

    Hi,

    For the sake of consistancy, I’d like to use the WP Socializer plugin to display Social Media buttons at the top of my forum Topics.

    The plugin author said this:

    “Please note that WP Socializer works in all pages or places where there the <?php the_content(); ?> function is called in the theme.

    Simply make sure that the theme you use or the page of the custom post has the above function mentioned.

    Instead, you can also use WP Socializer’s template functions also.

    Use <?php echo wp_socializer(‘template-1’); ?> anywhere in the template which is used by the custom post type.”

    Since I didn’t find reference to <?php the_content(); ?>,I’ve tried inserting it into the default theme and the single-topic.php file however the buttons fail to load.

    I’m presuming this is because bbPress actually isn’t recognising the php code reference – would this be the case?

    Any help would be appreciated.

    #111628
    Daxx
    Member

    Hi again,

    the theme author is a developer from themeforest.net, so i don’t think i can ask them to code the theme individually form me so that my forum fits in…

    Is there a documentation on how to set up the style sheet in a way that i can set up the forum that i posted above in my theme? Because right now my them doesn’t get supported for bbpress…

    Thank you John!

    #111711

    In reply to: Why bbPress sucks!

    SK
    Participant

    I understand that you could use some help with the large volume of work that bbPress generates. I also appreciate the good work that the team has already put in.

    However, bbPress is already a very good script. Some of my suggestions e.g. #1 #2 and #5 are almost completely non-technical and basically require some manual labor, which I am happy to provide.

    I beg to differ with you on documentation. You are right that technical documentation, esp. for plugin developers etc would require an understanding of the codebase. However, I am talking about end-user documentation…in moving to bbPress, that is one of the hurdles I faced. I have also noted a pattern of big concerns of prospective and new users, both here and on WordPress.org

    I think if the non-technical parts are dealt with, along with ONE technical part (migration), that would make an immense difference to the adoption of the software. And, of course, a significant number of users will generate interest among developers.

    #111710

    In reply to: Why bbPress sucks!

    Can’t change your login, sorry. It’s linked everywhere throughout the .org sites, so it will break other things if we change it.

    It’s hard if you can’t code, since the things you’re mostly emphasizing are things that need to be coded, or documentation that requires understanding the code base. It’s one of those times where there’s no shortage of opinions and ideas, but there’s a huge shortage of labor.

    #111709

    In reply to: Why bbPress sucks!

    SK
    Participant

    JJJ,

    Will create the tickets.

    Will check out #bbpress.

    Unfortunately, I can’t code, so won’t be much help on that front. But I’ll be more than happy to help with the website cleanup, end-user documentation, etc.

    Please can you change my login name to OC2PS? Thanks!

Viewing 25 results - 16,776 through 16,800 (of 32,519 total)
Skip to toolbar