Search Results for 'code'
-
Search Results
-
Hello everyone,
I am trying to change the tinymce toolbar for the forum (reply & topic). To do so I added this code to the form-reply.php and the same (just different context) for form-topic.php:
<?php bbp_the_content( array( 'context' => 'reply', 'media_buttons' => false, 'wpautop' => true, 'quicktags' => true, 'teeny' => false, 'tinymce' => array( 'toolbar1' => 'bold,italic,underline,strikethrough,alignleft,aligncenter,alignright,bullist,numlist,blockquote,link,unlink,forecolor,backcolor,undo,redo,removeformat' ), ) ); ?>Everything is working so far, except a small detail:
I am not able to click into the textarea/editor, so that the cursor jumps into the first line. Instead I have to click the first line, which is working.
I was able to isolte the problem, which is coming from this part of the code:
'tinymce' => array( 'toolbar1' => 'bold,italic,underline,strikethrough,alignleft,aligncenter,alignright,bullist,numlist,blockquote,link,unlink,forecolor,backcolor,undo,redo,removeformat'It also appears if I just add:
'tinymce' => trueI looks like that the syntax might be wrong, but I read a lot of guides, and in all the syntax was the same.
I also recognized, that there is a change in the source code, after I add that “tinymce” bit to the array.
After the changes the appears this code:
<p><br data-mce-bogus="1"></p>—–
What I read is, that this problem occurs when tinymce is using a <textarea> – But I don’t know how to change that textarea to a div, which is recommended.
Anyone can help me on this?
Thank you for your help in advance!
Topic: Import Hung?
I was importing from my Vbulletin 4 and it went through converting topics, then it started converting tags and hung about 12,900. Is this a known bug? What’s the best way to do this over without losing the imported content and without taking risks of missing content not being imported initially on the hang up? Any ideas why it would hang up like that? It took a pretty long time just to do the topics. It didn’t start the users yet either. You’d think it would import users first?
Side note, I don’t see any area to set up bbcodes? Is bbcode not a default feature?
I installed the GD bbPress Tools plugin and the plugin itself works great. However, when you go to edit profile so that you can edit your signature, everything is “white” and you can’t see what you have written, etc. I originally had this issue on the actual bbPress forums but I downloaded the bbPress UI settings and changed it to a dark theme. I am completely lost in codec’s and css, etc, but I would like to know what to do to change this as it is really annoying some of the people that joined our site. I’m attaching a picture of what the issue appears to be.
Wordpress Version is 4.0.1.
Theme is Falcon (Child theme of 2014 themes)
GD bbPress Tools version is 1.6Topic: Forum Dissapeared
Hello Support Forum.
I really hope that someone can help me out here – struggling..Alright so, after my last VPS bugged out, and somehow blocked me out of my wp-admin, database corrupt and so forward. (Which I’m guessing was caused by a bad plugin.)
I had a backup plugin, and now have the site up and running again at http://www.blazeplay.com
now if you locate http://www.blazeplay.com/forum there’s nothing.
The shortcode is still on the forum page, but nothing is showing – I tried disabling plugins adding new forums, but the only thing it shows is some “upload file bar”.Is there a way to troubleshoot this, and hopefully find the issue?
Thank you.
I have a child theme setup using the Child Theme Configurator plugin. I have the following in the child theme folder; style.css, function.php and bbpress.php (renamed from page.php).
I am using the WP-Englightened theme.
I copied the page.php to the child root and renamed it to bbpress.php. There doesn’t seem to be anything in that file to remove for the sidebar.
<?php get_template_part( 'content', 'before' ); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); global $do_not_duplicate; $do_not_duplicate[] = $post->ID; ?> <div <?php post_class('singlepage clearfix'); ?> id="single-page-<?php the_ID(); ?>"> <div class="entry"> <h1 class="page-title"><?php the_title(); ?></h1> <?php if ( get_post_meta( $post->ID, 'video_embed', true ) ) { $video_embed = get_post_meta( $post->ID, 'video_embed', true ); echo '<div class="post-feature-video single">'; echo '<div class="single-video">'; echo $video_embed; echo '</div>'; echo '</div>'; } ?> <?php the_content(); ?> <div style="clear:both;"></div> <?php wp_link_pages(); ?> </div> </div> <?php endwhile; endif; ?> <?php get_template_part( 'content', 'after' ); ?>I tried putting this in the style.css file based on a thread here.
.site, .site-header { max-width: 100%; } .bbpress-forums .col-2cl .main { background: none repeat-y right 0; padding-right: 0; } .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content { max-width: 100%; } .form-allowed-tags { display: none; } div.bbp-breadcrumb, div.bbp-topic-tags { font-size: inherit !important; } #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results { font-size: inherit !important; } #bbpress-forums { font-size: inherit !important; } .bbpress .hentry { margin: 0 auto 48px; max-width: 100%; } @media screen and (min-width: 1008px) { .bbpress .site-content { margin-right: 0; margin-left: 182px; } } @media screen and (min-width: 1080px) { .bbpress .site-content { margin-left: 222px; } } @media screen and (min-width: 1218px) { .bbpress .site-content .entry-content { margin-right: 0; } } @media screen and (min-width: 673px) { .bbpress .site-content { margin-right: 0; } }If I create a page and use the short code for bbpress and tell it in the page options to do full width it works fine for the main page but not for the rest of them.
The showcase page on the bbPress Codex is a bit outdated with some of the sites opting to not have a forum at all. Can you please help me out by sharing URL’s to websites using bbPress you think are worthy of being showcased. I’m looking for 5-10 sites but depending on the response, I may add more.