731
McDonald
Re: Determining country of origin
  • 2006/1/12 17:13

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


I think I was wrong about AWStats. This one is not to intergrate with a XOOPS site probably.

For PHP i-Stats 1.2 do the following:

1. create a folder called ie. stats in your modules folder.

2. edit the file include/config.inc.php according to the included install.txt

3. create a file called xoops_version.php with following info:

<?php
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                       <https://xoops.org/>                             //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
// E-Mail:   none                                                 //
// Project:  The XOOPS Project (https://xoops.org/)                       //
// ------------------------------------------------------------------------- //


$modversion['name'] = "PHP i_Stats";
$modversion['version'] = 1.2;
$modversion['description'] = "PHP i-Stats. External script installed in XOOPS MODULES";
$modversion['credits'] = "Sam Tang";
$modversion['author'] = "Sam Tang. XOOPS bridge built by McDonald";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 0;
$modversion['image'] = "stats_logo.gif";
$modversion['dirname'] = "stats";

//Admin things
$modversion['hasAdmin'] = 0;
$modversion['adminmenu'] = "";

// Menu
$modversion['hasMain'] = 1;

?>

You have to create the icon stats_logo.gif yourself.

4. upload all files including xoops_version.php to the folder ../modules/stats/

5. execute "sql/SQL_new_install.sql" with MySQL on phpMyAdmin or shell

6. insert the following code somewhere (ie. footer) into your theme.html file and replace yourdomain.com with your url:

<script type="text/javascript" language="Javascript">
      function 
replaceText(text){
          while(
text.lastIndexOf("&") > 0){
              
text text.replace('&''[i-Stats]');
          }
          return 
text;
      }

      var 
web_referrer replaceText(document.referrer);
      <!--
      
istat = new Image(1,1);
      
istat.src "http://yourdomain.com/stats/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&referer="+web_referrer+"&page="+location.href;
      
//-->
      
</script>


7. go to your admin panel, choose modules -> administration and install it as you do with a normal XOOPS module

8. PHP i-Stats has been added to your Main Menu now. If you click it, it will take you to PHP i-Stats.



732
McDonald
Re: Determining country of origin
  • 2006/1/12 13:43

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


The module XM-Memberstats shows the country of origin of a visitor in a block but doesn't log any data.
Some counters can display the country of origin of a visitor. For this they use Ip-To-Country Database. This is a csv file with ip-ranges and the countries where they are registered.

Some counters:
- AWStats
- PHP i-Stats



733
McDonald
Re: Recommendations for Effecient Backup Solution
  • 2006/1/11 17:04

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


I am using XOOP DB backup & restore 3.0 with XOOPS 2.2.3
It has some good backup features and has BigDump-script integrated so restoring big files is not a problem.
Backup can be saved to server, downloaded or sent by email.
Backup can be saved as sql or gzip.
There's also a feature to have 1 backup file, all table separately or only those tables you've selected.
The backup date is part of each filename.
Normally I backup each table separately to my server so I can choose which table I want to restore.

Resized Image



734
McDonald
Re: what the heck is a trackback in weblog ?
  • 2006/1/11 2:22

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


You can find some information here: TrackBack Technical Specification



735
McDonald
Re: How to uninstall deleted modules???
  • 2006/1/8 21:49

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


A part of the System module has been deleted.
You can fix it by uploading the System module that came with your XOOPS version to the server.



736
McDonald
Re: New English Defines for XFGuestbook v2.30RC2
  • 2006/1/8 20:56

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Try this link:http://members.lycos.nl/mcdonaldsstore/english.rar

(save target as...)



737
McDonald
Re: New English Defines for XFGuestbook v2.30RC2
  • 2006/1/8 15:49

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Thanks for sharing your english translation for XF Guestbook 2.30 RC2.
I think a few terms are translated wrong.

Line 69 (admin.php):
define("_AM_XFGB_COUNTRYDEF","&nbsp;Default State");

Should be:
define("_AM_XFGB_COUNTRYDEF","&nbsp;Default country");


Line 74 (admin.php):
define("_AM_XFGB_COUNTRY_OPT","&nbsp;Ask from what State");

Should be:
define("_AM_XFGB_COUNTRY_OPT","&nbsp;Ask from what country");


Line 78-81 (admin.php):
define("_AM_XFGB_URL_OPT","&nbsp;Act on the Bonds");
    
define("_AM_XFGB_SEL_A0","No Action on the Bonds");
    
define("_AM_XFGB_SEL_A1","Do not Allow Indexing");
    
define("_AM_XFGB_SEL_A2","Prohibited");

Should be:
define("_AM_XFGB_URL_OPT","&nbsp;Act on indexing");
    
define("_AM_XFGB_SEL_A0","No Action");
    
define("_AM_XFGB_SEL_A1","Do not allow indexing");
    
define("_AM_XFGB_SEL_A2","Prohibited");


Line 48 (main.php):
define("_MD_XFGB_YOURMSG","Regarding your visit to SouthQuest.biz Guestbook");

Should be:
define("_MD_XFGB_YOURMSG","Regarding your message about  ");



738
McDonald
Re: Croatian language for xoops and some modules
  • 2006/1/7 17:49

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


As far as I know there's no Croation language pack available.
You can of course translate it yourself, but you can also ask the developers of Croportal.net if you can get a copy of their language pack.



739
McDonald
Re: set of new logos
  • 2006/1/6 21:53

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


In Portugese 'support' is written with just one 'p'.
The question is why it says 'Brazilian' instead of 'Brasilian' in the badge.



740
McDonald
Re: set of new logos
  • 2006/1/6 21:36

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


The used font for country support in the local support badges is Myriad Pro (Myriad is a registered trademark of Adobe Systems Incorporated which may be registered in certain jurisdictions, see here).

Settings for Photoshop:
- font: Myriad Pro
- style: regular
- size: 10 point
- anti-aliasing: Sharp
- color: #6d6d6d



Resized Image




TopTop
« 1 ... 71 72 73 (74) 75 76 77 ... 87 »



Login

Who's Online

145 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 145


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits