Forum Replies Created
-
it turns out you can just define a different place to put the language file, so it’s no big deal really. for example, put the bp-languages folder outside of the buddypress directory and load it like so
`if ( file_exists( WP_PLUGIN_DIR . ‘/bp-languages/buddypress-custom.mo’ ) )
load_textdomain( ‘buddypress’, WP_PLUGIN_DIR . ‘/bp-languages/buddypress-custom.mo’ );`BP ajax is super slick, but a huge pain-in-the-ass when you’re trying to customize anything. That said, all the ajax goes through this file: /buddypress/bp-themes/bp-default/_inc/ajax.php so you can try to filter bp_dtheme_ajax_querystring in the default theme or bp_ajax_querystring in your own theme. Then there is the function just below that relating to wp_ajax_members_filter that might be useful to hook into. There is some magic happening in loading the template, which I tend to work around but dont fully understand. Good luck.
but at least the sym link would be easy to re-create, rather than losing your custom files in case you lack a back-up. but i don’t like sym-links. I guess I’ll just remember to keep that folder duplicated somewhere. thanks.
@rossagrant – glad you were able to find the solution. maybe somehow the hide karma points was set. or maybe you had it set to the Average calculation, which shows nothing when it is close to 0 – on that setting you need to have a few positive posts before anything shows.
Do people think I should ship the default with Total karma points or the Plus setting?
@rossagrant if you look in the screen shots of the plugin at the wordpress repository, you’ll see pictures. The karma points should show up right next the the users login name.
It could be another plugin that is interfering, or perhaps you have some special database table names which are not being picked up properly. hmmm. if you can send me information about your install, I can try to help.@roadblock – I’m not sure I understand what you need to do. Can you explain a bit more. you can use the bp_has_groups() (https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-groups-loop/) to display groups and pass a variable to it in three ways as an $bp->current_action which is just a url such as groups/myaction/ or you can use ajax to send a query string (kinda complex) or you can use the $_POST variable. Custom groups lists are kinda messy in Buddypress and not easy to implement, I kind of hacked this usability together. good luck.
@rossagrant – yes it is not to hard to remove, you should look at my code, find the hook that adds the forum post rating header and TR tag, and remove that action. I believe wordpress has information about removing actions. info on removing actions here: https://codex.wordpress.org/Function_Reference/remove_action.
fixed

@0815t – ok it is internationalized
you can create a .mo file and put it in a folder called lang in the plugin folder and it should work. I have yet to create a .pot file. but will when it is updated in the repository.@0815t – I can internationalize it for your pretty quickly. I’ll update it later today probably.

@0815t – what version of wordpress and buddy are you using? does the problem happen when other plugin are turned off. Are you logged in as admin or as another user?
@r-a-y true.
A good approach might be to add a few new tabs to the extend section. In order they could be:
Featured Plugins – a hand picked list of the good stuff
Compatible Plugins – any plugin with buddypress tag (the current list)
Higest Rated – this could work if it was based only on the buddypress.org ratings.yes, there are no built in functions you can call to do this, because they all rely on the logged in user being the current user. So you’ll need to copy the relevant code from the function mentioned above and probably get the super admin to be the group admin.
@mikepratt @jeffsayre @djpaul and others, I’m glad a conversation got started here. It sure would be good to hear from the powers-that-be about this.
I especially like the suggestion about using a new extension such as bp-extension that makes it clear that this is an extension of BuddyPress rather than compatible. Heck, maybe even introduce a bp-compatible tag as well so no one feels left out. However getting everyone to switch over would be tough.
I also like the idea of basing the list on the rating plugins get in the buddypress site. but new interesting plugins might not get rated, so that might not work.
having a separate repository will take time, and may never happen because it has to synch with the WP backend, trac, and many other things. possible, but more work.
What about my idea of just filtering the non-buddypress plugins from the buddypress tag. It might be a bit of work, but it is more inclusive. maybe we can even start some folksonomy where we tag certain plugins with keywords somewhere so at least others know not to waste our times figureing out of they are real BP plugins or not. something like not-bp or not-bp-plugin or even wp-plugin.
@Anointed, I just sent it. I was out of internet range for a few days there.
i was contemplating making a very simple plugin where you could embed a wave into a group, or maybe into a forum topic.
would this be easy to change?
i’m sure a simpler filter would do the trick. Or better yet, only include plugins that have the keyword buddypress or BP in the title. all the real ones seem to.
a few examples of what I mean:
https://buddypress.org/community/groups/post-rich-videos-and-photos-galleries/home/ – does not integrate at all with BP
https://buddypress.org/community/groups/login-with-ajax/ – not a BP plugin, just compatible. um, who cares
https://buddypress.org/community/groups/default-blog-options/ – nothing to do with BP
https://buddypress.org/community/groups/bannerman/ – nothing to do with BP
and that was just the top of the first page.what is your email, I’ll send you the file as is.
If you are planning on modifying the Group Calendar at WPMU-Dev I highly suggest not doing it. It works OK in the front end, but if you dig in, you soon realize that it is very poorly coded. The programmer is obviously a beginner and there is very little abstraction and tonnes of unneeded duplication, so making any changes is a real pain. No offence intended, its just the way it is. It ain’t poetry!
I changed the plugin substantially and added the ability to turn it on and off for each group. I also added the ability for groups to display a combined calendar of many groups – color coded by group. I also added the ending dates and times for events.
I requested all these things at WPMU-Dev but they basically said no, not interested, so I developed them myself. Seeing as it’s open source I can release it to anyone else if they want it. But seeing as it was previously with WPMU-Dev and seeing as how the foundation code is soo poor, i hesitate to release it as a plugin in the WP repository.
no problemo
@rossagrant sorry my mistake, you can change the ranking levels int he admin. to change the color just override my css with your own. this is the css:
`/* very positive */
ul#topic-post-list li.rfp-superboost, .rfp-superboost { background: #FFFFCC; }/* positive */
ul#topic-post-list li.rfp-boost, .rfp-boost { background: #FFFFEE; }
`
if it doesn’t change automatically maybe put an !important:`ul#topic-post-list li.rfp-boost, .rfp-boost { background: #FFFFEE !important; }`
@rossagrant you can modify the highlight color in the admin. you can override the thumbs up graphics via your own css in your theme. ranks are a good idea. cheers.
@mazen I’ve finally gotten to the crux of the problem and fixed it in version 1.4. thanks for your patience. Also in version 1.4 due to a trac request approved in BP 1.2.4 I can now color/alter the posts in PHP rather than in javascript. So things will be much cleaner and there will no longer be any delay. Enjoy.
ps. if anyone uses this on a production website, small donations ensure continued updates. without that support this plugin will eventually fall into the abyss of old plugins. so sad.
