Search Results for 'bbpress'
-
AuthorSearch Results
-
June 16, 2010 at 1:15 pm #89823
In reply to: link of title problem
kevinjohngallagher
MemberI’m sorry, you’re using BuddyPress, not bbPress.
You should head to the BuddyPress forums for help, those folks are really lovely and quick so they’ll be able to help you with a solution.
Good Luck,
Kev
June 16, 2010 at 12:08 pm #89734In reply to: bbPress0.9 support finishing early
Gautam Gupta
ParticipantOnce a milestone is deleted, its tickets are shifted to another milestone and I think there is no way to see the pending tickets on that particular milestone. But, I think there were no tickets for 0.9.0.7 milestone, there were only for 1.0.3 and if the bugs applied to 0.9 branch too, then they were also fixed there. You can view the latest version of 0.9 here – https://trac.bbpress.org/browser/branches/0.9
Also don’t you think that (again) this whole thing would be handled better if we’d been told about it either before hand or at the time?
Yup, I agree with you on this.
June 16, 2010 at 10:58 am #89532In reply to: Working Member List?
_ck_
ParticipantKevin, bbPress has a function to include a template.
ie.
bb_load_template( 'tags.php' );You can see it at the end of many of the files in the root
But you may find the behavior unpredictable and may want to just use an include instead, in which case you’d have to calculate the current template folder yourself, which is difficult.
June 16, 2010 at 10:57 am #89608In reply to: What. The. Heck. Is. Going. On!
mr_pelle
ParticipantI agree with Zaerl. Documentation has been bbPress biggest lack since I knew it. There is also a 3-months-old ticket regarding PHPdoc and coding standards which has never moved on…
I deeply esteem your work, Zaerl: it’s amazing what you were able to do with no documentation at all! And the fact that you consider your latest plugins as “toys” is… wow!
Anyhow, we’d need more people with TRAC permissions to change the website (and to commit 1.0.3/1.1 patches too) and at the moment we just have a few…
I’ll be happy to contribute with my (very little) experience and my (big) free time, but we need to know who stakeholders are, first.
June 16, 2010 at 10:56 am #89531In reply to: Working Member List?
_ck_
ParticipantHere is a working mini example of the view with the user query.
raw: http://pastebin.com/raw.php?i=xXant1dX
fancy: http://pastebin.com/embed_iframe.php?i=xXant1dX
download: http://bbshowcase.org/plugins/member-list.zip
(download mirror): http://pastebin.com/download.php?i=xXant1dX
It’s been made (much) more complex because of the pagination.
But please ask questions if you want to learn more.
You can now access any of these variables in the output section near the bottom, or you can use many internal bbPress API functions.
$user->ID
$user->user_login
$user->user_pass
$user->user_nicename
$user->user_email
$user->user_url
$user->user_registered
$user->user_status
$user->display_name
please note the GT thingie you are seeing above is really a greater than symbol
Dig through the bbpress file “template-functions.php” if you want to see what other internal functions are available to you.
Look for ones that accept $user_id as the variable and you can probably use it.
Much more advanced topics would include overriding the internal pagination per page limit and changing/repeating the navigation but I am not going to cover right now.
June 16, 2010 at 10:39 am #89607In reply to: What. The. Heck. Is. Going. On!
zaerl
ParticipantBeware. I’m a bit O.T. cause I will speak regarding my situation as a “plugin developer”. Keep in mind that usually I don’t write these kind of posts.
I really don’t like what’s going on in this site. I mean: everybody are fighting each other regarding the near future of this software. It must be name 1.0.3, no it’s 1.1, no it will be a plugin et cetera. It’s just a number and nobody care about numbers. If Linux jumped from 0.12 to 0.95 then we can call the new version of bbPress 1.0.3, 1.1 or what we want.
Now what is the real problem? The real problem is this site. After the releasing of the new template and the corresponding “Whoa!” thread everything stopped working. 404 pages, SVN broken, search broken, stupid HTML entities, trac substitution tag. Also the “Downloads This Week” statistics aren’t updated, “Highest Rated Plugins” too and I can continue on.
I really love this piece of code but we must provide a good experience for users now for the 1.0.2. We can’t provide the new version if there isn’t a solid base first. Few hints? Documentation or API documentation? I was forced to look at the code of the core in order to understand how to write my extensions.
I am demotivated. I have built a lot of plugins but I don’t want to hit the “submit” button cause why should I share my work if nobody can search for it in the plugin section or access it in several situations? As you can see I have stopped uploading big plugins after Editor and Visibility. Random Desc, Simple Registration, URL Preview and Post Permalink are like toys for me and I can share my toys with other people.
Have a nice day and long live bbPress.
June 16, 2010 at 10:08 am #89529In reply to: Working Member List?
_ck_
ParticipantNow we need a proper function to process/display the view output.
Because we are essentially tricking bbPress into doing this view for us, we have to make sure we do all the output ourselves, like this mini-example
function member_list($view='') {
if (!empty($view) && $view!='member-list') {return;}
bb_send_headers();
bb_get_header();
// do view stuff here
bb_get_footer();
exit;
}first we make sure the view is for us, if so we send any http headers, then we send any bbPress html headers like in a normal page (meta, css, etc.) then we do our view, then we send the bbPress footer and we force PHP to stop afterwards.
June 16, 2010 at 10:02 am #89528In reply to: Working Member List?
_ck_
ParticipantActually I guess I will jump ahead and show how to make this into a view because otherwise we won’t have a proper place for it and it will get awkward to test.
This is the mashup I’ve come up with over the years as the “simplest way”. bbPress unfortunately requires a fake, wasted query for it’s views because the original designers wanted you to use their proprietary query method which only deals with topics, so we have to bypass it.
add_action(‘bb_custom_view’,’member_list’);
$fakequery=array(‘started’ => ‘>0′,’append_meta’=>false,’sticky’=>false,’topic_status’=>’all’,’order_by’=>1,’per_page’=>1), false);
bb_register_view(“member-list”,”Member List”,$fakequery);
So there we’ve registered a view called “Member List” that will use the url/tag “?view=member-list” or “view/member-list
June 16, 2010 at 9:44 am #89527In reply to: Working Member List?
_ck_
ParticipantFirst we need to gather the list of users who are not inactive or blocked.
This unfortunately requires a much more complicated query because of how wordpress/bbpress stores the user status in the meta, and in a way that cannot be quickly queried.
ie. this simple query is not good enough:
$query=”SELECT ID FROM $bbdb->users WHERE user_status=0 ORDER BY user_registered DESC”;
So the following will work up to mid-sized forums, if you have over 100k users, it’s probably a bad approach because it’s non-indexed in mysql and the query will require a complete table-scan.
global $bbdb;
$query="SELECT ID FROM $bbdb->users as t1 LEFT JOIN $bbdb->usermeta as t2 on t1.ID=t2.user_id WHERE user_status=0 AND (meta_key='$bbdb->prefix"."capabilities' AND NOT (meta_value LIKE '%inactive%' OR meta_value LIKE '%blocked%')) ORDER BY user_registered DESC";
$results=$bbdb->get_col($query);(we’re going to deal with pagination later)
$results will now contain all the active user IDs, newest members first (or false if the query failed for some reason).
Since bbpress.org is screwing up code now, I’m putting it also here:
June 16, 2010 at 9:36 am #89605In reply to: What. The. Heck. Is. Going. On!
mr_pelle
ParticipantFor one thing, a bunch of plugin coders have repeatedly requested access to updating their old plugin files and better access to maintaining their plugin’s “page” or information.
Any plugin author can update his/her plugin. That problem didn’t arise.. where did you hear/read that from?
Probably he was referring to the weeks (months?) when Plugins section was not synchronized with SVN. I wrote about it here, Zaerl did here and I don’t remember if any other plugin dev did it somewhere else.
In an IRC meetup, Matt said that bbPress will start becoming a WP plugin near 1.2 or so.
That milestone does not even exist! Anyhow it means they have to release 1.1 first, which unfortunately still has a load of open tickets…
b) fork bbPress July 2010
There is absolutely nothing legally or physically preventing you from forking bbPress right now or in July. You literally don’t need anyone’s permission, so go right ahead.
If he could do that on his own, I think we would already heard about it. That kind of project definitely needs a team of more than just 1 dev!
June 16, 2010 at 9:34 am #89526In reply to: Working Member List?
_ck_
ParticipantIt’s very easy to make a list of members and you can use some of the built in bbPress functions. I guess I’ll turn that into a lesson here in this topic.
June 16, 2010 at 9:27 am #89801In reply to: Support for Private Forum
zaerl
ParticipantI have written a plugin called “zaerl Visibility” that can help you hiding forums for guests. Then you can delete the content of the register.php template file, delete the register link on header.php and manually add users with https://bbpress.org/plugins/topic/admin-add-user/ (check the comments for a fix if you’re running 1.0.2)
June 16, 2010 at 9:26 am #89789In reply to: Prevent unregistered users from viewing the fourm
mr_pelle
ParticipantSwirl Unknowns, a plugin of mine, does the job too.
I will release version 1.0 next week, probably on thursday or friday: it will feature a renewed configuration page and a bunch of other updates.
June 16, 2010 at 9:24 am #89604In reply to: What. The. Heck. Is. Going. On!
Rich Pedley
MemberDon’t ask what bbPress can do for you, ask what you can do for bbPress.
June 16, 2010 at 9:18 am #89603In reply to: What. The. Heck. Is. Going. On!
_ck_
Participantb) fork bbPress July 2010
There is absolutely nothing legally or physically preventing you from forking bbPress right now or in July. You literally don’t need anyone’s permission, so go right ahead.
June 16, 2010 at 7:21 am #89733In reply to: bbPress0.9 support finishing early
kevinjohngallagher
MemberThanks Gautam,
I’m quite useless at Trac. Can you link me to the URL that shows the tickets associated with 0.9.0.7 before it’s deletion please? I can’t find them.
Also don’t you think that (again) this whole thing would be handled better if we’d been told about it either before hand or at the time?
June 16, 2010 at 7:15 am #89813In reply to: Anonymous Users
kevinjohngallagher
MemberAnonymous Posting also worked brilliantly with bbPress0.9 and the Anonymous posting plugin.
June 16, 2010 at 7:11 am #89602In reply to: What. The. Heck. Is. Going. On!
wtfmatt
MemberHe didn’t reply to me
NO SURPRISE there huh.
0.9 … 1.0 … 1.1
How is anyone supposed to understand what is going on with all these releases. How can any reasonable and hard working member of the bbpress community still be in support of Matt?
Matt’s claims in IRC were now 6 months ago. You really believe them?
And again I say that TRAC and IRC logs are NOT true “public” records. What is the point of the bbpress forum? Just to test out the software?
AGAIN I PROPOSE:
a) bug the living hell out of Matt until we get answers … or
b) fork bbPress July 2010
Matt already hates/ignores/constantly-lies-to bbPress anyway, so its a no-loss set of options above. He has obviously reached the state of being a super rich, “content” guy who doesn’t give a crap about anything anymore, which is great and congratulations to him, but screw his rudeness and immaturity and let’s arrive at some new plans of action.
I am not attacking citizenkeith or anyone else on a personal level. I’m attacking the users that keep trying to derail this thread and/or these important issues with petty condescending whining. These issues are critical and to employ playground politics is retarded and wastes everyone’s time.
Matt: if you read this, you only have one viable option at this point buddy, which is offer a sincere apology, update the blog, guide the devs to decide on a branch and future plans with WP plugin/standalone options, and INFORM the bbpress community of your decisions…
June 16, 2010 at 6:45 am #89601In reply to: What. The. Heck. Is. Going. On!
Gautam Gupta
ParticipantAny email response from Matt yet?
He didn’t reply to me, but you can also check here – https://bbpress.org/forums/topic/bbpress09-support-finishing-early#post-69893
For one thing, a bunch of plugin coders have repeatedly requested access to updating their old plugin files and better access to maintaining their plugin’s “page” or information.
Any plugin author can update his/her plugin. That problem didn’t arise.. where did you hear/read that from?
the point of an open source community is that everyone is communicating and sharing developments regularly and publicly
That is what Trac is about, anyone can see the developments, communicate and contribute.
Also, if bbpress is 90% becoming a WP plugin, why hasn’t this process been decided on or initiated yet? Will it be initiated after the 1.0.3 release?
In an IRC meetup, Matt said that bbPress will start becoming a WP plugin near 1.2 or so. (and that IRC meetup is also posted on the blog)
@citizenkeith, thanks for providing another example of bored whiny bbpress trolls. If only we could get rid of users like you, we might have more progress around here.
citizenkeith is a valuable member to the community and has been here for long, so please.
June 16, 2010 at 6:33 am #89732In reply to: bbPress0.9 support finishing early
Gautam Gupta
ParticipantThe code has not been deleted and it wont be deleted, only the milestone is deleted. You can still download the 0.9 branch from Trac which contains a few bug fixes from 0.9.0.6.
Also, 1.0.3 is same as 1.1 (except that it wont contain new features if it is released), nor there are any database changes in it till now. If any user upgrades to 1.1, he/she can easily downgrade to 1.0.2 any time.
June 16, 2010 at 6:04 am #89600In reply to: What. The. Heck. Is. Going. On!
wtfmatt
MemberYour response is appreciated. Maybe a mod can copy paste your answers into a sticky thread. Any email response from Matt yet?
So mdawaffe is the only confirmed webmaster for bbpress.org, and he doesn’t seem to pay attention to any feedback or bugs. I guess that has been confirmed at least… Chris, do you have access or not? This really ain’t the biggest concern right now, but it would help the community to know who deals with this site, as Matt does not actively. For one thing, a bunch of plugin coders have repeatedly requested access to updating their old plugin files and better access to maintaining their plugin’s “page” or information. This is whay I mean by “higher ups” – its great that 3-4 devs are having private IRC chats together and exchanging emails, but last time I checked, the point of an open source community is that everyone is communicating and sharing developments regularly and publicly. Hell, this forum itself barely has any staff or moderators to speak of. And even the forum regulars have no way to get in touch with “higher ups” even if they wanted to, so bbpress is 99% hearsay at this point. BIG PROBLEM.
Also, if bbpress is 90% becoming a WP plugin, why hasn’t this process been decided on or initiated yet? Will it be initiated after the 1.0.3 release?
Coders and designers want and need to know these answers guys. I’m only speaking up for the silent majority and dozens of unanswered threads, this is not just my personal rant.
@citizenkeith, thanks for providing another example of bored whiny bbpress trolls. If only we could get rid of users like you, we might have more progress around here.
June 16, 2010 at 4:40 am #89818In reply to: I removed the /forums in my bbpress Need Help
chrishajer
ParticipantJune 16, 2010 at 4:37 am #89812In reply to: Anonymous Users
chrishajer
Participantlogin-less posting is a feature present in the latest trunk release. It’s not packaged for release yet, and there are some dependencies (notably BackPress). If you can download via subversion to your intranet server, that would be the best way to get it.
svn co -r2434 http://svn.automattic.com/bbpress/trunk ./forumsThat will check out revision 2434 which is very stable, into a directory called forums on your server.
The revisions after that revision got a little weird with a couple problems that I am not sure are fixed yet.
June 16, 2010 at 4:33 am #34503Topic: I removed the /forums in my bbpress Need Help
in forum Troubleshootingmaxx246
MemberSo I’ve installed bbpress a few times and finally got things integrated with wordpress.
I have no idea why I did it but playing around I removed the /forum in the General Settings.
Now the bbpress doesn’t work anylonger. Duuuuuuu
Anyways I’d like to find out were I could set this back so that I can put /forum after my website again so it works.
Thanks for your help
June 16, 2010 at 2:49 am #34502Topic: Anonymous Users
in forum Troubleshootingckeck
MemberI am setting up a new intranet site built on WP 3.0 and would really like to keep the forums to a very simple tool just like bbPress (phpbb, vbulletin, etc are all too bloated for our needs). Since the site is only accessible inside our company network I don’t want to have to worry about authentication, I would like the ability for users who visit the forum to simply post messages or responses.
Is this something that can be done out of the box or would a lot of custom work be involved? Thanks!
-Chad
-
AuthorSearch Results