Richard Posted March 17, 2009 Posted March 17, 2009 Ok, first of all, I spent alot of time on this, It is kinda basic, but works well I think. Had to be converted so might have a few bugs, let me know if there are some. This will take More than one page, so dont post until it is all here. Run SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add into global_func.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Next page... Quote
Richard Posted March 17, 2009 Author Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Make business_create.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then make business_home.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Richard Posted March 17, 2009 Author Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Make business_manage.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Still more... Quote
Richard Posted March 17, 2009 Author Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Last post now Make business_view.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Make business_cron.php (run each night) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Links: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Dylan Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Wow Great mod! +1 Quote
Richard Posted March 17, 2009 Author Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Thanks Dylan :) Spent two days on it lol Quote
Dylan Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Wow. Looks good, great add-on to many games. Just got time to actually look at it very neat! Quote
Dylan Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] oh darn error You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Richard Posted March 17, 2009 Author Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Sorry about that Replace: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. With: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Dylan Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] hmm tried that didn't work. :| Quote
Richard Posted March 17, 2009 Author Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Oh also replac: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. With You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Dylan Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Fixed! Woot still a great mod :P. Quote
TheBigChief Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] The best mod I have seen on this game! Quote
RazorBladerz Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Parse error: syntax error, unexpected T_STRING in /home/razor/public_html/explore.php on line 13 Quote
TheBigChief Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] which explore versionyou using? And whereinexplore did place the links? Do the links work ok when entered as an address on their own? Quote
TheBigChief Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] In business_view.php there is a part coded You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. What is the ' • part? Quote
War_Hero Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] The & and • are HTML entities. The first one is the ampersand sign, &. The second entity is a rounded bullet point. :) Quote
ReaSonZ Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] nice mod richard +1 i was wondering if anyone can look into the code and see if it has any injection places thanks Quote
Lycan Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Great Mod Richard, this modification is a great addon to many game thanks +1 Quote
xfzn Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] The & and • are HTML entities. The first one is the ampersand sign, &. The second entity is a rounded bullet point. :) On business_view it says "Fireworks stand • > View Fireworks stand businesses" so i removed it, did i break anything by doing it? no errors showed up whatsoever. Also i found this error at business_manage.php?p=donate_cash, Fatal error: Call to undefined function donate_cash() in ****/business_manage.php on line 22 Quote
Richard Posted March 17, 2009 Author Posted March 17, 2009 Re: Businesses Mod [Mccode V2] I think I might have named the donate_cash function as donate_vault, Just change that to fix Quote
k91982 Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] i noticied that the owner/Director doesnt show up in members and other options like salary Quote
Mafia-Club Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] Thats Nice If It Was Someone Else there would probs sell it for sme $ but you gave it away for free man thanks going to use this ? love your mods Quote
xfzn Posted March 17, 2009 Posted March 17, 2009 Re: Businesses Mod [Mccode V2] I think I might have named the donate_cash function as donate_vault, Just change that to fix I did this , now no error shows up but its not adding any money to the vault. Could it be because of the cron? 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.