Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 12,126 through 12,150 (of 32,521 total)
  • Author
    Search Results
  • #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.

    #144999
    Stephen Edgar
    Keymaster

    If when you decide to come back to this you’ll want to use the_excerpt

    https://codex.wordpress.org/Function_Reference/the_excerpt

    There are varios examples scattered throught this site also

    https://bbpress.org/forums/search/the_excerpt/

    #144996
    Stephen Edgar
    Keymaster

    There are a couple of weird things happen with bbPress and setting them to ‘private’ from the backend, we just haven’t tested it thoroughly enough.

    There is a ticket on Trac somewhere, can’t find it at the moment though 🙁 https://bbpress.trac.wordpress.org

    There is also a plugin that gives each user their own forum that no other users can see, I am not sure if moderators have access to this forum or just the user and the keymaster.

    The name of that plugin? I have no idea, I can’t remember the name of it, what I do remember is that this feature has nothing to do with the name of the plugin nor is the feature even included in the description. It is an idea not fully implemented and approx 75% of the code is just sitting in the background doing nothing. So if I remember what it is I’ll come back and update this. 😉

    #144992
    Stephen Edgar
    Keymaster

    Thanks for sharing your code and and yes some more docs on this would be great.

    Anyone can add docs to the bbPress codex https://codex.bbpress.org/

    You just need to login with the same username and password you use here on bbpress.org

    https://codex.bbpress.org/wp-login.php

    Have a look at the current pages and or create a new page

    https://codex.bbpress.org/wp-admin/edit.php?post_type=page

    #144982
    Robin W
    Moderator

    try

    bbPress Styling Crib

    for starters

    #144976
    Robin W
    Moderator

    you can’t – wordpress and bbpress use a language called php to create the html code, so this code does not appear anywhere, it is made up of lots of function and css calls.

    Sorry !

    #144975
    Robin W
    Moderator

    presume the words from the topic/reply heading?

    if so, then widgets will show you what code you need.

    I could look at it, but it will be a while, and I’m buried in plugins !

    #144973
    Adonismoet1608
    Participant

    theme: Analytical Lite
    the latest version of wordpress and bbpress

    my font,background, and reply background is white
    so all text is hidden.

    i have tried applying the codes from styling crib into my theme css but it still dosent work.

    does anyone have anycode to change the back ground

    #144972
    elaborate
    Participant

    Thank you for the reply.

    I just realized that the Steam Forums I linked to don’t actually do what I’m talking about. I’m gonna see what I can do with wdgets.php the plugin you linked to, but just to clarify:

    I’m looking for the first couple of words from the most recent post of each forum to be displayed under “Freshness” on the front page and on forum lists, etc.

    I’ll figure out the PHP I need to, so don’t worry about that 🙂

Viewing 25 results - 12,126 through 12,150 (of 32,521 total)
Skip to toolbar