Skip to:
Content
Pages
Categories
Search
Top
Bottom

S2 member- Trying to Restrict Friend Requests Memberships above 0.


  • Gayatriom
    Participant

    @gayatriom

    Hey. I’m trying to restrict Friend Requests to Memberships above 0.
    I am trying to replace

    in mempers-loop.php
    to

    `= 1){ ?>

    `

    Is this the right way?
    I am not a coder.
    would love some help.

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

  • pcwriter
    Participant

    @pcwriter

    @Gayatriom

    Remove the “ from the 2nd line or you’ll get errors.

    `= 1) : ?>

    [members-loop or other content here]
    `

    This says: (if) 1st condition is met, do something,
    (else) do something else,
    then close the conditional (endif).


    Gayatriom
    Participant

    @gayatriom

    hey.
    when i do this.
    I get this error.

    Parse error: syntax error, unexpected ‘,’ in /var/www/vhosts/talentedtenthnetwork.com/httpdocs/wp-content/themes/platformbase/members/members-loop.php on line 59


    Gayatriom
    Participant

    @gayatriom

    What am I doing wrong?


    Gayatriom
    Participant

    @gayatriom

    @pcwriter
    Hey!
    I tried the code you ‘fixed’ for me
    but it yields an error.

    Parse error: syntax error, unexpected ‘,’ in /var/www/vhosts/talentedtenthnetwork.com/httpdocs/wp-content/themes/platformbase/members/members-loop.php on line 59

    what could be going on?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘S2 member- Trying to Restrict Friend Requests Memberships above 0.’ is closed to new replies.
Skip to toolbar