Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 8,076 through 8,100 (of 26,874 total)
  • Author
    Search Results
  • #157984
    Joe Dostie
    Participant

    The more I look at it, it appears to be the core WordPress “Howdy, User” admin bar…I just think I am calling it the wrong thing…

    #157983
    #157956

    In reply to: Add forum roles

    Sam Rohn
    Participant

    there is an excellent article here on using wordpress functions.php file

    WordPress theme function files

    sam

    #157953
    Sam Rohn
    Participant

    pretty much every wordpress them is compatible w bbpress out of the box at this point, but this is a good place to start –

    https://wordpress.org/themes/search.php?q=bbpress

    sam

    #157952
    deandail
    Participant

    I am having the same problem. I’ll try to be less ranty about it, but it’s definitely frustrating.

    I am importing a forum from a wordpress 4.1/bbPress 2.5.4 install on an old site to a wordpress 4.1/bbPress 2.5.4 on a new site. There’s no way to do this from the Import Forum screen, so I also have done this via the standard WordPress Export/Import tool as suggested.

    In my case, content shows up on the back end, but not on the front end. Also, accessing the Replies page on the back end results in a segmentation fault on the server. Taking these steps with no plugins and default theme has the same results.

    Like the original poster here, I would love to find what is the correct import procedure to just move a bbPress install from one site to another.

    #157939

    Topic: Help with Custom View

    in forum Themes
    Deleyna
    Participant

    I *think* I’m going about this the right way — but I may not be, so any advice will be appreciated.

    I’ve moved a long-standing forum group onto bbpress. We’re loving it, but members have asked me to make it work more like our old program. I’ve seen a lot of chatter about view-unread elsewhere. I’m using the plugin https://wordpress.org/plugins/bbpress-unread-posts/ — that hasn’t been updated in forever, but works nicely and gives us what we are used to. It creates a meta-key for each topic, each user: bbpress_unread_posts_last_visit_$user-id with the associated value being the unix timestamp.

    Combined with the plugin to go to the first unread post, this works. I’ve also created buttons where the user can reset that meta-key to mark forums as read / unread.

    Now I want a custom view, “Unread View”, that will look for topics where
    _bbp_last_active_time > bbpress_unread_posts_last_visit_$user-id

    Since $user-id is dynamic, I’m thinking that I can’t just specify the view in the functions.php file and be happy.

    What I’ve done:
    added:
    —–
    // adding custom view for unread
    function my_custom_views_init() {
    $args = array ();
    bbp_register_view( ‘unread-view’, __( ‘Unread View’ ), array( $args ), false );
    }
    add_action( ‘bbp_register_views’, ‘my_custom_views_init’ );
    —–
    to my functions.php file.

    created
    unread-view.php based on loop-topics.php with the logic to test if
    _bbp_last_active_time > bbpress_unread_posts_last_visit_$user-id
    and only show the topic if it is… (I’m not sure if I have the logic right yet, or if this is even the right loop to put the test…)

    Added a page with the short code
    [bbp-single-view id="unread-view"]

    But there’s clearly a link missing. I need something to tell the system that I want to use my unread-view.php instead of loop-topics.php for “unread-view” ONLY.

    And I’m not sure how to do that. I’m clearly missing more than a little bit of the logic here. My programming skills are pretty basic, so any help you can give me would be appreciated.

    #157917
    Robin W
    Moderator

    that’s a known with that plugin from looking at the support forum

    https://wordpress.org/support/plugin/custom-post-type-page-template

    Sorry you’ll need to google to find one

    #157916
    Robin W
    Moderator

    yes, just create a wordpress page and put one of the following shortcodes in it

    [bbp-topic-form] – Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.
    [bbp-topic-form forum_id=$forum_id] – Display the ‘New Topic Form’ for a specific forum ID.

    #157906
    nunodesousa
    Participant

    Hi.

    How can i make it possible only for the admin and author to reply to a post?

    Thank you

    bbpress 2.5.4
    wordpress 4.1
    http://www.nunosousa.pt/foruns/forum/pergunte-ao-psicologo/

    #157895
    Stagger Lee
    Participant

    Try to play with this in functions.php:
    For some buttons you will need to borrow them from TinyMCE advanced plugin and put in core folder, they dont come in the core. (emoticons, and some else, called “plugins”)

    function bbp_enable_visual_editor( $buttons = array() ) {
    	
    	$buttons['tinymce'] = array( 
    	'toolbar1' =>'bold, italic, underline, strikethrough, blockquote, alignleft, aligncenter, alignright, alignjustify, justifyfull, bullist, numlist, outdent, indent, cut, copy, paste, undo, redo, link, unlink, table, fullscreen, image, media, cleanup, help, code, hr, removeformat, sub, sup, forecolor, forecolorpicker, backcolor, backcolorpicker, charmap, visualaid, anchor, newdocument, pastetext, separator, wp_adv,wptadv,media,image',
        'toolbar2' => 'pastetext, pasteword, selectall, formatselect, fontselect, fontsizeselect, styleselect, strikethrough, outdent, indent, pastetext, removeformat, charmap, wp_more, emoticons, forecolor, wp_help,media,image', // 2nd row, if needed
        'toolbar3' => 'pastetext,pasteword,selectall,paste_as_text,preprocess,paste,media,image', // 3rd row, if needed
        'toolbar4' => 'media,image', // 4th row, if needed 
    	'plugins'  => 'anchor, code, insertdatetime, nonbreaking, print, searchreplace, table, visualblocks, visualchars, emoticons, advlist,wordpress,wplink, paste,fullscreen',
    		   ); // 4th row, if needed 
        $buttons['quicktags'] = array ('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close');
        return $buttons;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
    add_filter('mce_buttons', 'bbp_enable_visual_editor');
    
    #157889

    In reply to: Add forum roles

    joop.stringer
    Participant

    Hey guys,

    Can you please explain me where to put the functions.php file ?
    If I put it in the child theme directory,my whole site goes blank …

    
    <?php
    /**
     * Functions .. additional to all the programs
     *
     * @package WordPress
     * @subpackage Twenty_Fourteen
     * @since Twenty Fourteen 1.0
     */
    
    function add_custom_role( $bbp_roles ) {
    
    	$bbp_roles['DDC Member'] = array(
    	'name' => 'DDC Member',
    	'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // i just want them to have the same capabilities as participants );
    
    	$bbp_roles['Forumlid'] = array(
    	'name' => 'Forumlid',
    	'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // i just want them to have the same capabilities as participants );
    
    	$bbp_roles['DDC Bestuur'] = array(
    	'name' => 'DDC Bestuur',
    	'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // i just want them to have the same capabilities as participants ); 
    
    	return $bbp_roles;
    }
    
    add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
    
    ?>
    
    Rosa Parker
    Participant

    This is my website: http://ecoperate.com, WordPress version is 4.0.1 and bbPress version is 2.5.4.

    I noticed that the little avatar icons displayed in bbPress widget areas (e.g. to show recent posts or comments) don’t have any margin on the right and appear as though they stick to the text. In my case, this is a footer widget that displays the latest topic. I would like to add margin-right, but the problem is that the avatar icons in the actual forum area fall under the same CSS selector and appear to have enough margin already (they also have a border). So, when I add margin-right, it affects not only the widget icons. How can I do that, though? Is there a way to separate them, so that the icons in the forum area remain the same?

    Many thanks in advance,

    Rosa

    Rosa Parker
    Participant

    This is my website: http://ecoperate.com, WordPress version is 4.0.1 and bbPress version is 2.5.4.

    I have two forum groups running on my website (‘Opportunities’ and ‘Forum’); both of them highlight a different item in the menu when they’re active. Now, what I can’t manage to do is highlighting the respective menu items in the forum topics. At least not in a way they can tell the parent forums apart.

    This works perfectly:

    .single-topic .genesis-nav-menu .menu-item-71 > a

    With the exception that only ONE of the menu-items is highlighted for every single topic (71 refers to menu item ‘Opportunities’). What I want to achieve is differentiation, by somehow linking the single-topics to the right parent forum. How can I do this?

    Any help would be greatly appreciated! 🙂

    Thanks,

    Rosa

    #157882
    allmyhoney
    Participant

    Hi there, I am a newbie to bbpress and need some help. I have installed and activated bbpress on my site on WordPress 4.1 and none of the admin menus such as Forums, Topics, Replies appear in the backend of the site on the left hand admin menu. I was wondering what might have gone wrong and how to get this to work. I have tried deactivating other plugins and still no good. I have also tried uninstalling and re-installing a few times without any luck. No actual error message appears on the site so I do not have anything else to go on, so maybe someone has some tips. Thanks

    #157872
    krw1243
    Participant

    Aha! I was falling prey to this ticket:

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

    Implemented the workaround in the ticket, and I can haz formatting!

    #157869
    krw1243
    Participant

    I’m trying to add BBPress to my WordPress site, but after installation, my forum looks completely unformatted:

    http://fortcollinsmodernquiltguild-fcmqg.rhcloud.com/forums/forum/fort-collins-modern-quilt-guild-forums/

    I’ve tried removing all other plugins that didn’t come with the site, removing and re-adding themes, using the default themes, but it always looks like this. Is it supposed to look like this until I do something? Or is something else messing with what should be some sort of sane default formatting?

    #157861
    jtstables
    Participant

    I went to the link above on how to create a child theme but when I tried to follow this link,https://make.wordpress.org/training/modules-in-progress/child-theme-module/ it was a 404 error. So I’m going to try and change the main theme. I go to the Twenty Eleven theme directory on the ftp to make the ‘bbpress’
    ie wp-content/%your-theme-name%/bbpress directory. Correct? Should I this be the exact name of the directory? ‘bbpress’ie wp-content/%your-theme-name%/bbpress

    #157857
    Robin W
    Moderator

    see

    https://codex.wordpress.org/Class_Reference/WP_Query

    and look at the heading

    Order & Orderby Parameters

    my guess would be

    ‘orderby’ => array( ‘meta_value_num’ => ‘DESC’, ‘date’ => ‘desc’ ),

    `

    the date is the date of the post ie topic

    #157852
    Robin W
    Moderator

    wordpress and encryption – there are plugins such as discussed here

    https://geek.hellyer.kiwi/plugins/end-to-end-encryption/

    but either solution will be time consuming – good luck !

    #157849

    In reply to: Import Forums

    Springgg
    Participant

    Well… this time I’m using “wp” as Table prefix, with “Start Over” and “Purge Previous Import” selected and, for the past 7 hours, it’s been “Deleting previously converted data” ….. (should I mention that the first attempt took only minutes so, I don’t see how the revert process could be taking so long) 🙁

    PS
    So I stopped it and started over, without the Purge option and ..
    “Repair any missing information: Continue

    WordPress database error: [Table ‘mydatabasename.wpforum_forums’ doesn’t exist]
    SELECT convert(forum_forums.id USING “utf8”) AS id,convert(forum_forums.parent_id USING “utf8”) AS parent_id,convert(forum_forums.name USING “utf8”) AS name,convert(forum_forums.description USING “utf8”) AS description,convert(forum_forums.sort USING “utf8″) AS sort FROM wpforum_forums AS forum_forums LIMIT 0, 100

    No forums to convert”

    #157845
    jtstables
    Participant

    OK, I can’t figure out how to make a directory. I’ve looked all the options and can’t find it. How do you create a directory? I’m sorry but as I said I’m very new to this with little technical knowledge. I know how to a little HTML coding but that’s about it. I’m using theme Twenty Eleven and access my WordPress through HostGator.

    #157833
    Robin W
    Moderator

    suggest you put it as a project on

    http://jobs.wordpress.net/

    #157832
    Robin W
    Moderator

    https://wordpress.org/plugins/bbp-private-groups/ would solve the first one, but not encryption or a network of private diaries

    This all sounds very bespoke and time consuming

    #157810
    Robin W
    Moderator

    and since bbp_reply_count is in the metadata, you’d need to refer to that

    see

    https://codex.wordpress.org/Class_Reference/WP_Query

    so something like

    add_action( 'bbp_init', 'view_twentyplus_posts_init' );
    
    function view_twentyplus_posts_init() 
    {
    		
    	$args  = array( 
    
    	 'meta_key'   => '_bbp_reply_count' ,
              'orderby'  => array( 'meta_value_num' => 'DESC', 'title' => 'ASC' ),
              'meta_query' => array(
    		         array(
    			'key'     => '_bbp_reply_count' ,
    			'value'   => '19',
    			'compare' => '>',
    		),
    
    	);
    
    );
    
    	
    	bbp_register_view( 'twentyplus_posts', __('Popular Posts', 'twentyplus'), $args, false );
    	
    }
    
    
    #157765
    Robin W
    Moderator

    When viewing http://thewritepractice.com/topic/test/ as admin, the Edit link is there in the box. When viewing it as the author of it however, not seeing Edit.

    The above are wordpress roles (and useful info) but can you tell me what bbpress roles you have set for this user.

Viewing 25 results - 8,076 through 8,100 (of 26,874 total)
Skip to toolbar