Search Results for 'code'
-
AuthorSearch Results
-
May 11, 2011 at 11:12 pm #105540
In reply to: General Questions
John James Jacoby
KeymasterKind of a long story, but more cliffnotes…
BuddyPress is a social networking plugin for WordPress, that actually comes bundled with bbPress inside of it to create group discussion forums.
bbPress has always been a stand-alone platform (like WordPress) but is being turned into a plugin for WordPress to make integration as seamless as possible. So right now, there are two distinctly separate versions of bbPress, stand-alone and plugin.
As far as I know there isn’t a migration script between SMF and bbPress, but I could be wrong. There most likely is not one for the bbPress plugin since it hasn’t been publicly released yet.
Documentation, is limited.
There is almost none on the plugin so far, but there will be once it’s released and in the wild. We’ll put some documentation up here at bbpress.org to help answer all of these kinds of questions easier.
May 11, 2011 at 10:49 pm #100438In reply to: General Questions
John James Jacoby
KeymasterRight now probably the best example of the plugin in action is over at http://testbp.org/discussion. It’s using some of the shortcodes and minimal CSS tweaks to mimic the look of the forums here at bbpress.org.
May 11, 2011 at 10:49 pm #105538In reply to: General Questions
John James Jacoby
KeymasterRight now probably the best example of the plugin in action is over at http://testbp.org/discussion. It’s using some of the shortcodes and minimal CSS tweaks to mimic the look of the forums here at bbpress.org.
May 11, 2011 at 9:55 pm #100436In reply to: General Questions
John James Jacoby
KeymasterThe bbPress plugin will fully integrate into any existing WordPress 3.1+ installation. Since it’s using WordPress to power the database interaction, it is immediately integrated and available in any way you need it to be, depending on your level of skill, etc…
Technically WordPress doesn’t really have conventional ‘profiles’ but they do use the exact same user account for everything. In the future bbPress profiles will be merged with BuddyPress profiles, providing a seamless experience.
You’re on your own with advertisements.

Other things of note:
* The stand alone version of bbPress has been in a feature freeze for a majority of the past two years.
* The community surrounding bbPress isn’t as large as WordPress.
* The transition between versions (0.9, 1.0, and now the plugin) have caused some unrest for people passionate about the project.
So, that’s the cliff-notes of the story.
May 11, 2011 at 9:55 pm #105536In reply to: General Questions
John James Jacoby
KeymasterThe bbPress plugin will fully integrate into any existing WordPress 3.1+ installation. Since it’s using WordPress to power the database interaction, it is immediately integrated and available in any way you need it to be, depending on your level of skill, etc…
Technically WordPress doesn’t really have conventional ‘profiles’ but they do use the exact same user account for everything. In the future bbPress profiles will be merged with BuddyPress profiles, providing a seamless experience.
You’re on your own with advertisements.

Other things of note:
* The stand alone version of bbPress has been in a feature freeze for a majority of the past two years.
* The community surrounding bbPress isn’t as large as WordPress.
* The transition between versions (0.9, 1.0, and now the plugin) have caused some unrest for people passionate about the project.
So, that’s the cliff-notes of the story.
May 11, 2011 at 9:43 pm #95271In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@miruru – You could filter
bbp_get_topic_last_active
and output your own time, or you could hook into
bbp_get_time_since
and have it return the second parameter that’s passed to it.
May 10, 2011 at 8:24 pm #95270In reply to: bbPress 2.0 – Updates
tooltrainer
MemberI’m not entirely sure what he’s asking either, but he’s not a PHP guy so sometimes doesn’t follow all the coding needed.
What I’m trying to do is color the background of stickies & super stickies differently. He’s trying to figure out how to inject his required CSS into the specific posts that are either stick or super sticky, but not other posts. And I’m kinda the flip side of him in that I’m a PHP guy but CSS mostly just confuses the hell out of me. So we’re kinda both not sure what the other needs. LOL
Not sure if this helps, but if you can shed any more light it would be great. I’ll also ask him to clarify what exactly he’s stuck on.
Thanks,
Jonathan
EDIT: OK it turns out he DID think I was asking him how to create stickies in the first place. Didn’t realize I just needed them colored and they were already there. So… I think we’re all good now.
May 10, 2011 at 7:30 pm #95267In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@tooltrainer – I don’t understand the question. It sounds like an elaborate way of asking “How do I mark topics as sticky?” If what you’re asking is how to highlight a specific post in a different way other than sticky, the only way in core is by the specific ID of that topic or reply, without writing your own code to put something else in there.
@christopher-jon – Anonymous posts are still working for me? Edit lock time fixed here: https://bbpress.trac.wordpress.org/changeset/3134/
May 10, 2011 at 6:15 pm #95266In reply to: bbPress 2.0 – Updates
tooltrainer
MemberCORRECTION to my previous post – it may have been a problem of type. My coder did this to solve:
$forum_ids = array_merge( (array)$private, (array)$hidden );
Also regarding my question about styling stickies, got this question from my designer:
“bbP Team –
With regards to adding the .sticky classes to important posts, (‘They are .sticky and .super-sticky respectively’), how would one then go about isolating a specific post? I am currently going through the loop-forums and loop-topics.php files, and while I see where the tables are being generated, the topics themselves are being generated seemingly dynmically through PHP.. so how would I go about selecting/isolating a specific topic/<tr> that I would like to apply the .sticky class to??”
Any light you can shed on this JJJ or anyone else?
Thanks!
Jonathan
May 10, 2011 at 1:31 am #95259In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@tooltrainer – There are. They are .sticky and .super-sticky respectively. You can do something like
tr.type-topic.super-sticky { stuff }too, depending on the strength of the override you’re trying to achieve.May 9, 2011 at 6:42 pm #95250In reply to: bbPress 2.0 – Updates
Gautam Gupta
Participantpadams: I think JJJ is thinking of getting them into the alpha or the first major release of the plugin.May 9, 2011 at 6:35 pm #95248In reply to: bbPress 2.0 – Updates
Gautam Gupta
Participantpadams: No, forums are made using custom post types. bbPress will soon introduce its own feeds.
May 9, 2011 at 12:00 pm #100366In reply to: Custom topic Fields
christopher jon
MemberSounds good.
I’ve found working with the plugin to be pretty easy. Beneath all of the code, it’s still wordpress at heart.
The next thing I want to try out is modifying the single topic loop to display certain topics with a different style, something similar to a featured post on a blog.
This is where the meta box was needed, adding a check box to notify the loop to use a different style for those topics.
The default theme has something similar already in place with the first topic posting having slightly larger text than the replies. An additional conditional check should do the trick.
May 9, 2011 at 12:00 pm #105466In reply to: Custom topic Fields
christopher jon
MemberSounds good.
I’ve found working with the plugin to be pretty easy. Beneath all of the code, it’s still wordpress at heart.
The next thing I want to try out is modifying the single topic loop to display certain topics with a different style, something similar to a featured post on a blog.
This is where the meta box was needed, adding a check box to notify the loop to use a different style for those topics.
The default theme has something similar already in place with the first topic posting having slightly larger text than the replies. An additional conditional check should do the trick.
May 9, 2011 at 10:01 am #100364In reply to: Custom topic Fields
whitehats
MemberNever mind the stupidity! I was jumping the gun too quickly.
Will post my solution for a completely custom Topic a bit later.
May 9, 2011 at 10:01 am #105464In reply to: Custom topic Fields
whitehats
MemberNever mind the stupidity! I was jumping the gun too quickly.
Will post my solution for a completely custom Topic a bit later.
May 9, 2011 at 9:53 am #100363In reply to: Custom topic Fields
whitehats
MemberChris –
Actually I do have an event post type working. I think I am only confused because the hooks I add in the function.php of bbbTwentyten theme do not affect the plugin files at all. So I went ahead and modified the files in my comment above.
I do believe there is a better way of doing it. But probably will not realize until I break some stuff.
May 9, 2011 at 9:53 am #105463In reply to: Custom topic Fields
whitehats
MemberChris –
Actually I do have an event post type working. I think I am only confused because the hooks I add in the function.php of bbbTwentyten theme do not affect the plugin files at all. So I went ahead and modified the files in my comment above.
I do believe there is a better way of doing it. But probably will not realize until I break some stuff.
May 9, 2011 at 9:50 am #95245In reply to: bbPress 2.0 – Updates
miruru
Member@JJJ – that’s okay. The shortcode was to be used so that I could create a list of new forum topics that displays the following:
[Topic Title] Posted in [name of forum] on [topic date] by [topic author]
unless the bbPress topics/replies list can be modified to display the above info. I’m currently using the Query Posts plugins to do this as it allows me to display the page the topic is on etc, and when i used [entry-author], it displays the wordpress user (author/name), not the bbpress user (user/name).
May 9, 2011 at 9:39 am #100360In reply to: Custom topic Fields
John James Jacoby
Keymaster@whitehats – You should never, ever, modify any core files. The WordPress actions/filters system is in place to let you inject code and modify existing values as needed. Anywhere you feel the need to hack the core, there should be another way.
The only times when hacking core files makes sense are specifically when fixing a bug in the software or when creating new features to be inserted into core.
May 9, 2011 at 9:39 am #105460In reply to: Custom topic Fields
John James Jacoby
Keymaster@whitehats – You should never, ever, modify any core files. The WordPress actions/filters system is in place to let you inject code and modify existing values as needed. Anywhere you feel the need to hack the core, there should be another way.
The only times when hacking core files makes sense are specifically when fixing a bug in the software or when creating new features to be inserted into core.
May 9, 2011 at 9:36 am #100359In reply to: Custom topic Fields
whitehats
MemberThanks. The error I get is call to undefined function add_meta_box() in bbpress.php, so was wondering if it was supposed to be differently.
Sorry about noobish questions! I am learning most of it.
May 9, 2011 at 9:36 am #105459In reply to: Custom topic Fields
whitehats
MemberThanks. The error I get is call to undefined function add_meta_box() in bbpress.php, so was wondering if it was supposed to be differently.
Sorry about noobish questions! I am learning most of it.
May 9, 2011 at 9:28 am #100358In reply to: Custom topic Fields
christopher jon
Member“Did you have to call any additional function to add meta boxes? Have you tried that yet?”
Nope. Using the default wordpress code should work. Just remember to set the correct page type (forum/topic) or you wont see it.
Here is part of my code so you can see where I changed the page type to the “topic” custom post type.
$meta_boxes[] = array(
‘id’ => ‘forum_options’,
‘title’ => ‘Forum Options’,
‘pages’ => array(‘topic’),
‘context’ => ‘side’,
‘priority’ => ‘core’,
May 9, 2011 at 9:28 am #105458In reply to: Custom topic Fields
christopher jon
Member“Did you have to call any additional function to add meta boxes? Have you tried that yet?”
Nope. Using the default wordpress code should work. Just remember to set the correct page type (forum/topic) or you wont see it.
Here is part of my code so you can see where I changed the page type to the “topic” custom post type.
$meta_boxes[] = array(
‘id’ => ‘forum_options’,
‘title’ => ‘Forum Options’,
‘pages’ => array(‘topic’),
‘context’ => ‘side’,
‘priority’ => ‘core’,
-
AuthorSearch Results