Search Results for 'forum'
-
AuthorSearch Results
-
October 8, 2009 at 9:25 pm #54165
In reply to: Group forum subscription
Mike Pratt
Participant@Boone – Cool. Brent and I have decided to go with your version for our interim rollout tonight. Yours just implements users options much better. However, we are going to redo the user sent email on notification as we don’t think it steers novice users well to action 9from experience) Not a big deal and I hope you aren’t offended. It involves a few extra variables and copy tweaks. I’ll post you when it’s done.
Mike
October 8, 2009 at 8:30 pm #54161In reply to: Groups and bbpress forums
Tore
ParticipantI’ve been thinking about using the integrated forums with 1.1 and rebuild the groups to only mean forum categories. Strip the groups feature of everything that’s not forums. Also make it easier to read. The layout of a forum in groups is a bit simplistic. Perfect for groups but not for stand alone forums.
October 8, 2009 at 7:46 pm #54154In reply to: Installing BP1.1 but keeping WP Theme For Root Blog
jamesatwholelifewholeworld
Participant…
My sign up page appeared once I merged the BP default theme with my root WP theme as per https://codex.buddypress.org/how-to-guides/upgrading-a-buddypress-1-0-theme-for-buddypress-1-1/. The styling isn’t quite fixed, bu tthe sign-up fields and buttons are all there, which was the point of my question above.
Have started a new thread with my leftover queries at https://buddypress.org/forums/topic/merging-bp-default-theme-with-wp-root-blog-theme
James
October 8, 2009 at 7:35 pm #54153In reply to: Groups and bbpress forums
zageek
ParticipantI tried reading through and searching the forum before posting this. Unfortunately there isn’t a detailed description of everything for BP like the WordPress Codex, its a bit frustrating. Reading through the code usually works but that takes a lot of time and coffee

https://codex.buddypress.org/developer-discussions/buddypress-forum/ that link doesn’t really say much except describe what the forum plugin is all about.
I have been playing around with the integrated forum and I don’t like the way you have to associate forums with groups and stuff. I want to have something like this forum on this site, like the standard forum structure you get.
A forum with a root thread in which categories can be made and child threads can be started. Like what Vbulletin, Phpbb and SMF et al has.
What I am trying to figure out is if its possible to do this with the integrated forums or should I go to the standalone Bbpress installation.
October 8, 2009 at 6:01 pm #54147In reply to: How Can I Show the Last 10 Forum Posts on Home.php?
bpisimone
ParticipantOh very interesting approach, thanks Andy!
though it does not work as intended right now: I’ve got the sitewide activity widget in the sidebar, so whenever I click on a filter as groups, friends etc. your code will change as well and display the latest 10 friendships for example.
Although the action line should prevent that right, new_forum_topic,new_forum_post?
October 8, 2009 at 4:36 pm #54143In reply to: How Can I Show the Last 10 Forum Posts on Home.php?
Andy Peatling
KeymasterYou can use the activity stream to pull this information and then filter it.
<?php if ( bp_has_activities(
'per_page=10&
max=10&
object=groups&
action=new_forum_topic,new_forum_post'
) ) : ?>
<ul id="activity-list" class="forum-posts">
<?php while ( bp_activities() ) : bp_the_activity(); ?>
<li class="<?php bp_activity_css_class() ?>">
<?php bp_activity_content() ?>
</li>
<?php endwhile; ?>
</ul>
<?php else: ?>
<div id="message" class="info">
<p>No latest forum posts.</p>
</div>
<?php endif;?>This will list the last 10 forum topics or forum posts site wide.
October 8, 2009 at 3:51 pm #54140In reply to: How Can I Show the Last 10 Forum Posts on Home.php?
bpisimone
ParticipantThanks Chouf1, seen it b4, still I’d like to do this without a plugin if possible!
October 8, 2009 at 3:32 pm #54139In reply to: How Can I Show the Last 10 Forum Posts on Home.php?
danbpfr
ParticipantTry this plugin (works with 1.1)
https://wordpress.org/extend/plugins/bbpress-latest-discussion/
number of post and forums can be set in plugin option
October 8, 2009 at 2:50 pm #54138In reply to: Forum at front page?
David Lewis
ParticipantCool! Thx
October 8, 2009 at 2:45 pm #54136In reply to: How Can I Show the Last 10 Forum Posts on Home.php?
bpisimone
Participant@Tore thanks for looking into this.
Actually what worked best for me was just copying the code from directories/forums/forums-loop onto home.php.
It does the same output as on the forums, but the actual link will forward to “not found” AND the group that it was posted in is not showing either.
The link looks like this:
http://site.com/profile/public/forum/topic/title/
Instead of this:
October 8, 2009 at 2:41 pm #54135In reply to: Groups and bbpress forums
danbpfr
ParticipantForums are are now fully integrated and attached to groups that can be created and controlled by any registered user.
https://codex.buddypress.org/developer-discussions/buddypress-forum/
By default, there is no need to be registered in a (public) group to post. You must only be on the group page to access to his forum.
If you are admin, you can create a hidden group of course and invite all members you want.
@ The thing is I want a site wide forum like this site has. I you want you have to create it. This iste use a custom page as far as i know.
@ So does that mean I have to create a group and add everyone to it ?
i think you’re going to do things twice if you don’t read this forum first before asking

.
October 8, 2009 at 2:10 pm #54131In reply to: Forum at front page?
danbpfr
Participant@david lewis
it’s not hard: the plugin still exist.
https://wordpress.org/extend/plugins/bbpress-latest-discussion/
And works with 1.1 new forum integration. Even if not necessary because latest post appearing in the side wide activity. So the plugin is only interesting if you don’t use SWA or if you use a custom homepage or an external bbpress install…
If you use it, don’t forget to set the right DB table prefix in the plugin option (default is bb_, but now it’s wp_bb_)
select the forum you want to exclude, enter connection infos and that’s it !
Have fun !
October 8, 2009 at 12:50 pm #54128In reply to: Forum at front page?
David Lewis
ParticipantOoooo… I like the idea of a homepage widget for latest forum posts. How hard could that be? The logic should all be in the forum index. Of course… the activity feed kinda takes care of that too… especially now with the super cool filtering feature. But a separate widget for latest post might still be nice.
October 8, 2009 at 11:11 am #54123In reply to: Forum at front page?
October 8, 2009 at 10:59 am #54121In reply to: Forum at front page?
Anonymous User 96400
InactiveYou get the forum activated in the backend under BuddyPress->Forums Setup. You can find the information that makes up your frontpage in a file called home.php in your child theme folder. The forum stuff you find in directories->forums->index.php. You could copy everything, except the sidebar bit over to home.php, but there’ll probably be some CSS issues, cause home.php is completely widgetized. So it’ll make more sense to package the forum stuff up as a widget and drop it in the first-section sidebar.
The rest (memberlist,groups,mesageboards) is set up automatically for you by BuddyPress.
Happy Coding!
October 8, 2009 at 7:57 am #54116mfd
ParticipantHello,
over here i encountered this problem too.
I am using wpmu 2.8.4 with Buddypress 1.1.1 and an BBPress Forum (not the integrated version, cause i want to use it as standard forum too).
So since i changed from the old “Two-Theme” system to the new one where the member theme is inside my wp-maintheme, i have this Problem and cant get rid of it.
Step 1:
Everything is in DB and seems correct
Step 2:
after clicking “Next Step” there is another group created without base data but with status.
There is no new groupforum created.
Step 3:
Sometimes i get here and if so i have a correct group(or so it seems in database), but after choosing the avatar i get another error saying “try again”.
Step 4:
Long time no see ^^ I have not seen this step since i changed the theme -.-
Hopefully someone will find out what causes this error
October 8, 2009 at 2:06 am #54106In reply to: Group forum subscription
r-a-y
KeymasterFunny I was talking about assumptions and I assumed that your bbPress install was sharing the same DB
October 8, 2009 at 12:48 am #54098In reply to: Group forum subscription
Boone Gorges
KeymasterHi Ray,
I’m glad you got it figured out. The reason I didn’t do this in the first place, though, is that BBDB_USER and those other global variables refer (if I’m not mistaken) to the bbPress db credentials, not the BP credentials that are necessary. If you’ve got the two installed in the same database, it’s not an issue and the globals will work. But I’m running bbPress and BP in separate DBs. $bb->user_bbdb_user and the like store the WP db info that the admin enters in the bbPress admin > WP integration settings.
So I guess all this is to say that I’m glad you got your situation figured out (I think I already said that
) but the very same solution might not work for all installations.@Mike – Yes, I noticed the other day that Brent had posted the plugin, and I thought it was hilarious that we had come out with the plugins at almost the exact same time. Please feel free to pick apart my code, as I’m planning to do with your code in the near future, so that we can communicate about the best way to merge, or at least not unnecessarily duplicate work. I’ve got some ideas for making the plugin better in the future (daily digests in place of individual emails would be a big improvement but is probably pretty difficult) and we should definitely help each other!
October 7, 2009 at 9:06 pm #54085In reply to: Group forum subscription
r-a-y
KeymasterBoone:
These lines will fix the problem I was having in the bbPress trigger plugin:
$con = mysql_connect("localhost",constant("BBDB_USER"),constant("BBDB_PASSWORD"));
mysql_select_db(constant("BBDB_NAME"), $con) or die(mysql_error());This will work for all bbPress installs; no more assumptions

To be safe, you could probably switch out “localhost” for constant(“BBDB_HOST”).
October 7, 2009 at 8:51 pm #54082In reply to: Group forum subscription
Mike Pratt
ParticipantPerhaps we should join forces, Boone but my partner in crime Brent Layman (westpointer) and I have a working plugin that does the same thing (albeit w/o the elegant options you have)
https://wordpress.org/extend/plugins/buddypressbbpress-email-notification/
Are you aware and maybe we can share code.
October 7, 2009 at 8:46 pm #54081In reply to: Group forum subscription
r-a-y
KeymasterI’m going to try and use the BBDB_USER and BBDB_PASSWORD constant variables from bb-config.php into the $con variable to see if this will fix the problem.
Will report back.
October 7, 2009 at 8:31 pm #54080In reply to: Group forum subscription
Boone Gorges
KeymasterHi Ray,
Here’s what I think is going on. When you create a new topic, bbPress has to go to the BP tables to find out who’s in the topic’s group and then subscribe them to the new topic. It looks like I wrote the code with the assumption that your BP db is accessible by the same mysql user as your bbPress db. I guess that’s probably not the case in some situations. That could be the problem.
On the other hand, the fact that your error says “using password: NO” suggests that no password is being sent at all, i.e. that $bb->user_bbdb_password is coming up blank. I’m not sure what that’s about.
In either case, a quick workaround is to hardcode your bp mysql db username/pw into the plugin. In
$con = mysql_connect(“localhost”,$bb->user_bbdb_user,$bb->user_bbdb_password);
replace $bb->user_bbdb_user with the user and …password with the pw.
Hope that works.
October 7, 2009 at 7:14 pm #54074In reply to: Group forum subscription
r-a-y
KeymasterHey Boone,
Just trying out the bbPress companion trigger plugin and I’m encountering this problem when creating new topics:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘www-data’@’localhost’ (using password: NO) in /var/www/example.com/forums/my-plugins/bb-group-forum-subscription.php on line 22
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/example.com/forums/my-plugins/bb-group-forum-subscription.php on line 24
Replying to already created topics works fine.
There’s also a noticeable delay when posting with the bbPress plugin; I’m guessing it’s the database queries that the plugin is doing.
October 7, 2009 at 6:02 pm #54071In reply to: Can't find forum install function in 1.1
mmcomber
ParticipantDoh! Thanks Jeff. Yes, it was user error on this one. I had the “Forum Support” disabled on the “Component Setup” page. After enabling, the “Forums Setup” appeared where it should be. Many apologies for posting this one.
October 7, 2009 at 12:33 pm #54051wordpressfan
ParticipantIn the same vein, it might be a good idea to create a theme designers forum, if for no reason other than to hold all of the theme-related questions. Putting more emphasis on buddypress theme development might also spur release of new 1.1 designs.
-
AuthorSearch Results