Search Results for 'code'
-
Search Results
-
I was searching for an option to set the max topic length to 70 instead of default 80.
Now I think I’ve found the code inside the (Core files) bbp-core-options.php but I can’t change the core files because it will be overwritten when bbPRess updates.
So how could I place a filter? inside my functions.php to do this?
Just like this? (copy-/paste)
function bbp_title_max_length( $default = '70' ) {
echo bbp_get_title_max_length( $default );
}
Hi there, first I want to say thanks for creating this, seems like a great forum plugin once you get it working.
To start, I have read the entire thread on the forum on theme compatibility; http://bbpress.org/forums/topic/bbpress-20-theme-compatibility and a few other treads and topics relating, unfortunately I am still having some problems.
I am including screen-shot links to be as clear as possible in hope for great support.
What I have done so far;
A.) I decided to go with the child theme option since I am using a custom theme that I am not the author of and prefer not to clutter that folder.
I copied all the files (except functions.php) that were inside “bbp-twentyten” (/bbpress/bbp-themes/bbp-twentyten) and put them in my “gridlocked-child” folder that I placed inside /wp-content/themes/ (next to my custom “gridlocked” theme folder)
I added the “theme name” and “template” name to the empty “style.css” in folder “gridlocked-child”. screenshot: http://grab.by/cJ7R
I put the ” add_theme_support( ‘gridlocked-child’ ); ” code in my “gridlocked” (not child) functions.php file. screenshot: http://grab.by/cJ7S
At this point, after just test creating a few forums and topics, it looks like the plugin is “functioning” like it should. I can tell that it’s using some of the styles from my main theme style.css (colors, fonts etc), the MAIN PROBLEMS that I have now is the fact that it’s not taking to my page template widths in my main theme (gridlocked), it wont use a full-page-width template (or let me pick) and the default that it is probably using, is also supposed to be full width, plus something is wrong with the padding and it snugs too tight to the page edges.Here are some screenshots to show you what I mean;
Forum home page: http://grab.by/cJ7I
Forum named MINGLE page and test topics: http://grab.by/cJ7J
I would like the forum to look like this; http://grab.by/cJ7H
and fill up the entire width of a full page, with nice padding. I achieved that preview by adding shortcode [bbp-forum-index] in the html section of a “page” picking the “full-width-template” option in my theme.
Ok, here comes the questions:
1. Did I set everything up correctly in the directories and files?
2. What files do I need to modify to tell the bbPress forum to use a full page width template? Can I copy code from my main theme “template-full-width.php” into one or more template files inside my new child theme?
2. Do I need to add code/functions into my main theme “template-full-width.php”? and if so, what kind of code? and on a scale, how easy should these edits be? (I have asked, but I am not getting any support with this from my theme support forum, otherwise great forum but they wont help with plugins, understandable)
3. How does shortcodes work? Are those simply just for placing certain parts of your forum on different pages as previews/links but not for use throughout the FULL forum?
Do you have ANY ideas on how I can solve this issue, I feel pretty lost and I am not a developer or programmer, just a stubborn, enthusiastic designer that loosing her hair about this.
I HIGHLY APPRECIATE ANY HELP WITH THIS!
Thank you!
So both bbPress and BuddyPress are now entering a new era of WordPress integration. Both plugins have become much more standardized and seamless.
Now all you need is more eyes and idle hands on the code, documentation and forums. There’s still no word of the renewed bbPress or BuddyPress in the admin panel’s “WordPress Blog” feed. The news that was once in “Other WordPress News” has since been moved far down the list where most people won’t see it.
A mention on wordpress.org could quite realistically make hundreds of thousands of WordPress users aware of these recent monumental developments. I think these plugins represent a crucial part of WordPress’ future; you ought to let the world know what’s happening on these new fronts.
Topic: All Links Broken BBpress 2.0
Every single permalink for forums give me a ‘page not found’ error. I’m using BBpress 2.0 and Buddypress 1.5 on the latest version of WP.
Any suggestions? Thanks
Topic: Calling a forum id
I’ve insert this to the loop. (showing on the homepage)
<?php if ( bbp_has_forums( array( 'posts_per_page' => 1, 'max_num_pages' => 1 ) ) ) : ?>
<?php bbp_get_template_part( 'bbpress/loop', 'forums-1' ); ?>
<?php else : ?>
This print only the first forum ID (top forum) and hides all others.
Next i would like to make this.
<?php if ( bbp_has_forums( array( 'posts_per_page' => 1, 'max_num_pages' => 1 ) ) ) : ?>
<?php bbp_get_template_part( 'bbpress/loop', 'forums-1' ); ?>
<?php else : ?>
<?php if ( bbp_has_forums( array( ‘posts_per_page’ => 1, ‘max_num_pages’ => 1 ) ) ) : ?>
<?php bbp_get_template_part( ‘bbpress/loop’, ‘forums-2’ ); ?>
<?php else : ?>
<?php if ( bbp_has_forums( array( ‘posts_per_page’ => 1, ‘max_num_pages’ => 1 ) ) ) : ?>
<?php bbp_get_template_part( ‘bbpress/loop’, ‘forums-3’ ); ?>
<?php else : ?>
Only problem it will always call the first (top) forum ID.
I need to find an $args? for calling a forum ID in each loop, this way i can say get forum ID 4 on the first loop and get forum ID 12 on the second loop.