Search Results for 'buddypress'
-
AuthorSearch Results
-
October 1, 2010 at 1:08 pm #93979
tweetyx
ParticipantProblems solved on actually bp and wordpress 3.0 for profile
The first problem was the js conflict with jquery -> dynamic marks not works
the second is the profile maps doesn’t work so ->
the file bp_maps_profile_init.php contain a bp_maps_profile_init() function where the function bp_maps_profile_is_enabled, bp_is_profile_edit and bp_maps_profile_is_map_group return false so the js aren’t be loaded .
So you must change the condition for it work!
this is my code
function bp_maps_profile_init() {
global $bp;//backend options
add_action( ‘bp_maps_admin_plugins_div’,’bp_maps_profile_admin_plugins_div’);
//the numer of my group edit for the location page (/members/admin/profile/edit/group/6/)if(strpos($_SERVER[“REQUEST_URI”], “edit/group/6?) !== false):
//change infobulle content to set user’s info
add_filter(‘bp_maps_marker_infobulle_content’,’bp_maps_profile_infobulle_content’,10,2);
//add_filter(‘bp_maps_get_markerslist_marker_content’,’bp_maps_profile_marker_content’,10,2);//change infobulle content to set user’s info
add_filter(‘bp_maps_get_marker_title’,’bp_maps_profile_marker_title’,10,2);
add_filter(‘bp_maps_get_marker_list_title’,’bp_maps_profile_marker_title’,10,2);add_action(‘wp_print_scripts’,’bp_maps_profile_print_scripts’); //edition scripts (address autocomplete)
add_filter(‘bp_maps_get_map_js’,’bp_maps_profile_add_map_js’,10,2); //array to contain the field ids
add_action(‘wp’,’bp_maps_profile_edit_no_marker’);//TO FIX : useless ?
//add_filter(‘bp_maps_get_new_marker_address’,’bp_maps_profile_get_new_marker_address’);do_action(‘bp_maps_profile_edit_map_screen’);
bp_maps_head_init(); //load maps JS
endif;
}
If you want to dll my version it here http://www.sky-flop.com/buddypressmaps-titi.rar
October 1, 2010 at 1:01 pm #93977Bowe
ParticipantSorry for the double post guys!
@skolbloggense: I’ve been looking into CourseWare and it seems to behave great under BP-Slick. There are a few css styling hickups and I will look into them on a later date, but it is certainly usable straight away without any major problems. I did add a new option to the theme options panel which allows you to make Theme fluid. This means it will expand on higher screen resolutions (like the standard theme does as well) and communities who use courseware should benefit from this, because it looks less crammed. A screenshot:
http://dl.dropbox.com/u/1628201/courseware.png
October 1, 2010 at 1:01 pm #93976In reply to: Error with the plugin BuddyPress Maps
tweetyx
ParticipantProblems solved on actually bp and wordpress 3.0 for profile
The first problem was the js conflict with jquery -> dynamic marks not works
the second is the profile maps doesn’t work so ->
the file bp_maps_profile_init.php contain a bp_maps_profile_init() function where the function bp_maps_profile_is_enabled, bp_is_profile_edit and bp_maps_profile_is_map_group return false so the js aren’t be loaded .
So you must change the condition for it work!
this is my code
function bp_maps_profile_init() {
global $bp;//backend options
add_action( ‘bp_maps_admin_plugins_div’,’bp_maps_profile_admin_plugins_div’);
//the numer of my group edit for the location page (/members/admin/profile/edit/group/6/)if(strpos($_SERVER[“REQUEST_URI”], “edit/group/6”) !== false):
//change infobulle content to set user’s info
add_filter(‘bp_maps_marker_infobulle_content’,’bp_maps_profile_infobulle_content’,10,2);
//add_filter(‘bp_maps_get_markerslist_marker_content’,’bp_maps_profile_marker_content’,10,2);//change infobulle content to set user’s info
add_filter(‘bp_maps_get_marker_title’,’bp_maps_profile_marker_title’,10,2);
add_filter(‘bp_maps_get_marker_list_title’,’bp_maps_profile_marker_title’,10,2);add_action(‘wp_print_scripts’,’bp_maps_profile_print_scripts’); //edition scripts (address autocomplete)
add_filter(‘bp_maps_get_map_js’,’bp_maps_profile_add_map_js’,10,2); //array to contain the field ids
add_action(‘wp’,’bp_maps_profile_edit_no_marker’);//TO FIX : useless ?
//add_filter(‘bp_maps_get_new_marker_address’,’bp_maps_profile_get_new_marker_address’);do_action(‘bp_maps_profile_edit_map_screen’);
bp_maps_head_init(); //load maps JS
endif;
}
If you want to dll my version it here http://www.sky-flop.com/buddypressmaps-titi.rar
October 1, 2010 at 12:54 pm #93973Hugo Ashmore
Participant@lespaul I’m afraid you won’t find a lot of help tagging on to the end of a thread in this way. Please start a fresh topic, describe your issue, detail your setup; versions, plugins in use, themes in use, etc and someone hopefully will be able to help.
October 1, 2010 at 12:49 pm #93967In reply to: How to turn OFF multisite?
Anonymous User 96400
InactiveAs far as I know you can’t. I’d leave it on and try this here:
http://etivite.com/groups/buddypress/forum/topic/quick-tip-added-banned-email-domain-check-to-multisite-buddypress-registration/#topicOctober 1, 2010 at 12:25 pm #93960In reply to: Search Activity
Anton
Participant@thelandman, I’m busy creating one. Will send you the link over the weekend to help test
October 1, 2010 at 11:49 am #93955In reply to: Membermap for Buddypress
Anonymous User 96400
InactiveAs far as I know that doesn’t exist (maybe gpress? not sure…). I implemented that for a couple of my sites, though. It’s fairly easy, but there’s some coding involved.
First you specify a profile field, like Location. Then when someone signs up, or when someone edits his/her profile, you request the geocoded location based on that profile field from Google. Then it’s a good idea to check if that location already exists in the database. Google maps don’t display 2 pins for the same location, so you just add like 0.0001 to both the longitude and the latitude and check again until you end up with a unique location. Then save the location as usermeta.
The second step is to put all of these markers onto a Google map. It’s best to use a script like markerclusterer.js. Imagine you have 10.000 users. When you want to display all of them on one map it’ll take ages to render all of these pins. markerclusterer groups pins that sit in a certain radius together and only displays them when you zoom into the map. So then you pull all the locations from the database and pass it to the google maps script.
Have a look at http://scubavagabonds.com/divers/. I had been thinking of turning that into a plugin (I still might at some point), but for now I just don’t have the time. There’s a lot of documentation available for Google maps version 3 and if you know some php it shouldn’t be too hard.
October 1, 2010 at 11:23 am #93953lespaul
MemberIs it possible to delete the Buddypress plugin and reinstall it or will I loose all my data when doing this?
October 1, 2010 at 9:42 am #93945In reply to: Plugin development – please can you help
Anonymous User 96400
InactiveWell, when yo call xprofile_template_loop_end, then this hook should only run once the complete loop has finished. There’s no way of adding stuff before or after a certain action hook (except when there’s another hook), only right where the hook is. One way of adding things to a loop is to use a counter for the loop and then add a dynamic hook to every entry, like so:
`do_action( ‘some_custom_hook_’. $counter );`BuddyPress plugins are just WordPress plugins, so the best starting point is probably the WP codex:
https://codex.wordpress.org/Main_PageThen there’s the skeleton component that does a pretty good job of explaining some BP specific stuff:
https://wordpress.org/extend/plugins/buddypress-skeleton-component/And of course the BP plugin files and other BP plugins, that you can have a look through.
October 1, 2010 at 9:14 am #93940In reply to: Plugin development – please can you help
Roger Coathup
ParticipantOk, that’s very advanced level stuff – some quick answers below – BUT, please post your xprofile questions as separate threads – and give a better indication of the problem in the title (“plugin development – please help” is way too general, and unfortunately likely lead to your question being overlooked).
1. I don’t know of any book on BuddyPress plugin development – unfortunately, the codex as @lph2005 points out, is the best starting point, but it’s nowhere near developed enough to handle the questions you are asking re: xprofile_template_loop_end
2. Unless a core developer / xprofile expert can step in here, I don’t know of a better solution than tracking through the code and seeing if an earlier hook is called (and for 3. whether there is anything in the data structure passed to the hook that gives a more specific activity type). Ask these as separate threads.
4. We’ve done some work on this – if you post as a separate thread – I’ll dig through our work at the weekend, and see if I can post some pointers
October 1, 2010 at 8:52 am #93939In reply to: BP site painfully slow….
Hugo Ashmore
ParticipantTopic closed. redirect to:
October 1, 2010 at 8:19 am #93937In reply to: Do Buddypress themes work on a Bbpress installation?
@mercime
ParticipantIt would, but only if bbPress was installed via WP dashboard > BuddyPress > Forum Setup. BP theme won’t work in external bbPress installation.
October 1, 2010 at 8:08 am #93936dougjoseph
MemberVery kind invitation! I’m too much of a newbie to say much yet. But I am trying to remember than when groups need to think outside the box, they need input from newbies who don’t know there is a box.
October 1, 2010 at 8:06 am #93935dougjoseph
MemberThanks! Immensely helpful.
When members visit one of their friend’s profiles and don’t immediately see stuff they and others have posted to that friend, it makes it hard to build any interest in the site as a place of social interaction.
I will be working on this. Thanks again!
October 1, 2010 at 7:43 am #93931In reply to: Games/Apps-Plugin for Buddypress
Tolden
MemberWhat kind of plugin is it going to be? When do you want to release it?
October 1, 2010 at 5:27 am #93927copgarden
Participant@MariusOoms any ideas on how I can fix this or what the problem might be, what I can look for etc?
October 1, 2010 at 5:11 am #93925In reply to: Plugin development – please can you help
LPH2005
ParticipantOthers will be more specific with you but here is an important link.
October 1, 2010 at 4:20 am #93921mojoshaun
Participant@nahummadrid
Did you ever figure out how to automatically create a blog for newly registered users? I’m looking to do the same thing.October 1, 2010 at 4:18 am #93920In reply to: All links take me back to the homepage
joerogers1970
ParticipantOctober 1, 2010 at 1:37 am #93915In reply to: Static Front Page, Blog Link Doesn’t Work
rayd8
MemberI’m going to try and add the steps for the fix again. I didn’t see the note about using backticks for code…
1. Open the index.php, save it to your theme as posts-page.php (or whatever template name you like).
2. Edit the newly created posts-page.php file and place the following at the top to create a page template:`<?php
/*
Template Name: Posts Page
*/
?> `3. Now scroll down in the posts-page.php to the beginning of the WordPress loop and just before the line “ add this one line of code “ Note: (5 == the number of post to show you can change this to whatever you want.)
4. Save the posts-page.php file.
5. In your WordPress/BuddyPress admin panel create a new page called “Blog” (or something similar) and select “Posts Page” under Template.
6. Publish page.You should now be able to go to your Settings -> Reading menu and set a static page and select your Posts Page to show your blog posts.
October 1, 2010 at 12:50 am #93914In reply to: Howto : put a picture between header and content
pcwriter
ParticipantOh crap, you’re absolutely right! That should have read position:absolute;

(Now that I’ve had my nap, my brain is working better.)
October 1, 2010 at 12:36 am #93913In reply to: Privacy Comes to BuddyPress (very soon)!
paulhastings0
Participant16 months… we’ve been waiting that long? Wow.
October 1, 2010 at 12:26 am #93912paulhastings0
ParticipantWe meet online every 2 weeks. You can suggest agenda items here: http://bpdevel.wordpress.com/
Wednesdays @ 19:00 UTC
IRC: irc.freenode.net
Channel: #buddypress-dev
Web-based IRC client: http://java.freenode.net/Roger posted some good links too. I’ve been really impressed with the potential of filters and the like.
October 1, 2010 at 12:16 am #93911In reply to: AJAX refresh of activity loop
LPH2005
Participant@modemlooper “Could slow down your site if you do live updating for every member.” — Yes. this would depend on the implementation. For example, if the BuddyPress Activity Stream Ajax Notifier was reworked to refresh the page rather than notify then the activity stream would “feel as a real-time” activity.
September 30, 2010 at 10:55 pm #93908Roger Coathup
ParticipantOk… there are few things you need to look at to achieve this:
You should create a new theme where you are going to implement your reworked profile / activity sub-nav menu. I suggest deriving this from the bp-default theme: https://codex.buddypress.org/extending-buddypress/building-a-buddypress-child-theme/
In the default theme, the activity sub-nav menu is created by a call to bp_get_options_nav() in /members/single/activity.php. It’s this call that you’ll either want to replace with your custom version (or apply filters / action hooks to get your desired result).
You should also take a look at how the activity stream is built – it’s quite easy to create your own activity loop that will return all the items for a given user merged into a single page (rather than the separate tabs): https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
Hopefully that’s enough to get you started.
-
AuthorSearch Results