-
@mercime replied to the topic WP categories to BP groups in the forum Ideas 11 years, 4 months ago
@mgrmn best person to ask about this is the plugin developer 🙂
-
disqusnow replied to the topic BuddyPress Group Page in the forum Installing BuddyPress 11 years, 4 months ago
@mgrmn
I have emptied the trash and changed the parmalink from groups-2 to groups but non of my edit of Groups via the page menu isn’t showing on the Group page when view from a browser. -
disqusnow replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
@mgrmn Thanks so much. It works perfectly now.
-
disqusnow replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
@mgrmn I have emailed you. Hope you received it.
-
disqusnow replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
Thanks for all your help. I have emailed you the functions.php zip file.
I can give you the wordpress admin panel if you think its the better option. -
disqusnow replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
I ran the code on php code test site and it showed the message below:
Fatal error: Call to undefined function is_user_logged_in() on line 2 -
disqusnow replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
I put the code below in the text widget but it just displaying the code on the site.
<?php
if ( !is_user_logged_in() ) { /* if the user != logged in */
echo “Register“; /* echo the link*/
} else { /* else if user is logged in */
echo “Welcome Back”;
} /* closing the if else statement */
?>Thanks for all your help so far.
-
@mercime replied to the topic WP categories to BP groups in the forum Ideas 11 years, 4 months ago
@mgrmn the reverse of BP plugin, Blog Categories for Groups http://buddydev.com/buddypress/blog-categories-for-groups-plugin/
-
disqusnow replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
@mgrmn
Thanks for the detailed explanation. I done the one for function.php
But I need a bit of explanation about the one below. Sorry in advance for disturbing you.<?php
if ( !is_user_logged_in() ) {
echo “you are NOT logged in”;
} else {
echo “you are logged in”;
}
?>
Where should I put the link below in this above code lines?…[Read more] -
disqusnow replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
@mgrmn
[I see what you are trying to do, you are using a default Text Widget from wp admin-> Appearance -> Widgets -> A text Widget with the code you posted?]Your above statement is correct.
-
disqusnow replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
@mgrmn Sorry for sounding so dumb. Can I put the code below with the text widget.
Please reply with an example. Like using example.com/register<?php
if ( is_user_logged_in() ) {
echo ‘Welcome, registered user!’;
} else {
echo ‘Welcome, visitor!’;
}
?>Thanks in advance.
Benjamin -
disqusnow replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
-
disqusnow replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
@mgrmn
I entered it like this:<?php if ( !is_user_logged_in() ) {?>
To participate in Forums and Groups <font color = “#306EFF”>REGISTER</font> here
<?}?>with the text widget and placed on the side bar but when a user logs in they could still see the “Register Message” although they can’t register once they are logged in. That is, the reg…[Read more]
-
@mercime replied to the topic Create Group in the forum How-to & Troubleshooting 11 years, 4 months ago
@mgrmn There should be a “Create a Group” button beside the page title in the Groups Directory page. https://codex.buddypress.org/user/buddypress-components-and-features/groups/#groups-directory
If the “Create a Group” button doesn’t show up in your theme, that’s because the_title tag of page template is not within the WordPress loop. To resolve…[Read more]
-
@mercime replied to the topic [Resolved] Remove Sidebar B not A in the forum How-to & Troubleshooting 11 years, 5 months ago
@mgrmn thanks for posting back re positive result 🙂
Marking this topic as resolved. -
@mercime replied to the topic [Resolved] Remove Sidebar B not A in the forum How-to & Troubleshooting 11 years, 5 months ago
@mgrmn please do not bump your post when it’s been less than a day in queue. Know that we’re all volunteers here living in different time zones.
You need to find whether your theme has a template with two columns and copy source code over to a new file named buddypress.php which you will upload to theme folder in…[Read more]
@mgrmn
Not recently active