Search Results for 'code'
-
AuthorSearch Results
-
May 5, 2013 at 4:32 pm #134072
Tbermudas
ParticipantPlease, I’m waiting a response to set up my site… And I can’t find anything on bbpress codex.
May 5, 2013 at 3:33 pm #134069Walid
Participantoh sorry, I forgot to mention that I unchecked the ” prefix the forum slug with forums base ”
so mine would be onlydomain.com/forum/topic/
so aside of links conflict is it okay for performance?May 5, 2013 at 2:33 pm #134067John James Jacoby
KeymasterIt’s probably not great to have
domain.com/forum/forum/foo/Think of what your community is about, and do something creative instead.
domain.com/discussion/about/foo/May 5, 2013 at 3:10 am #134057In reply to: any POLLS that will work with current versions?
Sam Rohn
Participanthmm, the other plugin i listed earlier seems to have been pulled from the wp plugin directory, authors page for that plugin is here – http://www.vinojcardoza.com/cardoza-wordpress-poll/
this poll plugin is still avail and also works fine w bbpress 2.3.1 via shortcode
https://wordpress.org/extend/plugins/wp-polls/
note that shortcodes in bbpress may create other probs as jared mentioned above, using plugins like these will allow you to specify allowed shortcodes via whitelist and exclude [bbp_login] etc
https://wordpress.org/extend/plugins/bbpress2-shortcode-whitelist/
https://wordpress.org/extend/plugins/bbpress-bbcode/
and this one will allow shortcodes by user role
https://wordpress.org/extend/plugins/gd-bbpress-tools/
sam
May 5, 2013 at 1:54 am #134055In reply to: bbpress and Skeleton Chldtheme compability?
Trollkjeft
ParticipantHi Jared, and thanks for your reply! Well, the child theme’s is supporting bbPress it seems, and function file read the following from row 73 to 93:
/*———————————————————————————–*/
/* Initialize the Options Framework
/* http://wptheming.com/options-framework-theme/
/*———————————————————————————–*/if ( !function_exists( ‘optionsframework_init’ ) ) {
define(‘OPTIONS_FRAMEWORK_URL’, PARENT_URL . ‘/admin/’);
define(‘OPTIONS_FRAMEWORK_DIRECTORY’, PARENT_DIR . ‘/admin/’);require_once (OPTIONS_FRAMEWORK_DIRECTORY . ‘options-framework.php’);
}
if ( class_exists( ‘jigoshop’ ) ) {
require_once (PARENT_DIR . ‘/jigoshop_functions.php’);
}if ( class_exists( ‘bbPress’ ) ) {
require_once (PARENT_DIR . ‘/bbpress_functions.php’);
}require_once (PARENT_DIR . ‘/shortcodes.php’);
The strange thing is that this problem appeared after using the childtheme (unmodified) for a while. The first week it rolled just s expected.
Hmm…
May 4, 2013 at 6:43 pm #134047In reply to: bbpress and Skeleton Chldtheme compability?
Jared Atchison
MemberIt sounds like your child theme is trying to load
bbpress_functions.phpwhich doesn’t exist.Go to your child theme’s
functions.phpfile and comment out line 89 which is portably the culprit.Unless your theme was specifically designed to support bbPress (which honestly, most themes are not) it shouldn’t be trying to include said file so you can comment it out.
May 4, 2013 at 4:31 pm #134040In reply to: No Register / Menu options displayed
Jared Atchison
MemberLook into the bbPress shortcodes that are available.
May 3, 2013 at 5:32 pm #134014In reply to: ASCII characters in email notifications
redkite
ParticipantAck – that’s not right. Here’s what it looks like in the email:
<p>Hello, this is a reply to the test.</p>I’m using the latest versions of both WordPress and bbPress.
May 3, 2013 at 4:41 pm #134008Topic: TinyMCE editor doesn't edit so well…
in forum TroubleshootingTed Thompson
ParticipantI’ve set things up so that you get the regular TinyMCE editor for making posts, and for MAKING posts it works great, but when you attempt to edit the post you get the HTML back in it’s “sanitized” form.
By which I mean (JIC I’m using the wrong term) you get ‘Test‘ rather then seeing Test as you’d expect in the text box.
The code comes back the & l t ; and & g t ; rather then the < and >.
May 3, 2013 at 1:20 pm #134004In reply to: Display Location User Meta below User Role
Robin W
ModeratorKate t
Thanks for posting this, saved me hours of trying to work out which file I needed to change, and how to code it.
For those that want to add fields to their users, as well as Kate’s Meta pro, the following link shows how to add and use custom field, and the combination of these two made it quick and simple
I also added the ability within BBpress for the user to change their location within the built in profile amend by changing Form-user-edit.php (located in web/wp-content/plugins/bbpress/templates/default/bbpress
The following was added after line 125
<?php bbp_edit_user_display_name(); ?>
BBpress version 2.3.1<div> <label for="town"><?php _e( 'Town', 'bbpress' ); ?></label> <input type="text" name="town" id="town" value="<?php echo esc_attr( bbp_get_displayed_user_field( 'town' ) ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" /> </div>May 3, 2013 at 11:00 am #134000In reply to: Where to adjust 'Forums' page CSS?
ZachMatthews
ParticipantAll right, and I am now making progress.
I made a complete copy of page.php within the /wp-content/themes/pinboard/ directory. I then created a blank file and titled it “forums.php” (with an ‘s’ on forums). I copied the complete text of the page.php file into the forums.php file and started tweaking.
This is the code I have so far:
<?php get_header(); ?> <div id="container"> <section id="content" <?php pinboard_content_class(); ?>> <?php if( have_posts() ) : the_post(); ?> <article class="onecol" id="post-<?php the_ID(); ?>"> <div class="entry" > <header class="entry-header"> <<?php pinboard_title_tag( 'post' ); ?> class="entry-title"><?php the_title(); ?></<?php pinboard_title_tag( 'post' ); ?>> </header><!-- .entry-header --> <div class="onecol"> <?php the_content(); ?> <div class="clear"></div> </div><!-- .entry-content --> <?php wp_link_pages( array( 'before' => '<footer class="entry-utility"><p class="post-pagination">' . __( 'Pages:', 'pinboard' ), 'after' => '</p></footer><!-- .entry-utility -->' ) ); ?> </div><!-- .entry --> <?php comments_template(); ?> </article><!-- .post --> <?php else : ?> <?php pinboard_404(); ?> <?php endif; ?> </section><!-- #content --> <?php if( ( 'no-sidebars' != pinboard_get_option( 'layout' ) ) && ( 'full-width' != pinboard_get_option( 'layout' ) ) ) : ?> <?php get_sidebar(); ?> <?php endif; ?> </div><!-- #container --> <?php get_footer(); ?>That spreads the forums page out to the appropriate onecolumn width and also completely fixes the profile page. It looks like the entry headers are being called from another php file, so I need to do some more tweaks, but here’s the result as is:
http://www.itinerantangler.com/blog/podcasts/boards/
If I can get it fully tweaked up I’ll post how here. I know others were looking to do this.
May 3, 2013 at 10:25 am #133998In reply to: Where to adjust 'Forums' page CSS?
ZachMatthews
ParticipantThanks for the replies guys. Jared no it does not. The theme is pretty popular – Pinboard. I am seeing other Pinboard users with the same issue, too.
What I have done is followed the instructions here to carve out a separate forums.php page which is working as intended and rendering the bbPress plugin separate from the rest of the site.
That is allowing me to tweak the code for just this one section, but I haven’t worked out how to force it over to the .onecol layout yet. Worse, it looks like this layout issue persists through various sub-parts of the forum software, such as profile pages.
May 2, 2013 at 11:53 pm #133994In reply to: Force all users to be subscribed to all topics
Jared Atchison
MemberThat shouldn’t go in bbPress. Never modify the plugin, everything gets lost when you update.
It should go in your theme’s
functions.phpfile.May 2, 2013 at 11:42 pm #133990Topic: Different moderators for each forum?
in forum Installationweb2010
ParticipantI am creating forums where a specific user [plus me being the site administrator] will be the only moderator per forum, not all forums. How do I do this?
I have installed:
WP 3.51
Members plugin
bbpress
bbPress2 BBCode
bbPress WP TweaksThank you
May 2, 2013 at 8:57 pm #133985deboerdave
ParticipantWorkaround in place:
i am using the “Redirection” plugin as a work around for now.
The broken “forum” will go to the top of the forums regardless of where you are at
and am making a new page to use the latest topics shortcode in to direct the broken “topic” link to (so it at least has some sense in where it brings the user to).would rather remove these lines though.
May 2, 2013 at 4:16 pm #133980In reply to: Force all users to be subscribed to all topics
NewSha
ParticipantThank you for your reply John!
Excuse me my stupidity, but I don’t really get how to implement this code.
Could you explain to which file in “wp-content/plugins/bbpress” should I add this piece of code?
Should I download any extra plugins?
Thanks!May 2, 2013 at 7:10 am #133970Topic: lost permission for admin
in forum InstallationSachin Mishra
ParticipantHi,
I am using DAP on my website. I tried to install bbpress 2.3.1 along-with DAP. As I installed bbpress, it takes me to an error page saying “You don’t have permissions to access this page”. Though I logged in as superadmin. I tried deactivating all my plugins. I checked the htaccess file as well but there is only the default code for permalinks. But nothing is working.
Any suggestions?
Thanks,
SachinMay 2, 2013 at 5:41 am #133969In reply to: HTML doesn't render when copied and pasted
Tbermudas
ParticipantHello
I have the same problem also with the default theme. @johnjamesjacoby you can see an example here:
http://triangulodelasbermudas.net/editor/forums/topic/prueba-de-paste/
I have detailed in the replies the version of bbpress and you can see the result when copy from any web and paste to publish. The same problem when you apply any format like bold, italic…
The reply created with bbpress 2.3.1 is with the visual editor activated via adding the code to theme functions.php:
function bbp_enable_visual_editor( $args = array() ) { $args['tinymce'] = true; return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );With bbpress 2.2.4 all works fine.
May 2, 2013 at 4:39 am #133968Topic: User info for bbPress Search Widget plugin updated to v2.0.0
in forum PluginsDavid Decker
ParticipantImportant Upgrade Notice: Version 2.0.0 only for bbPress 2.3 or higher!
Download the plugin from here: http://wordpress.org/extend/plugins/bbpress-search-widget/
Version 2.0.0 of this plugin was released recently, and it has the requirement of bbPress 2.3 or higher in order to work! That’s because bbPress 2.3+ comes with built-in search functionality.
My plugin now builds on top of that and this brings the end to theme & template issues for the search results, finally!
The plugin’s widget is now like an extended version of the regular search widget – you get up to 13 options for the widget and/ or search form – which are really cool, not only for support forums πAlso, now there’s an additional SHORTCODE with a bbPress search form! You can add this Shortcode anywhere Shortcodes are supported. See FAQ for parameters and usage examples.
Further, a new feature I am really, really proud of, is a new Widgetized Content Area for “Not found” forum search results. This means you are not shown this lame & tiny “Oh bother…” message any longer but can customize this whole page via widgets! How cool is that? — This is optional! If this additional widget area has active widgets placed in it then it shows them on the frontend, if the area is empty, bbPress default behavior is displayd.
I hope you like the refactoring and the new features.
If you didn’t upgraded yet to bbPress 2.3+ you really should consider it’s worth it!
Thank you all users for using my plugin, for testing it, for all feedback! You guys rock!
–Dave πMay 1, 2013 at 10:44 pm #133959In reply to: Topics Disappeared
John James Jacoby
KeymasterSounds pretty strange. First things I’d do:
- Check which accounts might have moderator/super admin access
- Check trash/spam
- Check access logs, see if someone removed them</lill of>
All of bbPress’s trash/delete actions perform capability checks against the currently logged in user, so it’s impossible for an unauthorized user account to delete content inside of WordPress.
It’s also possible someone deleted all of the forum content without your knowledge, using the “Reset Forum” tool under
Admin > Tools > Forums > Reset ForumMay 1, 2013 at 9:59 pm #133955In reply to: HTML doesn't render when copied and pasted
Nate
ParticipantJared,
Here’s an example: I just ran a bunch of test posts on a private forum, and they all parsed fine, with two exceptions.First, the blockquote function isn’t working. It moves it forward in the Visual editor, but doesn’t parse at all.
Second, I decided to create a bulletted list, and this was the result.
<span style=βline-height: 13px;β>slkdfjsdklajf</span>
(bullet) sdafkaldjfklsad
(bullet) sdafkasldfsjdaSo two of the three bullets parsed, but in the top one, it didn’t parse and the code itself surfaces instead.
May 1, 2013 at 3:33 pm #133943In reply to: HTML doesn't render when copied and pasted
Jared Atchison
MemberWhat is the exact code?
May 1, 2013 at 3:32 pm #133942In reply to: HTML doesn't render when copied and pasted
Nate
ParticipantI need it to parse and it isn’t parsing (it will work intermittently, but when it does, if you go in to edit, it only displays the code block). Extremely frustrating and new to the latest update .
May 1, 2013 at 3:07 pm #133940In reply to: HTML doesn't render when copied and pasted
Jared Atchison
MemberI’m confused. Are you posting HTML that you want to _parse_ or are you posting HTML that you want in a code block like:
<html> <title>Howdy!</title> </html>May 1, 2013 at 3:05 pm #133939In reply to: Yet another visual editor problem/question
Jared Atchison
MemberI’d make sure your theme (or a plugin) isn’t disabling
wpautop -
AuthorSearch Results