Search Results for 'code'
-
AuthorSearch Results
-
April 15, 2014 at 6:31 pm #145096
In 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.
April 14, 2014 at 2:46 am #144999In reply to: Display latest post excerpt under Freshness
Stephen Edgar
KeymasterIf when you decide to come back to this you’ll want to use
the_excerpthttps://codex.wordpress.org/Function_Reference/the_excerpt
There are varios examples scattered throught this site also
April 14, 2014 at 2:38 am #144996In reply to: Make topic only visible to author and mod.
Stephen Edgar
KeymasterThere 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. 😉
April 13, 2014 at 8:04 pm #144992In reply to: Same design a bbpress support forum
Stephen Edgar
KeymasterThanks 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
April 13, 2014 at 3:54 pm #144982In reply to: How to Change bbpress Colors
Robin W
ModeratorApril 13, 2014 at 12:20 pm #144976In reply to: Which files to edit avatars ?
Robin W
Moderatoryou 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 !
April 13, 2014 at 12:12 pm #144975In reply to: Display latest post excerpt under Freshness
Robin W
Moderatorpresume 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 !
April 13, 2014 at 12:09 pm #144973Topic: Background White Font White. How to Change
in forum TroubleshootingAdonismoet1608
Participanttheme: Analytical Lite
the latest version of wordpress and bbpressmy 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
April 13, 2014 at 11:26 am #144972In reply to: Display latest post excerpt under Freshness
elaborate
ParticipantThank 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.phpthe 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 🙂
-
AuthorSearch Results