Search Results for 'code'
-
AuthorSearch Results
-
August 9, 2012 at 5:19 am #116753
In reply to: bbPress 2.2
Stephen Edgar
KeymasterCheck the Codex https://codex.bbpress.org/ for the latest docs and to get you up and running please see:
‘Getting Started with bbPress’ https://codex.bbpress.org/getting-started-with-bbpress/
If you would like to help us get the docs updated please login with the same credentials you use here on bbpress.org to https://codex.bbpress.org/wp-admin and help out however you can.
-
This reply was modified 13 years, 11 months ago by
Stephen Edgar. Reason: verbiage!
August 8, 2012 at 10:19 pm #116731In reply to: import untouched content
Stephen Edgar
KeymasterOK, I’m with you now, are you going to use a BBCode plugin for bbPress to render the HTML output?
I have just started working on a patch to add CSS for bbcode_quote, bbcode_quote_head, bbcode_quote_body and a few of the other CSS classes that are are parsed with bbp-parser.php
August 8, 2012 at 9:59 pm #116729In reply to: How can forum visitors register or log in?
DNBrawler
ParticipantYou need to use the login shortcode and the register page template. Theres also a login widget available.
August 8, 2012 at 6:52 pm #116724In reply to: Changing Colour
alturner
MemberI’ve spent days on this too, and although this topic didn’t help. it’s one i came across in my search, so thought i’d update with what worked for me.
I think it’s now quite simple, but very unintuitive. Hopefully my explanation works for you guys too.
IT’S NOT IN THE BBPRESS.CSS file! Arghhhhhhh
Firstly, I started using chrome instead of iexplore/firefox. Using this I navigated to the topic/reply box that wasn’t letting me see the text, right click, and select inspect element. The box at the bottom, and to the right, can then help you identify where it’s picking up styles from. You should see a section at the bottom saying matched styles, in my case ‘content.css’
If you hover over the style name (content.css for me) it should show you the location file and the section of code you need to change
The file I needed to amend was http://www.your_website_here.co.uk/wordpress/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css
And I just changed the section below, where color: #fff was previously different
body { font-family: Georgia, “Times New Roman”, “Bitstream Charter”, Times, serif; font-size: 13px; line-height: 19px; color: #fff; margin: 10px; min-height: 100%;}
I really hope this method helps others, as it’s been getting right on my nerves
meamrussian
ParticipantI’m having the same issue. I see two conflicting instructions for theming:
This page shows to make your own template within /my-templates/your-theme/. This page shows to put it in your wordpress theme folder: /themes/your-theme/bbpress/bbpress-files.php. So which is it?
Nevertheless, I tried doing it both ways, and neither show in the dropdown in forum settings. I tried copying the theme-compat theme in order to customize bbpress.
Can someone help, please?
August 8, 2012 at 4:45 pm #116706In reply to: Installed. Now, how do I get it visible?
moneyonlinetalk
ParticipantI have been trying for ages to make this works for my website, i activated the bbpress forum and create a page name forum, insert some few bbpress shortcodes and all i get is the “Forum is Empty” is there anywhere this can be resolved? Is there any tutorial on it?My site is at Latest Universities Newsany help will be appreciated.
August 8, 2012 at 11:40 am #116683In reply to: import untouched content
capsx
Participantthose was RAW data from MYSQL DB …
i actually DON’T NEED to convert BBCodes – i need original post texts, and that is the problem, cause bbpress converter convert [quote] to DIV
temporary fix was – to get original text from the phpbb_posts table via wp_postmeta key _bbp_post_id
August 8, 2012 at 8:38 am #116674In reply to: import untouched content
Stephen Edgar
KeymasterHave a look at the raw data in your MySQL database not the rendered HTML output, apart from some ‘line breaks’ (<br />) you will find this data is identical.
phpBBv3: phpbb_posts.post_text bbPress: wp_posts.post_contentIf you are actually wanting the importer to convert phpBB’s BBCode during import that is being worked on for future versions of bbPress and the import/conversion tool.
-
This reply was modified 13 years, 11 months ago by
Stephen Edgar.
-
This reply was modified 13 years, 11 months ago by
Stephen Edgar. Reason: markdown
Todventtu
MemberThanks for all the work you do, netweb. I was also happy to see some dude suddenly appeared with a solution to this important feature of stripping bbcode of useless stuff: https://bbpress.trac.wordpress.org/ticket/1884
August 7, 2012 at 11:53 pm #116649In reply to: Creating an FAQ for the bbPress Codex
Stephen Edgar
KeymasterAlso see this TRAC ticket #1924 https://bbpress.trac.wordpress.org/ticket/1924
And http://wpimpact.com/wp-content/uploads/2012/08/Untitled-11.png-
This reply was modified 13 years, 11 months ago by
Stephen Edgar.
August 7, 2012 at 10:09 pm #116644In reply to: import untouched content
Stephen Edgar
KeymasterWhen importing from phpBB BBCode is NOT converted, this will hopefully be an option in future releases.
August 7, 2012 at 9:57 pm #116643Stephen Edgar
KeymasterHere’s the list of bbPress User Roles and Capabilities if that helps:
https://codex.bbpress.org/bbpress-user-roles-and-capabilities/August 7, 2012 at 6:50 pm #116634In reply to: Creating an FAQ for the bbPress Codex
Stephen Edgar
KeymasterEvery thing up ^^^^ here looks and sounds good as does the FAQ đ
“Is there any way to subscribe to tag feeds?”
Only by RSS, just add /feed to the end or a tags URL https://bbpress.org/forums/topic-tag/faq/feed“What Iâm wondering is whether we need to provide anything for the forum members?”
As the docs get better I think they will be universal enough to be used by all parties and by utilizing a plugin such as https://wordpress.org/extend/plugins/bbpress-admin-bar-addition/ I think ‘the docs’ can be delivered to quite a few target audiences being discussed above.> The new admin bar entries will only be displayed if the current user has the bbPress/ WordPress capability of moderate. (Note: I am open for suggestions here if this should maybe changed to a more suitable capability.)
August 7, 2012 at 6:18 pm #116632In reply to: Creating an FAQ for the bbPress Codex
LabSecrets
ParticipantThanks, I wasn’t here at that time, but good info.
The videos would not need to be embeded on any other site, they could “live” in an unbranded Wistia project container with the other bbPress-only videos.
Question Two: What about any standard leader-trailer info? If we want to do this “right” it seems we should take the extra time to have an agreed-upon leader and trailer for all these videos, as this would make them all feel professional and part of the bbPress “product”.
Any input previously shared on this point? If you want, I can create some samples and share them here.
August 7, 2012 at 6:14 pm #116631In reply to: Creating an FAQ for the bbPress Codex
Siobhan
MemberWe discussed using videos in the WordPress Codex. The consensus was that videos were great so long as they were done on an clean, unbranded WP install (localhost or something like that).
August 7, 2012 at 6:11 pm #116630In reply to: Creating an FAQ for the bbPress Codex
LabSecrets
ParticipantCan someone from the group (or John?) please advise how you prefer for us to handle referencing our video content? We current, for example, have this popular video: http://labsecrets.com/2012/01/23/buddypress-and-bbpress-forums-made-easy/
Should we grab the embed code and put it into the codex as needed for each video, or do you prefer we keep embeds outside the codex and link to it directly.
Based on previous discussions with John, I do not want to create an improper embeds or links to our commercial endeavors…
See, eg., our addition to https://codex.bbpress.org/getting-started-with-bbpress/ (re. BuddyPress and bbPress), this is where a video would be helpful.
Please advise?
August 7, 2012 at 5:49 pm #116629In reply to: Creating an FAQ for the bbPress Codex
Siobhan
MemberSounds like a good idea to me – lots of users find videos really useful. I guess see what everyone else thinks?
I have created an FAQ here: https://codex.bbpress.org/faq/
It’s not published yet but you can see it if you’re logged it. I realised that one had already been started once I’d done it but it only had one question so I integrated it. At the minute I’m just coding the links using an a name – is this the best way or is there a plugin we should be using?
Also, once something has been added to the FAQ is there any way to “untag” it? Should I comment on the thread that it has been added to and someone else can remove the tag?
August 7, 2012 at 5:35 pm #116628In reply to: Creating an FAQ for the bbPress Codex
LabSecrets
ParticipantI was thinking we could provide a “users guide” with videos (think like Shawn has done with WP101) for bbPress “users” and in the same area the “admin guide” with info about running the site. Perhaps we can set aside the user content in a way that can be shared universally by site admins. We have the means and mechanism to deliver the content that way via a plugin, embed codes, etc. so a site owner could have generic “this is how to use it” instructions…. again, very much like wp101. We would donate our time and effort to produce this for bbPress if you guys are open to receiving the same?
August 7, 2012 at 5:24 pm #116625MTPrower
MemberHow do I override bbp-common-functions.php so that I can safely upgrade bbPress without losing my one change?
Here is the original:
// array of time period chunks $chunks = array( array( 60 * 60 * 24 * 365 , __( 'year', 'bbpress' ), __( 'years', 'bbpress' ) ), array( 60 * 60 * 24 * 30 , __( 'month', 'bbpress' ), __( 'months', 'bbpress' ) ), array( 60 * 60 * 24 * 7, __( 'week', 'bbpress' ), __( 'weeks', 'bbpress' ) ), array( 60 * 60 * 24 , __( 'day', 'bbpress' ), __( 'days', 'bbpress' ) ), array( 60 * 60 , __( 'hour', 'bbpress' ), __( 'hours', 'bbpress' ) ), array( 60 , __( 'minute', 'bbpress' ), __( 'minutes', 'bbpress' ) ), array( 1, __( 'second', 'bbpress' ), __( 'seconds', 'bbpress' ) ) );Here is what I want:
// array of time period chunks $chunks = array( array( 60 * 60 * 24 * 365 , __( 'y', 'bbpress' ), __( 'y', 'bbpress' ) ), array( 60 * 60 * 24 * 30 , __( 'm', 'bbpress' ), __( 'm', 'bbpress' ) ), array( 60 * 60 * 24 * 7, __( 'w', 'bbpress' ), __( 'w', 'bbpress' ) ), array( 60 * 60 * 24 , __( 'd', 'bbpress' ), __( 'd', 'bbpress' ) ), array( 60 * 60 , __( 'h', 'bbpress' ), __( 'h', 'bbpress' ) ), array( 60 , __( 'min', 'bbpress' ), __( 'min', 'bbpress' ) ), array( 1, __( 's', 'bbpress' ), __( 's', 'bbpress' ) ) );I’m trying to make the forums support mobile, and the long words ruin my tables.
I want to be able to upgrade bbPress without losing this change. What can I do?
August 7, 2012 at 5:18 pm #116624In reply to: Creating an FAQ for the bbPress Codex
Siobhan
MemberYup, I get that. But there is still a distinction between 1) the people who install and use bbPress to run their forum, and b) the forum members. What I’m wondering is whether we need to provide anything for the forum members (like basic stuff on posting etc) or if we can forget about them. In which case there are just Devs & users.
August 7, 2012 at 5:13 pm #116623In reply to: Creating an FAQ for the bbPress Codex
LabSecrets
ParticipantIn the past we’ve found it helpful to have one set of docs and info relating to “use” of the system, and then a second relating to “development” (or “customization”). The differentiation is less on the capability of the person searching, and more about what the point of the information may be.
Think of it like an automobile. There is the “user manual” in the glove box. But if you are a mechanic, you probably have the Chilton “repair manual” for that car in your shop somewhere.
If you use bbPress, the default “user manual” would have a variety of useful “how to use and extend this” info… but if you wanted to get into the code (php or css or js or shortcodes) you would look to the “repair manual” (not implying anything broken, just meaning it’s for modifying code)
Keeping things as simple and flat as possible might help to eliminate hiding good info in a complex heirarchy?
August 7, 2012 at 5:03 pm #116619In reply to: Creating an FAQ for the bbPress Codex
Siobhan
MemberSorry for the delay to this – i’m semi-on holiday đ
So this is an interesting question to do with users, end users etc. In fact, should we be producing stuff for forum users as well? I guess we have three groups: Developers Forum Admins Forum Users
Would that make more sense?
How about we adopt the following tagging system:
faq – for something to be added to the faq document – for something to be documented
Would that make sense? Is there any way to subscribe to tag feeds?
-
This reply was modified 13 years, 11 months ago by
Siobhan.
August 7, 2012 at 11:21 am #116606In reply to: Hiding bbPress topics from logged out users
Sam Srauy
MemberFound Phillips’ brilliant code awhile back. I changed it a little bit for more control:
function lab_logged_in_bbptopics($have_posts){ if (!bbp_current_user_can_publish_forums()){ $have_posts = null; } return $have_posts; } add_filter(âbbp_has_topicsâ, âlab_logged_in_bbptopicsâ); add_filter(âbbp_has_forumsâ, âlab_logged_in_bbptopicsâ); add_filter(âbbp_has_repliesâ, âlab_logged_in_bbptopicsâ);You can then use any of the user role plugins to specify which user (or user level) can publish forums. Of course, logged out users donât have a bbp_current_user_can_publish_forums() set so theyâll automatically be denied access to the forums. Hope you enjoy!
Also, I changed the âOh bother! âŚâ text in bbpress/feedback-no-forums.php to say âYou have to be logged in and have permission to see the forums.â
Hope this helps someone. And, thank you Philip for sharing your code to begin with! It certainly helped me a lot.
August 7, 2012 at 3:27 am #116591Good in Today
MemberI have absolutely NO IDEA why I can NOT get code to properly display on this website. Sorry, if you need to see the file I’m using I can send it to you but basically it’s the same exact one with everything stripped from it but the forum title.
August 7, 2012 at 3:18 am #116588Good in Today
MemberI’ve created a Widget that displays several different Forum related items in four different tabs. I’m having trouble with displaying the Forum Categories List properly however. I’ve modified loop-forums.php so that it calls loop-theWidget-single-forum.php and I’ve removed the bits from the loop-single forum that I did not need(in the copied one that’s displaying on the sidebar). This works perfectly EXCEPT … When you are on inside the Forums on the Topics List Page the Categories section of the Widget shows NOTHING AT ALL and then when you actually go inside of a Topic it then displays the infamous “Oh bother! No forums found.” thing. What I’m not fully understanding is that the Widget works EVERYWHERE ELSE on the website just fine.
Figure I’m missing some bit that I need to add so I came to the experts… What do I need to add / modify to make this tab of my Widget perform as intended? The Widget can be viewed at…
… and the current loop-single-forum.php that I’m utilizing looks like this…
<tr id="bbp-forum-" > <a class="bbp-forum-title" href="" title=""> <!-- bbp-forum- -->… any help would be most appreciated.
Thanks, in advance, for your time and assistance.
Andrew
-
This reply was modified 13 years, 11 months ago by
-
AuthorSearch Results