Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,657
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Uridium

  1. Ive been messing with this engine for a few weeks now still getting used to the hooks and how things work. But I have to admit It has great potential Fixed a few bugs I found on the free version and added to other scripts which didnt take too long.. Well done Dayo
  2. I made a fix for php 5.4 and above that should cure this issue for the nbbc issue
  3. nbbc7.phpnbbc8.php these files are nbbc7 from PHP versions 5.6 up to 7.2 nbbc8 from PHP versions 7.3 up to 8+ put both files in the class/ folder then open up class/pageElement.php change line 10 require("nbbc.php"); TO $ver = (float)phpversion(); if ($ver > 7.3) { require "nbbc8.php"; } else { require "nbbc7.php"; } You can now switch back and forth to any working PHP version from MultiPHP Manager
  4. yep tried it on 7.0 and had number of errors error: syntax error, unexpected '' (t_encapsed_and_whitespace), expecting identifier (t_string) or variable (t_variable) or number (t_num_string) line 801 is the culprit which is $urlParts['host'] = $part; ive done a { and } count and they are not equal on the updated nbbc.php version which works on php 7.3 - 8.0+ { = 216 } = 214 Not sure if its NOTEPAD++ but on line 28 which has a { there is no end also line 745 has a { and no end.. The <<<REGX line 747 doesnt seem to end
  5. Uridium

    Paypal IPN

    😉
  6. Dayo just replace the nbbc.php with the 4 month old version Ive tested the file on 7.4 and 8 and both work perfectly
  7. Thank you found it finally 🙂
  8. Cheers MTG looked at line 155 will try work it out from there i installed the nbbcode as a standalone and same issue with that GL wasnt installed on test site
  9. Ive tried to install the GL to no success on the newest version of Xampp errors are There was an error! File: D:\xampp\htdocs\gangster\class\nbbc.php Line: 155 Error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in D:\xampp\htdocs\gangster\class\nbbc.php:155 Stack trace: #0 D:\xampp\htdocs\gangster\class\nbbc.php(1953): BBCodeLexer->NextToken() #1 D:\xampp\htdocs\gangster\class\pageElement.php(56): BBCode->Parse('GL v2 successfu...') #2 D:\xampp\htdocs\gangster\class\pageElement.php(69): pageElement->convertBBCodeToHTML('GL v2 successfu...') #3 [internal function]: pageElement->{closure}(Object(Handlebars\Template), Object(Handlebars\Context), 'text', '') #4 D:\xampp\htdocs\gangster\class\Handlebars\Template.php(255): call_user_func_array(Object(Closure), Array) #5 D:\xampp\htdocs\gangster\class\Handlebars\Template.php(148): Handlebars\Template->section(Object(Handlebars\Context), Array) #6 D:\xampp\htdocs\gangster\class\Handlebars\Helpers.php(298): Handlebars\Template->render(Object(Handlebars\Context)) #7 [internal function]: Handlebars\Helpers->helperEach(Object(Handlebars\Template), Object(Handlebars\Context), 'news', '\n ...') #8 D:\xampp\htdocs\gangster\class\Handlebars\Template.php(255): call_user_func_array(Array, Array) #9 D:\xampp\htdocs\gangster\class\Handlebars\Template.php(148): Handlebars\Template->section(Object(Handlebars\Context), Array) #10 D:\xampp\htdocs\gangster\class\Handlebars\Handlebars.php(180): Handlebars\Template->render(Object(Handlebars\Context)) #11 D:\xampp\htdocs\gangster\class\pageElement.php(91): Handlebars\Handlebars->render('\n\n <...', Array) #12 D:\xampp\htdocs\gangster\class\pageElement.php(141): pageElement->templateToHTML('\n\n <...', Array) #13 D:\xampp\htdocs\gangster\class\page.php(346): pageElement->parse() #14 D:\xampp\htdocs\gangster\modules\installed\loggedin\loggedin.inc.php(31): page->buildElement('newsArticle', Array) #15 D:\xampp\htdocs\gangster\class\module.php(30): loggedin->constructModule() #16 D:\xampp\htdocs\gangster\class\page.php(144): module->__construct() #17 D:\xampp\htdocs\gangster\class\page.php(58): page->load('loggedin') #18 D:\xampp\htdocs\gangster\init.php(86): page->loadPage('loggedin') #19 D:\xampp\htdocs\gangster\index.php(5): require('D:\\xampp\\htdocs...') #20 {main} thrown Type: E_RECOVERABLE_ERROR Hmm i managed to get this installed but had to set class/nbbc.php on line 154 to false rather than true.. not sure thats a great fix but it seems to have done the trick Ive managed to whittle the error down to the BBCODE which on PHP 8 it doesnt seem to like
  10. sorry kyle ..
  11. When I get home from work i'll see what I can do..
  12. Iv'e found a fix for this there is nothing wrong with the JS files its the public function loadScripts() { $jsFiles = [ '/modules/installed/moduleEditor/ace/ace.js', '/modules/installed/moduleEditor/ace/ext-modelist.js', '/modules/installed/moduleEditor/ace/ext-language_tools.js', ]; $scripts = ''; foreach ($jsFiles as $jsFile) { $scripts .= "<script src='{$jsFile}'></script>\n\r"; } $this->html .= $this->page->buildElement('jsFiles', ['scripts' => $scripts]); } lines 53 - 55 '/modules/installed/moduleEditor/ace/ace.js', '/modules/installed/moduleEditor/ace/ext-modelist.js', '/modules/installed/moduleEditor/ace/ext-language_tools.js', I had to put my folder name before the first '/ so mine looks like this now and that seems to fix the issue '/gangster/modules/installed/moduleEditor/ace/ace.js', '/gangster/modules/installed/moduleEditor/ace/ext-modelist.js', '/gangster/modules/installed/moduleEditor/ace/ext-language_tools.js',
  13. i'll have a look into it
  14. these are just small adjustments which puts a EXIT link on each of the error notifications and a Cancel button on the Compose mail incase you dont want to send one mail.inc.php Ive updated the TPL file which should fix the SUBJECT repeating issue mail.tpl.php
  15. damn i need to install this engine and get back to working
  16. Nice one i havent written anything yet for GL may have to look this one up for futrure ref 🙂
  17. iv'e seen your coding ability and you should be on the list very clean and crisp work 🙂
  18. There was actually a script someone wrote that was available on here do a look up for cronless crons this is the mentioned link removal of 1 minute crons
  19. what PHP current version is your site running on ?
  20. Since 2007 MWG has been my home also at that time known as Criminalexiatance all i know is MWG and when it went I lost a lot of friends still some missing today thank you Dave for reviving MWG...
  21. A page counter would be an advantage it would display all PHP files and the number people who visit each page that way if a page isnt doing so well you can maybe upgrade it or get rid of it
  22. how about if on the admin panel you had a choice of swapping between Email or username on the login box did anyone also spot the GANE STATS
  23. That part worked fine on your version i was on about the username editor i made that one didnt work.... Yours works flawlessly
  24. This upload/install didnt work for me kept mentioning needs the JSON file when i unzipped it there is a folder within a folder which is the cause also your module.json refers to Attack just so your aware Sim... but the mod does work great 🙂 I should have looked on the downloads before trying to do my own Edit Username which worked to an extent I used the profile module to add the change username.. HOWEVER it didnt work correctly you could change your name to any ones name within the game...
  25. Has anyone installed this mod and if so was it easy from the instructions and working
×
×
  • Create New...