Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 18 replies - 1 through 18 (of 18 total)
  • Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @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.

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @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

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @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.

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @mgrmn Thanks so much. It works perfectly now.

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @mgrmn I have emailed you. Hope you received it.

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @mgrmn

    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.

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @mgrmn

    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

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @mgrmn

    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.

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @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 ‘;

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @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.

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @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

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @mgrmn
    I don’t know what is wrong but its not loading. here is the link.
    REGISTER

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    “<?php if ( !is_user_logged_in() ) {?>
    To participate in Forums and Groups <font color = “#306EFF”>REGISTER</font> here
    <?}?>”

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @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

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @mercime thanks. I will try that.

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @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.
    Benjamin

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    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.

    Avatar of disqusnow
    disqusnow
    Participant

    @disqusnow

    @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.

Viewing 18 replies - 1 through 18 (of 18 total)