+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: hide member details in side bar of details page

  1. #11
    Can we hide the box if the listing owner is admin type and show for every other user types?

  2. #12
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    211
    This is a good idea. I support it too.

  3. #13
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,017
    in tpl > content.tpl

    replace:
    Code:
    Only registered members can view the code.
    with:
    Code:
    Only registered members can view the code.

  4. #14
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    1,982
    good idea, thanks.
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1 > quietSecrets.net

  5. #15
    Quote Originally Posted by Rudi View Post
    in tpl > content.tpl

    replace:
    Code:
    Only registered members can view the code.
    with:
    Code:
    Only registered members can view the code.
    Excellent support. Thanks Rudi.

  6. #16
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    211
    Even though I'm the admin, my account is still linked to the merchant account. So how can I hide it so that only the admin is hidden?

  7. #17
    Quote Originally Posted by Jen View Post
    Even though I'm the admin, my account is still linked to the merchant account. So how can I hide it so that only the admin is hidden?
    I suggest you create a new user type and change your account to that type. Then set it to be hidden via Rudi code.

  8. #18
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    211
    That's not good. Then someone other than the administrator with the same account type could register. Any other solution?

  9. #19
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,017
    You can use $seller_info.Username instead of $seller_info.Type

    specifying the username of your account:

    Code:
    Only registered members can view the code.

  10. #20
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    211
    Thanks. It works.

+ Reply to Thread