Search Results for 'code'
-
AuthorSearch Results
-
April 16, 2014 at 6:07 pm #145133
foxden-vixen
BlockedHalo 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?
April 16, 2014 at 4:05 pm #145130In reply to: Forum Ranks
matthewa761
ParticipantStill confused on where you enter this html code at…
April 16, 2014 at 11:58 am #145122Topic: Full Width for bbpress forums root page
in forum Themesleopolds
ParticipantHi,
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.)
April 16, 2014 at 3:20 am #145108Topic: Forum reply background
in forum TroubleshootingAdonismoet1608
ParticipantI 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
April 16, 2014 at 2:57 am #145106In reply to: hidden forum
Robin W
ModeratorNot 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 !
April 16, 2014 at 12:41 am #145104In reply to: Set bbpress roles on New user form
Stephen Edgar
KeymasterIf you take a look at a single users profile and the ‘edit’ section:
If you look in
content-single-user.phpyou’ll see:<?php if ( bbp_is_single_user_edit() ) bbp_get_template_part( 'form', 'user-edit' ); ?>Open the
form-user-edit.phptemplate:<?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.phptemplate:<?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.
April 15, 2014 at 6:55 pm #145098Halo 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; }April 15, 2014 at 6:44 pm #145097In reply to: CHAT FOR MY FORUM
Halo Diehard
ParticipantThere 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!
April 15, 2014 at 6:31 pm #145096In reply to: Use WordPress Page instead of Forum Root
Halo Diehard
ParticipantIf 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?
April 15, 2014 at 12:44 pm #145087In reply to: Moderator Unable To Post To Forum: iPhone iPad
Matoca
ParticipantUpdate. 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, matocaApril 15, 2014 at 1:16 am #145066In reply to: Duplicate Titles for Replies
Stephen Edgar
KeymasterThere was a change to handle reply slug titles in bbPress 2.5
http://elitegamingcomputers.com/reply/12078/
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
IDto thepost_namefield in thewp_poststable.EDIT: If you want to see the code and ticket background on this change see this and this
April 15, 2014 at 12:24 am #145065Stephen Edgar
KeymasterHa! 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; }April 15, 2014 at 12:04 am #145062In reply to: User Permission
Stephen Edgar
KeymasterKeymaster -> Forum Capabilities
publish_forums edit_forums edit_others_forums delete_forums delete_others_forumsModerator -> Forum Capabilities
publish_forums edit_forums read_private_forums read_hidden_forumsWhat 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
/editto the end of the URL for example if you have a forum namedtest-forumthis 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.April 14, 2014 at 8:09 pm #145054In reply to: How to Change bbpress Colors
Adonismoet1608
ParticipantYou tried that code posted above ?
April 14, 2014 at 8:07 pm #145053In reply to: How to Change bbpress Colors
chimerapro
Participantokay I found the style editor I added these codes to the bottom of it and that did nothing I use !important its not working.
April 14, 2014 at 8:18 am #145028In reply to: How to Change bbpress Colors
Robin W
ModeratorWhich 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; }April 14, 2014 at 8:04 am #145026In reply to: How to Change bbpress Colors
Adonismoet1608
ParticipantI have applied some of those codes from the styling crib into my css folder and they dont work
April 14, 2014 at 8:04 am #145025In reply to: bbpress sidebar at bottom of page
Chucky_PS
ParticipantHello,
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
April 14, 2014 at 7:49 am #145024In reply to: How to Change bbpress Colors
Robin W
Moderator‘The codex dosent work ‘
Can you explain a little more ?
April 14, 2014 at 7:11 am #145022In reply to: How to Change bbpress Colors
Adonismoet1608
ParticipantThe codex dosent work
April 14, 2014 at 5:11 am #145013In reply to: Videos (youku)
Stephen Edgar
KeymasterThe WordPress language pack for
zh_CHincludes the following code:
https://i18n.trac.wordpress.org/browser/zh_CN/tags/3.8.1/dist/wp-content/languages/zh_CN.php#L8483 /** 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 🙂
April 14, 2014 at 5:08 am #145012In reply to: Videos (youku)
Stephen Edgar
KeymasterHi 🙂
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 yourwp-config.php?April 14, 2014 at 4:49 am #145009In reply to: Forum vs Blog permalinks
Stephen Edgar
KeymasterWordPress can only have one page titled
page_nameand use the slugpage_namethus 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
April 14, 2014 at 3:29 am #145005Stephen Edgar
KeymasterProbably you should use http://chamabox.co.ke/forums/feed and http://chamabox.co.ke/topics/feed, any bbPress page, section, forum topic, just add
/feedto 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?
April 14, 2014 at 2:58 am #145000In reply to: Displaying a custom field in profile page
Stephen Edgar
KeymasterHere 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.
-
AuthorSearch Results