-
Brajesh Singh posted on the forum topic What else should this give points for? in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker hi, I am the developer of that plugin pointed by @landkamerun 1. Upload(or should we divide into upload types different points for video upload/audio uplod/photo upload) has the action “gallery_media_upload_complete” and for delete “gallery_media_after_delete” both have media object passed in case it is required. 2. Publishing to…[Read more]
-
Brajesh Singh joined the group CubePoints Buddypress Integration 15 years, 4 months ago
-
Brajesh Singh posted on the forum topic Filter site_url() to always point to main blog/site (Help request) in the group How-To and Troubleshooting: 15 years, 4 months ago
@stwc ๐ @mikepratt In that case, you will have to cap on “bp_core_get_root_domain”, as this is what used by the userlink.
add_filter("bp_core_get_root_domain","my_site_url");//just removing the effect of BP_ENABLE_MULTIBLOG on the urls
This will do things like change all the references of sub blog used by buddypress to point to main site not the…[Read more] -
Brajesh Singh posted on the forum topic Filter site_url() to always point to main blog/site (Help request) in the group How-To and Troubleshooting: 15 years, 4 months ago
ooh, As I guessed, author url uses get_option(‘home’) So, we will not need any extra code, just adding another filter will do the trick using our very first function. `add_filter(โoption_homeโ,โmy_site_urlโ); we are using the old function, just adding to work it for the home url too. and I hope your filtering user domain is not […]
-
Brajesh Singh posted on the forum topic Filter site_url() to always point to main blog/site (Help request) in the group How-To and Troubleshooting: 15 years, 4 months ago
hi Mike The problem with the author url is, it is generated by wordpress. Let me take a look at it, there must be someway to get over that too. The problem with the unified url is a trouble as wordpress uses 3/4 options settings for that (home,wpurl,siteurl,url), an interesting thing will be if we […]
-
Brajesh Singh posted on the forum topic Site crash although several blogs are still functional in the group How-To and Troubleshooting: 15 years, 4 months ago
Have you upgraded your wordpress Mu to wpmu 2.9.2 or you are using the old version of wpmu below 2.9.
For now, you can simply rename wp-content/buddypress and you will be able to access the wp-admin. Let us know about your current configuration in details as mentioned…[Read more]
-
Brajesh Singh posted on the forum topic Filter site_url() to always point to main blog/site (Help request) in the group How-To and Troubleshooting: 15 years, 4 months ago
hi Mike For setting the user domain, bp calls following function bp_core_get_user_domain() and It has a filter bp_core_get_user_domain, but I am little hesitant to change something with this, as It may affect the other behaviors. Please check that function and bp_core_setup_globals() for more. As far as I think, please check again and make sure you […]
-
Brajesh Singh posted on the forum topic Filter site_url() to always point to main blog/site (Help request) in the group How-To and Troubleshooting: 15 years, 4 months ago
hi Mike If I understand your situation correctly, here is a quick and simple fix /* site url uses get_option (siteurl), just filter on the option*/ add_filter(“option_siteurl”,”my_site_url”); function my_site_url(){ return get_blog_option(1,’home’);/* return the url of the main site*/ } btw, profile will only point to…[Read more]
-
Brajesh Singh posted a new activity comment 15 years, 4 months ago
Thanks @el_terko . I just found a couple of plugins doing that. It is not bad to use the code, but when people take your code as their own, it makes me feel a little bit bad. At least a proper credit we deserve.
-
I second @el_terko, you have my support whatever you decide to do.
-
-
Brajesh Singh posted on the forum topic Profile Button in Navigation (Again) in the group How-To and Troubleshooting: 15 years, 5 months ago
๐ here is your modified header.php for your child. I hope it should work.
http://bpdev.pastebin.com/QbfduSYT -
Brajesh Singh posted on the forum topic Profile Button in Navigation (Again) in the group How-To and Troubleshooting: 15 years, 5 months ago
hi there, well I am back, was away for a few minutes ๐
Going to modify your code on pestabin and put the link again ๐ -
Brajesh Singh posted on the forum topic Adding a Profile Button to Navigation in the group How-To and Troubleshooting: 15 years, 5 months ago
hey Sorry, there was an extra “)” left on line 71. Modified again
http://bpdev.pastebin.com/itL0UMP6 -
Brajesh Singh posted on the forum topic Adding a Profile Button to Navigation in the group How-To and Troubleshooting: 15 years, 5 months ago
hi
I have modified your code.
http://bpdev.pastebin.com/tFENajNf
Just copy it back to your header.php and should work. -
Brajesh Singh posted on the forum topic Adding a Profile Button to Navigation in the group How-To and Troubleshooting: 15 years, 5 months ago
hey no problem ๐
Have you already created a child theme, if yes, just create header.php and put the following code in your child theme’s header.php
http://bpdev.pastebin.com/PMiZRcZNThen activate your child theme and everything should work.
let me know if it works or not. -
Brajesh Singh posted on the forum topic Adding a Profile Button to Navigation in the group How-To and Troubleshooting: 15 years, 5 months ago
@richard1987 @sofastop you are most welcome:) For no highlighting the members tab and just highlighting the “My profile” tab, we will need to modify the header.php. Please create a child theme and copy the header from bp-default to your child theme. Then edit it and change line no 57 where the code says to Edit: Seems the […]
-
Brajesh Singh posted on the forum topic Function Details in the group How-To and Troubleshooting: 15 years, 5 months ago
hi try this plugin for redirecting to profile page after login https://wordpress.org/extend/plugins/bp-redirect-to-profile/ It should work with single wp too, if it does not, please let me know, I will update the plugin. For clicking on home link, please create a child theme, copy the header.php from bp-default to your child theme and modify it.…[Read more]
-
Brajesh Singh posted on the forum topic Adding a Profile Button to Navigation in the group How-To and Troubleshooting: 15 years, 5 months ago
@gtn
Hi, Please take a look at the second code, It will allow you linking while retaining the buddypress style. I had forgot to put the li elements, so, corrected in the 2nd link.
Hope that helps.
Thanks
Brajesh -
Brajesh Singh posted on the forum topic Adding a Profile Button to Navigation in the group How-To and Troubleshooting: 15 years, 5 months ago
ok, I guess, you are using li in the navigation.
here is the modified code with li
http://bpdev.pastebin.com/sujjHemJ
Also, you may edit the html part to match the struture of your navigation -
Brajesh Singh posted on the forum topic BuddyPress.orgโs Unified Search โ How can I get it? in the group How-To and Troubleshooting: 15 years, 5 months ago
@agrundner @anointed @mercime @finni3 Thank you all ๐ @stwc That’s a little more complex as I guess It involves two things(programmatically auto creation of groups(easy) and then Andy seems to be using Group Extension API,group meta for achieving the review functionality, and may be a modified plugin which already does the review and rating). I…[Read more]
-
Brajesh Singh posted on the forum topic Adding a Profile Button to Navigation in the group How-To and Troubleshooting: 15 years, 5 months ago
hi sorry for delayed reply. You can put it in your theme or just create bp-custom.php in your wp-content/plugins and put the above code. I am posting it on pastebin for you(the forum post ate my code ). http://bpdev.pastebin.com/FSm7VQ2L It will work if you are using the buddypress default theme or a theme which supports […]
- Load More
@sbrajesh
Active 1 month ago