Jump to content
MakeWebGames

KyleMassacre

Members
  • Posts

    2,921
  • Joined

  • Last visited

  • Days Won

    48

Everything posted by KyleMassacre

  1. Kind of off topic but maybe this will give me some drive to complete it: http://makewebgames.io/showthread.php/44470-In-Prod-Enhanced-Registration
  2. I don't find them "Similar" I find them pretty much the same. Plus who is going to use the default theme on MCC or Ravan? Also, if you use Ravan, chances are you will be taken down so you would have to get a valid MCC license :p
  3. You wouldn't need an external library for that if(MD5($_POST['password']) == $currentpass) { //then update the password with the new requirements } else { //Then keep on keeping on } remeber the salt if using 2.0.5
  4. There is really no difference between Ravan and MCC and the attempt to stop Ravan from distribution is hard. IIRC several attempts have been made, site was shut down, site pops back up
  5. So it works fine except for that the purpose of the mod isn't working? I don't want this to sound like I'm being a douche because I am not trying to be one, but you stated in a previous post that you can convert V1 to V2. So why can you convert it? Basically you just replace line 2-20 with include "globals.php"; and change your mysql_ to $db-> and it should work just fine. I didn't see any fetches while glancing through the code so no one should be posting the conversion how-tos here lol. There is a thread that shows you how to convert if you need help
  6. Your using a mod made for V1 but are posting it using a V2 tag. Are you using V1 or V2
  7. If you are using V2 then you should convert it over to V2 instead of a hybrid version of it. You may yield some better results
  8. How easy is this to extend? Is there some kind of global file to add to?
  9. Time is up [MENTION=65371]sniko[/MENTION]
  10. I don't recall very much difference between V2 and 2.0.5b except for CSRF protection, error handler, and globals nonauth
  11. Do you have a customer list we can see? I went to the site but don't see any. Most places have like a small client list, testimonials, etc. Another thing is I wouldn't call 1 +/- year(s) that experienced though TBH. And if your confindence level is so high, why only give 50% back if we are not satisfied? I mean, I know some companies who even offer a 100% money back guarantee on used items such as pillows that you drool all over.
  12. Twig???? Yuck I create a controller like class My_Controller extends CI_Controller { var $template; function __construct() { parent::__construct(); $this->template = 'path/to/myheader'; } }   No for my actual controllers: class Some_Controller extends MY_Controller { function index() { $data['result'] = $this->transactions->getWithdrawRequests($status, $grouped); foreach ($data['result'] as $res) { if ($this->transactions->isInQueue($res->id)) $this->isQueued[$res->id] = true; else $this->isQueued[$res->id] = false; } $data['javascripts'] = array(' <script src="' . base_url() . 'theme_assets/admin/bower_components/datatables/media/js/jquery.dataTables.min.js"></script>', '<script src="' . base_url() . 'theme_assets/admin/bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.min.js"></script>', '<script src="' . base_url() . 'theme_assets/admin/bower_components/datatables-plugins/tabletools/tabletools.js"></script>', '<script src="' . base_url() . 'theme_assets/admin/js/bootbox.min.js"></script>' ); $view_data['dynamic_extras'] = "$('button').attr('name','queue').on('click', function() { var button = $(this); var currentClass = $(button).attr('class'); var wID = $(button).val(); $.ajax({ url: $(button).attr('href'), type: 'POST', success: function (data) { switch(currentClass) { case 'btn btn-danger': var newClass = 'btn btn-success'; var contentName = 'Queue'; var newHref = '" . base_url('transactions/queue/') . "/'+wID; break; case 'btn btn-success': var newClass = 'btn btn-danger'; var contentName = 'Un-Queue'; var newHref = '" . base_url('transactions/deQueue/') . "/'+wID; break; } $(button).attr({ class: newClass, href: newHref }); $(button).html(contentName); } }); }); $('button#pay_queue').on('click', function() { var button = $(this); $.ajax({ url: $(button).attr('href'), type: 'POST', dataType: 'json', success: function (data) { var obj = data; if(obj.status == 'Success') { bootbox.dialog({ message: 'Your payments have been processed.<br/>The total amount was $'+data.total, title: 'Amazing Success', buttons: { success: { label: 'Close', className: 'btn btn-primary', callback: function() { window.location.href = window.location.href } } } }); } else { bootbox.dialog({ message: 'Oh no. Something had to have gone wrong', title: 'Son of a *****', buttons: { success: { label: 'Close', className: 'btn btn-danger', callback: function() { window.location.href = window.location.href } } } }); } } }); }); "; $view_data['extra_head'] = "<link href='" . base_url() . "theme_assets/admin/bower_components/datatables-plugins/tabletools/tabletools.css' rel='stylesheet'>"; $view_data['content'] = $this->load->view('withdraws/withdraws_requests', $data, true); $this->load->view($this->template, $view_data); } }   So in my header.php file I have things in there such as $content, $extra_head, $dynamic_extras, and $javascripts. And yes, I know about the link_tag() lol I just never use it haha. I just recently started "really" using it so I am still learning as I go
  13. Moved the topic we are on about to here http://makewebgames.io/showthread.php/45840-PHP-Frameworks
  14. [MENTION=69823]jcvenom[/MENTION], Its pretty easy actually. A model is basically your Database interactions, controllers Re like routes and connects your model with your view using my example above, you would just navigate to your controller like yoursite.com/some_controller/show_view and it will do all the work for you by fetching your data and passing that data to your view.
  15. Moved to a new thread. Take. From [MENTION=65530]Coly010[/MENTION]'s game thread
  16. Most of the MVC apps (can't speak for laravel) come with a lot of useful tools like easy to use ORM/DB wrappers, HTML helpers, etc just to name a few. It lets you load what you need on the fly without auto loading everything, although you can auto load things that you use or need a lot. It also pretty much forces you to separate all your logic which makes it for a cleaner folder structure. And if you feel like you are limited then it's really easy to extend your class with the base class(es) to make what you actually need. I I mainly use Codeigniter so here is a little snippet to set your whistle based on it: Some_Model.php <?php class Some_model extends Ci_model { function __construct() { parent::construct(); } function load_table($table) { $this->db->get($table); if ($this->db-num_rows()) { $get = $this-db->results(); return } else return false; } } My_Controller.php <?php class My_Controller extends CI_Controller { function __construct() { parent::__construct(); $this-load->model("my_model","myModel"); } public function show_view() { $data['name'] = $this->myModel->load_table('users'); $this->load->view('view',$data); } }   View.php <?php foreach ($name as $n) { echo $n->name; }
  17. I doubt a lot of "major games" use a framework like Laravel, CI, etc. I'm pretty sure these games were around before MVC was the new trend or popular and would take a massive rewrite to change it over
  18. I don't even think that will work. I think these are actual people just just spamming a few threads and that's it. The only way I think something would would be to moderate their new posts which would suck for the new people. Or maybe do a combination of the 2, moderate new posts that don't have their email validated.
  19. Why are we even bringing the community into this. Not everyone in the community is involved in this drama. Slandering everyone in this community is completely un-professional. I'm kind of fed up with this and if you are hating on this community then just leave because there is no use for you here, you had plenty of opportunity to plead your case and show that the allegations are in fact false. I don't feel that this is going anywhere else so this topic is done. Best of luck in your ventures and hate me all you as I don't really care.
  20. Just get mccodes. Because basically pirating a pirated software is still pirating either way you look at it.
  21. Let's try and keep this civil [MENTION=70101]_donnie_[/MENTION] and some [MENTION=70810]A2TC[/MENTION]. I see that MTG has kept it completely civil and you guys are just doing a lot of bashing and below the belt type stuff. This thread is in the collaboration and experiences so he is discussing his experiences with this particular collaboration. So, please, let's get back on point here or the thread is done and you won't have the chance to prove that MTG is not telling the truth. The he way I see it is that this looks like a bad mark and a lot of people now and in the future may not want to work with you if you require someone or in fact need assistance with something. Don't worry I read what you said about not needing anyone but just in case. A lot of it doesn't even have anything to do with MTGs claims, a lot has to do with the attitude that is shown. Last chance.
  22. I think it would be fun. I don't know laravel and always kind of wanted to dig into it
  23. Correct. But wouldnt it be a little fishy if all the files that MTG lists are his were all edited around the exact same time. Surely the host can see file last edit times. Best if he acts now. Also what would be the odds that they wrote exactly (for the most part) what MTG wrote. Also if the header is in fact gone then that makes it look even worse that they are trying to hide something. If he did decide to take all this to court, with a panel of peers, this would look real bad
  24. [MENTION=53425]Magictallguy[/MENTION], did you give your code your standard header i.e copyright header etc? If so then clearly you can prove the code is yours and fight it. Especially if you licensed it to drcity.org and it's being used on dope runners. I would just start issuing some DMCAs and get the stuff taken down pronto
×
×
  • Create New...