Search Results for 'buddypress'
-
AuthorSearch Results
-
March 29, 2010 at 5:02 am #70617
modemlooper
ModeratorSwapping header.php on the blog files so it calls different CSS?
March 29, 2010 at 4:57 am #70616modemlooper
ModeratorYou are going to have to give a link to this site as there is no way to tell where you’ve placed your div.
March 29, 2010 at 4:34 am #10187jim2112
ParticipantCSS beginner here.
I have an existing WP site that has a fixed position <div> at the top 0 margin that is set to 100% width. It has some links in it to other pages. It’s 22 pixs in height and populated by a repeating background image 5 x 22 pixs. I would like to carry over this to my buddypress site as well. I was hoping to place it behind the admin bar. Then remove the admin bar image to make it clear so that the admin bar text sits on top of my other bar element.
I can get a my div behind the admin bar but when i set it to 100% width it won’t go beyond the confines of the box that the admin bar is sitting in. I can’t figure out why my div element is being restricted in width.
I’m guessing this is something simple for someone who knows CSS.
I’m thinking this <body <?php body_class() ?> id=”bp-default”>
is somehow defining the max width of all DIV elements on the page?
Can anyone help me?
Thanks
March 29, 2010 at 4:11 am #70615In reply to: Plugin: BP Blog Author Link
djsteve
ParticipantHas anyone created code or released a plugin that would combine this functionality with something that will display blog author in a buddypress user’s blog sidebar?
I poked around the MU forums and found some similar plugins, This one
https://wordpress.org/extend/plugins/profile-pic/
Sounds very close to what I am envisioning.. I am considering testing that plugin, with the one mentioned above in the first post of this thread, and the “blog-defaults” plugin to see if I can get all of my user’s blogs to have a widget auto added in a new default theme that will display their avatar, and a link to their buddypress profile.
Has anyone does this already and have any advice or code to share?
March 29, 2010 at 3:02 am #70614In reply to: BuddyPress Restrict Group Creation
Gene53
ParticipantGreat plugin, thanks.
Gene
March 29, 2010 at 2:59 am #70613In reply to: BuddyPress Like
Anointed
ParticipantIs it possible to apply this plugin to only one specific groups forum posts?
I know the id of the group as it’s already created.
March 29, 2010 at 2:58 am #70612In reply to: Private message timestamp errors
snark
Participant@3sixty — I found this topic of yours, https://buddypress.org/forums/topic/time-zones-different-in-messages-and-forums-bbpress, but it doesn’t link to your Trac ticket, and I couldn’t really follow your suggested fix, where to make the changes, the caveat, etc. (I’m not codesmart enough, sadly…).
March 29, 2010 at 2:54 am #70611In reply to: BuddyPress Restrict Group Creation
Anointed
ParticipantI have no idea why, but when I activate this plugin, I do not get a configuration link in my admin. Plugin says it’s activated site wide properly.. strange
March 29, 2010 at 2:23 am #70610In reply to: Social 0.1.8 by Utkarsh Kukreti
Luke Gedeon
MemberI found a solution for my version of the problem and learned a few things along the way that might help with your BuddyPress avatar problems.
Full text at: http://luke.gedeon.name/buddypress-wrong-avatar-fix.html
What I found:
In the file /wp-content/plugins/buddypress/bp-core/bp-core-avatars.php, lines 344 and following contain the following code:
global $authordata;
if ( is_object( $user ) )
$id = $user->user_id;
else if ( is_numeric( $user ) )
$id = $user;
else
$id = $authordata->ID;
if ( empty( $id ) )
return $avatar;
I think that last “if statement†may be there to catch cases where the commenter does not have a BuddyPress account (which is the majority on my site at this point). However, if you look closely at the block just above the “if ( empty( $id))†you will notice $id is never going to be empty at this point.
That suggests two possible solutions.
Solution 1:
I have not tested this, but it makes sense that you could move the last “if statement†above the first “if statement.†That way you can check for “empty( $id )†before it gets set toâ€$authordata->IDâ€
Solution 2:
I found it works quite well to add these lines just under the last “if statement.â€
if ( is_string( $user ) )
return $avatar;
This will catch any case where an email is sent as input, which is what all (most) non-buddypress themes send. Cases where numbers or objects are sent (the BuddyPress method) will be handled normally.
Maybe I can get this added into the next release of BuddyPress.
March 29, 2010 at 2:22 am #70609In reply to: Wrong Avatar and Gravatar after BP update
Luke Gedeon
MemberI found a solution for my version of the problem and learned a few things along the way that might help with you BuddyPress avatar problems.
Full text at: http://luke.gedeon.name/buddypress-wrong-avatar-fix.html
What I found:
In the file /wp-content/plugins/buddypress/bp-core/bp-core-avatars.php, lines 344 and following contain the following code:
global $authordata;
if ( is_object( $user ) )
$id = $user->user_id;
else if ( is_numeric( $user ) )
$id = $user;
else
$id = $authordata->ID;
if ( empty( $id ) )
return $avatar;
I think that last “if statement†may be there to catch cases where the commenter does not have a BuddyPress account (which is the majority on my site at this point). However, if you look closely at the block just above the “if ( empty( $id))†you will notice $id is never going to be empty at this point.
That suggests two possible solutions.
Solution 1:
I have not tested this, but it makes sense that you could move the last “if statement†above the first “if statement.†That way you can check for “empty( $id )†before it gets set toâ€$authordata->IDâ€
Solution 2:
I found it works quite well to add these lines just under the last “if statement.â€
if ( is_string( $user ) )
return $avatar;
This will catch any case where an email is sent as input, which is what all (most) non-buddypress themes send. Cases where numbers or objects are sent (the BuddyPress method) will be handled normally.
Maybe I can get this added into the next release of BuddyPress.
March 29, 2010 at 2:09 am #70606jivany
Participant@Bpisimone If I’m understanding your question correctly, you should be able to make one big logical check:
<?php if (bp_is_page( BP_GROUPS_SLUG ) || bp_is_page( BP_MEMBERS_SLUG ) || bp_is_page( BP_ACTIVITY_SLUG ) || bp_is_group() || bp_is_member() ) : ?> class="selected" <?php endif; ?>March 29, 2010 at 2:05 am #70605In reply to: Upgrading from RC-1 to RC-2 or 1.0 Release
March 29, 2010 at 2:02 am #70604In reply to: Buddypress gifts component
warut
ParticipantThanks Bowe and r-a-y , that a good tutorial i will try it.
dre1080 if you want to test this plugin you can download here
but for testing only because i dont cleanup the code (still have some debug message) and not delete table after deactivate plugin
for delete plugin, deactivate and delete then delete wp_bp_gifts table and activity stream type new_gifts.
for installation, extract in plugin folder and activate plugin.
i use free gift image from iconpedia.com so if you have own image (64*64px) place image on includes/images folder before activate plugin (or add one by one in admin panel)
this is my first plugin, please give suggestion if it have any bad code or function
March 29, 2010 at 1:57 am #70603In reply to: BuddyPress-Links 0.3 FINAL is here at last
stwc
ParticipantSorry if this has been mentioned before, but I’m running into a slightly odd issue with testing. The comments thread for each Link posted includes comments and activity items for all the Links on my testbed install, rather than just the thread for the link currently being viewed.
In other words, if I’m looking at, say, http://localhost.localdomain/mefightclub/links/samplesite1-com
I see comments posted for samplesite1.com, but also for samplesite2.com and samplesite3.com and all the other link items that have been created.
Any thoughts, MrMaz?
Edit: Hmmm. The dropdown for categories doesn’t seem to be working either. I wonder if there’s some kind of conflict happening…
March 29, 2010 at 1:51 am #70601In reply to: Plugin Hall of Shame! :) Plugin Devs Please Read
3sixty
ParticipantHmm… Isn’t it possible to add something like this to the bp core code:
1. Require BP-specific plugins to have a special trigger in the plugin header like “Type: bp-plugin” or simply “BP-plugin: True”
2. At activation and upgrade, double check those plugins to make sure they are BP safe. If not, refuse to register them and give these errors:
- “The plugin you are trying to activate contains functions that can’t be found in the installed versions of WP/WPMU and BuddyPress. They are : etc…”
- “Sorry, this plugin can’t be registered because it does not check if BuddyPress is active.”
- “Sorry, this plugin can’t be registered because it uses an old method of BP detection and needs updating to use bp_init loader method.”
March 29, 2010 at 1:48 am #70600jivany
ParticipantFirst, make a backup of your existing theme and I’m guessing here but…
You might be able to just take your existing WP theme and make it a child theme of bp-default. This should cause WP to go looking in the bp-default theme directory for anything not defined in your main WP theme directory.
Some stuff will break. Fixing it might be difficult. I haven’t tried this so good luck and make a backup first.
Oh, and let us know how it goes.
March 29, 2010 at 1:13 am #70599In reply to: Upgrading from RC-1 to RC-2 or 1.0 Release
massimonitti
MemberThe page
https://codex.buddypress.org/getting-started/installing-buddypress/upgrading-from-rc-1/
is no more online.
Is there another place to find the upgrade instructions from rc1?
Thanks
March 29, 2010 at 12:52 am #70597In reply to: New version of Forum Attachments for BuddyPress
stwc
ParticipantGetting these errors in the apache logs… something’s b0rked!
[Mon Mar 29 09:48:09 2010] [error] [client 127.0.0.1] WordPress database error Table 'sitename_wpmu_buddypress.bb-attachments' doesn't exist for query SELECT * FROM 'bb-attachments' made by require_once, require, do_action, call_user_func_array, bp_forum_attachments_check_installed, referer: http://localhost.localdomain/sitename/wp-admin/[Mon Mar 29 09:48:09 2010] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''ext' 'ext' VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,' at line 2 for query ALTER TABLE bb_attachments DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci,nCHANGE 'ext' 'ext' VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,nCHANGE 'mime' 'mime' VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,nCHANGE 'filename' 'filename' VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL made by require_once, require, do_action, call_user_func_array, bp_forum_attachments_check_installed, bb_attachments_install, referer: http://localhost.localdomain/sitename/wp-admin/The bb-attachments table does exist, though, and is populated with data.
March 29, 2010 at 12:47 am #70596In reply to: group events calendar [plugin]
Derek
Participant@pc w3riter I am “being patient” but that doesn’t mean it’s not frustrating. I have said time and again in these very forums that I have total respect for Erwin and his work. I have even told him as much on more than one occasion. I have even suggested the features I would find most useful to others looking to create their own plugins. Excuse me but if you actually read my comment it is framed around CORE BuddyPress functions. I believe “events” is worthy of consideration to Core function just like others believe a picture album is too. That’s the point I am trying to make.
March 29, 2010 at 12:01 am #70594In reply to: New version of Forum Attachments for BuddyPress
stwc
ParticipantBack at my localhost install, finally.
What happens if you try to visit a URL like http://example.com/wp-content/plugins/forum-attachments-for-buddypress/image.php?filenum=9
It shows me a page with that URL in it. Weirdly, the browser (Firefox) thinks it’s an image — there’s no HTML source.
March 28, 2010 at 11:59 pm #70593raibom
Memberi`m using a normal wordpress
March 28, 2010 at 11:54 pm #70592r-a-y
KeymasterYou’re talking about separating your WordPress blog from BuddyPress?
If you’re using WPMU, you can do this:
https://codex.buddypress.org/how-to-guides/install-buddypress-on-a-secondary-blog/
March 28, 2010 at 11:51 pm #10184raibom
MemberMy website has a theme that works well in wordpress but it works well in buddypress. So I wanted to leave my home in the theme and buddypress leave the default theme, is to do this with or without the help of a plugin?
March 28, 2010 at 11:35 pm #70590In reply to: multiselectbox not working
Brandon Dove
MemberWell, for those people who can’t/don’t want to update to the new version of BP, here’s the fix.
Make sure if you have a custom edit profile or registration template that you put brackets at the end of any multiselectbox field name that you’re using.
So, the following:
<select name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>" multiple="multiple">would become:
<select name="<?php bp_the_profile_field_input_name() ?>[]" id="<?php bp_the_profile_field_input_name() ?>" multiple="multiple">Then, you need to edit lines 400-421 of the BuddyPress core file:
/buddypress/bp-xprofile/bp-xprofile-templatetags.php. It starts withcase 'selectbox': case 'multiselectbox':and ends withbreak;Replace lines 400-421 with code from here.
Note: this isn’t a very upgrade friendly way to deal with it, but if you’re stuck with BuddyPress 1.1.3 because of some custom written components, it’s the way to make it work.
March 28, 2010 at 11:34 pm #70589In reply to: BP Album+ || New Features Requests and Discussion
21cdb
ParticipantI agree with Xevo. Instead of more features usability should be the most important issue currently.
Andy mentioned it allready here: https://buddypress.org/forums/topic/bp-album-new-features-requests-and-discussion/page/2#post-43485
Honestly though, before adding any bells and whistles, just make sure that uploading/editing/deleting a photo and album works perfectly. That’s the main thing.
– Upload one or multiple images in one go.
– Allow the creation of albums, add/move/delete photos in albums and albums themselves.
– Allow photo attachments on activity stream posts – extend the activity stream posting interface.
If that works perfect, i would also like to see new features, but only from then on.
-
AuthorSearch Results