BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 64
    Graham on #13984

    Thanks.

    Did that and still works.

  • Participant
    Level: Enlightened
    Posts: 64
    Graham on #13966

    Realized I was exposing the whole plugin code on pastebin, so I edited it.

    The lines are now 16 and 52.

  • Participant
    Level: Enlightened
    Posts: 64
    Graham on #13633

    Thanks Brajesh.

  • Participant
    Level: Enlightened
    Posts: 64
    Graham on #12712

    Thanks Brajesh.

    There was no hurry, as I said.

    The fix works perfectly and will save people suddenly ending up back at the login screen and wondering why 🙂

    Prompt fix from you as usual. Thanks,
    Graham

  • Participant
    Level: Enlightened
    Posts: 64
    Graham on #12707

    Hi Brajesh,

    Any luck yet in finding a way to hide the Gallery tab?

    Graham

  • Participant
    Level: Enlightened
    Posts: 64
    Graham on #12688

    Thanks Brajesh. No hurry.

  • Participant
    Level: Enlightened
    Posts: 64
    Graham on #12254

    Hi Brajesh,

    The error is shown in cPanel using the file manager.

    I have often seen errors marked in other files and I have tended to ignore them if the file does what it should.

    Your code is not generating any errors in the error log or any cPanel errors.

    Thank you for the quick way your team answered my original question. As usual, my sites would not work anywhere near the way they do without your various plugins.

    You do a great job and it makes working with BuddyPress so much more effective.

    Regards,
    Graham

  • Participant
    Level: Enlightened
    Posts: 64
    Graham on #12238

    Hi Brajesh,

    Created a pastebin account anyway. The link is https://pastebin.com/ixTC6BS7

    That is the code as I got it from here. The syntax error showed with that.

    Customizing the message had no effect on the error.

    As I said originally, it doesn’t seem to prevent it from working though,

    Cheers,
    Graham

  • Participant
    Level: Enlightened
    Posts: 64
    Graham on #12236

    Hi,

    No it’s still there.

    I did a copy and paste of your code to a text file, then from there to my child functions.php file.

    I don’t have a pastebin account.

    Will be offline for a while. Will get back to you.

    Graham

  • Participant
    Level: Enlightened
    Posts: 64
    Graham on #12233

    Hi Guys,

    Yes it worked fine, and I could customize the message okay.

    The PHP editor gave me a red “X” for the line:

    $message = <<<'MAINCONTENT'

    (Syntax error. Unexpected T_SL)

    Don’t know if that is important.

    Thanks,
    Graham