Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,351 through 16,375 (of 32,519 total)
  • Author
    Search Results
  • #112980

    Time to dig in the code and look around. The /bbp-includes/bbp-template* files are a good place to start. :)

    bbPress’s template logic works almost identically to the way WordPress’s works, it just needs to do all the same things that WordPress does for specialized content. Just like WordPress has queries and conditions for posts, pages, categories, and tags, bbPress has them for forums, topics, replies, users, topic views, and front end posting and editing.

    In many ways, bbPress feels more complex because it is more complex. But, I can assure you, it’s built to the same standard and uses the same conventions as WordPress does.

    #44118
    jaredvd
    Member

    I’ve installed bbPress on my wordpress-buddypress site.

    The forum base is: Forums

    when I install just bbPress, and use this as a base, I can navigate to http://www.url.com/forums and it displays the forums properly

    I also would like to add it to my navigation. I add a page titled “Forums” at http://www.url.com/forums and add it to my navigation menu list.

    then when I navigate to this page, it displays it as a default buddypress page, without the forums, it highlights it in my menu when it is the current page.

    I then add the shortcode: [bbp-forum-index] to the page.

    It still shows up in my navigation, and goes to the correct page when clicked, which now shows the bbPress forums. However it now does not highlight the “Forums” tab when it is on the “Forums” page.

    Is there an easier way to associate bbPress’s “Forums” with WordPress’s “Forums” so that it will display properly in the navigation menu?

    Thanks.

    Also when on my “Forums” page, the breadcrumb reads “homepage title>forums” I would like it to ready “Blog title>forums”. Any ideas how to do this?

    Edit: Turns out the “Forums” page only works properly in the navigation as soon as bbPress is deactivated. With bbPress activated, the “Forums” item in the navigation is not highlighted when the page is being viewed. Shortcode in or not.

    Edit: I’ve fixed the problem by making a custom template which adds the shortcode via <?php echo do_shortcode(“[bbp-forum-index]“); ?>

    Any ideas on the base slug modification?

    Ben Hayes
    Member

    Ah OK, I think I see that you have implemented something like this in version 2.1 :)

    I just tried to install the latest 2.1 beta version but I got an error from WP saying “Could not install this plugin as it has an invalid header” :(

    #112978
    Ben Hayes
    Member

    As far as I can see, all the BBP pages are output from the template page.php in your main WP theme. I assume there is some kind of template hierarchy we can use to override this (so we can have a specific template for ‘profile’ or ‘single topic’ etc).

    I agree it is all pretty confusing to me too ;)

    #44100

    Topic: HTML Code

    in forum Troubleshooting
    jonrcoulter
    Member

    I have a forum where HTML code is often posted, but due to the restrictions other than admin, customers HTML gets stripped even if they put it in a code block.

    Is there a way to allow all HTML code through for any users?

    #44085
    mmraeder
    Member

    Hi,

    being less than a novice with code, I’ve relied on setting up my WP / bbPress site by using plugins. I’ve some experience with css styles, so I’ve tweaked some of the layout to my liking. My problem is that I can’t seem to find how to style the sub-forums list.

    My forum has a hierarchy with 3 levels of forums, and I’d like to only see one level at a time when viewing the main forum page, and the sub-forum pages. Alternatively, the forum overview should be more like it looks from the back-end.

    I’d really wish the plugin-interface would let us tweak some this functionality. Like when creating an index page for the forums using [bbp-forum-index], one could use something like [bbp-forum-index subforums=hide]

    Or have readily assigned css-classes for the sub-forums list to tweak – I haven’t been able to find them, at least :-O

    I would really like to avoid going into the php-code as I unfortunately have no understanding of this. I’ve set up the forums using the 2.1 beta as it almost worked 100% for me, except for this little trick…

    Thanks for any advice and help!

    #44074
    #112884

    Right now it can’t be done without creating a custom theme. There is a ticket in trac though to have this option in future versions since it seems to be a fairly regular request :)

    #112900
    macauley86
    Member

    Hey, no problem. thank you for coming to my rescue :-)

    Yes, I did create a forum

    http://www.homeschoolagora.com/forums/

    The forum page shows up, but it’s treated like a blog page

    http://www.homeschoolagora.com/forums/forum/homeschool-legal-requirements/

    and puts the blog widgets in the sidebar instead of the bbPress login and forum-related widgets.

    I didn’t even have to create a Forums page in WordPress. The moment I installed bbPress, it created its own forums page, even though it did not appear in the navigation.

    Actually, when I do create a forums page in wordpress, it sort of takes over the bbPress-created one and shows nothing on the page. Only when I delete, does the bbPress forums page come back.

    That is why I’m not sure if I’m missing a step or two.

    I just installed the bbPress plugin from within WordPress and activated it, then created a forum, and put a few bbpress widgets in the bbpress sidebar.

    #112899

    Macauley86 – did you actually create a Forum or two in the Forums tab in WordPress? Nothing will show up till you do.

    Sorry in advance if I am oversimplifying your problem. :-)

    lmoon
    Member

    Hello,

    Can you please point me in the right direction to be able to delete the numbers on the forums which are in brackets?

    There are bot on all forums in my site, only some. They are on this page on the top forums http://lifeafterlondon.com/forums-2/

    Many thanks. :-)

    #112680

    What’s your URL? I want to see what you are talking about :)

    I think I’m having the same problem.

    The strange thing is that it *was* working up until this morning. In our case, we moved some folders around – we had an old folder of BBPress and it’s possible when we archived it things went wacky. There’s this in the bbpress.php file:

    /**

    * Note to Plugin and Theme authors:

    *

    * Do not directly reference the variables below in your code. Their names

    * and locations in the bbPress class are subject to change at any time.

    *

    * Most of them have reference functions located in bbp-includes. The ones

    * that don’t can be accessed via their respective WordPress API’s.

    */

    which might mean some strange paths were written into the core files. We deleted, and started again. I even went into the wp database to delete all the forums and topics we had made… no luck. A fresh install still turns up a blank page which makes me think there could be another old reference somewhere in the database interfering with things.

    Either that, or it’s some permalink voodoo.

    O mighty BBpress lords (John Jacoby?) I beseech you…. any advice for this dilemma?

    mike-acs-it
    Member

    I must be having a weird issue as I have searched and did not find anyone who posted anything specifically like I am experiencing.

    I have tried integrating and doing the manual install of BBPress in my WP installation in the plugins directory, and quite honestly I do not like it very much – mainly because I would like the forum theme to be different than my main site theme and did not see any easy way to do this.

    I would like the deep integration happening; however, want to install it manually.

    So, I downloaded the .zip file ->Extracted Files->renamed to forum->FTP up to root of the site that has the WP install.

    Then, when I navigate to mysite.com/forum, nothing happens. I get just a blank screen. This happens across all browsers, no source code when checked and my php errors are set to display and I get none.

    Checked file permissions and they are correct.

    I have deleted and retried the entire process and still no luck. Any ideas on what might be going on here? Thanks!

    Mike

    glitsch
    Member

    By the way: Why I can’t edit my posts here?

    Solution for me:

    When I disable the: “Prefix your forum area with the Forum Base slug (Recommended)” from the Settings/Forum and (!) my forum slug has got the same name as the forum on this setting page, than it works for me. Login => correct forum page url for example… kind of strange. :-|

    But how can I make the url a bit nicer?

    glitsch
    Member

    push. no one an idea for solve this problem? Thanks! :-)

    #44012
    EntrepreNerd
    Member

    When ever I try and post a URL, such as – http://www.youtube.com/watch?v=RJC28DUQcZs&feature=g-vrec&context=G2026267RVAAAAAAAABg – I get the following error.


    Forbidden

    You do not have permission to access this document.

    Web Server at crankyoldmen.com


    feel free to register an account at http://www.CrankyOldMen.com and test it out. I have tried 3 accounts so far and they all do the same thing.

    Things I have tried already:

    – turn off all non-core plugins

    – switch to default theme

    – sign in and post with accounts of varying privileges

    – tried posting from my Android Phone and Tablet

    #112872
    arturex
    Member

    thank you acctually i do have some ideas to contribute , is there a wish list topic already where I can say , or should i just create a new topic for it?.

    But going back to the shortcode thing, i am not a programer but is it dificult to create or is out there a code in php instead of the shortcode where i can call a fixed number of topics, and a way to call also an specific number of the last replies just like the way you have it in the home of bbpress.org??

    #113002

    In reply to: Modifying colors

    mizu no oto
    Member

    Thank you. I was able to change the color of one box, now yellow,

    using the following code.

    #content div.bbp-template-notice.info {

    background-color: #FFFFEE;

    border-color: #FFFFEE;

    }

    But I can’t figure out the coding using Firebug for . . .

    Gray topic box color . . .

    http://participatorydemocracy.ca/forums/forum/test-forum

    Gray author/post box color . . .

    http://participatorydemocracy.ca/forums/topic/what-sustains-a-democracy

    Also I am unable to double-space between paragraphs as the bbpress forum does.

    Thanks for your suggestions and help . . .

    #113026

    In reply to: Cool 2.1 features

    Martin
    Participant

    Cool.

    Do you know whether it’ll be possible to inject other code into Topics and/or Replies which other Custom Post Types allow but not yet bbPress?

    This is like Advertising or Social Media icons.

    As an example, I have the WP Socializer plugin installed for Social Sharing. When questioned about it working, the author replied with:

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

    This seems to be the case for any other Social plugin so I’m guessing bbPress post types do not have this included.

    Further, I’m using Simple Ads Manager for injecting advertising space as well as other stuff. Works fine by picking a Custom Post Type and bbPress Topics and Replies show up, except nothing is displayed so I presume these aren’t following Custom Post Type convention, in some way either.

    Any ideas on these things?

    #112952
    SK
    Participant

    I understand that technically it’s all the same in that they have their user roles and can’t access any more functionality than intended for them.

    It’s more of a UI and face-of-the-site issue…

    Regarding the plugins, I do hope someone will take a crack at them soon :-)

    #108807

    Nope, not just you :)

    #112794

    You’ve fixed this, marking resolved :)

    #112993

    Right now there are no filters in place so without creating a new theme there isn’t much you can do.

    However, if you DID create a new theme, you could change “Freshness” to whatever you want.

    For what it’s worth I agree with you – IMO there should eventually be a filter in place where you can chance that without having to create a new theme :)

    #108250

    Closing since this is an old topic. If you encounter this issue feel free to create a new topic :)

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