Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\"'

Viewing 25 results - 7,926 through 7,950 (of 26,864 total)
  • Author
    Search Results
  • #158886
    giuseppecuttone
    Participant

    Hi robkk,
    You are right. About the notifications send from BP FORUM NOTIFIER I need contact with the author of the plugin.
    Really I want to ask if do you know another plugin that run better…
    In addition I need know how I can change USER in the notifications mail that bbPres send. Actualy the mail that bbPress send is from wordpress@URLSITE. I want chanhe the word “wordpress” and add for exampke “noreply” (in my cas so: noreply@soysostenible.net).
    It is possible?
    Thank’s for your support

    #158877
    pfeufer
    Participant

    Hi,
    I am using a WordPress child theme, Flatsome. I simply want to adjust minor things like button text sizes, different colored bars, text, etc.

    In Google Chrome, I am able to inspect a element and change it’s style in the inspector window, but where do I paste the modified css code? The modified code does not work in the child theme’s Appearance/Edit window when it is pasted there.

    I also tried to copy (not move) the bbpress.css file into the Parent theme’s css folder, but the code still does not work. I also tried to place the bbpress.css in the Child theme.

    My questions are:

    1. Where do I place the bbpress.css file? In the Parent theme or Child Theme? What folder?
    2. Where do I paste the modified css code within the BBpress.css file? Anywhere?

    Below is code that I adjusted to suit my needs. It is code for a “submit” button on the Forum page of BBpress in my theme:

    .userwall_delete_post >button:hover, input[type=”submit”], input[type=”button”], input[type=”reset”] {
    -webkit-border-radius: 0px 0px 0px 7px;
    -moz-border-radius: 0px 0px 0px 7px;
    border-radius: 3px 3px 3px 3px !important;
    font-family: Arial;
    font-size: 12px !important;
    padding: 10px !important;
    text-decoration: none;
    }

    Thanks for any help!

    Best,
    John

    #158874
    Robkk
    Moderator

    there is also a bbPress specific plugin that does the same thing and its this one

    https://wordpress.org/plugins/bbpress-forum-redirect/

    #158873
    lflier
    Participant

    Someday, somebody is going to get this 2x retina thing figured out so that it’s automatic across WordPress. Until that day, we have to do it ourselves.

    The general approach is to serve a double-sized image to the browser. So, if you want an 80px avatar in your topic replies (the standard size), you need to serve up a 160px avatar in order for it to look sharp on a retina screen (i.e. iPad, Android tablet, retina MacBook Pro, or one of those delicious new 5K iMacs). And as Joe Jackson says, “You gotta look sharp!”

    So, how is this accomplished? Well, in the template.php file of bbPress, there is a function called bbp_get_reply_author_link(). This is the function that gets the avatar, and it comes with the following arguments:

    	function bbp_get_reply_author_link( $args = '' ) {
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'post_id'    => 0,
    			'link_title' => '',
    			'type'       => 'both',
    			'size'       => 80,
    			'sep'        => ' ',
    			'show_role'  => false
    		), 'get_reply_author_link' );
    

    The argument we want to change is the ‘size’ argument. As you see, the default setting is 80. We want it to be 160. We can change it by changing a single line in the loop-single-reply.php file, which you can locate in wp-content/plugins/bbpress/templates/default/bbpress/. In the stock theme, the line reads:

    		<?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    

    We want to change it to:

    		<?php bbp_reply_author_link( array( 'size' => 160, 'sep' => '<br />', 'show_role' => true ) ); ?>
    

    And that’s all there is to it. As long as your CSS specifies a width of 80 (or whatever you prefer), you won’t see any change in the size of the avatar in your browser, it will just look sharper on retina screens. You won’t notice any difference on standard resolution screens and, unfortunately, there is a price to be paid in the size of the image that is served to those screens. Ideally, WordPress/bbPress would know what resolution screen it is serving to and set the image size on the fly. There are some plugins that do this for site images — Jordy Meow’s WP Retina 2x is a good one — but they don’t work for avatars yet. See this support topic for more discussion.

    There’s just one more thing you’ll want to do. If you haven’t already done so, create a directory in your theme folder titled “bbpress”. Then make a copy of the file you just changed and place it in this directory. This file will override any file with the same name in the bbPress plugin directory. So, when you next update the bbPress plugin, you’ll retain the functionality you just created, because even though the plugin files are all replaced by the new version, the file in your theme directory will still be there.

    I hope this helps everyone look sharp!

    #158861
    Robin W
    Moderator

    depending on how you have set up your forums

    https://wordpress.org/plugins/bbp-private-groups/

    might help – see settings>help

    #158859
    Robkk
    Moderator

    @giuseppecuttone

    your last question might be well suited to ask to the developer of the BuddyPress forum notifier plugin first.

    https://wordpress.org/support/plugin/bp-forum-notifier

    or from buddypress support second also if it is a BuddyPress issue.

    https://buddypress.org/support/

    #158855
    Robkk
    Moderator

    Per forum moderation is noted for a future release of bbPress, i think they are going to test it out on wordpress.org first.

    https://bbpress.trac.wordpress.org/ticket/459

    #158854
    Robkk
    Moderator

    @aronprins

    bbpress for comments has been noted for a future release of bbPress.

    https://bbpress.trac.wordpress.org/ticket/2498

    #158845
    Shmoo
    Participant

    Just curious if someone could help me here..

    I would like to use bbPress but not mainly as forum/support software, what I like to do is use the Forums function as categories to create structure and navigation on my site and the Topics functions as kinda ‘posts’ – the Replies function will not be used. I will remove that part from the template files.
    The main reason why I want to use bbPress for my site is the Subscribe and Favorite functions.
    Default members of the site can subscribe and favorite topics ‘posts’ and receive email notifications when they change content. That’s the most important feature I would like to use out of bbPress everything else I will customize to my liking.

    The only thing that worries me is the performance of bbPress.
    What if my site holds 15.000 members, 25.000 topcis ‘posts’ and let’s say 5.000 members subscribe to a single topic-ID. How will WordPress/bbPress handle the outgoing emails to 5.000 people will this increase the performance a lot?

    Thanks,

    #158838
    mvaneijgen
    Participant

    This works

    // hook failed login
    add_action('wp_login_failed', 'my_front_end_login_fail'); 
     
    function my_front_end_login_fail($username){
        // Get the reffering page, where did the post submission come from?
        $referrer = $_SERVER['HTTP_REFERER'];
     
        // if there's a valid referrer, and it's not the default log-in screen
        if(!empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin')){
            // let's append some information (login=failed) to the URL for the theme to use
            wp_redirect($referrer . '?login=failed'); 
        exit;
        }
    }

    http://www.wpinsite.com/code-snippets/how-to-redirect-wordpress-failed-logins

    latortuga
    Participant

    Hi,

    I’ve read through a lot of other similar support questions as this, but haven’t found an answer. When a non logged in user clicks on the menu link for the forum on our site, “404 page not found error” is thrown. I can not figure out how to get it to show the wordpress page that has text to tell the user to login or register to view the forum.

    bbPress version: 2.5.4
    WordPress version: 4.1.1
    using Weaver Xtreme theme
    http://sirenspaddlingclub.org/wp/
    “SirensBB” is the forum

    Any help would be much appreciated!!

    #158811
    landwire
    Participant

    I am using the [bbp-forum-form] shortcode in the frontend. It creates a forum fine, when there is a parent chosen and a description put in. But it does not create a forum when I leave the description or the parent empty.
    This seems odd, as in the wordpress admin area you are not forced to enter a description or choose a parent forum. There it creates a forum without parent and description.

    Is there a way to disable this behaviour on the frontend and allow for “root” forums without a description?

    Thanks,
    Sascha

    #158807
    Robkk
    Moderator
    Robkk
    Moderator

    that plugin probably still works its just not maintained by the developer anymore

    its still here for anyone to fork though https://github.com/mravaioli/wp-modal-login

    there are also many alternatives for a modal popup form

    this plugin assigns menu items without additional code plus it has a facebook login option

    https://wordpress.org/plugins/zm-ajax-login-register/

    there is also others with captcha support

    wordpress.org/plugins/ajax-bootmodal-login/

    and also a very simple one but would need to activate the CSS class option in the menu settings

    wordpress.org/plugins/simplemodal-login/installation/

    there is also cool tutorial for developers that could probably just hook up the bbPress shortcodes

    http://www.blueleafstudio.net/create-responsive-pop-login-box-wordpress/

    #158803
    Robkk
    Moderator

    you can fiddle with the bbPress views

    https://gist.github.com/ntwb/8167699

    sorting a thread by rating can be achieved exactly like how Robin said .

    plugins that might be able to do it are

    https://wordpress.org/plugins/wp-postratings/

    maybe polldaddy ratings or the rating widget might help by using their widgets

    this might help with finding the metakey for wp-postratings

    wordpress.stackexchange.com/questions/50524/how-to-order-results-by-date-and-meta-key

    #158801
    Robkk
    Moderator

    alright so basically it does what this plugin does

    https://wordpress.org/plugins/page-links-to/

    your forum title will show like any normal forum but if you click it , it will link to whatever you want.

    works pretty good when i tested it out, it wont show in the status drop-down though it will show in another meta-box somewhere below the post content.

    #158797

    In reply to: Post submission hooks

    Robkk
    Moderator

    @s1r0n

    i tested it out on your site and see its working better

    its not really a honeypot field though

    how a honeypot field is supposed to be is invisible to the users on your site and is not required for input for the user.

    its a hidden input field that if it has any type of dummy information from spam-bots injected , it should stop the next action that the spammer is trying to do.

    the way your code is arranged its close to these two plugins

    https://wordpress.org/plugins/growmap-anti-spambot-plugin/ ( probably no bbpress compatibility)
    https://github.com/studiohyperset/bpress-no-captcha-recaptcha ( still in development)

    you might want to go to the bbpress nocatpcha plugin (when its done being developed) if you think it works better for what you need.

    since you/robin found half the code im going to try to make a honeypot using these two plugins for the other half

    wordpress.org/plugins/registration-honeypot/
    wordpress.org/plugins/zero-spam/ (i dont know about bbpress compatibility yet)

    also @s1r0n what do you mean by custom meta tags, like explain exactly how you want it so i can see if a normal seo plugin cant do this already.

    #158794
    Robkk
    Moderator

    @zoker

    so like post formats but for bbPress post types??

    https://codex.wordpress.org/Post_Formats

    there is a function below in the post to implement it , but i think it will only show in the back-end of wordpress and is not implemented in the front-end just yet

    #158792

    In reply to: Post submission hooks

    s1r0n
    Participant

    Ah you’ll have to do that again. the code above has a line commented out that shouldn’t be. sorry for the hassle

    add_action('bbp_theme_after_topic_form_content','lp_add_honeypot');
    add_action('bbp_theme_after_reply_form_content','lp_add_honeypot');
    function lp_add_honeypot() {
    
        if (is_user_logged_in())
            return;
        ?>
    <p>
        <label for="lp_post_honey_pot">I am a robot (yes/no)</label><br />
        <input type="text" value="" tabindex="103" size="40" name="lp_post_honey_pot" id="lp_post_honey_pot"  />
    </p>
    <?php     
    }
    
    //https://core.trac.wordpress.org/browser/tags/4.1.1/src/wp-includes/post.php#L0
    add_filter('wp_insert_post_empty_content', 'lp_check_honeypot', 10, 2);
    function lp_check_honeypot($is_empty, $postarr) {
        
         if (is_user_logged_in())
            return false;
        
    
        if ($postarr['post_type'] == 'topic' || $postarr['post_type'] == 'reply') {//only do this for bbspress
            if ($postarr['bbp_post_as_submitted']['POST_lp_post_honey_pot'] == 'no') {
                return false; //treat this post as good
            }
    
            return true;
        }
        return false;
    }

    I only need this to work for users who are not logged in, guests, so i’ve added a couple of lines to turn this off when users are logged in. if you want to test even registered users just leave those lines in.

    When I have a bit of time I’ll look into bbpress errors and find a way to set an appropriate error message.

    Have fun and let us know if you use it and it works for you or not

    #158790
    Robin W
    Moderator

    I would start with

    https://wordpress.org/plugins/bbp-private-groups/

    this will give you private forums per group, so you can have a user allocated to a group, and a forum allocated to a group. so you would just have a different group for each user, and just one forum allocated to that group.

    Then on registration, you would need to

    create a forum
    create a private group – probably using the $user_id, so that it is unique
    Allocate the private group to the forum
    Allocate the private group to the user

    you’d use an add_action to user_register to do the above, the example below comes from

    https://codex.wordpress.org/Customizing_the_Registration_Form, but you can in effect get wordpress to do anything when the user hits the submit key

     //3. Finally, save our extra registration user meta.
        add_action( 'user_register', 'myplugin_user_register' );
        function myplugin_user_register( $user_id ) {
            if ( ! empty( $_POST['first_name'] ) ) {
                update_user_meta( $user_id, 'first_name', trim( $_POST['first_name'] ) );
            }
        }
    

    so you would need to look at putting code into that function :
    create forum – what’s updated in the database when you create a forum – start with bbpress\includes\forums\functions.php and look at what function bbp_new_forum does, you’ll probably need to write a version for the above function.

    create a private group (for that one see the private groups plugin includes/settings.php and look at the group settings – and for info $rpg_groups = get_option ( ‘rpg_groups’) 😉
    allocate private group to forum – (for that one see the private groups plugin includes/meta-box.php and look at $meta = get_post_meta( $post->ID, ‘_private_group’, false );
    allocate the user to the group – see includes/user-view_post.php it’s looked up using $check=get_user_meta( $user_id, ‘private_group’,true);

    Since I’ve now written so much, I am expecting in the spirit of community software, you to share the solution when you get it going, and post the result back here !

    #158784
    Robin W
    Moderator

    a lot of people use

    https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/

    I haven’t tried it myself, but come back either way and let us know

    #158778
    webplayer
    Participant

    Hi,

    I was wondering if there is a plugin anyone is using to turn keywords into topics and replies to links to other pages in wordpress.

    For example if had a forum about fish, and someone mentions “gold fish” I want that to automatically be turned into a link and go to a page I have about gold fish, etc…

    I found plugins that are able to do this for posts, pages, and custom post types, but is anyone doing this with bbpress and if so, how?

    #158776
    Robin W
    Moderator

    ok install widget logic

    https://wordpress.org/plugins/widget-logic/

    this adds a box to each widget in a sidebar

    so work out which sidebar is showing in your bbpress pages and for each widget in that sidebar into that box put

    is_bbpress() if you want it to appear in forum pages
    !is_bbpres() is you don’t want it to appear in forum pages (but do want it on other pages where that sidebar appears
    and leave blank if you want tit to appear on both forum and other pages

    #158771

    In reply to: Post submission hooks

    s1r0n
    Participant

    oops. had a mistake in code. this one works better

    
    add_action('bbp_theme_after_topic_form_content','lp_add_honeypot');
    add_action('bbp_theme_after_reply_form_content','lp_add_honeypot');
    function lp_add_honeypot() {
    
        if (is_user_logged_in())
            return;
        ?>
    <p>
        <label for="lp_post_honey_pot">I am a robot (yes/no)</label><br />
        <input type="text" value="" tabindex="103" size="40" name="lp_post_honey_pot" id="lp_post_honey_pot"  />
    </p>
    <?php     
    }
    
    //https://core.trac.wordpress.org/browser/tags/4.1.1/src/wp-includes/post.php#L0
    //add_filter('wp_insert_post_empty_content', 'lp_check_honeypot', 10, 2);
    function lp_check_honeypot($is_empty, $postarr) {
        
    //   print_r($postarr);exit;
        if ($postarr['post_type'] == 'topic' || $postarr['post_type'] == 'reply') {//only do this for bbspress
            if ($postarr['bbp_post_as_submitted']['POST_lp_post_honey_pot'] == 'no') {
                return false; //treat this post as good
            }
    
            return true;
        }
        return false;
    }
Viewing 25 results - 7,926 through 7,950 (of 26,864 total)
Skip to toolbar