+ Reply to Thread
Results 1 to 5 of 5

Thread: What is vacancy_category_id

  1. #1
    Master
    Join Date
    Apr 2017
    Location
    Tehran/Iran
    Posts
    439

    What is vacancy_category_id

    Dear flynax team,

    What is the
    Code:
    Only registered members can view the code.
    at first line of includes/rlAllInOne.class.php !?
    I had problems for showing "seller details box" for some of my listings and after a few hours , just when i wanted to beat my head to the wall!; i found the problem.
    Their top category id was 105.
    105!!! and how did you discover this gold number?
    You should give me a prize for finding it!

    EDIT: It is vacancy category id in dump.sql.

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

    So what's the problem in fact ?

    This category is reserved for displaying additional field on the contact form to attach CV file if listing is related to Vacancy category

  3. #3
    Master
    Join Date
    Apr 2017
    Location
    Tehran/Iran
    Posts
    439
    Hello,
    I don't understand your mean about reserved.
    Many users don't use flynax standard categories.
    They remove and use themselves, just like me.
    So 105 can be used for another category.
    Moreover, as you know better than me, it should be implement in categories section/ admin panel; and not in source code as a fix number!

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    1,860
    I agree that some users but not many (according to our statistics)

    to be honest, you're the first who is telling about this (category id)

    even though you'll remove all categories and create new ones they'll never have the same ids like 105
    you should completely re-create the table or update counter via mysql request

    if someone needs to use jobs type he won't remove jobs categories and this id will make sense


    maybe later we'll rework this feature

  5. #5
    Master
    Join Date
    Apr 2017
    Location
    Tehran/Iran
    Posts
    439
    Hello again,
    I don't like to talk too long or too much about it.
    Actually, it is not only vacancy_category_id. We can see codes like
    Code:
    Only registered members can view the code.
    or
    Code:
    Only registered members can view the code.
    in this file or maybe we can find similiar codes in other files.
    The point is; when you start to write such these codes, it is enjoyable at first, but you won't be able to control it anymore,
    and it is not predictable.
    All thing that, i like to say is; they should be define in admin panel as parameters.

+ Reply to Thread