Forum Replies Created
-
@macpresss I finally found it via my host ftp but my theme folder doesn’t have buddypress inside it. wp-content / themes / [your-theme-name] />>NO BUDDYPRESS but there is an index.php file inside it.
@macpresss Thanks for your detailed explanation. I tried to find the index.php file via wordpress admin>>plugins>>buddypress but I couldn’t find a file called bp-templates on the right hand side of that page.
Thanks
Benjamin@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.@mgrmn Thanks so much. It works perfectly now.
@mgrmn I have emailed you. Hope you received it.
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.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 2I 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.
@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? >>
echo’REGISTER HERE ‘;@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.
@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“<?php if ( !is_user_logged_in() ) {?>
To participate in Forums and Groups <font color = “#306EFF”>REGISTER</font> here
<?}?>”@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 register page wasn’t loading anymore.
@hnla
Is your advice that I should remove <font>? If so, can I still use . Sorry am a newbie, learning as I go. All advice is appreciated.Thanks
Benjamin@mercime thanks. I will try that.
@mewrd thanks for your prompt reply. What other free theme do you suggest that looks similar, that is WordPress and BuddyPress compatible and also responsive. Ideally am looking for a theme that looks like this current one.
Thanks in advance.
BenjaminAm using WordPress 3.5.2, BuddyPress Version 1.7.2 and BBPress Version 2.3.2. The theme is a custom theme. This is the the link http://mythemeshop.com/themes/ribbon/
Here is how its behaving http://www.disqusnow.co.uk/groups/test-group/forum/. Still working on the look.@mercime Am using WordPress 3.5.2, BuddyPress Version 1.7.2 and BBPress Version 2.3.2. The theme is a custom theme. This is the the link http://mythemeshop.com/themes/ribbon/
Here is how its behaving http://www.disqusnow.co.uk/groups/test-group/forum/. Still working on the look.