Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,451 through 16,475 (of 32,581 total)
  • Author
    Search Results
  • #43942
    MTPrower
    Member

    I have WordPress with bbPress 2.0 installed as a plugin. I’m looking for some basic functionality:

    1. The ability to upload an avatar from the front-end, so the WordPress back-end can remain hidden

    2. Topic and forums icons that can change depending on whether the user has read the topic(s) yet

    3. Signature and custom bbcode support.

    I can’t seem to be able to add any real functionality to bbPress simply because bbPress isn’t the stand-alone version. There is no page to activate bbPress plugins that I downloaded, so what do I do? Without plugins, bbPress is nearly useles…

    Hello,

    I’m using the bbPress Forum list widget and [bbp-forum-index] Shortcode.

    I’ve changed these lines to list by title:

    wp-content/plugins/bbpress/bbp-includes/bbp-forum-template.php

    Line #88

    ‘orderby’ => ‘menu_order’,

    changed for:

    ‘orderby’ => ‘title’,

    wp-content/plugins/bbpress/bbp-includes/bbp-core-widgets.php

    Line #387

    ‘orderby’ => ‘menu_order’,

    changed for:

    ‘orderby’ => ‘title’,

    https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

    Pairmybeer
    Member

    here is the complete error:

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/content/07/9148507/html/wp-content/plugins/bbpress/bbp-includes/bbp-common-template.php on line 123

    Pairmybeer
    Member

    Created page – support – and assigned it as the forum base. Then added the short codes:

    [bbp-forum-index]

    [bbp-single-forum id=$forum_id]

    [bbp-topic-index]

    [bbp-topic-form]

    [bbp-single-topic id=$topic_id]

    [bbp-topic-tags]

    And get a fatal error when trying to view page http://blog.webactivedirectory.com/support/

    Created a new page customer-support with the same short code and renders exactly as planned. http://blog.webactivedirectory.com/customer-forums/

    Switch the forum base to “customer-support” on the settings page and that page has fatal error and support page renders correctly.

    I played with the short codes and pages do not get fatal error when only using:

    [bbp-forum-index]

    [bbp-topic-index]

    But the page does not render correctly.

    Am I missing something completely?

    #112917

    You’re wrong. :) They are most certainly related. Most likely that your install thinks it lives in a different directory, .htaccess rules, rewrite rules, or something similar.

    #112882
    Venkat84
    Member

    Thank You Jaredatch, So nice to hear that :)

    Your feedback is appreciated. It’s not new information, though – and it doesn’t really help us do anything differently to improve your experience here.

    Making bbPress easier to use has been the primary goal of its past 2 years of development. The number one tag on these forums is ‘integration’ and it’s because a majority of users want bbPress to work seamlessly with WordPress. Given the constraints of WordPress’s templating engine, we’ve done a great job with bbPress 2+.

    Had you tried to use bbPress in 2008, you probably would have completely written it off; you *had to* go into the code and make edits to configuration files, it was part of the connection process and there was no turn-key solution.

    Right now, as long as your theme is behaving:

    * Install bbPress

    * Make some forums

    * Go to yoursite.com/forums/

    * You now, have forums

    * Optionally make login/register/lost-password pages, configure widgets, etc…

    If you have BuddyPress installed, if your theme isn’t playing nicely, if you have a page with the slug ‘forums’ already for some reason, if you have anything more complicated you have to go hunting around for solutions. bbPress can’t predict every situation, it can only work with WordPress core files. If you’re experiencing one of these complications, it’s unique to a small subset of users and you (or someone you hire/know) is the expert in your installation.

    You say you don’t want to look at code, and you’re not a developer; that’s okay. The problem is that bbPress isn’t going to be exactly what everyone wants, and why plugins exist. If you decide to dive into the code, it’s been painstakingly documented to read like a book – top down, left to right – with hints, direction, and pointers to connect things together in plain English.

    In terms of staff on these forums, we are a volunteer staff of mostly Jared and myself with others that come and go as they can. When a topic goes unanswered, it’s because we just don’t have the time to take away from other things to help that day. Being disappointed is understandable; the only way that improves is by becoming familiar with the project and committing to time towards it.

    bbPress, the project, has been around since 2005. bbPress, the plugin, since 2011. It’s born again, and new. No better time to get in on the ground floor of something awesome.

    Sorry you’re unhappy. In the future it would be great to have more specific things we can address. General happiness isn’t really what we supply here. :)

    #112658
    Havardo
    Member

    Thanks jaredatch,

    Yep, I’m using the WP 2.x plugin.

    It does work as long as you don’t use categories. The shortcodes will only list the categories, but not the actual forums.

    I ditched categories for the time being, but it does look like a bug.

    #43909
    #43900
    Venkat84
    Member

    Hello,

    Install 2.1 version on few days back and it works good and used my custom theme without any issues.

    But when i saw the Titles in the forums

    its outputs before like…

    Forums – site name

    Forum: (forum name) – site name

    Topic: (topic name) – site name

    1) So what i want is move them to right or complete remove the later two, can some one point what to edit to achieve this.

    2) And want the members to img code so image displays when topic is submitted, how to achieve this, what should i set default user to?

    3) So if i use the admin account to post in forums it uses admin username directly in url, so how to hide this out… so as not to give out the admin username

    mr_pilot
    Member

    Thanks John!

    You´re right, that´s pretty deep in the core. Though from a SEO perspective it´s also a nightmare to start a project with URLs you have to rewrite later ;) – Let me know if I can contribute in this special case, the project itsels made huge steps forward – thanks for your work.

    #112878

    Don’t worry about defaults.bb-htaccess.php. It’s part of the version of bbPress that you’re using.

    No idea what your ‘data folder’ is, so can’t say for sure if it’s correct or not.

    And no, I can’t really just fix your problem for you. :) You’ll have to do some digging. Searching for something like “apache htaccess redirect” should be all you need to do.

    #112815

    In reply to: Where is Dashboard?

    I don’t think it’s the theme you’re worried about, I think it’s the content. Which, won’t show up until there is some, just like your blog. :)

    Make some forums, then go to yoursite.com/forums. There they are.

    #112877
    kevindp
    Member

    Thanks, John! Will you provide instructions on changing just that page with an edit to htaccess? My googling is not working out.

    I’ve got 2 htaccess files, both in my /public directory:

    defaults.bb-htaccess.php

    in the bbpress includes folder

    .htaccess

    in a data folder

    Thanks for your help!

    mr_pilot,

    The BuddyPress permalink structure is hardcoded to look for specific criteria in specific positions. It doesn’t really scale well, and we’re going to change it in future versions to use proper rewrite rules, but until then it would be a huge nightmare to change; even then, your changes would end up broken when we make improvements to the API.

    The rewrite rules themselves get created in register_post_type() in /wp-includes/post.php. Lots of complex logic in there, and I doubt there are many better examples on how to write your own rewrite rules completely from scratch than inside that function.

    #112787

    However you did it originally. You’ll have an easier time running it directly from a Subversion checkout. If you’re unfamiliar, a Google search should return tons of good results on how to do this. Makes the life of running bleeding edge code much easier.

    #112871

    Shortcodes do non currently accept any arguments at all. Would not be difficult to do, but committing to future-safe attributes will be key.

    There’s a trac ticket for this already, so it’s on our radar to do in a future release. If it’s something that you need to write yourself, it’d be a great way to contribute back directly to the core project.

    #43894
    kevindp
    Member

    Thanks in advance for any help you can provide!

    I have a website built in Ruby on Rails. My site has a webpage, located at “example.com/communityboard”, that you can use to enter a separate Community area. The community area is built with bbPress.

    I want users who type in the URL “example.com/community” to be redirected to “example.com/communityboard” . It used to work this way, but for some reason, the redirect no longer works in any browser but IE.

    We accomplished this redirect by placing an index.html file in the /community folder where bbPress had been installed. The entire code for the index.html file reads

    <meta http-equiv="refresh" content="0;url=http://example.com/communityboard">

    Back when we built the site, I was told that a meta refresh redirect using an index.html file was the best option. The redirect had to address ONLY a single page (http://example.com/community) and not all of the sublevels of the community bb (which lives at http://example.com/community/index.php). Otherwise, the community bb and all of its sublevels would be redirected.

    So… my questions:

    Why is the meta refresh redirect not working anymore? How can I fix it?

    arturex
    Member

    Do the shortcodes have some how to limit the number of topics that can be shown with the [bbp-topic-index] shortcode ?, per example i have a page where i only want to show the last 5 topics not all of them.

    Thanks!!

    #43891
    imbleedin
    Member

    i cant find themes that are working with 2.0.2 version.. anyone?

    in facts, i just need to remove breadcumb, modify characters and put a rounded bg instead of the original squared (sorry for bad english guys). need one of the two :D

    mr_pilot
    Member

    Hi!

    I´m running a wordpress/buddypess/bbpress combination and I also need to change the permalink structure, in a bit different way then eleram – I´m looking for a more logic structure in all forums: example.com/forum/name-of-forum/name-of-post/

    -> replace slug “forum” by name of forum

    -> replace “topic” by name of topic

    I can customize the code, but I´m not sure where to look on.

    @John: “WordPress handles the rewrite rules for bbPress’s content types” -> where do I have to look for (bbpress´ custom post types) to adjust the permalink logic?

    Of course I will share my customization as soon a sfinished.

    Thanks!

    #112777
    arturex
    Member

    Hey Jared, just to share this with you, i finally did what i need it in the front page with a tabs plugin found at

    https://wordpress.org/extend/plugins/wordpress-post-tabs/

    and the shortcodes found at

    https://bbpress.org/forums/topic/bbpress-20-shortcodes

    you can check it out in the main page of quimbumbia dot org any comments will be apreciated..

    Thanks for the support!!

    the only thing i need to find now is a shortcode for most visited and most commented ;)

    #112795

    In reply to: Breadcrumb problem

    1. Create a WordPress page with the same slug as your forums root

    2. Add the [bbp-forum-index] shortcode to that page’s content

    3. Make this page the front page of your site

    Laughing Cat
    Participant

    I got this solution… which is probably not so clean but it works; previously I had already created a function to retrieve the full width bp avatar in wordpress, now I looked at the bbp code and filtered the function fetching the avatar in replies with that function I had previously created

    function sg_author_avatar($size) {
    global $post;
    if ( function_exists('bp_core_fetch_avatar') ) {
    echo apply_filters( 'bp_post_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $post->post_author, 'type' => 'full', 'height' => $size, 'width' => $size ) ) );
    }
    elseif ( function_exists('get_avatar') ) {
    echo get_avatar(get_the_author_meta('ID'), $size );
    }
    }

    function sg_bp2bb_author_avatar() {
    $author_avatar = sg_author_avatar('150');
    }
    add_filter('bbp_get_reply_author_avatar', 'sg_bp2bb_author_avatar')

    #43844
    johnwww
    Member

    I have a site displaying my forum on the homepage using the short codes on a page. My problem is that when you drill down to a topic the breadcrumbs display –

    home > forums > general > topic

    Home and forums are basically displaying the same thing (a list of forums) so what I need is a way to display a list of the forums on the home page without this un necessary item in the breadcrumb list.

    Can anyone help me either remove this item or suggest a better way to do this?

    Thanks

    John

Viewing 25 results - 16,451 through 16,475 (of 32,581 total)
Skip to toolbar