Seite 49 von 67

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 04.04.2011 12:05
von dieter99
Kann man den MOD bereits im Wirkbetrieb eines Forums benutzen?

Oder ist der Einbau noch nicht zu empfehlen, da der MOD noch in der Enwicklung steht?

Ich würde den MOD gerne jetzt schon benutzen.

Wie sieht`s aus, wenn dann später UPdates kommen? Ist das Update dann ohne großen Aufwand durchzuführen?

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 04.04.2011 12:49
von franki
dieter99 hat geschrieben:Kann man den MOD bereits im Wirkbetrieb eines Forums benutzen?

Oder ist der Einbau noch nicht zu empfehlen, da der MOD noch in der Enwicklung steht?

Ich würde den MOD gerne jetzt schon benutzen.
Ich habe die Mod in 3 Foren ( phpbb 3.0.8 ) ohne Probleme am laufen.
dieter99 hat geschrieben:Wie sieht`s aus, wenn dann später UPdates kommen? Ist das Update dann ohne großen Aufwand durchzuführen?
In der Regel ja.

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.04.2011 13:11
von dieter99
Warum ist der MOD eigentlich noch in Entwicklung?
Möchte man noch diverse Bugs beheben, oder sind irgendwelche Erweiterungen geplant?

Wünschenswert wäre vielleicht, dass nur bestimmte Benutzergruppen den MOD benutzen dürfen (z.B. möchte ich nicht, dass erst kürzlich registrierte Benutzer "Stimmen" abgegeben können).
Das ist natürlich nur ein Gedankenanstoss, und soll keine indirekte Kritik an den Entwickler sein (dieser leistet hervorragende Arbeit).

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.04.2011 15:40
von Valentino46
Hallo,
ich habe folgendes Problem wenn ich ein thema öffne kommt oben folgende Meldungen:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12825: Undefined index: thanks
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12827: Undefined index: thanked
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12827: Undefined index: thanked
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12829: Undefined index: thanks_post
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12829: Undefined index: thanks_post
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12825: Undefined index: thanks
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12827: Undefined index: thanked
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12827: Undefined index: thanked
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12829: Undefined index: thanks_post
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12829: Undefined index: thanks_post
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12825: Undefined index: thanks
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12827: Undefined index: thanked
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12827: Undefined index: thanked
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12829: Undefined index: thanks_post
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 12829: Undefined index: thanks_post
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 34892: Cannot modify header information - headers already sent by (output started at /includes/functions.php:27961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 34908: Cannot modify header information - headers already sent by (output started at /includes/functions.php:27961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 34916: Cannot modify header information - headers already sent by (output started at /includes/functions.php:27961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 34924: Cannot modify header information - headers already sent by (output started at /includes/functions.php:27961)
fallso ihr die viewtopic.php braucht : http://ul.to/h81v6bhm

Schonmal Danke im Voraus! :)

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.04.2011 19:23
von franki
Hallo

Hast Du die SQL-Anweisung aus der install.xml bzw. die db_update.php ausgeführt ?

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.04.2011 21:47
von Valentino46
ja allerdings kommt es da zu einen Fehler: http://uploaded.to/file/upes1be5
und nochmal als text:

Code: Alles auswählen


Updating the database


      Warning: Cannot modify header information - headers already sent by (output started at /home/webpages/lima-city/valentinschmieder/html/phpbb3/db_update.php:38) in /home/webpages/lima-city/valentinschmieder/html/phpbb3/includes/functions.php on line 28361
      Zurück zur Foren-Übersicht
      Allgemeiner Fehler
      SQL ERROR [ mysqli ]

      Table 'forumthanks' already exists [1050]

      SQL

      CREATE TABLE `forumthanks` ( `thanks_id` mediumint(8) unsigned NOT NULL auto_increment, `thanks_from` mediumint(8) unsigned NOT NULL, `thanks_to` mediumint(8) unsigned NOT NULL, `post_id` mediumint(8) unsigned NOT NULL, PRIMARY KEY (`thanks_id`) )

      BACKTRACE

      FILE: includes/db/mysqli.php
      LINE: 163
      CALL: dbal->sql_error()

      FILE: db_update.php
      LINE: 69
      CALL: dbal_mysqli->sql_query()
MfG Valentin

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.04.2011 22:42
von Mahony
Hallo Valentino46
Was auch immer du da installiert hast, es ist nicht der MOD um den es hier im Thema geht. Bei dem MOD, um den es hier geht, wird keine Tabelle mit dem Namen forumthanks erstellt.

@dieter99 -
Warum ist der MOD eigentlich noch in Entwicklung?
Möchte man noch diverse Bugs beheben, oder sind irgendwelche Erweiterungen geplant?
Ja, es werden noch die Updates, bezüglich der Bugs mit in die install.xml aufgenommen.
Wünschenswert wäre vielleicht, dass nur bestimmte Benutzergruppen den MOD benutzen dürfen (z.B. möchte ich nicht, dass erst kürzlich registrierte Benutzer "Stimmen" abgegeben können).
Es gibt dafür ja den (aufwendigeren) thanks for post v130 MOD - den findest du auf phpbb.com


Grüße: Mahony

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 06.04.2011 14:26
von Valentino46
Na die Tabelle wird ja im Standart "phpbb_thanks" genannt aber meine Tabellen fangen alle mit "forum" an

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 08.04.2011 19:16
von Valentino46
wenn ich den sql manuell ausführe würde der dann für mich so heißen?

Code: Alles auswählen

CREATE TABLE `forumthanks` (
  `thanks_id` mediumint(8) unsigned NOT NULL auto_increment,
  `thanks_from` mediumint(8) unsigned NOT NULL,
  `thanks_to` mediumint(8) unsigned NOT NULL,
  `post_id` mediumint(8) unsigned NOT NULL,
  PRIMARY KEY  (`thanks_id`)
);
ALTER TABLE `forumposts` ADD `post_thanked` INT(11) UNSIGNED NOT NULL DEFAULT '0';
ALTER TABLE `forumforums` ADD COLUMN `enable_thanks` TINYINT(1) DEFAULT '0' NOT NULL;
ALTER TABLE `forumusers` ADD `user_thanked` INT(11) UNSIGNED NOT NULL DEFAULT '0', ADD `user_thanks` INT(11) UNSIGNED NOT NULL DEFAULT '0', ADD `user_thanks_post` INT(11) UNSIGNED NOT NULL DEFAULT '0';
oder muss die tabelle trotzdem phpbb_thanks heißen?

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 23.04.2011 21:19
von Mahony
Hallo
Wenn dein Präfix forum lautet, dann ist das natürlich richtig so, wie du das gemacht hast.
Die Meldung
Table 'forumthanks' already exists [1050]
besagt übrigens, dass die Tabelle forumthanks bereits existiert.


Grüße: Mahony