Search Results for 'code'
-
AuthorSearch Results
-
May 9, 2011 at 9:28 am #95244
In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@miruru – Thanks for the kind words. Right now shortcodes are pretty limited to major template functions, like complete single forums, single topics, etc… I’m open to more shortcodes, but we should assemble and break them into template parts or functions as needed (to make overriding and customizing them easier.)
May 9, 2011 at 9:05 am #95243In reply to: bbPress 2.0 – Updates
miruru
MemberThe plugin is looking fantastic and so far no issues.
Is there a shortcode to display the author name of the topic. I have tried everything but cannot display the name. Ive managed to display the WordPress username (author/name) but not the bbPress username (user/name) as they both display two different pages.
Thank you for all the hard work to everything working on this plugin.
May 9, 2011 at 9:02 am #100357In reply to: Custom topic Fields
whitehats
MemberThanks. I realize I will have to modify a lot of core files to do that. Anywho, I might be wrong but I will report back the changes I made and the results of it.
May 9, 2011 at 9:02 am #105457In reply to: Custom topic Fields
whitehats
MemberThanks. I realize I will have to modify a lot of core files to do that. Anywho, I might be wrong but I will report back the changes I made and the results of it.
May 8, 2011 at 6:24 pm #100388In reply to: It all works… except, I can't see the posts!
Gautam Gupta
Participantfrankdamienzoe: Sorry, but I can’t help you out with your posts being marked as spam. That is handled by Akismet. Please run this sql query in your database via phpMyAdmin (it’s very easy, there are many tutorials available for this):May 8, 2011 at 6:24 pm #105488In reply to: It all works… except, I can't see the posts!
Gautam Gupta
Participantfrankdamienzoe: Sorry, but I can’t help you out with your posts being marked as spam. That is handled by Akismet. Please run this sql query in your database via phpMyAdmin (it’s very easy, there are many tutorials available for this):May 8, 2011 at 4:50 pm #100386In reply to: It all works… except, I can't see the posts!
frankdamienzoe
MemberThanks you guys…
I’m out of here,.. nothing personal but bbpress (as far as I am concerned) is Bugged Like Hell.
If you ask “normal users” like me, myself and I to start fiddling with the SQL tables and adjust a tiny bit of PHP code here and there, then, and trust me, you have got a BIG problem.
After my third install (intent) on a localhost MAMP server that runs 2 instances of WP and an instance of JOOMLA – all flawlessly – I got this nice little message:
Database error: [Table ‘fdzforum.bb_posts’ doesn’t exist] INSERT INTO
bb_posts(topic_id,post_text,post_time,poster_id,poster_ip,post_status,post_position,forum_id) VALUES (‘1′,'<p>First Post! w00t.n</p>n’,’2011-05-08 11:05:12′,’1′,’::1′,’0′,’1′,’1′) Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_insert_postDatabase error: [Table ‘fdzforum.bb_posts’ doesn’t exist] SELECT p.* FROM bb_posts AS p WHERE p.post_id != ‘0’ AND p.topic_id = ‘1’ AND p.poster_id = ‘1’ AND p.post_status = ‘0’ ORDER BY p.post_time DESC LIMIT 30 Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_insert_post, BB_Query->BB_Query, BB_Query->query, bb_cache_posts
Database error: [Table ‘fdzforum.bb_posts’ doesn’t exist] SELECT DISTINCT poster_id FROM bb_posts WHERE topic_id = ‘1’ AND post_status = ‘0’; Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_insert_post, bb_update_topic_voices
So cheerio, gimme a call when you have an install that works,
Frank
May 8, 2011 at 4:50 pm #105486In reply to: It all works… except, I can't see the posts!
frankdamienzoe
MemberThanks you guys…
I’m out of here,.. nothing personal but bbpress (as far as I am concerned) is Bugged Like Hell.
If you ask “normal users” like me, myself and I to start fiddling with the SQL tables and adjust a tiny bit of PHP code here and there, then, and trust me, you have got a BIG problem.
After my third install (intent) on a localhost MAMP server that runs 2 instances of WP and an instance of JOOMLA – all flawlessly – I got this nice little message:
Database error: [Table ‘fdzforum.bb_posts’ doesn’t exist] INSERT INTO
bb_posts(topic_id,post_text,post_time,poster_id,poster_ip,post_status,post_position,forum_id) VALUES (‘1′,'<p>First Post! w00t.n</p>n’,’2011-05-08 11:05:12′,’1′,’::1′,’0′,’1′,’1′) Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_insert_postDatabase error: [Table ‘fdzforum.bb_posts’ doesn’t exist] SELECT p.* FROM bb_posts AS p WHERE p.post_id != ‘0’ AND p.topic_id = ‘1’ AND p.poster_id = ‘1’ AND p.post_status = ‘0’ ORDER BY p.post_time DESC LIMIT 30 Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_insert_post, BB_Query->BB_Query, BB_Query->query, bb_cache_posts
Database error: [Table ‘fdzforum.bb_posts’ doesn’t exist] SELECT DISTINCT poster_id FROM bb_posts WHERE topic_id = ‘1’ AND post_status = ‘0’; Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_insert_post, bb_update_topic_voices
So cheerio, gimme a call when you have an install that works,
Frank
May 8, 2011 at 7:32 am #100384In reply to: It all works… except, I can't see the posts!
Gautam Gupta
ParticipantNamaste!

Recently, even I installed bbPress on MAMP and it gave an error that the
bb_poststable could not be created, a simple change in the query solved the problem though. Can you please check if you actually have thebb_poststable there?
May 8, 2011 at 7:32 am #105484In reply to: It all works… except, I can't see the posts!
Gautam Gupta
ParticipantNamaste!

Recently, even I installed bbPress on MAMP and it gave an error that the
bb_poststable could not be created, a simple change in the query solved the problem though. Can you please check if you actually have thebb_poststable there?
May 8, 2011 at 7:21 am #95238In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@christopher-jon – Fixed.
May 7, 2011 at 11:13 pm #100399In reply to: Where's the add plugin form?
welshmullen
MemberI am really struggling with adding plugins
May 7, 2011 at 11:13 pm #105499In reply to: Where's the add plugin form?
welshmullen
MemberI am really struggling with adding plugins
May 7, 2011 at 8:59 pm #95236In reply to: bbPress 2.0 – Updates
christopher jon
Member“Glad (sortof anyway
to hear I’m not the only one who saw the missing Forums in the menus page.”The quick fix is changing line 514 in bbpress.php to…
‘show_in_nav_menus’ => true,
It’s currently set to false.
May 7, 2011 at 5:36 am #95234In reply to: bbPress 2.0 – Updates
tooltrainer
MemberYeah I didn’t exactly expect a “yes” to #1.
I just wish it had SOME kind of unique moniker we could all adopt to refer to it ass… “bbPp2” maybe, or something. ANYTHING! There’s actually more stuff about it than you might expect, it’s just super duper hard to find.Deactivating the forums could work I suppose, hadn’t thought of that. Maybe temporarily re-slug the page containing it and put up a “Down for Maintenance” page instead under the old slug. That would probably work nicely now that I think about it.
Glad (sortof anyway
to hear I’m not the only one who saw the missing Forums in the menus page. I’m potentially days away from my site going live and I really need to add a few forums to my nav, so I hope you might be able to track this one down fast.Thanks as always for the speedy response!
Jonathan
May 7, 2011 at 4:21 am #95233In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster1. No.
The stand-alone 1.x branch of code will still be actiely maintained as needed, and is still a great piece of software. The plugin version will (most likely) get inflated to 2.0 to give us something better to refer to it as. A new generation of bbPress doesn’t change the spirit of the project, just the ease of integration with WordPress.2. If you deactivate the plugin, your forums will essentially be deactivated too. A dedicated maintenance mode sounds like a good idea for a plugin though.
3. I’ll take a look at this. Noticed it myself a few days ago, so it’s on the radar.
The bbPress plugin for WordPress isn’t showing up on search results because there just isn’t a lot of buzz about it yet. That will (hopefully) change after it’s released into the plugins repo and is available to a larger audience.
May 7, 2011 at 2:08 am #100354In reply to: Custom topic Fields
John James Jacoby
KeymasterFor topics, you’ll want to do a meta_query using ‘_bbp_forum_id’ as one of the keys. The code could probably use some cleaning up to simplify this, but that’ll come with time.
May 7, 2011 at 2:08 am #105454In reply to: Custom topic Fields
John James Jacoby
KeymasterFor topics, you’ll want to do a meta_query using ‘_bbp_forum_id’ as one of the keys. The code could probably use some cleaning up to simplify this, but that’ll come with time.
May 7, 2011 at 1:42 am #100353In reply to: Custom topic Fields
christopher jon
MemberIt works but it might not be the ideal solution.
I’m still working my way through the core forum code to get a better understanding of how it all works.
Ideally, I’d like to be able to grab topics from specific forums along with some additional query options. Similar to what the current widgets are doing but with greater flexibility.
Digging through the bbp-includes, all of the pieces are there, I just need to figure out what does what.
May 7, 2011 at 1:42 am #105453In reply to: Custom topic Fields
christopher jon
MemberIt works but it might not be the ideal solution.
I’m still working my way through the core forum code to get a better understanding of how it all works.
Ideally, I’d like to be able to grab topics from specific forums along with some additional query options. Similar to what the current widgets are doing but with greater flexibility.
Digging through the bbp-includes, all of the pieces are there, I just need to figure out what does what.
May 7, 2011 at 12:21 am #100352In reply to: Custom topic Fields
John James Jacoby
KeymasterAwesome
May 7, 2011 at 12:21 am #105452In reply to: Custom topic Fields
John James Jacoby
KeymasterAwesome
May 6, 2011 at 11:24 pm #100351In reply to: Custom topic Fields
christopher jon
MemberThought I’d update the fun.
Made a couple of custom loops to grab the forums and topics. Plain ‘ol wordpress custom queries, nothing new or special and added support for post thumbnails.
Working like a charm.
With the queries I’m able to list forums or topics anywhere on the blog and the thumbnails just add in some extra coolness, similar to how buddypress uses images for groups but I’ve extended it so any forum or topic can have it’s own thumbnail using default wordpress features.
Now, I need to remember how to write a filter so I can modify the custom post types through the theme functions and not mess with the core plugin code.
May 6, 2011 at 11:24 pm #105451In reply to: Custom topic Fields
christopher jon
MemberThought I’d update the fun.
Made a couple of custom loops to grab the forums and topics. Plain ‘ol wordpress custom queries, nothing new or special and added support for post thumbnails.
Working like a charm.
With the queries I’m able to list forums or topics anywhere on the blog and the thumbnails just add in some extra coolness, similar to how buddypress uses images for groups but I’ve extended it so any forum or topic can have it’s own thumbnail using default wordpress features.
Now, I need to remember how to write a filter so I can modify the custom post types through the theme functions and not mess with the core plugin code.
May 6, 2011 at 3:15 pm #95229In reply to: bbPress 2.0 – Updates
Gautam Gupta
ParticipantJaja: I think it would work in the way BuddyPress works, i.e. placing plugins for BuddyPress inwp-content/pluginstoo. -
AuthorSearch Results