I consider buying this plugin. Presale question to it:
1. Can I modify the block button with a filter like buddypress has filters for all of its user profile header buttons?
2. What happens if a user calling the profile of a another user which is blocking him. Can I redirect him to a page saying “you are blocked etc”?HI Alex,
Thank you for your interest in the plugin.1. What kind of customizations you are looking for? Is it for appearance or positioning?
2. What is calling? BuddyPress does not have a call option. Please clarify.
Regards
BrajeshThanks for your answer.
1. For styling purposes I need to wrap all button text in a span tag. So the “Add friend” button becomes <span>Add friend</span>. Before I knew that bp has filters for each button I made a workaround and adding a span tag to one of my translation files which works but is not a good approach.
Now for the example of the “Add friend” button I use the filter “bp_get_add_friend_button” and manipulate the value of $button_args[‘link_text’]. This works fine and is update safe.So I need the same for the block button, that I have <span>Block</span> at the end without touching core or translation files.
2. Lets say I wanna view the user’s profile of “Fred”. Because I don’t wanna forget him I save the link of his profile as a bookmark. Later the day he blocked me. What happens if I wanna view his user profile again? Do I get redirected to the entry page? Or what happens? For this case I would like to see a page saying “you are blocked to view this profile”.
Hope I could clarify my questions.
Hi Alex,
Thank you for the deails.1. Our buttons don’t use BP_Button class. You can still filter and wrap them using
bpmts_report_button
filter,2. You can redirect to a page you were visiting earlier(referrer), If referrer is empty, you will get redirected to your own profile with the message that says the profile is not accessible.
Regards
Brajesh
You must be logged in to reply to this topic.