Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 13,826 through 13,850 (of 32,519 total)
  • Author
    Search Results
  • bbPress doesn’t add any bb_ tables anymore. It sounds like none of your admins have the Keymaster role.

    If you want to remap user roles, visit Tools > Forums and tick the “Remap existing users to default forum roles” box, and repair them. That will make all Administrators on that site also be Keymasters.

    If you want to automatically map regular registered users to have a role in each site’s forums, visit Settings > Forums and tick “Auto role”.

    Admittedly, the multisite integration right now isn’t ideal; you may end up building plugins to modify the exact behavior to suit your needs. If that’s the case, I’d love to read about your problem and solution, to see if there’s room for better default behaviors in bbPress core.

    #136865
    peaco
    Participant

    hello..

    i like to offer my users an extra (costum) profilepage where they can see an overview of their own posts… like in the profile. is this with a shortcode possible ?

    thanks

    #136855
    friedVol
    Participant

    I’m getting the same message – “You do not have sufficient permissions to access this page” – when I click on Settings in the plugin.

    Also the Forums button does not show up in the left-side menu of my WP admin panel. Yet I have 7 bbPress widgets.

    I’ve deactivated and reactivated the plugin. When I first clicked “activate” I got the “You do not have sufficient permissions…” message. I clicked activate a second time, and the plugin showed as activated. But still no Forum button.

    This bbPress.org site says easy instructions are provided, but my installation has no instructions. I was expecting to paste a shortcode to the forum on a blank page. I can’t imaging putting all 7 bbPress widgets in a sidebar.

    I do not have the Page.ly plugin the previous poster said affected his/her bbPress. I do have a time.ly plug in (calendar) which I need. Why would plugins interfere with each other?

    I need help with this because no other forum plugin is showing as tested with my version of WP which I believe is WP3.6, although I’m not able to find the version number anywhere on my dashboard.

    #136850
    akasocrates
    Participant

    Hi there —

    I’ve searched the forums and think I’ve tried all suggested solutions.

    I have this forum and it works fine: http://realworldsupplychain.com/forums/discussion/certified-supply-chain-professional/

    But then when I go to the “forums” slug, I get an error page like this: http://realworldsupplychain.com/forums/

    I tried different permutations. I tried creating a /forums Page and entered the [bbp-forum-index] shortcode. That didn’t work too. I’ve tried deleting/reinstalling bbPress, still no joy.

    I don’t have any existing pages with /forums off my domain.

    Any help would by much appreciated. Thanks in advance!

    #136827
    gplana
    Participant

    Thank you for your answer. I tryied what you suggested but same result.
    Maybe is due to an incompatibility with my theme?

    My main forum customized page have this to show all topics:

    	<?php if ( bbp_has_topics($args) ) : ?>
    		<?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
    		<?php bbp_get_template_part( 'bbpress/loop',       'topics'    ); ?>
    		<?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
    	<?php else : ?>
    		<?php bbp_get_template_part( 'bbpress/feedback',   'no-topics' ); ?>
    	<?php endif; ?>
    

    I make a print_r($args) and it has an empty array. I also tryied to remove $args argument from bbp_has_topics but same result (no topics message displayed).
    Maybe in bbPress 2.4 bbp_has_topics() is not the right function to start a loop?

    I can see forum topics from wp-admin, so I’m sure topics are there.

    Thank you.

    #136812
    kcurlsjr
    Participant

    @netweb said:

    definitely private group forum posts should not be showing up when using [bbp-topic-index].

    So I am trying to wrap my head around how this topic index shortcode should work. Is it intended to only display public forums? Or should it display forums the user has permissions to see?

    If the latter, is that determined by the forum visibility, the buddypress group privacy status, or both?

    Here is what I am experiencing with bbp 2.4, BP 1.8.1, and WP 3.6:

    If the visibility of a group forum is changed (at the forum level) from published to private then a user with the forum role of participant can see the private forums in the topic index as well as on the forum root page. These are visible even if the user isn’t a member of that BP group.

    But if I use the repair tool to “recalculate private and hidden forums”, that same user can no longer see them in the topic index (again, regardless of if the user is a group member or not), but can still view them on the forum root page.

    Is this what should be happening?

    Or perhaps is this related to this defect?

    My ultimate goal is to have a user role that can view private topics and another role that can not. Can this be accomplished using that topic-index shortcode, or do I need to find another solution?

    Thanks for all your efforts!

    #136803
    briantoronto
    Participant

    Hello

    On the site I am working on (not yet live) we are using BBpress Forums integrated with a Buddypress installation. Both the Buddypress Group and associated BBPress Forums are marked Hidden.

    Users with Group Role as Member can properly see the Forums when viewing directly.

    The issue comes to when we try to have users view the Forums via Short Code.

    Only those with a Group Role of Moderator or higher can see the forum via Short Code.

    WP is 3.6, bbPress 2.4, BuddyPress 1.8.1

    #136795
    Tecca
    Participant

    Find this in your bbpress.css file:

    #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

    Within that, there will be font-size: 12px. Change the pixel number to a higher value.

    The bbPress.css will be located in your bbPress folder in your plugins. If you don’t have the bbPress.css in your theme, copy that file and put it into a folder called “css” directly with of your theme files.

    #136794
    Xevo
    Participant

    bbp_is_search()

    #136793
    Xevo
    Participant

    Haven’t tested it, but this should force all the content (or at least most of it) to take over your themes font-size.

    #bbpress-forums { font-size: inherit !important; }
    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 .bbp-forums-list li { font-size: inherit !important; }
    #136787
    Stephen Edgar
    Keymaster

    @csotelo Most excellent dude…. That said, I made one too 🙂

    You can grab the latest revision from https://bbpress.trac.wordpress.org/ticket/2402

    The main differences are:

    • Forums
    • Updated code formatting and inline docs
    • Uses kunena_categories.parent_id for Forum parent ID
    • Imports Forums topic & reply counts
    • Uses kunena_categories.alias for forum slug (seo)
    • Includes Category/Forum forum type input & callback method
    • Includes Open/Closed forum status & callback method
    • Topics
    • Ahmmm

    Ok, I just stopped at ‘Topics’ as there are quite a few differences there, I based mine on Kunena v3.0.1 Forums, What version are you importing from?
    (There are some significant changes here)

    #136777

    In reply to: Site title missing

    Justin Tadlock
    Participant

    It looks to me like bbp_title() is overwriting the title when it’s not a bbPress page. Since bbp_title is a filter on wp_title, it should bail and return the original title when it’s not a bbPress page.

    That’s my best guess from a quick look over the code. I’m not familiar enough with the bbPress code base to know for sure though.

    #136765
    Xevo
    Participant

    You have 2 options for this.

    1. Recode the bbpress plugin and change out the custom post type names/slugs etc.
    2. Try to filter the forums with a custom query on the loops.

    #136764

    In reply to: @mention autosuggest

    Xevo
    Participant

    There is no plugin that does this for bbPress as far as I’m aware off. You could try looking at the code from BP Labs and extending it too bbPress.

    #136757
    aotar
    Participant

    do you guys know if there is any way to avoid putting html tags for images and such as part of the comments? —> <img src="http://asd" alt="asd" />

    theumbrellaagency
    Participant

    Hi there,

    I created a couple of custom fields and integrated it with my Group Topics, new topic form. I’d like to be able to just load this new form for specific groups. I ended up creating a little plugin to load the following code found on a tutorial that worked for me.

    It took a long time to figure this out and I was hoping to get a bit of direction to expedite figuring this out (the topic of this thread).

    Thanks!

    add_action ( ‘bbp_theme_before_topic_form_content’, ‘bbp_extra_fields’);
    function bbp_extra_fields() {
    $value = get_post_meta( bbp_get_topic_id(), ‘bbp_extra_field1’, true);
    echo ‘<label for=”bbp_extra_field1″>Seeking Funding? (Yes or no)</label><br>’;
    echo “<input type=’text’ name=’bbp_extra_field1′ value='”.$value.”‘><br>”;

    $value = get_post_meta( bbp_get_topic_id(), ‘bbp_extra_field2’, true);
    echo ‘<label for=”bbp_extra_field2″>Resources Needed (talent, knowledge, mentors, etc.)</label><br>’;
    echo “<input type=’text’ name=’bbp_extra_field2′ value='”.$value.”‘>”;
    }

    add_action ( ‘bbp_new_topic’, ‘bbp_save_extra_fields’, 10, 1 );
    add_action ( ‘bbp_edit_topic’, ‘bbp_save_extra_fields’, 10, 1 );

    function bbp_save_extra_fields($topic_id=0) {
    if (isset($_POST) && $_POST[‘bbp_extra_field1’]!=”)
    update_post_meta( $topic_id, ‘bbp_extra_field1’, $_POST[‘bbp_extra_field1’] );
    if (isset($_POST) && $_POST[‘bbp_extra_field2’]!=”)
    update_post_meta( $topic_id, ‘bbp_extra_field2’, $_POST[‘bbp_extra_field2’] );
    }

    add_action(‘bbp_template_before_replies_loop’, ‘bbp_show_extra_fields’);
    function bbp_show_extra_fields() {
    $topic_id = bbp_get_topic_id();
    $value1 = get_post_meta( $topic_id, ‘bbp_extra_field1’, true);
    $value2 = get_post_meta( $topic_id, ‘bbp_extra_field2’, true);
    echo “Seeking Funding? “.$value1.”<br>”;
    echo “Resources Needed: “.$value2.”<br>”;
    }

    #136734
    tina_sk
    Participant

    Hi, i have problem with the patch – ticket 2319

    in this code:

    <?php while ( $widget_query->have_posts() ) :
    
    				$widget_query->the_post();
    				$topic_id    = bbp_get_topic_id( $widget_query->post->ID );
    				$author_link = '';
    
    				// Maybe get the topic author
    				if ( 'on' === $settings['show_user'] ) :
    				if ( $settings['show_user'] ) : 
    					$author_link = bbp_get_topic_author_link( array( 'post_id' => $topic_id, 'type' => 'both', 'size' => 14 ) );
    				<?php endif; ?>
    				
    				<li>
    					<a class="bbp-forum-title" href="<?php bbp_topic_permalink( $topic_id ); ?>"><?php bbp_topic_title( $topic_id ); ?></a>
    
    					<?php if ( ! empty( $author_link ) ) : ?>
    
    						<?php printf( _x( 'by %1$s', 'widgets', 'bbpress' ), '<span class="topic-author">' . $author_link . '</span>' ); ?>
    
    					<?php endif; ?>
    
    					<?php if ( 'on' === $settings['show_date'] ) : ?>
    					<?php if ( $settings['show_date'] ) : ?> 
    
    						<div><?php bbp_topic_last_active_time( $topic_id ); ?></div>
    
    					<?php endif; ?>
    
    				</li>
    
    			<?php endwhile; ?> 

    Parse error: syntax error, unexpected T_ENDWHILE in /home/.sites/261/site2485/web/forum/wp-content/plugins/bbpress/includes/common/widgets.php on line 829

    Can you help me; what´s wrong?

    #136726
    Stephen Edgar
    Keymaster

    ETA: Wow, that was fast— my page got slammed with spam comments within minutes of posting the links here. I have removed them for now. If a support person needs them to diagnose the issue, I can give them out then.

    I have heard this a couple of times, I might set up a test myself, not sure what we can do though as presumably the spammers are just scrapping bbpress.org

    #136722

    In reply to: Error after moving!

    Sounds like your files didn’t all copy over correctly. Try replacing your plugins/bbpress directory with a new copy.

    #136705
    kimbo_king
    Participant

    Hi

    I’ve searched the web but nothing shouts out at me. The only thing I can see is to edit the PHP but I’d rather avoid that if possible

    Currently my layout is as follows:

    <strong>South Yorkshire</strong>
    Sheffield & District Fair Play League (2, 6), Sheffield & Hallamshire County Senior (2, 10), The Wragg League (1, 1),  Doncaster & District (1, 1)
    
    <strong>East Yorkshire</strong>
    Humber Premier League (0, 0), East Riding Amateur (0, 0), East Riding County (0, 0)

    But I’d like it as below.

    <strong>South Yorkshire</strong>
    o	Sheffield & District Fair Play League (2, 6), 
    o	Sheffield & Hallamshire County Senior (2, 10),
    o	The Wragg League (1, 1), 
    o	Doncaster & District (1, 1)
    
    <strong>East Yorkshire</strong>
    o	Humber Premier League (0, 0), 
    o	East Riding Amateur (0, 0), 
    o	East Riding County (0, 0)

    Essentially I want my forums in a nice list rather than in a clump. I’d like the same palyour as most forums (PHPBB etc). Is this possible?

    Plugin/ easy setting I’m missing?

    http://www.togganet.co.uk/blog/forums/

    PureLoneWolf
    Participant

    Hiya

    Thanks for the response. I have commented out the code and there is no change at all to the forum display.

    Thanks

    #136695

    In reply to: SMF Import to bbPress

    Stephen Edgar
    Keymaster

    The final version should be ready for bbPress 2.5 in ~8 weeks (10/29/13 14:00:00)

    I have not started on the passwords as these are hard and I have to do them for most of the new importers so I will get started on these next week I hope.

    We are importing Email, URL, AIM & Yahoo into the default WordPress user profile and importing SMF’s ICQ, MSN, Signature, Avatar (link only), Location & Personal Text values and storing them in WordPress wp_usermeta table so this can be later imported/manipulated into any custom WordPress profile plugin like BuddyPress, this is not automated in any way though.

    Stephen Edgar
    Keymaster

    I cant look at the code right at this minute as I’m mobile but what happens if you remove that from your functions.php, I know a few changes have been made but cannot reference them at the minute.

    #136691
    Stephen Edgar
    Keymaster

    @dallisonlee I have replied to you here: https://bbpress.org/forums/topic/bbpress-editorial-calendar/


    @jgasparine
    ‘Auto role’ appears to be working for me, can you check that it is enabled via /wp-admin/options-general.php?page=bbpress


    @nykess
    Thanks, I linked to the widget issue in my previous post above. The user Gravatar are still using 80×80 Gravatars and has not changed, the line break between the username and forum role has also not changed. How have you customized your theme? It sounds like the either the bbPress or a theme update has overridden your customizations. Can you start a new topic and give some more detailed information on each of these. You can also download all previous versions from https://wordpress.org/plugins/bbpress/developers/

Viewing 25 results - 13,826 through 13,850 (of 32,519 total)
Skip to toolbar