Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 5,651 through 5,675 (of 32,505 total)
  • Author
    Search Results
  • #180149
    CMB70
    Participant

    I am having trouble importing from SimplePress to bbpress. I’m not sure what the table prefix is supposed to be. I tried wp_ and that didn’t import anything. I tried wp_sf (I think that is the beginning of tables for SimplePress but get this error

    Repair any missing information: Continue
    WordPress database error: [Specified key was too long; max key length is 1000 bytes]
    CREATE TABLE wpzu_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default ‘0’, meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key(191), meta_value(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;

    Is there anything I can do to get this import done?

    #180132
    Robin W
    Moderator

    it is your theme doing this

    it sets a css rule

    .entry-content {
    width: 71.4286%;
    }

    and considers bbpress to be entry content.

    you could try setting this to 100% – it will work for the forums page, but you’d need to check that it doesn’t upset another part of the site

    it looks like you have child theme configurator that will let you have custom css, so put this in it

    .entry-content {
      width: 100%;
    }

    if that doesn’t work try

    .entry-content {
      width: 100% !important;
    }

    come back and let us know

    #180130
    Mutahhar
    Participant

    bbp_get_reply_id()
    is the function you are looking for.

    #180126
    Robin W
    Moderator

    your theme is doing this

    it doesn’t recognise this as a page, so is allowing for a sidebar.

    go to

    Step by step guide to setting up a bbPress forum – Part 1

    and look at item 3, and tell me what method you are using. If not Method 2, then try this

    #180121
    Robin W
    Moderator

    The nofollow is added on output rather than save, so if you use inspection tools you will see that the actual code sent to browser (and hence seen by robots) has nofollow

    eg

    <div class="bbp-reply-content">
    <p>
    <a href="http://www.rewweb.co.uk" rel="nofollow">link to my site</a>
    </p>
    #180104
    Robin W
    Moderator

    set your root to ‘xxyy’ – whatever you want to call it

    create a page called ‘xxyy’

    in the content on that page put

    [bbp-forum-index] 
    [bbp-topic-index]
    
    devpaq
    Participant

    In the forum settings, it gives the option “Forum root should show” with the choices of “Forum Index” or “topics By Freshness”. How can I have the root show both – the listing of forums, and below it the latest topics?
    I know there is a shortcode [bbp-topic-index] which will show the latest topics, but I don’t know where I can put that to have it show on the forum root.
    Thanks

    Wilbur
    Participant

    I am developing an android app for my wordpress forum. Please is there any way I can create new users and login old ones programmatically? Maybe a rest API or something.

    Please you can show the code in php or any language of your choice.

    #180075

    In reply to: signature separator

    Robin W
    Moderator
    add_action ('bbp_theme_after_reply_content', 'rew_hr', 10) ;
     
    function rew_hr () {
    echo '<hr>' ;
    }
    #180073
    mythusmage
    Participant

    Two to be precise.

    #1. Registration: I take it you need to set up a page and to add a shortcode.
    #2. Lost Password. Again I understand you need to set up a page and add a shortcode.

    You need to tell people, instead of acting as though they automatically knew this. And in these instructions to the page on installation. In addition, make sure to include the softcodes needed.

    Don’t make setting up the plugin any more frustrating than it has to be.

    #180072

    In reply to: move content in bottom

    adarshmadrecha
    Participant

    Is the bug still present? I am using 2.5.12, released on December 9, 2016.
    And still facing the same problem.

    Theme: Avada 5.0.4
    Wordpress: 4.7
    BBpress: 2.5.7

    #180069

    In reply to: signature separator

    Robin W
    Moderator

    try

    add_action ('bbp_theme_after_reply_content', rew_hr', 10) ;
     
    function rew_hr () {
    echo '<hr>' ;
    }
    #180068

    In reply to: signature separator

    senatorman
    Participant

    i get an syntax error in dreamweaver with this code

    #180066

    In reply to: signature separator

    Robin W
    Moderator

    this will be hit or miss, as it is xmas eve, and this code is entirely untried

    add_action ('bbp_theme_after_reply_content', rew_hr', 10) ;
     
    function rew_hr () {
    echo '<hr>'
    }
    #180064

    In reply to: signature separator

    Robin W
    Moderator

    do you know how to add code to your function file?

    #180055
    Robin W
    Moderator

    there is no shortcode for logout – users normally just leave the site

    you can add login/logout to the menu.

    This plugin will help you do that

    https://wordpress.org/plugins/bbp-style-pack/

    #180054
    ldesherl
    Participant

    Thank you. What is your shortode for logging out? I can’t find anything in your Documentation. I tred to create a shortcode and it shows up as code.

    This [bbp-login]

    to this:

    [bbp-logout]

    #180046
    akgt
    Participant

    Does the free model offer shortcodes ?
    Could I make a simple form or Send pm button which i could add to the sidebar ?

    #180023
    Robin W
    Moderator

    I TAKE NO RESPONSIBILITY FOR WHAT FOLLOWS !!!

    BACKUP YOUR DATABASE FIRST !!

    see

    Remove post_status Spam Posts from WordPress

    but this should do it

    DELETE FROM wp_posts WHERE post_status = "spam"

    It will not get rid of post meta for these.

    AITpro
    Participant

    @invoke_media_group – This forum topic does not have anything to do with your issue/problem. So please create a new forum topic for your different issue/problem. Also you should do standard troubleshooting steps first before posting your new forum topic: deactivate all other plugins to see if another plugin is causing the problem, comment out any custom functions you have created in your theme functions.php file, switch your current theme to a WordPress theme: 2017, 2016… When you post a bbPress forum topic you need to include these things: what WordPress version you have installed, bbPress version you have installed and what troubleshooting steps you have already performed.

    You should also probably include the relevant code in file: /bbpress/includes/core/template-function.php on line 316 (shown below) and that this function: bbp_get_template_stack() uses this filter: bbp_get_template_stack to Call the functions added to the ‘bbp_template_stack’ filter hook, and return an array of the template locations. There is also a related bug here that appears to have already been fixed: https://bbpress.trac.wordpress.org/ticket/2871

    	// Sort.
    	if ( class_exists( 'WP_Hook' ) ) {
    		$filter = $wp_filter[ $tag ]->callbacks;
    	} else {
    		$filter = &$wp_filter[ $tag ];
    
    		if ( ! isset( $merged_filters[ $tag ] ) ) {
    			ksort( $filter );
    			$merged_filters[ $tag ] = true;
    		}
    	}
    Invoke_Media_Group
    Participant

    bbpress is starting to KILL all my sites that have it. I am thinking it is time to REMOVE this from my sites. Now I cannot even access my sites. This is the error code:

    Warning: ksort() expects parameter 1 to be array, object given in /home/content/p3pnexwpnas06_data03/07/2899307/html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 316

    Can anyone help?

    AITpro
    Participant

    WordPress 4.7
    bbPress 2.5.12
    Site: https://forum.ait-pro.com/
    Custom bbPress/BuddyPress Theme & tested switching to WP Twenty Seventeen Theme
    Tried creating a bug ticket on trac, but was not allowed to login and do so.

    Issue: In previous versions of bbPress this code below worked fine in my Theme functions.php file. As of bbPress 2.5.12 this code is no longer working in my Theme functions.php file. I checked output and bbPress Core code and did not see anything obvious. Output was good. ie $role and $caps, but it appeared that the filter was not being processed in time when the Activity template loaded. So I moved this code to the BuddyPress /plugins/bp-custom.php file and this code works fine. So obviously this some kind of init or loading order type of issue. ie the filter is being processed too late.

    // bbPress Disable Topic Tags for Participants
    function aitpro_get_caps_for_role_filter( $caps, $role ) {
    	
    	if ( $role == 'bbp_participant' )
    		$caps = aitpro_get_caps_for_role( $role );
    
    	return $caps;
    }
     
    add_filter( 'bbp_get_caps_for_role', 'aitpro_get_caps_for_role_filter', 10, 2 );
    
    function aitpro_get_caps_for_role( $role ) {
    	switch ( $role ) {
    		/* Disable Topic Tags for Participants */
    		case 'bbp_participant':
    			return array(
     
    				// Primary caps
    				'spectate'              => true,
    				'participate'           => true,
    
    				// Forum caps
    				'read_private_forums'   => true,
    
    				// Topic caps
    				'publish_topics'        => true,
    				'edit_topics'           => true,
    
    				// Reply caps
    				'publish_replies'       => true,
    				'edit_replies'          => true,
    
    				// Topic tag caps
    				'assign_topic_tags'     => false, // Using false disables allowing Participants to create Topic Tags
    
    			);
    			break;
    		default :
    
    		return $role;
    	}
    }
    #179991
    Dono12
    Participant

    I’m having this problem where a phantom link for the YouTube thumbnail is being shown in the excerpt portion of the Sidebar RECENT POST EXTENDED WIDGET. This phantom link, which is not clickable, takes you to the “video on YouTube” for that thumbnail.

    The weird thing is the phantom link is only being shown in the sidebar of the Buddypress Forums Plugin (BBP) page and nowhere else.
    I’ve tried the latest WP theme 2016, I’ve tried disabling all plugins, I’ve tried reverting back to older BBP Versions = (WHITE SCREEN OF DEATH) and I’ve tried digging through the codes for both plugin, got noooo where.
    I use the Automatic Featured Images from Videos plugin, to generate the YouTube Thumbnails. This plugin is also not the culprit. 🙂

    Please help, try a test version, see if the bug is a BBP plugin bug or a Recent Post Widget Extended plugin bug.

    Merry Christmas, if I don’t hear from anyone by then…. 😉

    donnaWPadmin
    Participant

    1.5 years ago, nothing’s changed. finish the stupid plugin already. What’s up with the incomplete code???

Viewing 25 results - 5,651 through 5,675 (of 32,505 total)
Skip to toolbar