Paretje Wrote:Yes, it isn't exactly a good method, there are no other plugins possible then
If it's not fixed in 1.4, I suggest we have some standard method
Basically, some global variable which each plugin can check, and if it's not set, the plugin will hook the usergroups, add an extra hook and exit. If it is already set, then the plugin will do nothing.
(the plugin will naturally add a _code hook)
Of course, this'll never work (cause it'll be hard to get cooperation amongst 3rd party plugin developers).
Damn
Unless, devs are willing to output buffer the contents, then do replacements and echos at shutdown.
Anyways - good luck!
UPDATE: I have an issue with usergroups.php also.. I found it when attempting to Edit Groups in the Admin CP.. Could you give me a copy of the correct file please like we did for online.php? Or if it that won't work, give me the instructions too?
Quote:Parse error: syntax error, unexpected T_STRING in /www/clanteam.com/t/a/c/tacticsandfirearms/htdocs/mybb/admin/usergroups.php on line 433
BTW, kab012345, are you using Notepad to edit the files? If so, you probably shouldn't be - it stuffs things up
ZiNga BuRgA Wrote:BTW, kab012345, are you using Notepad to edit the files? If so, you probably shouldn't be - it stuffs things up
No, I editing them exactly the way he says to. I'm using the Edit File function in my CPanel-Like control panel which lets me edit the file
while on the server and save it, so I don't see why this is happening..
Try uploading a modified file rather than editing it on the server.
Depending on your browser, and server, these types of errors can crop up.
Hi Paretje,
I tried making a Game Section integration module for MyPlaza.
Having some issues. Apart from the Game Section not installing properly if MySQL is set up in strict mode (I've fixed the queries), when I finish a game (BTW, I'm on localhost), the score oddly never submits - the page just hangs there, trying to load something.
Anyway, I've written the file, though can't confirm working properly.
One thing I'm having an issue with is paying for games with a scoretype of ASC.
I've placed a definition which denotes the lowest score, and you earn money based on the difference between the two values.
define('GAMESECT_MAXSCORE', 100);
Do you know of any better way?
Meh, if anyone's interested, the module can be found below: