-
@modemlooper replied to the forum topic Add second role to exclusion from members-loop.php? in the group Creating & Extending 13 years, 2 months ago
&& means both statements must be true || means either one can be true. Even though both may work I like using || when evaluating either/or statements. If both were needed to be true then && is more appropriate.
-
@modemlooper replied to the forum topic Help me creating simple and useful plugin ! in the group How-To and Troubleshooting 13 years, 2 months ago
$(document).ready(function(){
$("#sml").click(function(){
var text = $("textarea#whatsnew").val();
var newtext = text + ' : )';
$("textarea#whatsnew").val(newtext);
});
}); -
@modemlooper replied to the forum topic Help me creating simple and useful plugin ! in the group How-To and Troubleshooting 13 years, 2 months ago
$(document).ready(function(){
$("#sml").click(function(){
$("#whatsnew").val(":)");});
});<img id="sml" src="s33.gif" alt="Smiley face" />
-
@modemlooper replied to the forum topic Help me creating simple and useful plugin ! in the group How-To and Troubleshooting 13 years, 2 months ago
Your code doesn’t display correctly here can you place it between backticks `
-
@modemlooper replied to the forum topic Logout button redirect to home page in the group How-To and Troubleshooting 13 years, 2 months ago
You can also filter logout link. Place this in bp-custom.php or your themes functions.php
add_filter('logout_url', 'my_filtered_logout');
my_filtered_logout($logout_url, $redirect) { return "URL-after-logout"; } -
@modemlooper replied to the forum topic Logout button redirect to home page in the group How-To and Troubleshooting 13 years, 2 months ago
Anywhere you want a logout link you can place the code. Header.php will show on everypage
home_url() is the site you’re on main page. If you want another URL use code below and put in URL you want
`<a href="” […]
-
@modemlooper replied to the forum topic Stopping new pages appearing as links on the main page in the group How-To and Troubleshooting 13 years, 2 months ago
Go to Apearance > Menus in the admin and create a menu. Choose what you want.
-
@modemlooper replied to the forum topic Charge for a profile field group in the group Miscellaneous 13 years, 2 months ago
The only way is to custom code a new visibility option and make that option a paid member using a plugin like s2member
-
@modemlooper replied to the forum topic Logout button redirect to home page in the group How-To and Troubleshooting 13 years, 2 months ago
<a href="" title="Logout">Logout -
@modemlooper replied to the forum topic Add second role to exclusion from members-loop.php? in the group Creating & Extending 13 years, 2 months ago
I didn’t wrap code in brackets correctly. 😀 typing on iPhone
-
@modemlooper replied to the forum topic Add second role to exclusion from members-loop.php? in the group Creating & Extending 13 years, 2 months ago
You need || not &&
-
@modemlooper replied to the forum topic Add second role to exclusion from members-loop.php? in the group Creating & Extending 13 years, 2 months ago
if ( $user->roles[0] != 'subscriber' || $user-roles[0] != 'customer' )Try something like that
-
@modemlooper replied to the forum topic Help me creating simple and useful plugin ! in the group How-To and Troubleshooting 13 years, 2 months ago
Try this site for a basic jquery lesson http://jqfundamentals.com/
-
@modemlooper replied to the forum topic Stream wireframes in the group BP-Default 13 years, 2 months ago
+1
-
@modemlooper replied to the forum topic Profile wireframes – take two in the group BP-Default 13 years, 2 months ago
Mehehehehe!
-
@modemlooper replied to the forum topic How to have a different profile page for different types of members? in the group How-To and Troubleshooting 13 years, 2 months ago
No, this would require custom coding for your specific needs
-
@modemlooper replied to the forum topic How to have a different profile page for different types of members? in the group How-To and Troubleshooting 13 years, 2 months ago
Yeah, a developer could create a plugin that had different info fields for different users. It’s just not a core feature to have profile fields for different users. The main reason for this is BuddyPress doesn’t […]
-
@modemlooper replied to the forum topic Profile wireframes – take two in the group BP-Default 13 years, 2 months ago
Only username and @user in a small space above content
-
@modemlooper replied to the forum topic How to have a different profile page for different types of members? in the group How-To and Troubleshooting 13 years, 2 months ago
I should elaborate, you could do conditional profile page design but you can not have conditional profile fields
-
@modemlooper replied to the forum topic How to have a different profile page for different types of members? in the group How-To and Troubleshooting 13 years, 2 months ago
This is currently not possible with BuddyPress
- Load More
@modemlooper
Active 3 months, 1 week ago