Extras Sections for different Sites

Help for using / installing BetterAWStats

Extras Sections for different Sites

Postby jdsushi » 18 Apr 2009 03:26

Hello there,

I'm analyzing several sites and each has its own set of extra sections. Is there a way to make BetterAWStats to show only the ones available? Some sites have 1, 2 or 3 extra sections. From what I understand, the config file is shared, so all sites show the same # of extra sections set, and it gets messy when a site with only 1 extra section tries to display 3.

Thanks!
jd.
jdsushi
 
Posts: 1
Joined: 03 Apr 2009 21:52

Re: Extras Sections for different Sites

Postby Oliver » 18 Apr 2009 09:29

There is no way to do that with a built-in functionality.
However, if you know a little PHP it is easy. You can add a if...then... into the config file where you enable/disable the extra depending on the domain of the user for example.

Check out this post on how something like that works:

http://betterawstats.com/forum/viewtopic.php?p=140#p140

hope this helps

Oliver
User avatar
Oliver
Site Admin
 
Posts: 147
Joined: 10 Mar 2008 19:09


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron