champs08 Posted March 21, 2009 Posted March 21, 2009 Re: Businesses Mod [Mccode V2] I still get these errors: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/********/public_html/business_view.php on line 76 Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/********/public_html/business_view.php on line 81 Quote
KiX Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] Ok I didnt see this in the mod so I added the possibility of Upgrading your business. All this really means is that you can hire more employees once you reach the max amount. So lets start this shall we? open business_manage and look for You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add this under it You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. at the end of the file before this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
KiX Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] Ok there is a little fix that needs to be done as well. If you notice you are able to send money to everyone except yourself, here is the fix for it. in business_manage find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace it with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Richard Posted March 22, 2009 Author Posted March 22, 2009 Re: Businesses Mod [Mccode V2] Wow, nice work KiX :D Looks very nice Quote
KiX Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] Wow, nice work KiX :D Looks very nice Thanks mate. I really love your mod. Reminds me of my Torncity days. Great work. I will be adding a lot of upgrades on it. Quote
k91982 Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] +1 but dont forget to add link for upgrade Upgrade Business Quote
KiX Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] hehe thanks mate. i am always forgetting to put something here :) Quote
Lycan Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] Kix!! You just made my day!! i spent hours figuring out lol Quote
KiX Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] Kix!! You just made my day!! i spent hours figuring out lol :) hehe np prob Quote
Lycan Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] there is a small upgrade problem... i can fix it but im just wondering what is the database for max members... on the function its You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. but there is no busEmployees and it doesnt require this in the whole business mod Quote
KiX Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] there is a small upgrade problem... i can fix it but im just wondering what is the database for max members... on the function its You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. but there is no busEmployees and it doesnt require this in the whole business mod yes, as usual, me forgetting to add things... doh.. u need to add this sql You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Fixed Quote
Lycan Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint(32) NOT NULL default '0',' at line 1 lmao thats not a valid sql code :wink: should be: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Lycan Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] dont laugh at me lol! last post sql wont work will update it! You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Lycan Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] your business mod is probablly setup different.. this wont work either Quote
KiX Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] your business mod is probablly setup different.. this wont work either lol. I will take a look. Yes I did a few things to it....let me just check it. Quote
jamieh Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] I converted this to V1 for my site, and it works perfect lol, Thanks Quote
KiX Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] One more thing on the upgrade I forgot to add. in the business_manage find this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This code checks your applications towards your max employees allowed instead of the default amount of employes you set. Quote
jamieh Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] lol Nince little Mod KiX, i updated mine :P Quote
KiX Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] lol Nince little Mod KiX, i updated mine :P thanks but not my mod. It is Richard's.. I am just adding to it, but he deserves all the credit. Quote
Lycan Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] Fixed!! gave you +2 aleready todaay kix lol! Quote
KiX Posted March 22, 2009 Posted March 22, 2009 Re: Businesses Mod [Mccode V2] Fixed!! gave you +2 aleready todaay kix lol! :) Thanks mate. I feel honoured. I have finished another little update, but i will post it in a few Quote
castle Posted March 23, 2009 Posted March 23, 2009 Re: Businesses Mod [Mccode V2] getting this error: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource on this line: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and this line You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Lycan Posted March 23, 2009 Posted March 23, 2009 Re: Businesses Mod [Mccode V2] after all the updates from Kix and Richard its great!! fully tested 100% working also you can make alot of profit :D well done both of you +1 Quote
DELETE ME NOW! Posted March 23, 2009 Posted March 23, 2009 Re: Businesses Mod [Mccode V2] Okay.. lol... some of you people think by changing a few lines is making a mod.. it aint... lol Its code.. not mod.. Example someone put: One more thing on the upgrade I forgot to add. in the business_manage find this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This code checks your applications towards your max employees allowed instead of the default amount of employes you set. lol Nince little Mod KiX, i updated mine :P Lol nice little Mod Kix, i updated mine :P Lol its not a mod its code changed, its an edit to a mod. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.