Search Results for 'wordpress'
-
AuthorSearch Results
-
August 29, 2015 at 11:12 am #243834
In reply to: Video oembeds in Profile Field
Paul Wong-Gibbs
KeymasterDon’t want to vouch for security without actually testing it, but I like the idea of allowing field values to be parsed for oembeds, so I’ve created a ticket to capture the idea: https://buddypress.trac.wordpress.org/ticket/6603
August 29, 2015 at 11:08 am #243833In reply to: Database error after upgrade to WP4.3/BP2.3.3
Paul Wong-Gibbs
KeymasterHmm. Related to https://buddypress.trac.wordpress.org/changeset/9716/trunk/src/bp-core/admin/bp-core-admin-schema.php and https://buddypress.trac.wordpress.org/changeset/9695
@reggie3 what version did you upgrade from?August 29, 2015 at 8:05 am #243822In reply to: Profile looks weird
danbp
ParticipantYou may adjust existing menus or use the buddypress menu.
August 29, 2015 at 8:02 am #243821In reply to: BuddyPress and Global Hide Admin Toolbar
danbp
ParticipantPlugin author stopped support on wp.org repo since a few weeks.
sLaNGjIs Team do not provide support on wordpress.org forum and reviews system!If you get an issue, you have to ask here now https://github.com/sLaNGjI
This is also the reason why nobody answered to your question on support….FYI, i found this in the plugin review ! You’ve nothing to loose to try that.
In plugin’s ReadMe, it’s stated that:
* Work on all WordPress version from 3.1+ to 4.2+
* Compatible with bbPress and BuddyPress (for front-end hide).BuddyPress settings has an option to show/hide the Toolbar to users, which is working properly since a while. I’m not aware of any toolbar trouble who should be resolved in BP’s core in regard of a third party plugin.
Conclusion: don’t use a plugin who has no decent support. Do it yourself or search another plugin. Sorry !
August 28, 2015 at 6:23 pm #243810In reply to: Allow users to post other things than just status
shanebp
ModeratorYou want to create an event via the update form on the activity page?
afaik – that is not possible.You can create events that will also generate an entry in the activity stream.
This plugin will do that: https://wordpress.org/plugins/buddypress-simple-events/August 28, 2015 at 4:10 pm #243798In reply to: Profile looks weird
danbp
ParticipantGardenia is not BP ready.
Create first a child theme. Add a new folder to wp-content/thems/
wp-content/themes/gardenia-child/
Now add a new file and call it style.css
Copy this header comment into it (/* & */ included):/* Theme Name: Gardenia-child Description: child theme Version: 1.0 Author: XXX Template: gardenia */Save.
In that folder, add another one called
buddypressand another one in this folder calledcssGo to wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/css/ and copy buddypress.css file into the css folder you created in the child theme.
In legacy/buddypress/ directory, is a js folder. Copy the whole folder into child’s buddypress directory.
End result should be:
/gardenia-child/
/gardenia-child/style.css/gardenia-child/buddypress/css/buddypress.css
/gardenia-child/buddypress/js/buddypress.js
/gardenia-child/buddypress/js/password-verify.jsGo to dashboard > Appearrance > Theme and activate Gardenia-child.
Done ! The theme shows BuddyPress properly.
August 28, 2015 at 7:45 am #243756In reply to: Restrict User to join BP Groups
danbp
Participant@sharmavishal,
read from here:
https://buddypress.org/support/topic/resolved-restricting-users-to-one-group/See if you can do something with 2nd plugin mentionned in topic. If not able, you have to ask for on Group Hierarchy support.
We only support BuddyPress here.
August 28, 2015 at 7:35 am #243755In reply to: Buddypress & BBPress Signature
danbp
ParticipantThere is a way, if you use BBPress Signature. 😉 Modifying bbp_get_reply_content filter.
Here an example fetching 3 xprofile fields called Signature, Industry and Type. Change it to your need. Code goes into bp-custom.php or child theme functions.php
function my_bbp_reply_content_append_user_signature( $content = '', $reply_id = 0, $args = array() ) { // Default arguments $defaults = array( 'separator' => '<hr />', 'before' => '<div class="bbp-reply-signature">', 'after' => '</div>' ); $r = wp_parse_args( $args, $defaults ); extract( $r ); // Verify topic id, get author id and potential signature $reply_id = bbp_get_reply_id ( $reply_id ); $user_id = bbp_get_reply_author_id( $reply_id ); // Get fields data. Caution: name is case sensitive. if(function_exists('bbpress') ) { $signature = xprofile_get_field_data( 'Signature', $user_id ); $wowi = '<br>'. xprofile_get_field_data( 'Service', $user_id ); $wowt = '<br>'. xprofile_get_field_data( 'Type', $user_id ); } else { $signature = bbp_get_user_signature ( $user_id ); } // If signature exists, adjust the content accordingly if ( !empty( $signature ) ) $content = $content . $separator . $before . $signature . $wowi . $wowt . $after; return apply_filters( 'my_bbp_reply_content_append_signature', $content, $reply_id, $separator ); } if ( !is_admin() ) { // remove the original BBPress filter remove_filter( 'bbp_get_reply_content', 'bbp_reply_content_append_user_signature', 1, 2 ); // add our custom filter add_filter( 'bbp_get_reply_content', 'my_bbp_reply_content_append_user_signature', 1, 2 ); }May this help. 😉
August 28, 2015 at 12:24 am #243742Henry Wright
ModeratorxProfile data is a BuddyPress thing and user meta is a WordPress thing. Which one you use will depend on whether you plan to always use BuddyPress. If not then taking the user meta approach will ensure your plugin will work on all WordPress installs (even when BuddyPress is deactivated).
August 28, 2015 at 12:22 am #243741In reply to: Quick question about this
djsteveb
ParticipantActivity wall – Yes – in core.
all members chat – private user to user email like messages in core. Chat rooms with plugins like “quick chat” – so yes
sleek custom profiles for members, -hard to tell what is “sleek” – custom? for each member? There are a couple of plugins that played with this – not sure how they work, if they’ve been updated lately.. modding how all profiles look to make them “sleeker” than default 2015 – theme – possible..a paid membership option – that would be a plugin.. there are several that get into that.. s2member, paid memberships pro, ultimate member maybe? Some options from wpmudev as well I think.
A way to let paid members make their own post/articles on the homepage – hmmm.. maybe prevent non paid members from even creating a blog.. or you mean any activity posts on home page – I think these things are possible.. BP recently added “user levels” but I have not see much actually use that.. but extending this should be easy to some degree..
However if your focus is on paid members things, and you will need support to put all this together and keep it running (you are not a php coder with lots of time to read codex and test things) – then developing around BP is likely to get expensive, and you might be better off forgetting bp exists and looking at some of the more premium systems others have put together around wordpress (a few wpmudev plugins combined achieve what you describe without needing BP) – and there are others..
Of course you don’t have to look for such a system revolving around wordpress either – there are more mature social network options that may save you time and sanity – things like phpfox, boonex dolphin, oxwall..
random thoughts from a bp user.. I’m not a dev and have not tested all the things out there that get into paid members things and restrictions.. if you search the forums here there have been a few comments from others pointing to some other similar plugin options – and some people have pointed out troubles with some of those on the market.
August 28, 2015 at 12:20 am #243740In reply to: BuddyPress Sitemap?
Henry Wright
ModeratorThe best advice I can give is to look at how some of the already-available plugins do it. XML Sitemaps is a good one to learn from. It might not cover BuddyPress pages but I’ve used it in the past and it worked great for me.
August 27, 2015 at 2:12 pm #243698In reply to: upload Images in foruns
shanebp
ModeratorThis is the BP support site.
The bbPress support site is here.Have you tried https://wordpress.org/plugins/gd-bbpress-attachments/ ?
August 27, 2015 at 8:18 am #243688In reply to: The usage of BuddyPress logo
danbp
ParticipantYou can use it for free, but have to customize it with your own logotype.
See plugin repo how other plugins use it:
https://wordpress.org/plugins/search.php?page=1&q=buddypressOfficial logos and colors for BP are here:
BP is under same GPL license as WordPress.
https://wordpress.org/about/license/August 27, 2015 at 3:04 am #243684SuitePlugins
ParticipantAugust 26, 2015 at 7:17 pm #243673In reply to: Change “title” attribute in Who’s Online Widget
danbp
ParticipantThe easiest way would be to create your own widget, as this widget is in a core file (bp-members/bp-members-widgets.php). Then you can ignore the built in widget and use yours.
Line 307 > 309 is a div containing what you have to modify.
<div class="item-avatar"> <a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_avatar(); ?></a> </div>Change
bp_member_name()tobp_member_user_nicename()Code related to who’s online goes from line 247 to 390.
– Copy/paste it to bp-custom.php
– change class name to something unique. ie.class My_Whos_Online_Widget extends WP_Widget
– in __construct function, in $name replace (BuddyPress by Custom)
– modify the div content by replacingbp_member_name()bybp_member_user_nicename()Done !
You have to register the new widget. In bp-customfunction register_my_custom_widget() { register_widget( 'My_Whos_Online_Widget' ); } add_action( 'widgets_init', 'register_my_custom_widget' );Go to Appearance > Widget and select (Custom) Who’s Online Widget.
Finito ! 🙂
August 26, 2015 at 5:05 pm #243662shadow_boi
ParticipantHi @danbp,
i have tried on other default wordpress theme, the mentioned users notification does not work on any of them.
i actually checked the notifications page, there has no notification for the mentioned action. so i dont think it might be a theme related issue. it seems like the notification event is not recorded in DB.so to recap of what works and what does work:
the notification does not work if I mention someone in forum reply or in a forum topic.
Notification works for when i mention someone in buddypress activity streams.August 26, 2015 at 3:31 pm #243653In reply to: Create Function When Favorite Button Clicked
danbp
Participant@bfchris2, sorry, the file is here /bp-legacy/buddypress-functions.php
August 26, 2015 at 3:12 pm #243648In reply to: Terms & Conditions Checkbox
danbp
Participantconsider this plugin: https://wordpress.org/plugins/auto-terms-of-service-and-privacy-policy/
and read this plugin support topic:
https://wordpress.org/support/topic/buddypress-integration-11?replies=4Other technique
Create a new page and add your terms of service. Save.
Add a new field to profile Base tab (the one which shows on register page).
Field title: Terms of Service
Field description: by checking this box you agree with our TOS. And a link to the page:
<a href='http://my-site.com/page_name/'>Read our Terms of Services</a>Caution: use single quotes to enclose the url
Field type: checkboxes.
Field option: custom and only one option: TOS ! Leave it unchecked.On the right of the screen:
Field requirement: required.
Field visibility: only me and check Enforce field visibilityGuess we’re done !
While registering, if the checkbox is not checked, the process will stop and user will be adviced that he omited a field. Once he checked it, he can finish his subscription. This doesn’t mean he read your TOS, but you’re covered if you warned him to read TOS first. And ensure that the link is working and the page exist with content !
Depending your country law, TOS can be more or less regulated. It’s your responsability to get informed about that before using it.
August 26, 2015 at 2:10 pm #243642cplouffe
ParticipantSorry for the late reply – I was on vacation. Thank you for referring me to that URL, Hugo. I will admit that I should have visited the ‘Getting Started’ page before installing BuddyPress and looked for big picture issues in the WordPress installation as opposed to zoning in on my specific problem.
I don’t know if an error message could be added letting the user know when the GD module is not installed on the server (perhaps this could be difficult…), but having some sort of indication of why the error was encountered would be helpful in debugging.
Thanks again,
CamAugust 26, 2015 at 8:57 am #243632Paul Bursnall
ParticipantYou could also use this plugin. Exclude the URLs you want to be accessible to all. Everything else will be hidden, including from SERPS.
August 26, 2015 at 12:55 am #243624In reply to: How to change the “Members” color in members page
danbp
ParticipantWhich theme do you use ? Seems you renamed yours to Test, and i was unable to find it somewhere.
Also, do you use a cache plugin ? If it’s the case, disable it or clear it while testing CSS.I cannot put it in maintenance mode
This is not necessary if you had a local copy. I strongly recommend you do that if you want to manage correctly a high traffic site.
You can use a child-theme for your theme, not for BP which has no theme since 1.9. The one called bp-default is no more maintained and is only in for temporary backward compatibility for (very) old BP site.
BP use templates, which are stored in bp-templates/bp-legacy/buddypress/. Those templates are tailored to fit with almost any recent (and decently coded) themes.
Creating a child theme is explained on hundreds of sites and on WP’s codex. Additionnal infos for BP are given here.
August 26, 2015 at 12:14 am #243622In reply to: Show permanent steam link in profiles?
Henry Wright
ModeratorI’m not sure what the “provider user identifier” is? If it’s something in WordPress Social Login, try asking the question over at their support forum. They should be up to speed on it.
August 26, 2015 at 12:11 am #243620In reply to: Create Function When Favorite Button Clicked
Henry Wright
ModeratorYou’d need to use Ajax. Take a look at the Ajax in Plugins article for more info.
August 26, 2015 at 12:07 am #243619In reply to: How to change the “Members” color in members page
Henry Wright
ModeratorHow are you linking your style sheet? Make sure you’re using
wp_enqueue_style().Ref: https://codex.wordpress.org/Function_Reference/wp_enqueue_style
August 26, 2015 at 12:05 am #243618In reply to: How to add user profile link to specific menu?
danbp
Participantcould it be that you created your Top menu, by adding a new menu without having two different menu location in your theme ? This can explain why you see always your item, what ever menu you choose. This happen because you try to assign 2 different menus to a same place.
Following snippets where successfully tested with Twenty Twelve.
This fires the profile link on the menu tab.
function profile_button_menu_item ( $items, $args ) { // menu name. Primary is default main menu location in Twenty themes if ( $args->theme_location == 'primary') { $items .= '<li><a href="' . bp_loggedin_user_domain() . 'profile/public/">' . __('My Profile') . '</a></li>'; } return $items; } add_filter( 'wp_nav_menu_items', 'profile_button_menu_item', 10, 2 );The following explains how it works with 2012.
In 2012’s header.php, there is only one menu, located line 45
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) );?>To use 2 menus, I added below that line another location
<?php wp_nav_menu( array( 'theme_location' => 'top', 'menu_class' => 'nav-menu' ) );?>In child-theme’s functions.php, i added
function register_my_menu() { register_nav_menus( array( 'top' => 'Top' ) ); } add_action( 'init', 'register_my_menu' );Under Menu Settings (wp-admin/nav-menus.php) i have now 2 theme locations.
Primary MenuandTop
Understand here that 2 locations are different of having only 2 menus. Location is a unique place for ONE menu.Of course, I have 2 different menus. One is assigned to Primary Menu location, the other one to Top location.
And i can now move my profile item from one to other menu, by simply changing the location (primary ⇔ top) in
profile_button_menu_itemfunction.Codex reference: https://codex.wordpress.org/Navigation_Menus
-
AuthorSearch Results