Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Did anybody try mint?
Your’s can have it, too.
Offline
Re: Did anybody try mint?
That’s a slick layout. But my site is my own. No templates for me.
Offline
Re: Did anybody try mint?
Or you could just go straight to the TXP version courtesy of our good friend thame. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Did anybody try mint?
Where did you guy’s put your php include to get slimstat working for you? i have tried a few things but can’t get any stats running. Are you calling the inc.stats.php in the head or body?
<code>php @include_once( $_SERVER[“DOCUMENT_ROOT”].”/slimstat/inc.stats.php” ); </code>
Offline
Re: Did anybody try mint?
I put it into /index.php
at the very end. It now looks like this
bc..
<?php
/*
$HeadURL: http://svn.textpattern.com/stable/4.0/index.php $
$LastChangedRevision: 804 $
*/
// Make sure we display all errors that occur during initialization error_reporting(E_ALL); @ini_set(“display_errors”,“1”);
[…]
include $txpcfg[‘txpath’].’/publish.php’; textpattern(); // SlimStat: 2005-11-05 wet @include_once($_SERVER[“DOCUMENT_ROOT”].”/slimstat/inc.stats.php”);
?>
//w&
Offline
Re: Did anybody try mint?
Same here.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Did anybody try mint?
Thanks Guys That was exactly what I was looking for.
Thanks! for the tip.
Jamie
Offline
Offline
Offline
Re: Did anybody try mint?
Wet,
Stuart,
Are you not concerned with restricting access to your slimstat directory? Should I be? .htaccess to restrict?
Jamie
Offline
Re: Did anybody try mint?
I don’t bother but it can be a good idea to give the directory a totally unconnected name so no-one knows what it really is. You would have to change the “call” above and I think there may be something in the config file to change as well. It’s really more a case of not letting spammers know that you have a stats package running. Whether you want people to view it or not is another matter but if they don’t know what to look for in the first place that shouldn’t be a big problem. If there are people you want to view it you will have to give them the address. Make sure you have it in your robot.txt file as well assuming you use one.
Last edited by thebombsite (2005-11-16 01:46:32)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Did anybody try mint?
Thanks for the tip. Stuart I’ll change the directory name and get it unindexed with a nofollow.
Jamie
Offline