Borrowing money and taking money from charity for the sake of the Shabbos meals:
Borrowing money to enhance Shabbos: If one does not have money for Shabbos expenses he is to borrow money if he has an item which is able to be given as collateral to the lender. Nonetheless, although collateral is needed, Chazal say that Hashem will arrange for him to be able to pay the lender back the money which he borrowed. This is consistent with the saying of the Sages that Shabbos expenses do not come out of one’s Heavenly ordained budget which is annually decreed on Rosh Hashana. If one does not own any collateral then he should not borrow the money in order to enhance Shabbos on the basis relying that G-d will reimburse him, as there is no obligation to spend for Shabbos more than one can afford.
Borrowing money with interest/Ribis: It is permitted to borrow money under terms of Rabbinical interest [Ribis Derabanan] for the purpose of enhancing the Shabbos and Yom Tov meal, as well as any Seudas Mitzvah. This however only applies if one is unable to borrow under a no interest rate.
Using money from a charity fund to enhance Shabbos: If one can afford two basic daily meals for every day of the week it is forbidden to take money from a charity fund for the purpose of having food for the third Shabbos meal, or for the purpose of buying Shabbos delicacies. However if one cannot afford two daily meals for every day of the week and is thus in need of receiving money from the charity fund for these two meals then he is to also be given money for the third Shabbos meal as well as for the Shabbos delicacies such as fish and vegetables. Similarly if one already received money from the community charity fund he may use some of that money for enhancing Shabbos. However in such a case he must make sure that this will not cause him to need to ask for more money for his daily needs. If one is unable to do so, then if he has some of his own money, he should push himself to use that money for honoring Shabbos to the best of his ability.
Asking for a present from a friend in order to enhance Shabbos: There is no obligation for one to ask to be given money as a gift in order to enhance Shabbos as the Sages have stated “Make your Shabbos like a weekday and do not become needy unto the public”. One must budget himself properly so he is able to enhance Shabbos at least a minute amount. It is better for one to do so then to become needy onto the public [and ask for gifts to be able to enhance Shabbos].
Proper budgeting-What is one to do if he does not have any extra money to enhance Shabbos and cannot borrow or take from the charity fund? Even in a case where one has just enough money for daily meals and lacks money to enhance Shabbos, in which case he cannot receive from charity, nevertheless he is still obligated to budget himself during the week in a way that he will be able to enhance Shabbos a minute amount at the very least. Likewise it is proper for him to have at least two dishes, as stated above.
One may only borrow money in order to enhance Shabbos if he owns collateral which can be used to repay the loan. One may even borrow money under terms of Rabbinical interest if he is unable to borrow money on a interest free rate.
If one has two meals worth of food for Shabbos he may not take money from charity to buy extra delicacies for Shabbos or even in order to have food for the third meal. If however he does not have two meals of food for Shabbos he may take money from charity for all the Shabbos meals and delicacies. It is better that one budget his money during the week in a way that he will be able to afford the Shabbos foods rather than ask others for money as a gift for Shabbos expenses.
 From which the lender can collect the money from just in case the borrower cannot find the money to pay him back.
 However other Poskim [Aruch Hashulchan 242/44] rule that one is to only borrow money if he has a business, or other means, in which he can expect an income that he can then use to repay the loan. According to Admur however this is unnecessary as we have absolute trust that Hashem will pay him back.
Chasidic Explanation: The Rebbe explains that money used for Shabbos is considered similar to Mon which is heavenly bread that derives from G-dliness that is above nature. One thus does not need to have available a proper vessels within nature that can bring him back the money, and rather Hashem compensates him on His own. This is further seen from the fact that the money spent for Shabbos is not included in ones yearly budget allotted to him on Rosh Hashana. Nonetheless this is only to be done if one owns collateral, as the blessing of G-d must be invested in some form of action. [Shaareiy Halacha Uminhag 1/128]
 It is forbidden to lend or borrow money from a Jew with interest. However certain forms of interest are Biblical while others are only Rabbinical. It is permitted to pay interest which is only Rabbinical to the lender for the sake of enhancing Shabbos.
 Regarding asking for extra delicacies Admur writes it is forbidden, while regarding asking for a 3rd meal he writes “not to do so”.
 242/4; As in such a case we apply the saying of Chazal: “Make your Shabbos like a weekday and do not become needy unto the public.” [ibid]
 As once a person is in need and thus may receive from charity he has to be given all that he lacks, including what he lacks for Shabbos. [ibid] Meaning that to originally be eligible for charity one must lack his necessities, however once is eligible then he is given all that he lacks, even things that are not necessities.
 242/5; As in such a case he has ended up placing the burden of his honoring Shabbos expenses onto the community, which negates the saying of the Sages that one is to have a weekday Shabbos rather than be needy onto the public. [ibid]
 Its implied that nevertheless if one chooses he may ask others for help, although he is not obligated to do so, and perhaps is even shunned.
 As he too must fulfill the Mitzvah of Oneg Shabbos. [ibid]