Search Results for 'buddypress'
-
AuthorSearch Results
-
May 25, 2010 at 6:47 pm #79631
In reply to: private messaging broke on 1.2.4 upgrade
r-a-y
KeymasterThis is not a “problem” per se.
It’s a matter of customizing the language file:
https://codex.buddypress.org/how-to-guides/customizing-labels-messages-and-urls/Most users will input a subject… so I don’t see this being a big issue. You could possibly add javascript validation so the subject has to be filled out before the form is submitted.
Also, just wondering how you changed the username? This will help with others who encounter this problem later.
May 25, 2010 at 6:44 pm #79630In reply to: private messaging broke on 1.2.4 upgrade
piphut
Participant@r-a-y That worked but now there is a new problem. When a user tries to send a PM but leaves the subject blank they get a generic error that says “There was an error sending that message, please try again”. Is there anyway to either a) just make the subject of blank messages “no subject” or b) specify in the error message that a subject has to be entered before they can send?
May 25, 2010 at 6:39 pm #78569In reply to: private messaging broke on 1.2.4 upgrade
r-a-y
Keymaster@piphut – It should… but if it doesn’t… try the snippet I posted above.
Also, this begs the question… how did you change your username in the first place? Did you edit it through the DB or through a plugin?
May 25, 2010 at 6:35 pm #79629In reply to: private messaging broke on 1.2.4 upgrade
piphut
ParticipantHi @r-a-y I checked my database and “admin” IS the nicename. If I change that in my db will that fix the problem?
May 25, 2010 at 6:12 pm #79626r-a-y
KeymasterThis is more of a workaround though.
Also, just wondering… what version of BP are you running? Did you try BP 1.2.4.1? If not, try upgrading to see if this issue is fixed in the new version.
May 25, 2010 at 5:59 pm #79625In reply to: private messaging broke on 1.2.4 upgrade
r-a-y
Keymaster@piphut – Try adding the following in wp-config.php:
define( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE', true );It’s possible that “admin” is still used as your “user_nicename”.
May 25, 2010 at 5:47 pm #79624In reply to: Using image upload in my plugin
Boone Gorges
KeymasterAh, you’re doing it from the BP frontend. No, there is no standard image uploader for BP, or even for WP as far as I know. (Sadly.)
Here are some examples of plugins that allow file uploads. Each takes a different tack. Maybe you can decide what you want to do based on them.
– https://wordpress.org/extend/plugins/buddypress-group-documents/
– https://wordpress.org/extend/plugins/forum-attachments-for-buddypress/
– https://wordpress.org/extend/plugins/buddypress-group-wiki/May 25, 2010 at 5:27 pm #79622In reply to: Register-link doesnt appaer?
r-a-y
KeymasterMay 25, 2010 at 5:06 pm #79618In reply to: Using image upload in my plugin
juiced01
MemberWhat I want is in the admin panel, when I add a shop to my database in my plugin, I add companyname, street, zipcode, etc. This all works, and it’s based on BuddyPress Skeleton Component 1.4.
Now, I want to add an image. Is there a standard image uploader?
May 25, 2010 at 4:51 pm #79614In reply to: Language file load evidence?
Anonymous User 96400
InactiveYep, it’s a good idea to relocate it, but the path was still wrong. The constant BP_PLUGIN_DIR points to the BP folder. Then you have the wp-content folder, so right there’s the problem. You could use this:
load_textdomain( ‘buddypress’, WP_PLUGIN_DIR . ‘/bp-languages/bp-family-’ . BPLANG . ‘.mo’ );This assumes that you have your folder structure like this:
wp-content/plugins/bp-languagesMay 25, 2010 at 4:05 pm #79609In reply to: Group Member Count Showing Users Already Deleted
thecorkboard
ParticipantMay 25, 2010 at 4:01 pm #79607Hans
ParticipantMay 25, 2010 at 3:36 pm #79604May 25, 2010 at 3:08 pm #79601masmasmous
Memberplease thats what i am looking for for weeks now arcade games can boom my website traffic
May 25, 2010 at 3:06 pm #79598In reply to: Language file load evidence?
Boone Gorges
KeymasterI think that your file location is the problem. If you have your file in wp-content, it should read
load_textdomain( 'buddypress', '/wp-content/bp-languages/bp-family-' . BPLANG . '.mo' );
May 25, 2010 at 3:02 pm #79597In reply to: adding new alert into activity stream
Boone Gorges
Keymaster@ninanoki – There are three strategies for doing what you want to do.
1) Load WP/BP in the background when you, for instance, save a mediawiki edit. You can do that by including wp-load.php. Then you can use the BP activity API, as @nuprn1 suggests above. The downside is that you’ve got a lot of overhead, loading both MW and WP at the same time.
2) Write directly to the WP database with a MW extension. I wrote this http://www.mediawiki.org/wiki/Extension:BuddyPressActivity a while back and it is out of date and doesn’t work right now, but you could hack it to work. Downside: it’s fugly
3) You could pull edits in via RSS. I have a working version of such a plugin on my localhost right now, but I have to clean it up before releasing it. It’ll let the admin put in any RSS feed (like MW Recent Changes) and have the updates be posted as activity items. If you’re sharing a user database, it’ll even key the user_id correctly. I might get a chance to work this up in the next day or two, and I’ll post it on these forums when I do.
May 25, 2010 at 2:26 pm #79595In reply to: Language file load evidence?
roydeanjr
ParticipantThank you for your interest in helping me.
Yes, here is my code:
define( ‘BPLANG’, ‘myrelative’ );
if ( file_exists( ‘/wp-content/bp-languages/bp-family-‘ . BPLANG . ‘.mo’ ) ) {
load_textdomain( ‘buddypress’, BP_PLUGIN_DIR . ‘/wp-content/bp-languages/bp-family-‘ . BPLANG . ‘.mo’ );
}And, yes, I do have the folder and files under the bp-languages folder directly off wp-content rather than under buddypress in order to preserve the modifications.
I just can’t tell if the file is even being loaded and whether there is a problem with it.
May 25, 2010 at 2:21 pm #79593In reply to: Language file load evidence?
Boone Gorges
KeymasterDid you do step 3 here? https://codex.buddypress.org/how-to-guides/customizing-labels-messages-and-urls/
May 25, 2010 at 1:33 pm #79590In reply to: Buddypress Maps Error Code
Cheung Tat Ming
Participantme too, also error.
This plugin is most want , but the author seem not develop any more….May 25, 2010 at 12:24 pm #79583In reply to: private messaging broke on 1.2.4 upgrade
Oliver Wrede
ParticipantI am having the problem that sending a private message points to “/members/_myuserid_/messages/compose//” which in turn responds with a Forbidden-Error page. My User ID is not “admin” though I do have site admin privileges.
This does not seem to be the bug describred in the ticket at https://trac.buddypress.org/ticket/1820
Regards,
OliverMay 25, 2010 at 12:01 pm #79580In reply to: adding new alert into activity stream
rich! @ etiviti
Participantso you need to create a record outside the scope of BuddyPress? (if you can can bring in the global bp – then you just need a wrapper around function bp_activity_add )
Just have a look at the class BP_Activity_Activity and the save() function
May 25, 2010 at 10:15 am #79576In reply to: is there a featured groups widget avail?
pcwriter
ParticipantThere’s this to start with. It only displays members’ avatars (via usernames), but I guess with some code fiddling, you could get it to display just about anything you like: https://buddypress.org/community/groups/buddypress-featured-members-widget/home/
May 25, 2010 at 9:30 am #79570pcwriter
ParticipantI’ve installed s2member on my site specifically because it CAN restrict access to both paid memberships AND free accounts. You can restrict access to posts, pages, tags, categories, single pages and uri’s. You can also have lots of fun with advanced conditionals and display different content to different membership levels, including the free level. For more info, check out this readme: http://www.primothemes.com/readme/914/
Here’s my membership options page to give you an idea of how I’ve set it up with free/paid plans: http://rspace.org/membership/
May 25, 2010 at 8:47 am #79567Kalman Labovitz
ParticipantYou might also want to try this plugin, https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/, read the third option
“Administrators can specify certain profile fields that link to social networking profiles. If I enter my Twitter handle ‘boonebgorges’ into a field labeled ‘Twitter’, for example, this plugin will bypass the default link to a BuddyPress search on ‘boonebgorges’ and instead link to http://twitter.com/boonebgorges. See custom-profile-filters-for-buddypress-bp-functions.php to configure this setting.”
You might be able to hack it in a way that works for your site.
May 25, 2010 at 8:44 am #79566Kalman Labovitz
ParticipantNot sure if this will help you, but you might consider trying this trick (see post by Boone Gorges), https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/remove-automatic-links-in-profile/.
Hope this helps.
-
AuthorSearch Results
I’ll send an email to the author.