Search Results for 'buddypress'
-
AuthorSearch Results
-
December 26, 2008 at 4:52 am #35094
In reply to: Minimal groups, forums, members and blogs lists
Burt Adsit
ParticipantThanks David. I thought it might be useful to let people know that the bp core and all the lovely components can be accessed from any theme, any time. It ain’t rocket science, it’s programming.
I’m not too familiar with pastie. I’ve just used it a couple of times. It’s browsable? I just though it was a net wide scratch pad.
Nicola! I posted the same stuff over at buddypressdev.org too.
December 26, 2008 at 12:07 am #35083nicolagreco
Participantboth the first and the second link works well.. try download it directly here http://buddypressdev.org/download/3
December 25, 2008 at 11:10 pm #35082David Bisset
ParticipantDue to the holidays over here, i haven’t had a chance to look at this but if it works well done. BTW, I tried the link on your .org site first and got a 404.
There is more than one way to skin a cat – in fact your example is very close to the v.0.1.0 example i created a few days back. Both of these work for VERY simple components. Nice to see a slightly different execution. The more ways we can show this, the faster people will learn. Good job!
December 25, 2008 at 9:45 pm #35075In reply to: Take away Create a Group option
Burt Adsit
ParticipantHi wardeh. I was checking the ‘topics with no replies’ and saw you here. All by your lonesome self. How goes the battle this week?
You don’t want to turn off groups but you just don’t want the option to create more groups to be available. Well, you want group creation to be a site admin thing only. Hmmm…
I went and looked at the member theme code and finally arrived in the core code and lo and behold Andy was thinking of you! There is an unused option for the menu items. ‘site admin’ only. You’ll have to modify one line to turn off the group creation option for everyone except you.
In the file /mu-plugins/bp-groups.php at line 205. This currently reads:
bp_core_add_subnav_item( $bp, 'create', __('Create a Group', 'buddypress'), $groups_link, 'groups_screen_create_group', false, bp_is_home() );
Change that line to read:
bp_core_add_subnav_item( $bp, 'create', __('Create a Group', 'buddypress'), $groups_link, 'groups_screen_create_group', false, bp_is_home(), true );
That change adds the ‘true’ parameter at the end which normally defaults to ‘false’. It’s the ‘site admin only’ sees this menu item flag.
Merry Christmas.
December 25, 2008 at 8:57 pm #2789Topic: BPDEV-EXAMPLE another Building Block For BP Component
in group forum Installing BuddyPressnicolagreco
ParticipantAs David Bisset for BP-Test, i wrote a very basic component for BuddyPress called bpdev-example that you can find in the link at the end of the topic
This isn’t really a plugin but is a starting point for developers. The difference between bpdev-example and bp-test is :
bpdev-example is a minimalistic extending component that includes all in one php page.
Users don’t have to add files on member-theme. (with this feature, given that it works on plugin-template.php, if someone uses a member-theme different from the default, he doesn’t need to touch the code).
Here a support page for BPDEV-EXAMPLE : http://buddypressdev.org/forums/topic.php?id=7
And here you can download it: http://buddypressdev.org/plugins/bp-example/
As soon as possible I’ll write an HOWTO for it.
Nicola Greco
December 25, 2008 at 8:48 pm #2784Topic: Buddypress disponible en Català ca_ES
in group forum Installing BuddyPressJose Conti
ParticipantDecember 25, 2008 at 7:42 pm #2776Topic: Can’t delete items off wire – error message
in forum How-to & Troubleshootingplock
MemberHey guys,
I’m having trouble with deleting items off the wire.
bbPress – 1.0 Alpha
WPMU 2.7 – revision 1578
BuddyPress – revision 796
Environment: CentOS 4, latest PHP, etc etc
When I go to delete items off my wire, I get an error message stating “Wire post could not be deleted, please try again.” All users, including the admin get this.
Sometimes the item disappears, sometimes it does not. Thanks for your help.
December 25, 2008 at 6:26 pm #35068nicolagreco
ParticipantUPDATED, i wrote an example plugin that works without adding files in member-theme

You can find a small post here http://buddypressdev.org/forums/topic.php?id=7
That explain a bit about this example extending component that i called bpdev-example
I forgot, here you can download bpdev-example : http://buddypressdev.org/plugins/bpdev-example
December 25, 2008 at 5:05 pm #35067nicolagreco
ParticipantI’m sorry. So, i think that you don’t need add files in /member-theme/ because you can write your plugin without adding files in /member-theme/ for example you can write:
function test_page_settings() {
global $current_user, $bp_settings_updated, $pass_error;
add_action( 'bp_template_title', 'test_page_title' );
add_action( 'bp_template_content', 'test_page_content' );
add_action( 'bp_template_content_header', 'test_page_tabs' );
bp_catch_uri('plugin-template');
}
function test_page_title() {
_e( 'Hello title', 'buddypress' );
}
function test_page_content() {
global $bp, $current_user, $bp_settings_updated, $pass_error; ?>
<p>Hello Content</p>
<?php
function test_page_tabs() {
global $bp, $create_group_step, $completed_to_step;
?>
<ul class="content-header-nav">
<li>Hello Tabs</li>
</ul>
<?php } ?>With that you don’t need to add page in /member-theme/. I think that users that install a plugins want only add files on mu-plugins/.
Think if i’ve another member-theme that isn’t like the default, and i would like add this plugin..
I hope i explain well now
December 25, 2008 at 3:42 pm #35065Per Søderlind
Participantsorry, my bad .. I created “the bug”
December 25, 2008 at 3:28 pm #35064David Bisset
Participant@Nic. Unfort. i’m guessing what you are saying. It’s not clear, but i realize english is not your first language. The examples above include how to simply modify the existing BuddyPress theme. Plugin-template is actually a nice starting point, I just added more to my examples. Thanks for the feedback.
December 25, 2008 at 2:44 pm #35062nicolagreco
ParticipantI think that you don’t need using page to add in your member theme :S look plugin-template.php
December 25, 2008 at 1:51 pm #35061David Bisset
ParticipantUPDATE: This trumps the first version of bp-test mentioned above.
Basically I have created three versions of bp-test which allows one to learn and hopefully start building BP components. Here is a blog post with screencaps:
For those impatient, here are the links:
http://www.davidbisset.com/wp-content/uploads/2008/12/bp-testv0-1-0.zip
http://www.davidbisset.com/wp-content/uploads/2008/12/bp-testv0-1-1.zip
http://www.davidbisset.com/wp-content/uploads/2008/12/bp-testv0-1-2.zip
Version 0.1.0:
This version is very close to the proof of concept screenshots for Twitter and Friendfeed. Very basic – it just adds a menu and two submenus to that menu. It should automatically also add the menu to the “BuddyPress Bar†that appears at the top and (by default) is grey.
Version 0.1.1:
This version adds the “header tab†navigation you see in the screenshot on my blog. This requires a few additional PHP functions, and therefore increases the complexity a little bit. I also added a few BuddyPress PHP functions in the sample page that you should become familiar with but are very straightforward. This version rounds out how to create major navigational elements in BuddyPress.
Version 0.1.2:
This (final?) version changes the “Second Page†into an example of showing rowed results (similar to what you see on the wire page). This bumps up the complexity a bit since we use alot more PHP functions, mostly stored in the bp-test-templatetags.php file. We also use several classes seen in bp-test-classes.php and bp-test-templatetags.php. Also add a “standard†(of sorts) filter file (bp-test-filters.php). If you are planning on displaying anything in a table/row format like in the screenshot above, then you will want to examine this version. I have removed AJAX references to make it easier. Honestly this is all very close to the WIRE BuddyPress component so if you want to look at that as well, especially if you have the hang of this and just need to add in AJAX, that would be a wise move.
These three versions support potential BuddyPress components ranging from the very simple to more-or-less the level of some of the current BuddyPress beta components. These building blocks will hopefully be a learning tool first (if you don’t understand what they do, then you won’t get very far) and a time saver second.
December 25, 2008 at 9:20 am #35060In reply to: 3rd parts Plugin Directory on BuddyPressDEV
nicolagreco
Participanteheheh, now i understand your sarcasm. Next time try to use smiles like
December 25, 2008 at 6:08 am #35057In reply to: 3rd parts Plugin Directory on BuddyPressDEV
Burt Adsit
Participantnicola, I’ve been teaching you american slang in irc. This is your first lesson in sarcasm. I keep forgetting that english is your second language. Sorry. Trying to be funny and failing miserably.
December 25, 2008 at 5:56 am #35054In reply to: Redirecting user to profile page
Burt Adsit
ParticipantHowdy. You can modify the member theme’s target for successful login in the /member-themes/buddypress-theme/header.php file. Lines 53 and 55. It redirects people to site_url() you can send them where you’d like by replacing that with your destination.
If your user elects to login via the buddybar
you can edit the file /mu-plugins/bp-core/bp-core-adminbar.php in the function bp_adminbar_login_menu() at line 33. Another similar line where they get redirected to ‘siteurl’.
December 25, 2008 at 4:08 am #35052In reply to: Avatar cropping issues
fishbowl81
ParticipantYou may want to try a larger image. There are still issues, but currently buddypress doesn’t have anyway to “upsize” images before cropping. The early beta had a minimum image size of 450x450px, and generally have had pretty good luck when using images of that size or larger.
December 25, 2008 at 3:45 am #35051In reply to: BuddyPress Showoff: Post your links
grizzlygroundswell
Memberhttp://theodoremedia.com Grizzly Groundswell!
December 25, 2008 at 3:42 am #35050grizzlygroundswell
MemberThis is great stuff! Can’t wait until it is released!
Chad
December 25, 2008 at 3:39 am #35049In reply to: How-To: Expanding BuddyPress Profile Settings Menu
grizzlygroundswell
Memberhey, this is a great idea! It did not work when I entered the bp-social.php in PluginMU but I am also running the pay to blog plugin and I think there is a conflict there or with something. Hey my site is http://theodoremedia.com and if you come up with a fix, please post here or email me grizzlygroundswell@chadeverson.com I have had some really exciting success with twitter, now over 13,000 followers on @chadteverson @clayoxen @EWEverson @grizzlyfeed @grizzlyradiorss @grizzlyvideorss @socialistsqurrl
There is some incredible reach that can be gained through twitter by extending my online efforts through twitter.com
I came up with a strategy you may find interesting http://www.fightingsquad.theodoremedia.com look for the post on twitter. people are getting 1000 followers in 5 days and keep growing every day! If you use the strategy keep me in touch with how much success you are having!
Chad Everson
December 25, 2008 at 3:19 am #35048David Bisset
ParticipantPers,
What exactly do you mean by “main page”? I am on the main page of my BP site and i still see the “test” in the dropdown “my account” in the top bar. I am logged in, though. Screenshots would be helpful.
Just want to confirm to determine perhaps if it’s MY code or truly a BP bug.
December 25, 2008 at 2:21 am #35047Per Søderlind
Participanteh .. there’s a bug in buddypress, when you’re on the main page, “Test” is missing from the admin bar. If you enter a member page, it’s there. I’ve reported this in ticket #283
December 25, 2008 at 2:18 am #35046In reply to: Forum Integration: HELPING HINTS
grizzlygroundswell
MemberTrent, where can I find this: –> WPMU 2.7 SVN
Hey stop by and check out our conservative version of BuddyPress! http://theodoremedia.com
Thanks, we are loving Buddy Press!
December 25, 2008 at 2:15 am #35045In reply to: Redirecting user to profile page
grizzlygroundswell
MemberI am having a similar problem. Except when in http://www.grizzlygroundswell.theodoremedia.com when a user goes to sign up it takes them to the WP login without offering an option to register.
So I need to know where I need to change that redirect.
Another problem when you go to any user’s profile the tab says “nothing found for username”
Just two concerns that I need to figure out. Loving BuddyPress so far! Check it out! http://theodoremedia.com our conservatives are loving it!
Chad Everson
763-244-3265
December 24, 2008 at 11:47 pm #35043In reply to: How-To: Expanding BuddyPress Profile Settings Menu
iamzaks
Memberamazing work! I would like to help translate it to spanish, please let me know what I can do!
EDIT: I added the two pieces of code to my bp-core-settings.php and it just broke my site, loaded a blank page instead of the content.
-
AuthorSearch Results