WordPress.org

Support

Support » Plugins and Hacks » [Plugin: AmR Users] use php code in "before" and "after"

[Plugin: AmR Users] use php code in "before" and "after"

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author anmari
    Participant

    @anmari

    I haven’t allowed for php code in the fields – only selected html.

    At the moment the links are fixed at:

    • a username has a link to the edit profile page,
    • the email has a mailto link
    • the user url (from the user profile) is exactly that

    In the brewing update mentioned in other post, there is a plan to allow one to specify the sort of link that one needs for a field from within a predefined list eg: for user related fields there is
    – the edit link,
    – the mailto link
    – the author archive link
    – possibly a comments by that author page?
    – the url in the user profile if it exists

    When you say the users author page – do you mean the author archive of posts or the edit author profile page or something else?

    carblanco
    Member

    @carblanco

    Hi all,

    I’m showing a list using some s2member custom field, company_name.
    I’d like to link this company_name to the complete company form (with address, phone, email, etc.) but I don’t see the way, is it possible?

    Maybe using the before and after with something like:
    Field name: Company Name
    Display order: 1
    Before: <a href="***code***">
    After: </a>

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: AmR Users] use php code in "before" and "after"’ is closed to new replies.