Search Results for 'code'
-
AuthorSearch Results
-
May 4, 2013 at 4:31 pm #134040
In 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
wpautopMay 1, 2013 at 8:41 am #133925In reply to: HTML doesn't render when copied and pasted
Nate
ParticipantAnd yet ANOTHER problem: If you go in to EDIT a post, the edit box itself only shows the code you posted, and not the rendered HTML.
May 1, 2013 at 8:39 am #133924In reply to: HTML doesn't render when copied and pasted
Nate
ParticipantTo clarify: The post I just made wasn’t a copy and paste. I simply used the toolbar to format my post, and it just displays the code on the following page.
May 1, 2013 at 8:38 am #133923In reply to: HTML doesn't render when copied and pasted
Nate
ParticipantI’m the keymaster but its affecting everyone. And it’s your traditional HTML, nothing fancy. A few span codes, but nothing is rendering at all.
In fact, and probably an even bigger problem: I just posted to the site from the VISUAL tab, and the resulting post was pure code! This has only started happening since switching to 2.3.1, and I’m also using your new plugin.
May 1, 2013 at 1:30 am #133907In reply to: HTML doesn't render when copied and pasted
Jared Atchison
MemberWhat user role are you? What HTML are you posting? Are you putting this code int he visual tab or the text tab (pre 2.3.1)?
April 30, 2013 at 3:18 pm #133889In reply to: bbPress 2.3.1 now available!
Jared Atchison
MemberPlugin that will add back the visual tab to the editor: bbPress Enable TinyMCE Visual Tab
No code required. Just activate and you’re done.
April 30, 2013 at 1:36 pm #133883In reply to: Where to adjust 'Forums' page CSS?
Jared Atchison
MemberCopy:
wp-content/plugins/bbpress/templates/default/css/bbpress.cssto:
wp-content/themes/[YOUR-THEME]/css/bbpress.cssAnd that’s all it takes π
bbPress will auto-detect the CSS file in your theme and use that instead of it’s own.
-
AuthorSearch Results