[106 total ]
CSS not parsing?

by jmm (Posted 17 Oct 2009 14:10)
Solved. I think changing $BAW_CONF['xhtml'] to true is what made it. Nevertheless, I still get the same debugging notices.

using a framework and a bug tracker

by Oliver (Posted 29 Sep 2009 07:45)
well if you look at the frequency of postings here you will see its really not hat much.
Unless I have more traffic, having another system to maintain or watch is just not really worth it.

sub directory configuration

by Oliver (Posted 18 Sep 2009 07:50)
betterawstats handles it this way since it does not parse the PERL-language awstats config files.

let me check the code again later (quite busy recently) and I will see if I can come up with a better example for you.

sub directory configuration

by Oliver (Posted 17 Sep 2009 13:37)
good question.

You will have to edit the code for this. The best thing would be to create a new array somewhere that maps the filename to the correct URL that should be making the link and then ... [More] replace the filename used with the correct link automatically in the display of the section for the URLs.

So first you add the array to a file preferably the config.php:

Code: Select all$BAW_CONF['new_urls']= array(
'filename1' => 'correct_url1',
'filename2' => 'correct_url2',
'filename3' => 'correct_url3',
);

and then, you go to to /core/display.inc.php and make a call to that array to insert the correct data. Find the function

function baw_display_urls($set) {

and there the line

Code: Select all$link = baw_create_link($linktext, "http://{$BAW_CURR['site_name']}{$data[0]}", array(), true);

so you can replace that line with

Code: Select all$new_url =$BAW_CONF['new_urls'][$BAW_CURR['site_name']];
$link = baw_create_link($linktext, "http://{$new_url}{$data[0]}", array(), true);

make sure you add the appropriate slashes where needed.
Also please note that this code might not be 100% correct since I did not try it out. It's more a guidance on how to solve the problem.

Hope you get it done.

Oliver [Less]

sub directory configuration

by alternapop (Posted 15 Sep 2009 04:53)
i have betterawstats configured to work with a bunch of different subdomains and it works.

eg:

housing.example.edu
with the config file called ... [More] "awstats.housing.example.edu.conf"

i know that i can use the OnlyFiles directive to include only specified subdirectories.

eg:
housing.example.edu/main/
OnlyFiles="main"

the problem i'm having is that is appears that betterawstats uses the name of the conf file to create the live links within the report for "Pages-URL". so naming the conf file like these examples breaks these links:
awstats.housing-main.conf
awstats.housing.example.edu-main.conf

and like this fails to update returning an error:
awstats.housing.example.edu/main.conf

what is the best way to have multiple subdirectories, for one domain, using multiple conf files so that these links work properly?

thanks! [Less]

error in tables: problems with rowspan

by Oliver (Posted 14 Aug 2009 19:53)
good idea. PHP 4 was declared dead in July 2007, 2 years ago...

http://www.google.com/search?name=f&hl=en&q=php+4+end+of+life&sourceid=mozilla-search&start=0

error in tables: problems with rowspan

by Oliver (Posted 13 Aug 2009 23:01)
this is strange. I never have seen this before.

you are also missing further "rowspans" at the year numbers in the first table.

I would suggest that you re-download the files. I highly assume your files are damaged or you do not have the latest version.

Oliver

CSS not parsing?

by muggins (Posted 02 Aug 2009 20:30)
It is indeed there, as you can see from the first screenshot. I host my forum on the same system too, with no issues.

I suppose I don't need to use this after all.

Site name not shown in file name

by Memorite (Posted 25 Jul 2009 17:03)
Ah! Thanks Oliver

Site name not shown in file name

by Oliver (Posted 23 Jul 2009 20:19)
the name of the config file is the used name then.

Oliver