P

Passport

Member

Last active 4 years ago

  1. 5 years ago
    Sun 04 Jan 2015 07:07:40 PM UTC
    P Passport posted in Flarum Is Now On GitHub.

    Is there a webserver running Flarum in the wild?

  2. Sun 04 Jan 2015 08:02:29 AM UTC

    This is a bit too much, simply want to restrict the profiles. Weird because the first line you mentioned would appear to do the job but it doesn't work. Will fiddle a bit more and post the result if I get it figured out!

    Thank you so much!

  3. Sun 04 Jan 2015 06:48:07 AM UTC

    @Felli that looks right, but looks like the boolean value was already "false" in that file, however on a different line.

    Weird!

    -image-

  4. Sun 04 Jan 2015 01:04:39 AM UTC
    P Passport started the conversation Restricting profiles to registered users?.

    Looking to allow only logged in users to view member profiles.

    I suspect a simple line in core/views/members/members.php would do the trick.

    Anyone have any suggestions?

  5. Wed 31 Dec 2014 06:52:20 AM UTC
    P Passport started the conversation Adding author names to posts in the conversation list.

    Thanks to @Toby 's help, was able to fix this issue that has been bugging me for too many hours.

    Here's how to display the name of a conversations's originator:

    The file that needs to be modified is core/views/conversations/conversation.php

    Around line 41 (or where you see the comment // Output the conversation title, highlighting search keywords)

    Modify this code:

    echo "<strong class='title'><a href='".URL($conversationURL.((ET::$session->user and $conversation["unread"]) ? "/unread" : ""))."'>".highlight(sanitizeHTML($conversation["title"]), ET::$session->get("highlight"))."</a></strong> ";

    to this

    echo "<strong class='title'><a href='".URL($conversationURL.((ET::$session->user and $conversation["unread"]) ? "/unread" : ""))."'>".highlight(sanitizeHTML($conversation["title"]),ET::$session->get("highlight"))."</a></strong> posted by ".memberLink($conversation["startMemberId"], $conversation["startMember"]);
  6. Sun 21 Dec 2014 03:21:58 AM UTC
    P Passport joined the forum.