Seite 1 von 2

Who viewed my profile

Verfasst: 22.06.2004 09:13
von melly
Wo mache ich das?
----- QUERY DATABASE ----------------------------------------
# // Change the table-prefix 'phpbb_' if your tables haves another one!!!

Verfasst: 22.06.2004 09:17
von Markus67
Hi ...

Da müsste aber mehr dabei stehen ...

Da folge eine SQL-Anweisung die du in phpmyadmin ausführen kannst ...

Deine Datenbank wird dann um die vom MOD benötigten Tabellen/Felder ergänzt .... :wink:

Markus

das gleiche problem hab ich auch...

Verfasst: 22.06.2004 20:12
von Werbung
Das ist der komplete text... aber kann nicht wirklich was damit anfangen!

Code: Alles auswählen

# ----- QUERY DATABASE ----------------------------------------
# // Change the table-prefix 'phpbb_' if your tables haves another one!!!
#
CREATE TABLE phpbb_profile_view(
user_id mediumint( 8 ) NOT NULL ,
viewername varchar( 25 ) NOT NULL ,
viewer_id mediumint( 8 ) NOT NULL ,
view_stamp int( 11 ) NOT NULL, 
counter mediumint( 8 ) NOT NULL
) TYPE = MYISAM

#
# ----- QUERY DATABASE FOR POPUP ----------------------------------------
# // Change the table-prefix 'phpbb_' if your tables haves another one!!!
#
ALTER TABLE phpbb_users ADD `user_profile_view` SMALLINT( 5 ) UNSIGNED DEFAULT '0' NOT NULL ;
ALTER TABLE phpbb_users ADD `user_last_profile_view` INT( 11 ) DEFAULT '0' NOT NULL ;

#
# ----- OR ALTER TABLE IF YOU UPDATE FROM 1.0.0 ----------------------------------------
# // You must clear up the table manually, if you want to update otherwise you will maybe risk errors
#
ALTER TABLE phpbb_profile_view ADD counter MEDIUMINT( 8 ) NOT NULL ;

#
gut... wie mach ich das jetzt??? errors meldung hab ich schon... *nerv* bitte um hilfe!!!

Verfasst: 22.06.2004 20:30
von frieder
du mußt in phpmyadmin gehen und die SQL Befehle reinkopieren!
Irgendwo stand dazu hier glaub ich auch was!
Ich such mal!

Verfasst: 22.06.2004 21:00
von Christian_W
Das steht in der KB:modsfaq
An der Stelle:
http://www.phpbb.de/doku/kb/artikel.php ... phpmyadmin

Gruß Christian

so gut in ordnung aber...

Verfasst: 23.06.2004 12:21
von Werbung

Code: Alles auswählen

#
# ----- QUERY DATABASE ----------------------------------------
# // Change the table-prefix 'phpbb_' if your tables haves another one!!!
#
CREATE TABLE phpbb_profile_view(
user_id mediumint( 8 ) NOT NULL ,
viewername varchar( 25 ) NOT NULL ,
viewer_id mediumint( 8 ) NOT NULL ,
view_stamp int( 11 ) NOT NULL, 
counter mediumint( 8 ) NOT NULL
) TYPE = MYISAM

#
# ----- QUERY DATABASE FOR POPUP ----------------------------------------
# // Change the table-prefix 'phpbb_' if your tables haves another one!!!
#
ALTER TABLE phpbb_users ADD `user_profile_view` SMALLINT( 5 ) UNSIGNED DEFAULT '0' NOT NULL ;
ALTER TABLE phpbb_users ADD `user_last_profile_view` INT( 11 ) DEFAULT '0' NOT NULL ;

#
# ----- OR ALTER TABLE IF YOU UPDATE FROM 1.0.0 ----------------------------------------
# // You must clear up the table manually, if you want to update otherwise you will maybe risk errors
#
ALTER TABLE phpbb_profile_view ADD counter MEDIUMINT( 8 ) NOT NULL ;code]

also, ich hab das PHPMyAdmin und kenn mich da eigendlich überhaupt nicht aus.. nach dem ich jetzt da zum dritten mal reinschau und davor noch nie benutz habe. 
Also,... was und wie muss ich des jetzt machen??? kann mir einer eine schritt für schritt anleitung geben!?!?

Verfasst: 23.06.2004 12:42
von Markus67
Hi ...

Öffne phpmyadmin .... links siehst du die Tabellen deiner Datenbank und ganz oben sind verschiedene "Reiter" unter anderem auch einer auf dem SQL steht ... einfach mal "anklicken" ...

Jetzt siehst du ein Eingabefenster ...

Soweit klar ?

Markus

Verfasst: 23.06.2004 15:53
von melly
Ok sorry, dann eben hier,
ich habe das jetzt nochmal mit SQL gemacht , bekommen aber , wenn ich das "Auge"anklicke immer noch die folgende Fehlermeldung:
Could not read profile views.

DEBUG MODE

SQL Error : 1146 Table 'db104292009.PROFILE_VIEW_TABLE' doesn't exist

SELECT count(*) as total FROM PROFILE_VIEW_TABLE WHERE user_id = 2

Line : 54
File : /homepages/35/d83603588/htdocs/profile_view_user.php

ok, und dann?

Verfasst: 23.06.2004 16:06
von Werbung
Hi ...

Öffne phpmyadmin .... links siehst du die Tabellen deiner Datenbank und ganz oben sind verschiedene "Reiter" unter anderem auch einer auf dem SQL steht ... einfach mal "anklicken" ...

Jetzt siehst du ein Eingabefenster ...

Soweit klar ?

Markus
nun steht bei mir "SQL-Befehl(e) in Datenbank DB7006 ausführen" was muss ich da jetzt einstellen???

Verfasst: 23.06.2004 16:09
von melly
hi werbung,

du musst die befehle einfach nur kopieren und in den kasten einsetzten, dann auf ok und schon geht das automatisch.

lg melly