Hallo zusammen,
wie kann ich am schnellsten und einfachsten nachschauen, wie oft Google mein Forum besucht/besucht hat ??
Grüße
Dominik
Wie stellt man die Google-Besuche schnell fest?
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
- Dominik Müller
- Mitglied
- Beiträge: 494
- Registriert: 08.08.2004 19:04
- Wohnort: Siegbach
- Kontaktdaten:
Wie stellt man die Google-Besuche schnell fest?
Grafiken, Banner, etc. sind in Signaturen nicht erlaubt...and now I make me - me nothing, you nothing - out of the dust...
http://www.schildkroeten-farm.de , http://www.schildkroetenforum.net
http://www.schildkroeten-farm.de , http://www.schildkroetenforum.net
Hallo,
mit dem Google Visit Counter :
mit dem Google Visit Counter :
Code: Alles auswählen
############################################################################
## MOD Ttile : Google Visit Counter
## MOD Author : Dr DLP http://www.web-lapin.levillage.org/forum/
## MOD Description : Adds a google bot visit counter on index
## MOD Version : 1.0.0.
##
## Scripts :
## Google Track : Mojy ( < webmaster@mypsychedelicsite.com > (J.M.)
## http://www.mypsychedelicsite.com ) / Editeur Javascrpit
## Visit Counter : Smartor ( < smartor_xp@hotmail.com > (Hoang Ngoc Tu) http://smartor.is-root.com
##
## Installation level : Easy
## Iinstallation time : 5 Minutes
##
## Files to edit : 3
## -language/lang_french/lang_main.php
## -includes/page_header.php
## -templates/subSilver/index_body.tpl
##
## Files to include : n/a
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
#
#------[ SQL ]-------
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('google_visit_counter', '1');
#
#-----[ OPEN ]----------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]-----------------------------------
#
//
// That's all, Folks!
#
#-----[ BEFORE , ADD ]-----------------------------
#
$lang['Google_Visit_counter'] = 'Google has come <b>%d</b> times on this board since May 2005';
#
#-----[ OPEN ]----------------------------------------
#
language/lang_german/lang_main.php
#
#-----[ FIND ]-----------------------------------
#
//
// That's all, Folks!
#
#-----[ BEFORE , ADD ]-----------------------------
#
$lang['Google_Visit_counter'] = 'Google has come <b>%d</b> times on this board since May 2005';
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
//
// Parse and show the overall header.
//
$template->set_filenames(array(
'overall_header' => ( empty($gen_simple_header) ) ? 'overall_header.tpl' : 'simple_header.tpl')
);
#
#-----[ BEFORE , ADD ]-------------------------------------
#
//
// Dr DLP's Google Visit Counter MOD
//
$google_visit_counter = $board_config['google_visit_counter'];
$tmp_list = explode(".", $REMOTE_ADDR);
if (($tmp_list[0] == "64" && $tmp_list[1] == "68" && $tmp_list[2] == "82") || ($tmp_list[0] == "216" && $tmp_list[1] == "239" && $tmp_list[2] == "46"))
{
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '" . ($google_visit_counter + 1) . "'
WHERE config_name = 'google_visit_counter'";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not update google counter information', '', __LINE__, __FILE__, $sql);
}
$google_visit_counter++;
}
// ------------------------------------
//
#
#-----[ FIND ]-------------------------------------------
#
'NAV_LINKS' => $nav_links_html)
#
#-----[ BEFORE , ADD ]------------------------------------
#
// Google Counter MOD
'GOOGLE_VISIT_COUNTER' => sprintf($lang['Google_Visit_counter'], $google_visit_counter),
#
#-----[ OPEN ]---------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]---------------------------------
#
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}
#
#-----[ IN-LINE , AFTER , ADD ]-------------------
#
<br />{GOOGLE_VISIT_COUNTER}
#
#-----[ SAVE/CLOSE ALL FILES ]-----------
#
# EoMViele Grüße - gloriosa 
Die einen schützen sich vor frischem Wind, während die anderen ihn nutzen.
Kein kostenloser MOD-Einbau usw. bzw. Support via PN, Email oder IRC !
Die einen schützen sich vor frischem Wind, während die anderen ihn nutzen.
Kein kostenloser MOD-Einbau usw. bzw. Support via PN, Email oder IRC !
- Dominik Müller
- Mitglied
- Beiträge: 494
- Registriert: 08.08.2004 19:04
- Wohnort: Siegbach
- Kontaktdaten:
Wenn ich den SQL-Befehl gebe, kommt folgende Meldung:
Grüße
Dominik
Was heißt das?SQL-Befehl:
SELECT *
FROM WHERE LIKE 'google_visit_counter'
MySQL meldet:
#1062 - Duplicate entry 'google_visit_counter' for key 1
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /var/www/phpMyAdmin-2.6.1/libraries/common.lib.php on line 685
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE LIKE 'google_visit_counter'' at line 1
Grüße
Dominik
Grafiken, Banner, etc. sind in Signaturen nicht erlaubt...and now I make me - me nothing, you nothing - out of the dust...
http://www.schildkroeten-farm.de , http://www.schildkroetenforum.net
http://www.schildkroeten-farm.de , http://www.schildkroetenforum.net
Hallo,
das bedeutet :
schon (einmal ?) ausgeführt wurde und als Eintrag in der Tabelle bereits vorhanden ist !
das bedeutet :
das die SQL-Anweisung#1062 - Duplicate entry 'google_visit_counter' for key 1
Code: Alles auswählen
INSERT INTO phpbb_config (config_name, config_value) VALUES ('google_visit_counter', '1');Viele Grüße - gloriosa 
Die einen schützen sich vor frischem Wind, während die anderen ihn nutzen.
Kein kostenloser MOD-Einbau usw. bzw. Support via PN, Email oder IRC !
Die einen schützen sich vor frischem Wind, während die anderen ihn nutzen.
Kein kostenloser MOD-Einbau usw. bzw. Support via PN, Email oder IRC !