+ Reply to Thread
Results 1 to 10 of 14

Thread: Special account type

Hybrid View

  1. #1
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,195
    Hello,

    1. You can hide your account type manually via code: ftp > includes > controllers > registration.inc.php

    find a code:
    PHP Code:
    Only registered members can view the code
    add a key of your account type after 'visitor' like this:

    ...getAccountTypes( array('visitor', 'account_type_key') );


    2. to control account boxes by its type go to templates > your template > tpl > blocks > listing_details_seller.tpl

    wrap content which you need to hide for your account type with this code:

    Code:
    Only registered members can view the code.
    Last edited by Rudi; February 28, 2018 at 01:44 PM.

  2. #2
    Thank you! That is very useful!
    But how can I also hide account type from authorization form on add listing page?
    I have already found out how to do it It's very easy and can be set by admin interface.
    Last edited by Alexey Merkulov; April 8, 2018 at 10:20 AM.

  3. #3
    Quote Originally Posted by Alexey Merkulov View Post
    Thank you! That is very useful!


    I have already found out how to do it It's very easy and can be set by admin interface.
    How you hide this can you explain please

    Ignore This I found it Admin Panel >Account Types > Edit Type and go to Options portion Uncheck offer the account type to visitor on the post an ad page for quick sign-up.

    And remove from register or signup page i found this on this page

    http://forum.flynax.com/archive/index.php/t-737.html

    just ad like this
    Code:
    Only registered members can view the code.
    and its works

    But how we hide This Special account info in mobile Apps because its still showed up in my Andriod App under seller info tab.
    Last edited by Sohail Zafar; April 9, 2018 at 01:35 AM. Reason: Found The Slution

  4. #4
    how we hide This Special account info in mobile Apps because its still showed up in my Andriod App under seller info tab.

  5. #5
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,195
    Quote Originally Posted by Sohail Zafar View Post
    how we hide This Special account info in mobile Apps because its still showed up in my Andriod App under seller info tab.
    you need create a ticket on this issue

  6. #6
    Senior Member
    Join Date
    Nov 2021
    Posts
    165
    Please tell us how you did it using the interface?

  7. #7
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,195
    Follow the step 1 form this post:

    Quote Originally Posted by Rudi View Post
    Hello,

    1. You can hide your account type manually via code: ftp > includes > controllers > registration.inc.php

    find a code:
    PHP Code:
    Only registered members can view the code
    add a key of your account type after 'visitor' like this:

    ...getAccountTypes( array('visitor', 'account_type_key') );


    2. to control account boxes by its type go to templates > your template > tpl > blocks > listing_details_seller.tpl

    wrap content which you need to hide for your account type with this code:

    Code:
    Only registered members can view the code.

  8. #8
    Senior Member
    Join Date
    Nov 2021
    Posts
    165
    That's how I somehow failed $account_types = $rlAccount->getAccountTypes('visitor','agents'); to remove the Agents from the list, but that's how it turned out:
    $account_types = $rlAccount->getaccounttype('visitor');
    $account_types = $rlAccount->getaccounttype('agents');
    At the same time, in the selection list, I see an item in the Visitor item selection, is this how it should be? Quick registration is disabled in the settings

+ Reply to Thread