Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 12,101 through 12,125 (of 32,504 total)
  • Author
    Search Results
  • foxden-vixen
    Blocked

    Halo thank you! I used the CSS code you provided. That worked for the front page of the forums. When I go to categories the sidebar is back. So any more code that you can throw at me to prevent the sidebar for other parts of the forum?

    #145130

    In reply to: Forum Ranks

    matthewa761
    Participant

    Still confused on where you enter this html code at…

    #145122
    leopolds
    Participant

    Hi,

    I am using Twenty Fourteen and bbpress. How can I make the forums root page full width?

    I want to remove the sidebar, center the content and remove the post-like forum names after the listing section. Basically, I want this page to act as a full-width page, not a post/forum listing.

    My forums root page is http://leopolds.com/discussions/

    I want it to look like http://leopolds.com/bbs/ (created using shortcodes)

    Thank you very much.

    (I was able to achieve full-width style in individual forum page by using widget visibility function. But this doesn’t work for the forums root page.)

    #145108
    Adonismoet1608
    Participant

    I have successfully changed the color of all of them forum except the .. reply background. My font is white and the back ground is white. I didn’t notice this code in the styling crib. Can I have help for this please

    #145106

    In reply to: hidden forum

    Robin W
    Moderator

    Not really without some code, and I’m busy doing that for my plugin, and it won’t readily adapt for the above method – hence why I’m writing a plugin.

    I’m not far off now, cracked the search yesterday, now a major tidy up !

    #145104
    Stephen Edgar
    Keymaster

    If you take a look at a single users profile and the ‘edit’ section:

    If you look in content-single-user.php you’ll see:

    <?php if ( bbp_is_single_user_edit() ) bbp_get_template_part( 'form', 'user-edit' ); ?>

    Open the form-user-edit.php template:

    
    <?php do_action( 'bbp_user_edit_before_role' ); ?>
    
    	<?php bbp_get_template_part( 'form', 'user-roles' ); ?>
    
    <?php do_action( 'bbp_user_edit_after_role' ); ?>
    

    (I removed some of the multisite network user role code for readability above)

    Open up the form-user-roles.php template:

    <?php bbp_edit_user_forums_role(); ?>

    The role that will be the default when you add this to your ‘New User Form’ will be the default ‘participant’ if that is what you have set the default role as in bbPress settings.

    Halo Diehard
    Participant

    @foxden-vixen try:

    DIV.sidebar.right.clearfix

    or

    DIV.sidebar.right

    If that doesn’t work in the experimental section, try pasting this in your style.css:

    .forum-archive DIV.sidebar.right {
    	display: none !important;
    }
    #145097

    In reply to: CHAT FOR MY FORUM

    Halo Diehard
    Participant

    There are so many cool options right now! Besides private messages, like the plugin listed above, there is a chat at the bottom bar that users can chat with but it’s also one on one privately, it is iFly.

    Also, the plugin Quick Chat can be integrated into bbPress in two different ways:

    1. This chat plugin can be put into different WordPress pages with shortcodes, so you can put it on any pages at the top or bottom of your forums that are on WordPress pages using shortcode, or in any sidebar widget.

    2. You can also use a different chat on each WordPress page using shortcode, so coupled with the plugins BuddyPress and BuddyPress Groups Extras (which adds extra pages to BuddyPress Groups) you can give each of your bbPress forum groups their own private chat!

    #145096
    Halo Diehard
    Participant

    If you name your forum root slug (in forum settings) the same as your WordPress shortcode page slug (in that page’s settings), doesn’t that sort out the url problem @robmcclel speaks of above?

    #145087
    Matoca
    Participant

    Update. Last week as soon as I read that there had been trouble with tinyMCE, I disabled the bbPress Enable TinyMCE Visual Tab Version 1.0.1 plugin I had been using. I was using it mainly so moderators could do a bit more in the forum but it wasn’t critical.

    The results were that, -perhaps-, this was part of the problem but it’s not that straightforward. The moderator tried to post using her iPhone and responded:

    “I could put my name in and e-mail address AND it did show up as I typed. But, when I posted, the typing was transparent. I knew it was ‘typing’ because the auto word finish worked and came up. And then when I hit ‘submit’ the post did show up.”

    So then I needed to know if she had tried this while she was logged in or not. I have the forum set for no registration so anyone can post, but I don’t allow them to input html. If she was not logged in then she wouldn’t be able to post in html. I thought perhaps her iPhone or iPad has text attributes set that wouldn’t be allowed.

    So I quizzed her:
    > So the keyboard came up for you this time, no problem? That was the important thing.
    Yes, it came up.
    >
    > So then next, you could see what you were typing in the name and email fields?
    Yes.
    >
    > But then when you were typing in the message window, the text was not visible?
    Right, NOT visible.
    >
    > And finally when you hit submit you could see that you had posted.
    Yes, it was then visible and posted.
    >
    > I can see what you posted and besides the fumbled spelling cause you couldn’t see, it works.
    Right – my fingers on the tiny keyboard are not conducive to proper spelling, punctuation. 😜
    >
    > So I need to know, first are you logged in when you are adding your message?
    No, I’m NOT logged in.

    > Do you see a message that says “Your account has the ability to post unrestricted HTML content.”
    No, i don’t see that.
    >
    > And then when you are at the message window, look at the tabs on the upper right. Were you on the visual tab or the text tab when you were writing?
    Visual, couldn’t get into Text.
    >
    > Try typing another message with the other tab selected. I suspect you were in the visual tab so try the text tab this time.
    Doesn’t work. 😣

    Then a few days later we were back at it again. She tried this logged in.
    “Logged in. Using iPad. This is what I got from ‘Text’

    Hi. This is a test – now is the time for all AIHA/IMHA doggies to be well.

    <strong>bold</strong>

    <em>italics</em>

    And this is what I got in ‘Visual’

    Hi. This is a test.

    Now is the time for all AIHA/IMHA doggies to be well.

    Bold: </strong>

    Italic: <em>

    Then later that day she tried logging out and posting:
    “I logged out and tried to post again to my Sadie:Weaning post. I seemed to have lost a word or two from the post, once I hit submit, but it WAS in sequence and I COULD type AND the typed showed as I typed. This was the first time in months that it’s worked. Yeah!!!!!”

    And yesterday she reported (logged out):
    “Okay – just posted to Joe. First, had to tap hard to get the keyboard to come up. It finally did and I could put in name, e-mail, showing what I wrote. But once I tried to actually post, again, after tapping hard anonymity (“on it?”)five times, the cursor would move with each letter I hit, but I could not see shat (see what?) I was writing.”

    WP just updated to 3.8.3 (without my input…) so would that have some version of tinyMCE in it? I thought that they had removed it completely a while back and at that time I lost the text tab in the forum when posting as a moderator. So that is when I installed the tinyMCE plugin.

    I wish I could say that this seems resolved, but it seems that she is still having erratic behavior from the keyboard when she is trying to enter text either logged in or not logged in. It is significant that she can get the keyboard to come up at all, that was not happening before.

    I am trying to make sure my site is responsive and is usable by most phones and tablets. On my Google Nexus I have a bit of trouble scrolling down the page, it’s erratic and resistive. But that may have more to do with the page loading slower over wifi.

    I hope this thread stays open so there can be further input?
    thank you, matoca

    #145066
    Stephen Edgar
    Keymaster

    There was a change to handle reply slug titles in bbPress 2.5

    http://elitegamingcomputers.com/reply/operation-auctus-10/

    http://elitegamingcomputers.com/reply/12078/

    http://elitegamingcomputers.com/reply/operation-auctus-12/

    http://elitegamingcomputers.com/reply/12095/

    The above is what the updated slugs should be though as those replies were created before the 2.5 update they a) don’t work though that is what format your new slugs would use.

    Looking at a recent topic http://elitegamingcomputers.com/topic/hello-everyone-3/ your reply to that topic is and works fine: http://elitegamingcomputers.com/reply/17556/

    Thus this will only affect your pre bbPress 2.5 replies and there are probably a couple of options available if you wanted to retrospectively apply this to your pre 2.5 replies either with a custom PHP repair tool or directly in phpMyAdmin to grab each reply and copy it’s post ID to the post_name field in the wp_posts table.

    EDIT: If you want to see the code and ticket background on this change see this and this

    Stephen Edgar
    Keymaster

    Ha! This is kind of cool I reckon 🙂 http://theguiltymommy.com/mommy-forums/

    Your themes CSS loads after bbPress’ so adding the equiv from bbPress CSS to your thtmes CSS should do the trick:

    
    #bbpress-forums div.even,
    #bbpress-forums ul.even {
    	background-color: #fff;
    }
    
    #bbpress-forums div.odd,
    #bbpress-forums ul.odd {
    	background-color: #fbfbfb;
    }
    #145062

    In reply to: User Permission

    Stephen Edgar
    Keymaster

    Keymaster -> Forum Capabilities

    publish_forums
    edit_forums
    edit_others_forums
    delete_forums
    delete_others_forums

    Moderator -> Forum Capabilities

    publish_forums
    edit_forums
    read_private_forums
    read_hidden_forums

    What this allows for is the ‘keymaster’ has control of all the forums.

    A ‘moderator’ can create forums and edit their own forums created but not edit any other forums created by other moderators or keymasters.

    Probably the main issue you are seeing is ‘how to’ actually do this in the front end and we can (and will) implement this a little better in a future version of bbPress.

    To edit a forum from the front end simply add /edit to the end of the URL for example if you have a forum named test-forum this will take you to the edit forum form /forum/test-forum/edit/

    To add a new forum add the [bbp-forum-form] shortcode to a page that moderator can access or add a function like this one to hook the forum form onto a moderators user profile page.

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

    #145054
    Adonismoet1608
    Participant

    You tried that code posted above ?

    #145053
    chimerapro
    Participant

    okay I found the style editor I added these codes to the bottom of it and that did nothing I use !important its not working.

    #145028
    Robin W
    Moderator

    Which tends to suggest that you are having the issue rather than that the codex doesn’t work !

    css is loaded at various times, and changes can be overwritten by later loads.

    Try putting ‘!important’ after a few to see if that helps, if so then apply to all. This tells the code not to apply later changes.

    eg

    #bbpress-forums li.bbp-header {
     background: #eaeaea !important;
     }
    
    #145026
    Adonismoet1608
    Participant

    I have applied some of those codes from the styling crib into my css folder and they dont work

    #145025
    Chucky_PS
    Participant

    Hello,

    I am using a page called forums and the shortcode [bbp-forum-index] but the sidebars do not appearance.

    I have located the page_sidebar.php and copy in the theme directory as bbpress.php.

    How can I to select the page sidebar? Actually the space to sidebars is reserved but the sidebars do not appears. Click in any discussion to check it out.

    http://www.jailbreakup.com/foro/

    Thanks in advance

    #145024
    Robin W
    Moderator

    ‘The codex dosent work ‘

    Can you explain a little more ?

    #145022
    Adonismoet1608
    Participant

    The codex dosent work

    #145013

    In reply to: Videos (youku)

    Stephen Edgar
    Keymaster

    The WordPress language pack for zh_CH includes the following code:
    https://i18n.trac.wordpress.org/browser/zh_CN/tags/3.8.1/dist/wp-content/languages/zh_CN.php#L84

    
    83	/**
    84	 * Youku wp_embed handler
    85	 *
    86	 * Embed code last updated:
    87	 *  Wed, 06 Jun 2012 00:36:11 -0400
    88	 *
    89	 * Feel free to submit or correct URL formats here:
    90	 *  https://cn.wordpress.org/contact/
    91	 *
    92	 * @since 3.4.0
    93	 */
    94	function wp_embed_handler_youku( $matches, $attr, $url, $rawattr ) {
    95	        $embed = sprintf(
    96	                '<embed src="http://player.youku.com/player.php/sid/%1$s/v.swf" allowFullScreen="true" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>',
    97	                esc_attr( $matches['video_id'] ) );
    98	
    99	        return apply_filters( 'embed_youku', $embed, $matches, $attr, $url, $rawattr );
    100	}
    101	wp_embed_register_handler( 'youku',
    102	        '#https?://v\.youku\.com/v_show/id_(?<video_id>[a-z0-9_=\-]+)#i',
    103	        'wp_embed_handler_youku' );
    

    So as you should be able to have this in WordPress posts and pages etc that ‘should’ flow on down to bbPress to allow you to use youku 🙂

    #145012

    In reply to: Videos (youku)

    Stephen Edgar
    Keymaster

    Hi 🙂

    bbPress follows WordPress list here https://codex.wordpress.org/Embeds

    Oh…. Look… You should be able to 🙂

    Are you running WordPress with define('WPLANG', 'zh_CH'); in your wp-config.php?

    #145009
    Stephen Edgar
    Keymaster

    WordPress can only have one page titled page_name and use the slug page_name thus this then extends to bbPress.

    I thought we had a bbPress ticket for this on Trac but I can’t find it right now https://bbpress.trac.wordpress.org

    Stephen Edgar
    Keymaster

    Probably you should use http://chamabox.co.ke/forums/feed and http://chamabox.co.ke/topics/feed, any bbPress page, section, forum topic, just add /feed to the end of the URL and you should be good to go.

    That said, I see the feeds are broken, it looks like either the ‘wdsi-slide_in’ or ‘mailchimp’ plugins are injecting content into bbPress’ RSS feeds. What happens with these plugins disabled?

    #145000
    Stephen Edgar
    Keymaster

    Here is another way to do custom profile fields:

    https://codex.wordpress.org/Plugin_API/Filter_Reference/user_contactmethods

    bbPress will display any of of these fields you add or remove for a users profile page, as many of few as you like.

Viewing 25 results - 12,101 through 12,125 (of 32,504 total)
Skip to toolbar