https://github.com/Warzone2100/wz2100.n ... wz2100.net
Feel free to improve it.
NoQ wrote:Hmm thanks for sticking this one. Just finally had a look at this!
index.php refers certain include files like addons-list.inc.php but where are they located?
Warning: include_once(C:\xampp\htdocs\add\lib/settings.inc.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\add\lib\global.lib.php on line 3
Warning: include_once() [function.include]: Failed opening 'C:\xampp\htdocs\add\lib/settings.inc.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\add\lib\global.lib.php on line 3
Warning: require_once(C:\xampp\htdocs\add\lib/../forums.wz2100.net/htdocs/common.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\add\lib\global.lib.php on line 13
Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\add\lib/../forums.wz2100.net/htdocs/common.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\add\lib\global.lib.php on line 13
Zarel wrote:I believe lines like this:
include_once('../../wz2100.net/lib/global.lib.php');
can be commented out safely. They're just things like authentication code; you can just do stuff like set $isreviewer to true manually.
addons-*.inc.php should be there, though. No idea where they went.
In the meantime, here's where most of the fun stuff happens: https://github.com/Warzone2100/wz2100.n ... ns.lib.php


effigy wrote:I thought I'd put the current "list" format into perspective:
1588x43637 pixels (11.3 mb)
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Zarel wrote:I believe lines like this:
include_once('../../wz2100.net/lib/global.lib.php');
can be commented out safely. They're just things like authentication code; you can just do stuff like set $isreviewer to true manually.
addons-*.inc.php should be there, though. No idea where they went.
In the meantime, here's where most of the fun stuff happens: https://github.com/Warzone2100/wz2100.n ... ns.lib.php
lav_coyote25 wrote:effigy wrote:I thought I'd put the current "list" format into perspective:
1588x43637 pixels (11.3 mb)
![]()
![]()
![]()
![]()
![]()
![]()
![]()
The image “http://dl.dropbox.com/u/1460920/wz/wz%20addons%20page%202011-09-23.jpg” cannot be displayed because it contains errors.
dak180 wrote:Fairly sure that you have that backwards; all the *.inc.php are data stores or authentication stuff, the *.lib.php are libraries that handle stuff like persistent storage.
dak180 wrote:The ../../wz2100.net/lib/global.lib.php is just it using a single copy of the lib for the whole site.
NoQ wrote:Finally remembered about this thread and wanted to have some fun (at least). Cloned the git, put it into a locally-installed apache root and started looking.
I'm missing some files again, it says the following files are missing:/wz2100.net/lib/settings.inc.php
and some more forum-related stuff.
/wz2100.net/lib/../forums.wz2100.net/htdocs/common.php
Even though i might be able to live without those, i need to somehow make a dummy $user variable to get it all running.
<?php
$settings = array();
// phpBB Group ids for access rights
// webmaster
$settings['administrators'] = array(1);
// reviewer
$settings['reviewers'] = array(2);
// helper
$settings['helpers'] = array(3);
$settings['newforum'] = 1;
Return to Ideas and suggestions
Users browsing this forum: No registered users and 2 guests