Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 5,801 through 5,825 (of 32,522 total)
  • Author
    Search Results
  • #179188
    pcpro178
    Participant

    No love for this post? I’m using WordPress version 4.6.1, and I’ve received this feedback from my hosting provider regarding this issue:

    I navigated to templates/default/bbpress/bbpress-templates and the file ‘bbpress-templates’ is a symbolic link to bbpress-templates:

    lrwxrwxrwx 1 sopearly_admin pg1217016 17 Jul 28 18:02 bbpress-templates -> bbpress-templates

    I’m not exactly certain how the symbolic link is referring itself but I’m afraid you may have to inquire with bbpress support as to why the plugin is failing with permission errors due to the file, bbpress-templates.

    #178721
    cinquantesix
    Participant

    Wordpress 4.4.5
    bbPress 2.5.10

    Hello, when I create a page and insert a shortcode (like bbp-forum-index for example), my whole page is displayed properly.

    http://www.legofftechnique.com/forum

    But if I get inside a topic, my footer is not displayed properly anymore. Instead, I see Visual Composer shortcodes.

    http://www.legofftechnique.com/forums/forum/discussion-generale

    Do I need to add something in my bbpress.php template ?

    If anybody can help me, I would appreciate it very much !

    #178699
    ricky9
    Participant

    Hi all

    Fairly new to WordPress and the use of plugins (and the complications of interacting with themes) so please bare with me!

    I am using the them Accelerate Pro theme, Version 2.5.10 of bbpress on a managed WordPress 4.6.1 site provided through godaddy. I have installed bbpress but I have come across two problems.

    Firstly I do not seem to get the bbpress sidebar in widgets after installation? I have been trying to work round this by utilising Widget Logic options and codes (from a community help page) but is there anyway of getting this sidebar on my theme which would be a lot easier!

    Secondly (and more importantly!) – the display of the fields on the registration page (I have create using shortcodes) gives the full width for the username and email fields but the rest (First Name (required), Last Name (required), Company/Organisation (required), Confirm Email (required), Password (required), Confirm Password (required) only display across about 1/8th of the page and look horribly bunched up. I suspect this is a problem across bbpress on my site but it is most noticeable here.
    The url of the page is:

    Register Forum Account

    Other pages created are:

    Forum


    and

    Restore Forum Password

    I have not done much in the way of setting up forums and topics as I wanted to get it displaying correctly first.

    Help! You advice and guidance is most welcomed to ease my frustration!

    Kind regard

    Ricky

    ricky9
    Participant

    Hi all

    Fairly new to WordPress and the use of plugins (and the complications of interacting with themes) so please bare with me!

    I am using the them Accelerate Pro theme, Version 2.5.10 of bbPress on a managed WordPress 4.6.1 site provided through godaddy. I have installed bbPress but I have come across two problems.

    Firstly I do not seem to get the bbPress sidebar in widgets after installation? I have been trying to work round this by utilising Widget Logic options and codes (from a community help page) but is there anyway of getting this sidebar on my theme which would be a lot easier!

    Secondly (and more importantly!) – the display of the fields on the registration page (I have create using shortcodes) gives the full width for the username and email fields but the rest (First Name (required), Last Name (required), Company/Organisation (required), Confirm Email (required), Password (required), Confirm Password (required) only display across about 1/8th of the page and look horribly bunched up. I suspect this is a problem across bbPress on my site but it is most noticeable here.
    The url of the page is:

    Register Forum Account

    Other pages created are:
    http://ruralengland.org/forum/
    and

    Restore Forum Password

    I have not done much in the way of setting up forums and topics as I wanted to get it displaying correctly first.

    Help! You advice and guidance is most welcomed to ease my frustration!

    Kind regards

    Ricky

    #179080
    Jochen Gererstorfer
    Participant

    Hello,
    there is a problem with bbpress, that prevents SEO Plugins to do there job.

    The problem exists only for the forum index page. Also if you use a standard page an paste the [bbp-forum-index] shortcode.

    * That page is not handled anymore as a page, so it gets a noindex tag by the SEO plugins.
    * It’s also not possible to add a custom title, description or other meta tags.

    The bbpress forum index is completely ignoring all of that settings.
    The result is a noindex forum index without a reasonable title and description.

    Example:
    Forum index

    Screenshot of the ignored settings:

    I talked with the codes a the German WPseo plugin.
    They told me, that bbpress is using so crude things for that index and doesn’t use wordpress standards.

    I also found here in the forum and on Google, that Yoast and All in one SEO Pack have the same problems with bbpress.

    Is there a way to get that fixed?

    A forum index with nofollow makes no sense at all.

    thanks
    Jochen

    #179131
    JoeCec
    Participant

    Has anyone been able to inject googles captcha widget into the login prompt? If so, do you mind pointing me to the source code?

    #179126
    Anonymous User
    Inactive

    You’re welcome all. Happy to be able to help 🙂


    @wasanajones
    You can use get_the_excerpt( $se_post ) or just post_excerpt property of the WP_Post object:

    Edit the last callback from previous code to go as this:

    add_filter('bbp_get_form_topic_content', function( $body ) {
    	global $se_post;
    	if( $se_post ) {
    		return $se_post->post_excerpt;
    	}
    	return $body;
    });

    I did not test this but I am sure it should work.

    Best,
    Samuel

    #179114
    idpokute
    Participant

    Hi gurus,

    I’m wonder how I can display topics under specific category.
    Here is example;
    Game News (category)
    – PC (forum)
    – Mobile (forum)
    Local Community (category)
    – Toronto (forum)
    – Tokyo (forum)

    I want to show PC and Mobile game news, when users access ‘News’ page.
    Did I miss the shortcode that I need to write on ‘News’ page?

    Thank you in advance.

    #179111
    gbbgadmin
    Participant

    Update. Today we did the following:

    1. Deactivated all BuddyPress and bbPress plugins. Uninstalled all BuddyPress and bbPress plugins. Removed all BuddyPress and bbPress data from the database, but kept a backup copy of the data and tables.
    2. Installed fresh WordPress on fresh server. Installed new, fresh plugins.
    3. Site worked.
    4. Replaced data from backup.
    5. Entire site works, EXCEPT there is a 503 error when people try to post a reply on a forum, and a 503 error when we try to go to the “replies” page from the wp-admin.

    So, maybe something in the data? Could someone have posted a reply that has some content that is breaking the php code when trying to see the Admin panel “replies” page or when people try to post a reply?

    We have learned another thing. When people post a reply, the reply DOES go into the db and it is visible to other members on the forum. HOWEVER, the person posting the reply gets a 503 error during the process and has to come back to the site fresh to see the forum, including their post.

    Something is causing a 503 error ONLY when replying OR when we try to access the Admin “Replies” page as admin. It is very very strange.

    #179096
    Robin W
    Moderator

    It is the shortcode, but I think that you probably need to pay someone to do this – different theme work in different ways and clearly this is not within your current skillset

    http://jobs.wordpress.net/

    #179092

    In reply to: bbp-messages

    u_Oi
    Participant

    bbPress Messages works fine… maybe there is something wrong with WAMP.

    Try to buy the pro version to get faster support and better features! bbPress Messages Pro

    Regards,

    #179073
    u_Oi
    Participant

    Hi Buddies!

    I checked out the “Layout and functionality” page, and I found that I can add Social Media Fields to bbPress through this function:

    function add_extra_contactmethod( $contactmethods ) {
    // Add new ones
    $contactmethods['twitter'] = 'Twitter';
    $contactmethods['facebook'] = 'Facebook';
    $contactmethods['googleplus'] = 'Google Plus';
    $contactmethods['youtube'] = 'Youtube';
      
    // remove unwanted
    unset($contactmethods['aim']);
    unset($contactmethods['jabber']);
    unset($contactmethods['yim']);
      
    return $contactmethods;
    }
    add_filter('user_contactmethods', 'add_extra_contactmethod');

    I wonder if there is a way to make them visible. I mean if I add my Facebook account could bbPress show it on the public profile with a Facebook Icon?

    And also show them in users topics and replies posted?

    Any advice, thanks!

    Anonymous User
    Inactive

    @treeflips

    Hi contemplate,

    Can you make a skimmed down version of your solution for people who have ONLY bbpress?

    /**
     * Hooked into the new reply function, this notification action is responsible
     * for notifying topic and hierarchical reply authors of topic replies.
     * Fixed: https://bbpress.org/forums/topic/new-reply-notification-link-to-the-reply/
     */
    function bbp_buddypress_add_notification_custom( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $author_id = 0, $is_edit = false, $reply_to = 0 ) {
    
    	// Bail if somehow this is hooked to an edit action
    	if ( !empty( $is_edit ) ) {
    		return;
    	}
    
    	// Get autohr information
    	$topic_author_id   = bbp_get_topic_author_id( $topic_id );
    	$secondary_item_id = $author_id;
    
    	// Hierarchical replies
    	if ( !empty( $reply_to ) ) {
    		$reply_to_item_id = bbp_get_topic_author_id( $reply_to );
    	}
    
    	// Get some reply information
    	$args = array(
    		'user_id'          => $topic_author_id,
    		'item_id'          => $reply_id,
    		'component_name'   => bbp_get_component_name(),
    		'component_action' => 'bbp_new_reply',
    		'date_notified'    => get_post( $reply_id )->post_date,
    	);
    
     	// Notify the topic author if not the current reply author
     	if ( $author_id !== $topic_author_id ) {
    		$args['secondary_item_id'] = $secondary_item_id ;
    
    		bp_notifications_add_notification( $args );
     	}
     
     	// Notify the immediate reply author if not the current reply author
     	if ( !empty( $reply_to ) && ( $author_id !== $reply_to_item_id ) ) {
    		$args['secondary_item_id'] = $reply_to_item_id ;
    
    		bp_notifications_add_notification( $args );
     	}
    }
    remove_action( 'bbp_new_reply', 'bbp_buddypress_add_notification', 10 );
    add_action( 'bbp_new_reply', 'bbp_buddypress_add_notification_custom', 10, 7 );
    #179068
    Anonymous User
    Inactive

    Can you point me to the function that converts @mentions to links. I feel like I can figure this out but I can’t find where it’s being converted.

    It is called bbp_make_mentions_clickable and located line:424 of \includes\common\formatting.php. The function is hooked in \includes\core\filters.php:248

    #179064
    johnskennedy
    Participant

    Thanks for the reply, unfortunately it did not work for me, but off a hunch I cut some code from the .php file, saved it, and then replaced the code and now it seems to work again. Still not sure why but hope this helps someone.

    #179037
    Robin W
    Moderator

    would need bespoke code.

    You can get close by having forums per team and using

    https://wordpress.org/support/plugin/bbp-private-groups

    but without further code it wouldn’t restrict them to their own topics

    #179028
    Robin W
    Moderator
    #179025
    Robin W
    Moderator
    #179001
    imthinking
    Participant

    I’m a solid 7.5 out of 10 on WP but 100% new to BBpress.

    I plan on having about 15 categories with some 50 forums for each category on my site. The current default display isn’t easy to follow so I’m attempting to find a way to easily change the layout on the forum index display page.

    However, I don’t want to show all of the forums as some are private to groups etc.

    I’m looking to achieve this look on this page: http://theme-sphere.com/smart-mag/forums/

    I understand CSS is involved here but I’m looking for a get me going fix.

    How can I list multiple forum titles on one page. When I use the code [bbp-single-forum id=2733] and then use it again to show a different forum it will only show the first one.

    Is this not possible with shortcode?

    Could I create a graphic bar and separate groups of forum titles like in the page I linked to?

    Thank you for whoever guides in the path of rest as I have exhausted these forums in an attempt to answer these questions.

    🙂

    #178987
    Robin W
    Moderator

    depends what you mean by top menu, I suspect primary, in which case

    add_filter( 'wp_nav_menu_items', 'rkk_add_auth_links', 10 , 2 );
    function rkk_add_auth_links( $items, $args ) {
    if (is_user_logged_in() && $args->theme_location == 'primary') {
     $items .= '<li><a href="'. wp_logout_url() .'">Log Out</a></li>';
     }
     elseif ( !is_user_logged_in() ) {
     $items .= '<li><a href="'. site_url('wp-login.php') .'">Log In</a></li>';
     $items .= '<li><a href="'. site_url('wp-login.php?action=register') .'">Register</a></li>';
     $items .= '<li><a href="'. site_url('wp-login.php?action=lostpassword') .'">Lost Password</a></li>';
     }
     return $items;
    }
    #178975
    goviajero
    Participant

    Hello, I’m using this function from bbpress codex to add login/logout to the menu.

    I want to show the login/logout on the top menu only, not on the header. Any way to do this? Hope its just a simple tweak. Thanks

    add_filter( ‘wp_nav_menu_items’, ‘rkk_add_auth_links’, 10 , 2 );
    function rkk_add_auth_links( $items, $args ) {
    if ( is_user_logged_in() ) {
    $items

    #178974
    goviajero
    Participant

    Hello, I’m using this function from bbpress codex to add login/logout to the menu.

    I want to show the login/logout on the top menu only, not on the header. Any way to do this? Hope its just a simple tweak. Thanks

    add_filter( ‘wp_nav_menu_items’, ‘rkk_add_auth_links’, 10 , 2 );
    function rkk_add_auth_links( $items, $args ) {
    if ( is_user_logged_in() ) {
    $items

    _______________________________________________________________________________________

    #178944
    Thomas_k
    Participant

    Hello everyone,

    I have a lot BBpress related questions that i can’t find a good answer to. Is there someone that has some good experience in customizing and setting up BBpress who has Skype and is willing to help me trough Skype?

    The answers i am looking for are related to these subjects.

    *When user account is created, user logs in but when button log in is clicked, page refreshes and doesn’t show logged in account information. The same screen as when not logged in.

    *When the user finally gets logged in there is a wordpress menu on top, how to delete this? (atleast on mobile we’ve seen it)

    *We want a different page for the user that already has an account or for the new users that aren’t already logged in (forum page).

    *BBpress sidebar is not showing up, tried many different things. Adding code manually, installed plugins etc. Only the main theme sidebar is showing.

    *Breadcrumb path is displaying forums twice. We did some php code to hide the homepage but don’t know how to hide these double words.

    Help would be really appreciated. If there is no way around i am willing to pay a small fee.

    Thomas

    #178940
    parker012
    Participant

    Thank You, Where do I put the shortcode or how do I add the shortcode, Many thanks

    #178939
    ferdsnp
    Participant

    Solved, and very simple
    Create new page example forum option (no-sidebar)
    Then insert the following code [bbp-forum-index]

Viewing 25 results - 5,801 through 5,825 (of 32,522 total)
Skip to toolbar