Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 8,251 through 8,275 (of 32,519 total)
  • Author
    Search Results
  • #164869

    In reply to: Proper Emoji Plugin

    Robkk
    Moderator

    I think you can use emoji in the latest version of WordPress.

    https://codex.wordpress.org/Emoji

    🎅 👻 👹 👺 💩 💀 👽 👾

    #164857
    Amit Kumar
    Participant

    For Comment moderation just go to comments section and click to approve.
    For word verification you can use Google capcha code in your theme templet or comments.php
    See this site, Here i add word verification in comment section.
    If you want to same this than i can fully guide You.
    http://mytechnode.com

    #164848
    SalCollaziano
    Participant

    What if you want to change two different phrases? I’m trying to play with the code and I can’t get the second phrase to work…

    Sal C.

    edit: Found it:

    Change or Translate Text on a WordPress Theme

    #164840
    killer_x10
    Participant

    I was thinking of the strip tags function, where you write something and then it removes the Tags.

    Example: [b][i]Your written code.[/b][/i]
    After clicking the Button: Your written code.

    Yes, I was thinking of that since I saw on some Forum but it’s okay, i do not need that functionality.

    #164834
    Danilo Borges
    Participant

    Amazing Robkk! It is exactly what I was looking for!

    <?php if ( get_current_user_id() == bbp_get_topic_author_id() ) : ?>
    
    			<?php bbp_get_template_part( 'form', 'reply' ); ?>
    
    		<?php elseif ( current_user_can( 'moderate' ) ) : ?>
    
    			<?php bbp_get_template_part( 'form', 'reply' ); ?>
    
    		<?php else : ?>
    
    			<div class="bbp-template-notice">
    				<p><?php _e( 'You do not have permission to reply to this topic.', 'bbpress' ); ?></p>
    			</div>
    
    		<?php endif; ?>

    Thanks a lot!

    #164557
    killer_x10
    Participant

    Hello there everyone, I have searched all over the Forum and many Sites but I had no luck finding any bbcode Editor. The only thing that I found was the “bbpress Post Toolbar” Plugin which wasn’t maintained anymore, I took the risk and tried it out. But then I found out that it was actually coded to work with HTML and as many of you already know, your participants cannot use all the HTML tags. It used some Codes used that was not allowed for a participant to use. When I was searching I came up with the Idea to edit the Toolbar so that it uses bbcode. But for WordPress to support bbcode I had to install another Plugin, “GD bbpress Tools”. Everything is working except the “Close HTML Tags”, where I really don’t know how to do it, I was hoping any of you guys could help me.

    You can download the Edited Plugin here: http://bit.ly/1KramlM

    I used 2 Plugins:
    bbpress Post Toolbar
    GD bbpress Tools

    Thank you 🙂

    #164822
    Robkk
    Moderator

    @daphnechin

    What are your permalinks structure?? Do you have a port in your url, or just a unique looking url for your site??

    Also try some troubleshooting steps listed here.

    Troubleshooting

    #164817
    Robkk
    Moderator

    @project_subdomain

    Updated the Gist again, this time and it should work like how you want.

    You will need to show the lead topic using this though.

    function custom_bbp_show_lead_topic( $show_lead ) {
      $show_lead[] = 'true';
      return $show_lead;
    }
     
    add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
    #164774
    Robkk
    Moderator

    The close tags function closed my last bbcode opening tag. You can also just close the bbcode by hitting the button again. it should show a little / that shows that it needs to be closed.

    Other than that, I explain how to use some (not all) bbcodes to the quicktags here if that helps any.

    BBCode Buttons?

    #164768
    Robkk
    Moderator

    Sorry for the late reply, but I do not think there is code to display the total participants in a forum. There are for topics but not single forums. Could be possible to create though.

    #164764
    project_subdomain
    Participant

    thanks, robkk. that’s weird as I don’t have SEO plugins activated as well.
    This is what’s in my template.php:

    /** Users *****************************************************************/
    
    	// Profile page
    	} elseif ( bbp_is_single_user() ) {
    
    		// User is viewing their own profile
    		if ( bbp_is_user_home() ) {
    			$new_title['text'] = esc_attr_x( 'Your', 'User viewing his/her own profile', 'bbpress' );
    
    		// User is viewing someone else's profile (so use their display name)
    		} else {
    			$new_title['text'] = sprintf( esc_attr_x( "%s's", 'User viewing another users profile', 'bbpress' ), get_userdata( bbp_get_user_id() )->display_name );
    		}
    
    		// User topics created
    		if ( bbp_is_single_user_topics() ) {
    			$new_title['format'] = esc_attr__( "%s Topics",        'bbpress' );
    
    		// User rueplies created
    		} elseif ( bbp_is_single_user_replies() ) {
    			$new_title['format'] = esc_attr__( "%s Replies",       'bbpress' );
    
    		// User favorites
    		} elseif ( bbp_is_favorites() ) {
    			$new_title['format'] = esc_attr__( "%s Favorites",     'bbpress' );
    
    		// User subscriptions
    		} elseif ( bbp_is_subscriptions() ) {
    			$new_title['format'] = esc_attr__( "%s Subscriptions", 'bbpress' );
    
    		// User "home"
    		} else {
    			$new_title['format'] = esc_attr__( "%s Profile",       'bbpress' );
    		}
    #164761

    In reply to: Check box

    Robkk
    Moderator

    You can add any code snippets into your child theme or into a plugin that can just hold code snippets like Functionality.

    #164760

    In reply to: Check box

    Mei Ling
    Participant

    I am a newbie. I have seen functions in the codex I’d like to activate: site of the member or limit the access to the admin panel, etc.
    Do we have to add the functions to the child theme or in the core of bbpress. Is there a more intuitive way to do such a thing.
    We do not want a lot of plugin.

    I thank you for your feedback

    Mei-Ling

    #164752
    Robkk
    Moderator

    Copy the form-reply.php file into your child theme and remove this code for topic tags input on the reply form.

    <?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?>
    
    <?php do_action( 'bbp_theme_before_reply_form_tags' ); ?>
    
    	<p>
    	<label for="bbp_topic_tags"><?php esc_html_e( 'Tags:', 'bbpress' ); ?></label><br />
    	<input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> />
    	</p>
    
    <?php do_action( 'bbp_theme_after_reply_form_tags' ); ?>
    
    <?php endif; ?>

    You can customize the content of the form using this CSS.

    #bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
        margin-top: 0;
        height: 210px;
    }

    The font is inherited from your theme.

    #164750
    Robkk
    Moderator
    #bbpress-forums fieldset.bbp-form input[type=text] {
        border: 1px solid #e4e4e4;
        padding: 0.5em 0;
    }

    `

    #164748
    Robkk
    Moderator

    If you guys haven’t already try some troubleshooting.

    Troubleshooting

    Also check out these possible solutions for this specific error.

    https://codex.wordpress.org/Common_WordPress_Errors#Internal_Server_Error

    #164727
    Robkk
    Moderator

    If you are talking about the email, website, and name fields this will do it.

    #bbpress-forums fieldset.bbp-form {
        padding: 0!important;
    }
    #164712
    x0rchid
    Participant

    I want to embed a forum in a page, such that the user doesn’t leave the page when creating or viewing a topic. I.e unlike the code [bbp-single-forum id=$id], the user stays in the same page

    Is there a simple way to do this?

    #164707
    Robkk
    Moderator

    @steo83

    This topic was for issues made in bbPress version 1 which was a standalone version, the latest is a plugin for WordPress. The registration process on your site is mostly handled by WordPress. bbPress does have a registration form shortcode, but even that kind of piggybacks off of the WordPress registration form. If there is something wrong with your regular WordPress emails, which might include new comment emails for WordPress comments then you definitely need to hear from your hosting provider. If it is just the registration emails sent to users, you might need to contact WordPress support on their forums. https://it.wordpress.org/forums/

    #164706
    Robkk
    Moderator

    Try some troubleshooting to see what could be causing the issue.

    Troubleshooting

    #164699
    Robkk
    Moderator

    This custom CSS might help.

    #bbpress-forums #bbp-user-wrapper ul.bbp-replies {
        clear: both !important;
    }

    Off topic but I really like the color scheme you have going with your site.

    #164681
    HansRuedi
    Participant

    I have add_filter( 'auto_update_translation', '__return_false' ); in my functions file but bbpress language files are updated anyway. What can I do to stop it? Thanks for help!

    #164680
    Robkk
    Moderator

    What about this?? It will hide @mentions in bbPress forums though.

    .activity-list .bbpress, 
    .activity-list .bbpress {
    	display: none;
    }
    #164654

    In reply to: Importing from WBB4

    Robkk
    Moderator

    @sammmmy

    See if this helps any.

    Import Troubleshooting

Viewing 25 results - 8,251 through 8,275 (of 32,519 total)
Skip to toolbar