-
bp-help replied to the topic Making the landing page the login page in the forum How-to & Troubleshooting 11 years, 2 months ago
@henrywright-1
By default “login” does not show up in dashboard/settings/reading in the static page dropdown menu. -
shanebp replied to the topic Adding classes to profile fields in the forum How-to & Troubleshooting 11 years, 2 months ago
Don’t initialize $i as a string if you’re going to use it as an integer.
if ( $items = bp_get_profile_field_data( array( 'field' => 'Budget' ) ) ) {
$i = 0;
foreach ( $items as $item ) { ?>
<div id="size-<?php echo ++$i; ?>">
<?php echo $item; ?>
</div>
<?php… -
shanebp replied to the topic Search for user role in the forum Creating & Extending 11 years, 2 months ago
@henrywright-1
I’ve never done it, but don’t see why you couldn’t do that. -
Hugo Ashmore replied to the topic Adding bp-default's ajax.js and global.js to your theme in the forum How-to & Troubleshooting 11 years, 2 months ago
@henrywright-1
I think on balance I would tend now to favour going the theme compat route, as the process best to follow in all theme/site building respects, we added extended capabilities with the template hierarchy which make it more useful and the templates and styles were updated and improved.But the other approach is perfectly valid and…[Read more]
-
Hugo Ashmore replied to the topic Adding bp-default's ajax.js and global.js to your theme in the forum How-to & Troubleshooting 11 years, 2 months ago
@henrywright-1 Why are you choosing to work that way rather than running with theme compat template files? You do have a choice no way is right or wrong though if running the older style template approach you would need to have declared
add_theme_support( 'buddypress' );
to ensure js/ajax unlinked, there is an issue with this though in that BP…[Read more] -
bp-help replied to the topic [Resolved] Buddypress xprofile author "bio" in post footer. in the forum How-to & Troubleshooting 11 years, 2 months ago
@3rdaxis
Untested but maybe something like this would work, in this example you would need to change “USERNAME” at the end of the URL to the persons twitter name. To get other URL’s to work you should just change the URL etc.
[Read more]
<?php
if ( $string = xprofile_get_field_data( 'BIO', get_the_author_meta('ID') ) ) { ?>
<a… -
bp-help replied to the topic BP template hierarchy Codex article in the forum How-to & Troubleshooting 11 years, 2 months ago
@henrywright-1
You’ve been around long enough to know if something is off so if you know for certain something is off on the codex I doubt there will be any objections if make a correction! 🙂 -
bp-help replied to the topic BP template hierarchy Codex article in the forum How-to & Troubleshooting 11 years, 2 months ago
@henrywright-1
If you see a typo in the codex you can edit it yourself if you choose too! 🙂 -
shanebp replied to the topic Is there anyway to create an ID after someone registers in the forum How-to & Troubleshooting 11 years, 2 months ago
@henrywright-1 Solve that one !
-
@mercime replied to the topic Delete post comments via front end in the forum How-to & Troubleshooting 11 years, 2 months ago
-
Squirrel replied to the topic Private Portal with BuddyPress in the forum Creating & Extending 11 years, 3 months ago
Hi @shanebp and @henrywright-1
Thanks for your help- I agree with Shanebp that his function does the same thing and is simpler, however I still have the same problem in that it stops access to the members PROFILE page.
I think this must be a problem with BuddyPress though- maybe it’s a bug?
Anyway thank you both for helping with the functions…[Read more]
-
shanebp replied to the topic Registration Process in the forum How-to & Troubleshooting 11 years, 3 months ago
@henrywright-1
Thanks. -
shanebp replied to the topic Private Message Button Label Change in the forum How-to & Troubleshooting 11 years, 3 months ago
@henrywright-1
And how would you avoid double buttons due to this call in member-header.php?
do_action( ‘bp_member_header_actions’ );@tayenewm
Use the provided apply_filters:function tweak_button_label ( $args ) {
$args[link_text] = 'Something';
return $args;
}
add_filter( 'bp_get_send_message_button_args', 'tweak_button_label', 1, 1… -
shanebp replied to the topic Hide/restrict access to Private Messaging in the forum Creating & Extending 11 years, 3 months ago
@henrywright-1
Don’t include the global if you aren’t going to use it. -
@mercime replied to the topic Last message in private message thread – How to tell if it was sent or received in the forum How-to & Troubleshooting 11 years, 4 months ago
How can I tell if that very last message was sent to me from somebody else or sent by me to somebody else?
@henrywright-1 Per structure of the example link you provided username/messages/view/30/ there are only two members in that thread, you and one other member. If the very last message has the avatar/username of the one other member with text…[Read more]
-
@mercime replied to the topic Last message in private message thread – How to tell if it was sent or received in the forum How-to & Troubleshooting 11 years, 4 months ago
@henrywright-1 Not quite clear. If you see the message listed there then the message was sent. As to whether the other member received the message, not sure until you test it yourself in your installation. If this is not what you’re referring to, please be more specific 🙂
-
Peet replied to the topic [Resolved] Disable 'activate' page in the forum How-to & Troubleshooting 11 years, 5 months ago
Have you found a solution.
I’ve tried a redirect in htaccess, but it does not work
/activate/?key=6a5afeefedbf5932
should be after login something like http://www.domein.nl/welkomI’ve found some programmer’s stuff on the issue but I’m not much of a programmer
-
daol9999 replied to the topic Adding extra field data to Members Directory in the forum How-to & Troubleshooting 11 years, 5 months ago
Thank you so much. Best $15 I’ve spent in a long time. No faffing around for hours and hours and hours, it just works!
I will install the new 1.8 version on a test server when its out (fyi: I am THE developer. There are no other developers to talk to.) It sounds a big step in the right direction though. In answer…[Read more]
-
designweb replied to the topic show header item when user not login in buddypress in the forum How-to & Troubleshooting 11 years, 5 months ago
@henrywright-1 i need show button only but when user click on any button it required to login or Register to add or send message. same as like this theme Link
-
bp-help replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
@hnla
I just checked using the advice you have given and moved the check to the main loader file and for some reason it does make a difference because now the message is displayed as expected if BP is not installed so I’ll consider this the best practice in the future. I wonder if I should contact someone that does the plugin reviews so they can…[Read more] - Load More
@henrywright-1
Active 9 years, 10 months ago