Search Results for 'wordpress'
-
AuthorSearch Results
-
May 21, 2010 at 3:31 pm #79081
In reply to: Avatar upload problems just for admins
Kelly L Lockwood
ParticipantI am having the same issue, but normal users can not upload either, when I recieve the following error “Catchable fatal error: Object of class WP_Error could not be converted to string in C:Webspacepack119.netwwwwp-contentpluginsbuddypressbp-corebp-core-avatars.php on line 292” when I go to upload an image. I have WordPress 3.0-beta2-14729 and Buddypress 1.2.3 revision 3015
Line 292
$bp->avatar_admin->image->url = str_replace( WP_CONTENT_DIR, BP_AVATAR_URL, $bp->avatar_admin->image->dir );May 21, 2010 at 1:44 pm #79073In reply to: Backup plugin?
Hugo Ashmore
ParticipantI think that predominately most will be backing up by performing SQL dumps of the DB. it’s the usual and safest method and simple to do via a tool such as MyPHPAdmin.
I think you’ve said that you have a Plesk control panel available to you? Plesk panels should have access to the DB server via MyPHPAdmin which will allow you to select the appropriate DB and download a full dump of all tables.
The codex.wordpress.org has guides on how to perform SQL backups.
May 21, 2010 at 10:56 am #79064mlovelock
ParticipantAll those interested in events & buddypress might want to check out this: http://gsocevents.wordpress.com/
May 21, 2010 at 9:57 am #79060gojeg
ParticipantTry Stealth Login. I uses .htaccess to block direct access to wp-admin and create a new slug for that. That’s great plugin.
May 21, 2010 at 12:34 am #79036r-a-y
KeymasterWhat Andrea_r said.
May 20, 2010 at 11:47 pm #79035Andrea Rennick
ParticipantOr just password protect the entire /wp-admin/ dir from the server level.
May 20, 2010 at 11:34 pm #79033thelandman
Participant@r-a-y Yeah, I’ve tried all 3 solutions and no luck. My whole purpose was to restrict users from accessing the admin backend. So here’s a simple solution, this function must be added to the functions.php in your theme folder. Only admins can access the /wp-admin with this function.
May 20, 2010 at 11:24 pm #79032In reply to: embedding videos in profiles.
pcwriter
ParticipantHave you tried r-a-y’s oEmbed for BuddyPress plugin?
May 20, 2010 at 10:24 pm #79026r-a-y
KeymasterYou probably already tried this tutorial:
http://www.michiknows.com/2007/02/12/who-else-wants-to-hide-their-wordpress-admin-folder/The other technique is hacking WP core files:
http://www.socialblogr.com/2009/09/how-to-change-folder-name-on-wordpress.htmlYou could also try applying a filter to “admin_url”, but when I tried this awhile back, it didn’t work:
http://stackoverflow.com/questions/2584706/wordpress-where-the-admin-url-is-setI should note that I’ve never done this and strongly advise you not to as well.
—
WP should have a defined WP_ADMIN_URL variable similar to WP_PLUGIN_URL and WP_CONTENT_URL, but it doesn’t.
May 20, 2010 at 9:06 pm #79021In reply to: Events Plugin Invites / Notifications
S
ParticipantIt will be done, @Kunalb will work this summer on it:
IntroductionMay 20, 2010 at 8:13 pm #79014Anonymous User 96400
InactiveWhile I applaud your enthusiasm, I didn’t really get past the first capitalized OK in the beginning. Or maybe it was UK? Don’t really remember… Anyways, I see bp.org more as a gallery to show the world what we did with the software available, than what the message is we try to bring across with the sites we create with the software…
Personally, I like not making much sense… I was just wondering what the Top Gear team would have to say to you…

Then I read through the rest of the thread and thought that your message was kinda cool, so kudos to you! Good luck with it!!!
May 20, 2010 at 5:06 pm #78997May 20, 2010 at 4:55 pm #78996In reply to: Saving Selection Field Issue
acreifi
ParticipantThe problem:
multiselectboxfields cannot be saved by trying to save profile of a user.the errror-message:
“There was a problem updating some of your profile information, please try again.”is still present in buddypress 1.2.3 and wordpress 2.9.2
I need this function for releasing a webside !!!!!
May 20, 2010 at 4:53 pm #78993In reply to: WordPressMU + Buddypress + bbPress = Same avatar
r-a-y
KeymasterMake sure you have enabled deep integration in your external bbPress install:
https://bbpress.org/documentation/integration-with-wordpress/#func
or:May 20, 2010 at 4:45 pm #78992seagrinch
ParticipantThanks for the tip. I just used it to add PollDaddy polls in the forums area.
@hiaz You can add it to the functions.php file in your theme.
May 20, 2010 at 3:50 pm #78984In reply to: WordPress 3.0 new content types
modemlooper
Moderatoryeah I’m saying post types need to be able to be written from front end or they are useless for a social network. That way you will be able to create a network so individualized from any other BP network.
May 20, 2010 at 2:27 pm #78977In reply to: add inside loop ”created wiki page”
Xevo
ParticipantAsk this on WordPress.org? Don’t see why this is a Buddypress issue.
Anyway, why not install wp 3.0b and use custom post type?
May 20, 2010 at 2:01 pm #78976In reply to: Request for Invite Anyone and CubePoints integration
Tosh
Participant@moominmama Invites is a work in progress. I have part of it working but not all yet.
https://buddypress.org/community/groups/cubepoints-buddypress-integration/
https://wordpress.org/extend/plugins/cubepoints-buddypress-integration/May 20, 2010 at 1:57 pm #78975Boone Gorges
KeymasterHi @pollyplummer. You have basically got the right idea, but there are a few problems.
First, your check for usermeta is not formatted correctly. See https://codex.wordpress.org/Function_Reference/get_usermeta for get_usermeta syntax. In any case, get_usermeta gets stuff from the wp_usermeta table, and I used it as an example in my code to give you a sense of the kind of check you’d want to do. But that’ll only work if you’re checking against a piece of data that is stored using update_usermeta. BP xprofile fields are not. If the “114” information is stored in a bp xprofile field, you will probably have to do some magic with xprofile_get_field() to get it to work. The following will check for a field called “Type” and check to see if the current user’s Type value is 114:
$field_id = xprofile_get_field_id_from_name( 'Type' );
$field = xprofile_get_field( $field_id );
$value = $field->data->value;if ( bp_the_profile_group_name() == 'awesome' && $value == '114' ) {
There’s probably a slicker way to do this, but it works. Again, this is only relevant if you’re storing the salient data in the xprofile tables.The second problem is that you don’t want to repeat the bp_has_profile etc stuff inside of the if statement. If you want to feed a profile_group_id argument to bp_has_profile, you should do it in the initial loop.
Then make sure that you include the markup inside of the conditional if statement. In edit.php, that means everything, including the
May 20, 2010 at 11:55 am #78966In reply to: BP Member Filter
chopo87
ParticipantHi, what’s the latest news for this pluggin? The Plugin’s changelog says it now supports BuddyPress 1.2 ( https://wordpress.org/extend/plugins/bp-member-filter/changelog/ ), but I can’t get it to work on BP 1.2.3. This is probably just me being ignorant, but with such limited documentation available it hard for n00bs like me to get it working. I’d be more than happy to sponsor the plugin as well if support for 1.2.3 does exist and the documentation is extended.
May 20, 2010 at 9:59 am #78962In reply to: Farmville Fun Club: Discussion + iPad Sweepstakes
blerph
Participant@Arques,
it looks like he is using, the Kaltura Media Component.https://wordpress.org/extend/plugins/buddypress-kaltura-media-component/
May 20, 2010 at 9:19 am #78957In reply to: WordPress 3.0 new content types
@mercime
Participant@r-a-y you’re right, Saw for myself that BP components are rendered as Pages in test install with WPMU2.9.2/BP1.2.3 upgraded to WP3.0beta2/BP1.3-bleeding.
BP components rendered as Pages is not hot for me when I have 100+ Pages in main site of another test install (as I have in some live sites) and the Edit Pages panel and pagemash panel) have the BP components mixing in with “important information/documentation.” In this scenario, it would be more orderly to go multisite and to create a sub-blog and just to activate BP away from main site.
Of course for installs with BP set up primarily for social networking and with only 4 or 5 “static” pages – About, Contact, etc, no problem with components as Pages.
@anointed – great stuffm thanks for sharing
Animo post_types.May 20, 2010 at 8:55 am #78956In reply to: Avatar Upload Issue
KimJCastleberry
MemberWordpress 3.0 Beta2, BuddyPress (current, think its 1.2.3), Buddypress Links v0.4.1
Links section, adding a new item. Trying to set the display image for the link by uploading an image. Image is 200×200 jpg.
Catchable fatal error: Object of class WP_Error could not be converted to string in /home/satribe9/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 281
I’m guessing this is related to the same code @Phlux0r posted above, but after looking at the bp-core-avatars file, and that specific function I was uncertain exactly where in there to insert that code into the function. Could we maybe get a line number or a larger code block?
Kimberly
(There is also a second, probably unrelated bug with Links, when I forget to fill in the Title & Description (and it was not auto filled), when I try to submit the link and get the error that says I must fill in all fields, the Title & Description area will not re-open.)
May 20, 2010 at 8:02 am #78954In reply to: WordPress 3.0 new content types
Anointed
ParticipantI ‘kind of’ agree with you when you say post_types are for individual pieces of content, but also disagree. Post types allows me to create a new object where I can assign multiple attributes to that object type ‘metadata, taxonomies’. You are also able to easily group individual object types of the post type together much easier than with pages. The real power comes into play when you create multiple post types and link them together. Then I have a ‘pods’ type of system with multi-relational datasets to a given object. There is just 100x more that I can do with a post type than with a page.
For instance, I am building a complete custom forum system using a post type. You could never do that with pages. Well I suppose you could but it would be much more work and not nearly as elegant. basically my goal is to completely dump the bbpress as it’s so far behind that it has no business in my sites. By using post types, I have all the inherent wp tools right at my fingertips for forum posts. Want to add images/video/tags/ to a post.. done… no work needed.
The advantage is then I could easily add that new post type to the activity stream, complete with all its attributes, ‘metadata’ for the individual object. Something else you can’t really do with pages.
Here is a really generic example of 3.0 multi relational post types in action. (It’s only a start, so please don’t complain about layout, have not even started that part yet, this is more concept than anything else)
http://deardaddy.org/sermons/daneil-ponce-sermon-1/What you see here is much more than meets the eye
1. This is a custom post type sermons which is related to post types podcasts, preachers, locations.
2. The sermon title, description, and video are part of the sermon post type
3. When on the ‘add sermon’ admin page, you are also able to link it to a pre-existing post type to grab the preacher, podcast, and location. If they do not exist then you can add those attributes within the sermons post type without having to leave. Meaning you don’t have to go to post type podcast to add the audio file to a sermon. Same goes for preachers, locations.
4. sermons and podcast post types also have related taxonomies, ‘series, topics’. which you can directly link within the sermons page.The easiest way to see how it’s linked is to notice the ‘locations’ link on the sidebar. It goes to:
http://deardaddy.org/locations/his-sanctuary-of-prayer/ which is the post type ‘locations’.Keep in mind I did not have to manually type in the location when I added the sermon, although I could have, because it already existed. I simply chose it from a drop down of existing locations and they were linked together.
The power of this is simple.
1. I create a location one time
2. I can now add the individual location attribute to any new post type I create so long as I link the post types together, create a relationship in my themes functions file. This means that a user never has to input data more than 1x, it can be used over and over again in any post type.To wrap up:
You said ‘a way in the front end of bp for users to add a movie’. I am already doing everything but the adding via the front end for the sermon example above. Adding the ability to the bp front end, will take me a bit of work, but it’s possible. I just have not yet had the time to read the bp code close enough. Hence my argument for post types in bp instead of pages. why add a movie page, when I can add a post type movie with all the attributes into the stream. Much much more power that way.@r-a-y
will be interesting to see the direction they take. If they don’t worry about backwards compat well then the doors are wide open.May 20, 2010 at 4:25 am #78944In reply to: WordPress 3.0 new content types
r-a-y
Keymaster@anointed – There is no audio chat! It’s all text. What you read is what actually happened.
WP 3.0 isn’t even out of the gate yet; when WP 3 actually gets released, we’ll see where Andy and the core devs take it.
—
@modemlooper – if you check out what the BP Wiki component does, it already uses custom post types (it’s a development version). So custom post types for BP is possible via plugins. However, for the core (as stated above), it’s whatever the dev team decides.
-
AuthorSearch Results