+ Reply to Thread
Results 1 to 5 of 5

Thread: Saving resume files to the resume folder on the hosting

  1. #1
    Senior Member
    Join Date
    Nov 2021
    Posts
    119

    Saving resume files to the resume folder on the hosting

    Hello.
    Now I see that the resume files after being sent to the employer are saved in the root of the files folder, the rules for resume files and their renaming are in the file rlAllInOne.class.php includes\classes\ please help me add a rule so that resume files are saved in files/resume.

    Also in this file there are rules for photos of the jobs listing type, by default, if the photo upload is not connected to this type of list, then a profile image is displayed, but if the gallery is connected in the jobs listing type, then a photo from the listing gallery is displayed on the jobs category page. I think that in the same file you can prescribe a rule for the jobs listing type so that when the gallery is turned on and a photo is added to it, a profile image is displayed on the category page)))

    Thank you for your help!

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

    in public function hookRlMessagesAjaxContactOwnerSend

    replace:
    PHP Code:
    Only registered members can view the code
    with:
    PHP Code:
    Only registered members can view the code
    and in public function hookRlMessagesAjaxContactOwnerAfterSend()

    replace:
    PHP Code:
    Only registered members can view the code
    with:
    PHP Code:
    Only registered members can view the code
    then edit rlActions.class.php > public function upload

    replace below:
    PHP Code:
    Only registered members can view the code
    with:
    PHP Code:
    Only registered members can view the code
    Last edited by Rudi; January 19, 2022 at 08:57 AM.

  3. #3
    Senior Member
    Join Date
    Nov 2021
    Posts
    119
    Hello Rudi! Thank you for help!
    It seems to me there is an error in this line $attach_file = L_FILES SION[. 'resRume/' . $_SES'last_attached_resume']; , after adding it I see "A fatal error has occurred, please try again later or contact the Administrator."

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,541
    Sorry, corrected

  5. #5
    Senior Member
    Join Date
    Nov 2021
    Posts
    119
    Rudi its very cool!! You are best!)))
    The only thing is, I did not change the line public function hookRlMessagesAjaxContactOwnerAfterSend() so that the resume files were not deleted, but remained on the server.
    And now it works great!))

+ Reply to Thread